[Development] 32bit linux build of qt5.10.0 w/ webengine

Michal Klocek michal.klocek at qt.io
Mon Dec 18 21:01:56 CET 2017


Hi

It looks like the build can not proceed because of lack of working
ninja. Qt configure detects system ninja, and in case it does not work
builds internal one. In case for some reason this failed you can
still force the build to use internal ninja with configure option:

-no-feature-webengine-system-ninja

Br

Michal

On 12/18/2017 06:53 PM, Toan Pham wrote:
> Thiago,
> 
> 
> I am running two parallel builds at the moment, and they are:
> 
> 
> 1.  32 bit LXC container (ubuntu 16.04 32bit)
>      The build is still compiling chronium web-engine for the last an hr
> and a half.  So far, I haven't had much problem w/ this one except that
> I had to comment out a few lines in qtwebengine/qtwebengine.pro
> <http://qtwebengine.pro> to get the build started.
> 
> 
> 
> 2.  32bit inside T2SDE sandbox (ref. http://t2sde.org)
> 
>       This build stopped here:
> 
> make[4]: Entering directory
> `/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/buildtools'
> make[4]: Nothing to be done for `first'.
> make[4]: Leaving directory
> `/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/buildtools'
> ( test -e Makefile.configure_target ||
> /TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtbase/bin/qmake
> -o Makefile.configure_target
> /TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/buildtools/configure_target.pro
> <http://configure_target.pro> ) && make -f Makefile.configure_target
> make[4]: Entering directory
> `/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/buildtools'
> make[4]: Nothing to be done for `first'.
> make[4]: Leaving directory
> `/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/buildtools'
> ( test -e Makefile.gn ||
> /TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtbase/bin/qmake
> -o Makefile.gn
> /TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/buildtools/gn.pro
> <http://gn.pro> ) && make -f Makefile.gn
> Building gn manually in a temporary directory for bootstrapping...
> Traceback (most recent call last):
>   File
> "/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py",
> line 855, in <module>
>     sys.exit(main(sys.argv[1:]))
>   File
> "/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py",
> line 127, in main
>     return run_build(build_dir, options)
>   File
> "/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py",
> line 74, in run_build
>     build_gn_with_ninja_manually(tempdir, options)
>   File
> "/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py",
> line 220, in build_gn_with_ninja_manually
>     check_call(cmd)
>   File
> "/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/3rdparty/chromium/tools/gn/bootstrap/bootstrap.py",
> line 45, in check_call
>     subprocess.check_call(cmd, cwd=GN_ROOT, **kwargs)
>   File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
>     retcode = call(*popenargs, **kwargs)
>   File "/usr/lib/python2.7/subprocess.py", line 522, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
> Project ERROR: GN build error!
> make[3]: *** [sub-gn-pro-make_first] Error 3
> make[3]: Leaving directory
> `/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src/buildtools'
> make[2]: *** [sub-buildtools-make_first] Error 2
> make[2]: Leaving directory
> `/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine/src'
> make[1]: *** [sub-src-make_first] Error 2
> make[1]: Leaving directory
> `/TOOLCHAIN/loop/target/nicebox/sandbox/qt-everywhere-src-5.10.0/qtwebengine'
> 
> 
> 
> Please let me know if you know what went wrong w/ the second build. 
> 
> 
> thanks,
> 
> TP
> 
> 
> On Mon, Dec 18, 2017 at 11:39 AM, Thiago Macieira
> <thiago.macieira at intel.com <mailto:thiago.macieira at intel.com>> wrote:
> 
>     On Monday, 18 December 2017 07:46:24 PST Toan Pham wrote:
>     > Hi,
>     >
>     > I am having multiple problems w/ building qt5.10 w/ webengine support for
>     > linux 32bit.  Before I proceed further down that road, I would like to know
>     > if there's a pre-built version of qt5.10.0 w/ webengine for linux 32bit
>     > somewhere?
> 
>     There isn't. Linux 32-bit is uncommon enough these days that it's
>     not worth
>     spending CPU time building for it.
> 
>     Please report your build issues. I did check a few days ago that
>     qtwebengine
>     does not explicitly block 32-bit builds, so it should have worked.
> 
>     Please make sure you have a 64-bit linker. Also make sure you have gold
>     available, it's possible that the regular BFD blows up due to memory
>     use.
> 
>     --
>     Thiago Macieira - thiago.macieira (AT) intel.com <http://intel.com>
>       Software Architect - Intel Open Source Technology Center
> 
>     _______________________________________________
>     Development mailing list
>     Development at qt-project.org <mailto:Development at qt-project.org>
>     http://lists.qt-project.org/mailman/listinfo/development
>     <http://lists.qt-project.org/mailman/listinfo/development>
> 
> 
> 
> 
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
> 



More information about the Development mailing list