[Buildroot] [PATCH] package/qt5webkit: needs host-python

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 26 07:58:09 UTC 2016


Hello,

Cc'ing Qt5 folks: Peter Seiderer and Julien Corjon.

On Tue, 26 Jul 2016 00:33:31 +0200, Yann E. MORIN wrote:
> The Qt5Webkit build system hard-codes calls to 'python', but only really
> supports python2.
> 
> We fix that similarly as we did in nodejs, by adding a python->python2
> symlink early in the PATH when configuring/building Qt5Webkit, and
> adding host-python in the dependency list.
> 
> Fixes:
>     http://autobuild.buildroot.org/results/ea4/ea4dd00ee585f9f9ea1927b8b5fd9035e6733420/
>     http://autobuild.buildroot.org/results/323/323ba220fae70d94c81bab9a348be844e90ace91/
>     http://autobuild.buildroot.org/results/6c2/6c20c9e222f94e6b70b97b87e1393dd16da2718c/
> 
> Also slightly reorganise the dependency list, now that it no longer fits
> on a single line.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

I know the hack of creating a dummy "bin" directory, with a
python->python2 symlink is a trick already used by nodejs, but I don't
like it very much.

Is "python" hardcoded is so many places in Qt5Webkit ? If not, what
about patching it instead, and submitting the patch upstream (though
I'm not sure qtwebkit is still maintained, since they moved to
qtwebengine I believe).

Peter, Julien?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list