Skip to contentSkip to conversation

Buildroot raspberrypi3_qt5we_defconfig no longer builds

Buildroot Thomas Petazzoni 2 participants 5 messages Aug 10, 2019 – Aug 20, 2019

lore
Share & tools
lore
#0 lore raw

Ga?l, Peter,

The raspberrypi3_qt5we_defconfig in Buildroot no longer buids:

https://gitlab.com/buildroot.org/buildroot/-/jobs/269139278

The error is:

error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

When building qt5webengine. Could you have a look and propose a patch to address this issue ?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#1 lore raw

Hi Thomas, Peter,

Quoted 8 lines · Thomas Petazzoni

Ga?l, Peter,

The raspberrypi3_qt5we_defconfig in Buildroot no longer buids:

https://gitlab.com/buildroot.org/buildroot/-/jobs/269139278

The error is:

Quoted 8 lines

error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

When building qt5webengine. Could you have a look and propose a patch to address this issue ?

I will have a look to it. Probably later that week.

Quoted 11 lines

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Regards,
Gael

#2 lore raw

Hello Ga?l,

Quoted 11 lines · On Tue, 13 Aug 2019 08:48:03 -0400 Ga?l PORTAY <[email protected]>…
Quoted 9 lines

The error is:

error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

When building qt5webengine. Could you have a look and propose a patch to address this issue ?

I will have a look to it. Probably later that week.

Have you had the chance to look into this ? It failed again in the last Gitlab CI pipeline:
https://gitlab.com/buildroot.org/buildroot/-/jobs/273673252.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

Hello Thomas,

Quoted 12 lines · Thomas Petazzoni

Hello Ga?l,

Quoted 7 lines · On Tue, 13 Aug 2019 08:48:03 -0400 Ga?l PORTAY <[email protected]>…
Quoted 7 lines

The error is:

error: stdlib.h: No such file or directory

 #include_next <stdlib.h>
               ^~~~~~~~~~

compilation terminated.

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

When building qt5webengine. Could you have a look and propose a patch to address this issue ?

I will have a look to it. Probably later that week.

Have you had the chance to look into this ? It failed again in the last Gitlab CI pipeline:
https://gitlab.com/buildroot.org/buildroot/-/jobs/273673252.

I had a look that week end.

I observed that there is some -isystem CFLAGS in the generated ninja files.

	-isystem../../../../../host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libpng16
	-isystem../../../../../host/arm-buildroot-linux-gnueabihf/sysroot/usr/include
	-isystem../../../../../host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/freetype2

If I substitute the -isystem in -I, the file compile then but webgengine fails to the next subproject with -isystem flags.

IIUC, qtwebengine uses qmake that uses ng to generate ninja files.

I am looking for the culprit that introduces the -isystem flags. I am not yet familiar with ng/ninja, and I have basic knowledge of qmake only.

Quoted 11 lines

Thanks,

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Regards,
Ga?l

#4 lore raw

Hello Ga?l,

Quoted 9 lines · On Tue, 20 Aug 2019 07:43:59 -0400 Ga?l PORTAY <[email protected]>…

I had a look that week end.

I observed that there is some -isystem CFLAGS in the generated ninja files.

	-isystem../../../../../host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libpng16
	-isystem../../../../../host/arm-buildroot-linux-gnueabihf/sysroot/usr/include
	-isystem../../../../../host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/freetype2
Quoted 8 lines

If I substitute the -isystem in -I, the file compile then but webgengine fails to the next subproject with -isystem flags.

IIUC, qtwebengine uses qmake that uses ng to generate ninja files.

I am looking for the culprit that introduces the -isystem flags. I am not yet familiar with ng/ninja, and I have basic knowledge of qmake only.

Did you check https://bugreports.qt.io/browse/QTBUG-53367, which seems related, but more for qmake-generated Makefiles.

We have https://bugs.busybox.net/show_bug.cgi?id=11776, which is in fact reporting two different qt5webengine issues, the second being the same as the one you are facing.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com