New: qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
https://bugs.busybox.net/show_bug.cgi?id=12131
Bug ID: 12131
Summary: qt5webengine builderror in the latest stable Buildroot
2019.05.01 version
Product: buildroot
Version: 2019.05.1
Hardware: Other
OS: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: koller at stettbacher.ch
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 8201
--> https://bugs.busybox.net/attachment.cgi?id=8201&action=edit
Error logfile with ARM linaro toolchain 2018.05 and qt5.12.2
Hi buildroot team
I am using the latest stable Buildroot version 2019.05.1, but I am facing a builderror with the qt5webengine and I hope, that someone could help me out with this issue.
My setup:
From a hardware point of view, I am using a Ka-Ro TX6QP computer-on-module with an i.mx6 (ARM Cortex-A9) processor. For this reason, I am using the Linaro ARM 2018.05 toolchain (Proposed by Buildroot 2019.05.1). The goal is to build the qt5webengine (Latest: Qt5.12.2) successfully.
The challenge, I am facing right now:
I wanted to build the qt5webengine, but I got several error messages in this style:
Quoted 4 lines
/home/patrickk/tmp/buildroot/buildroot-2019.05.1/buildroot-2019.05.1/output/host/opt/ext-toolchain/arm-linux-gnueabihf/include/c++/7.3.1/cstdlib:75:15: fatal error:stdlib.h: No such file or directory#include_next <stdlib.h> ^~~~~~~~~~compilation terminated.
A quick google search (https://bugreports.qt.io/browse/QTBUG-53367) showed a known problem with new GCC > 4.8 versions in respect of the argument "-isystem". Nevertheless, I was not able to solve my described problem at the source.
Next, I tried to update the linaro toolchain to the newest available version, but the same error showed off...
Link:
https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/arm-linux-gnueabihf/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf.tar.xz
My last attempt was to update Qt5 to version 5.13.0. This showed the following error:
Quoted 5 lines
In file included from ../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc:25:0:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc: In function ?sandbox::bpf_dsl::ResultExprsandbox::RestrictPtrace()?:
../../3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc:401:9: error: ?PTRACE_GET_THREAD_AREA? was not declared in this scopePTRACE_GET_THREAD_AREA, ^
I am not sure, if my update from Qt5.12..2 to Qt5.13.0 solved the first error or even introduced a second error...
It would be awesome, if someone could help me out or give me a hint. I appreciate every support I get
I attached my .config file to this e-mail. If you need additional information, please do not hesitate to contact me.
Thanks in advance.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
https://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #1 from Patrick Koller <[email protected]> --- Created attachment 8206
--> https://bugs.busybox.net/attachment.cgi?id=8206&action=edit
.config file to reproduce the build error
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #2 from Patrick Koller <[email protected]> --- Created attachment 8211
--> https://bugs.busybox.net/attachment.cgi?id=8211&action=edit
Error logfile with ARM linaro toolchain 2018.05 and qt5.13.0
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #3 from Patrick Koller <[email protected]> --- Created attachment 8216
--> https://bugs.busybox.net/attachment.cgi?id=8216&action=edit
Error logfile with ARM linaro toolchain 2019.02 and qt5.12.2
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
Patrick Koller <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2019.08
Priority|P5 |P1Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #4 from Giulio Benetti <[email protected]> --- Hello Patrick,
this bug has already been fixed here with this commit:
https://git.busybox.net/buildroot/commit/?id=3a0ed5d25e26cb2ec99a1da077c9dcfea67b0ecc
What makes it show again is that you specify '-device imx6' in BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS.
When buildroot builds qt5 expects to use device 'buildroot' that is based on qmake.conf.in in 'package/qt5/qt5base/'
So basically you're telling to qt5 to ignore buildroot qt5 configuration.
You should only remove '-device imx6' from yourBR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS.
What is passed to qt5 build system when '-device imx6' is specified should be implicit when you choose the correct compiler. I mean these:IMX6_CFLAGS = -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1
So if you compile for armv7-a with neon enable you should be ok.
Anyway I've tried this using master branch and I get a GCC ICE :/ and need to dig deeper.
But please, give a try with 2019.05.1 and let me know.
Thank you!
Giulio
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #5 from Giulio Benetti <[email protected]> --- Ah, just checked, you need to select 'neon' instead of 'VFPv3' as fpu
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #6 from Patrick Koller <[email protected]> --- Hi Giulio
Welcome back! I hope, you enjoyed your holiday to the fullest :)
Thanks for your help, I really appreciate your support. I just applied your suggested changes to my configuration, but another error showed up. Let me first tell you, what I did:
- Removed "-device imx6" from BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS
- Changed floating point strategy to NEON
- make clean && make
The qt5base build process failed due to the following error:
ERROR: Feature 'eglfs' was enabled, but the pre-condition '!config.android && !config.darwin && !config.win32 && features.egl' failed. (Log-File: 190829_error_no_device_and_neon)
Do you know, what is going on and could you please give me a hint?
Thanks a lot :)
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #7 from Patrick Koller <[email protected]> --- Created attachment 8226
--> https://bugs.busybox.net/attachment.cgi?id=8226&action=edit
190829_error_no_device_and_neon tarball
This tarball contains the large error-logfile
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #8 from Giulio Benetti <[email protected]> --- Hi Patrick,
can you confirm me that you're using:
- buildroot 2019.05.1
- attached .config file
- qt 5.12.x
Right?
Because I need this to reproduce your bug.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #9 from Giulio Benetti <[email protected]> --- Ah, can you:
- make savedefconfig
And attach resulting defconfig here?
Also, are you sure you're using buildroot 2019.05.1 with no modifications?
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #10 from Patrick Koller <[email protected]> --- Hi Giulio
Thanks for getting in touch again. Here are your requested informations:
- I am using buildroot 2019.05.1
- I attached my .config file (190829_buildroot_config.tar.gz)
- I want to build Qt 5.12.2
I am sorry, but "make savedefconfig" failed... I don't know why:
make savedefconfig
n*** Error while saving defconfig to:/home/patrickk/tmp/buildroot/buildroot-2019.05.1/buildroot-2019.05.1/configs/polytab_defconfig
Makefile:1008: recipe for target 'savedefconfig' failed
make: *** [savedefconfig] Error 1
Thanks a lot.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #11 from Patrick Koller <[email protected]> --- Created attachment 8231
--> https://bugs.busybox.net/attachment.cgi?id=8231&action=edit
Buildroot configuration file
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #12 from Giulio Benetti <[email protected]> --- (In reply to Patrick Koller from comment #10)
It failed because specified path doesn't exist.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #13 from Giulio Benetti <[email protected]> --- I can't reproduce your error.
Unfortunately I get NS(x) error instead of yours.
Have you got the chance to join IRC channel for live speaking? Otherwise it could take lot of time to solve this.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #14 from Bernd Kuhls <[email protected]> --- I could reproduce the error:
[9/11078] CXX obj/skia/skia/SkPaintFilterCanvas.o
FAILED: obj/skia/skia/SkPaintFilterCanvas.o
[...] /home/buildroot/br5/output/host/i586-buildroot-linux-gnu/include/c++/9.2.0/cstdlib:75:15:
fatal error: stdlib.h: No such file or directory
75 | #include_next <stdlib.h>
using this defconfig:
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_BINUTILS_VERSION_2_32_X=y
BR2_GCC_VERSION_9_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_OPENGL_GLX=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5WEBENGINE=y
BR2_PACKAGE_XORG7=y
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
--- Comment #15 from Bernd Kuhls <[email protected]> --- Duplicate of https://bugs.busybox.net/show_bug.cgi?id=11776 ?
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
benstokes <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://www.fieldengineer.c | |om/skills/system-support-sp | |ecialist
--- Comment #16 from benstokes <[email protected]> --- System support specialists provide help desk assistance and technical support for all types of issues affecting end users
https://www.fieldengineer.com/skills/system-support-specialist
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 12131] qt5webengine builderror in the latest stable Buildroot 2019.05.01 version
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=12131
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME--- Comment #17 from Peter Korsgaard <[email protected]> ---
The 2019.05.x series is no longer supported, and qt5webengine has been bumped since, so closing the issue. Please reopen with more details if you still see the issue, thanks.
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot