freebsd: use python37
PATCH 1/1 freebsd: use python37
FreeBSD seems to use python37 by default now, which breaks the build script. Add python to the package list, to explicitly pick the version, and also adapt the configure command line.
--- tests/vm/freebsd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
tests/vm/freebsd +2 -1
@@ -32,6 +32,7 @@ class FreeBSDVM(basevm.BaseVM): "git", "pkgconf", "bzip2", + "python37", # gnu tools "bash",
@@ -63,7 +64,7 @@ class FreeBSDVM(basevm.BaseVM): mkdir src build; cd src; tar -xf /dev/vtbd1; cd ../build - ../src/configure --python=python3.6 {configure_opts}; + ../src/configure --python=python3.7 {configure_opts}; gmake --output-sync -j{jobs} {target} {verbose}; """
Signature · 1 line
2.18.1
Quoted 23 lines · Gerd Hoffmann
FreeBSD seems to use python37 by default now, which breaks the build script. Add python to the package list, to explicitly pick the version, and also adapt the configure command line.
Signed-off-by Gerd Hoffmann <[email protected]>--- tests/vm/freebsd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)tests/vm/freebsd +1
-0@@ -32,6 +32,7 @@ class FreeBSDVM(basevm.BaseVM): "git", "pkgconf", "bzip2", + "python37", # gnu tools "bash",
tests/vm/freebsd class FreeBSDVM(basevm.BaseVM): · line 70
Quoted 8 lines
tests/vm/freebsd +1
-1@@ -63,7 +64,7 @@ class FreeBSDVM(basevm.BaseVM): mkdir src build; cd src; tar -xf /dev/vtbd1; cd ../build - ../src/configure --python=python3.6 {configure_opts}; + ../src/configure --python=python3.7 {configure_opts}; gmake --output-sync -j{jobs} {target} {verbose}; """
Quoted 3 lines · Philippe Mathieu-Daudé
Quoted 1 line · Gerd Hoffmann
FreeBSD seems to use python37 by default now, which breaks the build
BTW it looks clearer replacing by 'python3.7' here and in subject.
Quoted 33 lines
Quoted 22 lines
script. Add python to the package list, to explicitly pick the version, and also adapt the configure command line.
Signed-off-by Gerd Hoffmann <[email protected]>--- tests/vm/freebsd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)tests/vm/freebsd +1
-0@@ -32,6 +32,7 @@ class FreeBSDVM(basevm.BaseVM): "git", "pkgconf", "bzip2", + "python37", # gnu tools "bash",tests/vm/freebsd class FreeBSDVM(basevm.BaseVM): · line 70
Quoted 8 lines
tests/vm/freebsd +1
-1@@ -63,7 +64,7 @@ class FreeBSDVM(basevm.BaseVM): mkdir src build; cd src; tar -xf /dev/vtbd1; cd ../build - ../src/configure --python=python3.6 {configure_opts}; + ../src/configure --python=python3.7 {configure_opts}; gmake --output-sync -j{jobs} {target} {verbose}; """Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 5 lines · Gerd Hoffmann
FreeBSD seems to use python37 by default now, which breaks the build script. Add python to the package list, to explicitly pick the version, and also adapt the configure command line.
Signed-off-by Gerd Hoffmann <[email protected]>
Queued to testing/next, thanks.
Quoted 24 lines
--- tests/vm/freebsd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)tests/vm/freebsd +2
-1@@ -32,6 +32,7 @@ class FreeBSDVM(basevm.BaseVM): "git", "pkgconf", "bzip2", + "python37", # gnu tools "bash",@@ -63,7 +64,7 @@ class FreeBSDVM(basevm.BaseVM): mkdir src build; cd src; tar -xf /dev/vtbd1; cd ../build - ../src/configure --python=python3.6 {configure_opts}; + ../src/configure --python=python3.7 {configure_opts}; gmake --output-sync -j{jobs} {target} {verbose}; """
Signature · 1 line
Alex Bennée