* [Buildroot] [git commit] qemu: fix build when python3 is enabled
@ 2014-11-03 21:37 Peter Korsgaard
2014-11-03 21:54 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2014-11-03 21:37 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=1d21e4c397cbd92d03d09daf4fadffaa79959f55
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
http://autobuild.buildroot.net/results/04e/04ec455e352319a46dc06def1762c65ad28a12a1/
http://autobuild.buildroot.net/results/f19/f1932657912674af444602ac59211b6caf6841ca/
http://autobuild.buildroot.net/results/18a/18a43df80616280506a44ac3abc327ddf0e7b079/
http://autobuild.buildroot.net/results/44c/44c00b50248018c4e81f4fbb1041d35b78f89640/
And many others.
When python3 for the target is enabled, $(HOST_DIR)/usr/bin/python points to
host-python3, not host-python - Breaking the build. Ensure host-python is used.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/qemu/qemu.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 4b8f0f4..8182697 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -96,7 +96,7 @@ QEMU_OPTS =
QEMU_VARS = \
LIBTOOL=$(HOST_DIR)/usr/bin/libtool \
- PYTHON=$(HOST_DIR)/usr/bin/python \
+ PYTHON=$(HOST_DIR)/usr/bin/python2 \
PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages
ifeq ($(BR2_PACKAGE_QEMU_SYSTEM),y)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [git commit] qemu: fix build when python3 is enabled
2014-11-03 21:37 [Buildroot] [git commit] qemu: fix build when python3 is enabled Peter Korsgaard
@ 2014-11-03 21:54 ` Arnout Vandecappelle
2014-11-03 21:58 ` Peter Korsgaard
0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2014-11-03 21:54 UTC (permalink / raw)
To: buildroot
On 03/11/14 22:37, Peter Korsgaard wrote:
> commit: http://git.buildroot.net/buildroot/commit/?id=1d21e4c397cbd92d03d09daf4fadffaa79959f55
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> Fixes:
> http://autobuild.buildroot.net/results/04e/04ec455e352319a46dc06def1762c65ad28a12a1/
> http://autobuild.buildroot.net/results/f19/f1932657912674af444602ac59211b6caf6841ca/
> http://autobuild.buildroot.net/results/18a/18a43df80616280506a44ac3abc327ddf0e7b079/
> http://autobuild.buildroot.net/results/44c/44c00b50248018c4e81f4fbb1041d35b78f89640/
>
> And many others.
>
> When python3 for the target is enabled, $(HOST_DIR)/usr/bin/python points to
> host-python3, not host-python - Breaking the build. Ensure host-python is used.
There's another potential issue like this in dbus-python, in python-pypcap and
in samba4.
Regards,
Arnout
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
> package/qemu/qemu.mk | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
> index 4b8f0f4..8182697 100644
> --- a/package/qemu/qemu.mk
> +++ b/package/qemu/qemu.mk
> @@ -96,7 +96,7 @@ QEMU_OPTS =
>
> QEMU_VARS = \
> LIBTOOL=$(HOST_DIR)/usr/bin/libtool \
> - PYTHON=$(HOST_DIR)/usr/bin/python \
> + PYTHON=$(HOST_DIR)/usr/bin/python2 \
> PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages
>
> ifeq ($(BR2_PACKAGE_QEMU_SYSTEM),y)
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [git commit] qemu: fix build when python3 is enabled
2014-11-03 21:54 ` Arnout Vandecappelle
@ 2014-11-03 21:58 ` Peter Korsgaard
2014-11-03 22:26 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2014-11-03 21:58 UTC (permalink / raw)
To: buildroot
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
> On 03/11/14 22:37, Peter Korsgaard wrote:
>> commit: http://git.buildroot.net/buildroot/commit/?id=1d21e4c397cbd92d03d09daf4fadffaa79959f55
>> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>>
>> Fixes:
>> http://autobuild.buildroot.net/results/04e/04ec455e352319a46dc06def1762c65ad28a12a1/
>> http://autobuild.buildroot.net/results/f19/f1932657912674af444602ac59211b6caf6841ca/
>> http://autobuild.buildroot.net/results/18a/18a43df80616280506a44ac3abc327ddf0e7b079/
>> http://autobuild.buildroot.net/results/44c/44c00b50248018c4e81f4fbb1041d35b78f89640/
>>
>> And many others.
>>
>> When python3 for the target is enabled, $(HOST_DIR)/usr/bin/python points to
>> host-python3, not host-python - Breaking the build. Ensure host-python is used.
> There's another potential issue like this in dbus-python, in python-pypcap and
> in samba4.
Ahh, ok - Do you know if they all need python2.7 or should we just wait
for the autobuilders to know?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [git commit] qemu: fix build when python3 is enabled
2014-11-03 21:58 ` Peter Korsgaard
@ 2014-11-03 22:26 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2014-11-03 22:26 UTC (permalink / raw)
To: buildroot
On 03/11/14 22:58, Peter Korsgaard wrote:
>>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
>
> > On 03/11/14 22:37, Peter Korsgaard wrote:
> >> commit: http://git.buildroot.net/buildroot/commit/?id=1d21e4c397cbd92d03d09daf4fadffaa79959f55
> >> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> >>
> >> Fixes:
> >> http://autobuild.buildroot.net/results/04e/04ec455e352319a46dc06def1762c65ad28a12a1/
> >> http://autobuild.buildroot.net/results/f19/f1932657912674af444602ac59211b6caf6841ca/
> >> http://autobuild.buildroot.net/results/18a/18a43df80616280506a44ac3abc327ddf0e7b079/
> >> http://autobuild.buildroot.net/results/44c/44c00b50248018c4e81f4fbb1041d35b78f89640/
> >>
> >> And many others.
> >>
> >> When python3 for the target is enabled, $(HOST_DIR)/usr/bin/python points to
> >> host-python3, not host-python - Breaking the build. Ensure host-python is used.
>
> > There's another potential issue like this in dbus-python, in python-pypcap and
> > in samba4.
>
> Ahh, ok - Do you know if they all need python2.7 or should we just wait
> for the autobuilders to know?
I just grepped, so no I don't know.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-03 22:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-03 21:37 [Buildroot] [git commit] qemu: fix build when python3 is enabled Peter Korsgaard
2014-11-03 21:54 ` Arnout Vandecappelle
2014-11-03 21:58 ` Peter Korsgaard
2014-11-03 22:26 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox