All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot raspberrypi3_qt5we_defconfig no longer builds
@ 2019-08-10  8:30 Thomas Petazzoni
  2019-08-13 12:48 ` Gaël PORTAY
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-08-10  8:30 UTC (permalink / raw)
  To: buildroot

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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Buildroot raspberrypi3_qt5we_defconfig no longer builds
  2019-08-10  8:30 [Buildroot] Buildroot raspberrypi3_qt5we_defconfig no longer builds Thomas Petazzoni
@ 2019-08-13 12:48 ` Gaël PORTAY
  2019-08-18 12:43   ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Gaël PORTAY @ 2019-08-13 12:48 UTC (permalink / raw)
  To: buildroot

Hi Thomas, Peter,

On Sat, Aug 10, 2019 at 10:30:22AM +0200, Thomas Petazzoni wrote:
> 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 ?
> 

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

> Thanks!
> 
> Thomas
> -- 
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Buildroot raspberrypi3_qt5we_defconfig no longer builds
  2019-08-13 12:48 ` Gaël PORTAY
@ 2019-08-18 12:43   ` Thomas Petazzoni
  2019-08-20 11:43     ` Gaël PORTAY
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-08-18 12:43 UTC (permalink / raw)
  To: buildroot

Hello Ga?l,

On Tue, 13 Aug 2019 08:48:03 -0400
Ga?l PORTAY <gael.portay@collabora.com> wrote:

> > 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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Buildroot raspberrypi3_qt5we_defconfig no longer builds
  2019-08-18 12:43   ` Thomas Petazzoni
@ 2019-08-20 11:43     ` Gaël PORTAY
  2019-08-20 12:17       ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Gaël PORTAY @ 2019-08-20 11:43 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On Sun, Aug 18, 2019 at 02:43:17PM +0200, Thomas Petazzoni wrote:
> Hello Ga?l,
> 
> On Tue, 13 Aug 2019 08:48:03 -0400
> Ga?l PORTAY <gael.portay@collabora.com> wrote:
> 
> > > 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.
> 

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.

> Thanks,
> 
> Thomas
> -- 
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] Buildroot raspberrypi3_qt5we_defconfig no longer builds
  2019-08-20 11:43     ` Gaël PORTAY
@ 2019-08-20 12:17       ` Thomas Petazzoni
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2019-08-20 12:17 UTC (permalink / raw)
  To: buildroot

Hello Ga?l,

On Tue, 20 Aug 2019 07:43:59 -0400
Ga?l PORTAY <gael.portay@collabora.com> wrote:

> 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.

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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-08-20 12:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-10  8:30 [Buildroot] Buildroot raspberrypi3_qt5we_defconfig no longer builds Thomas Petazzoni
2019-08-13 12:48 ` Gaël PORTAY
2019-08-18 12:43   ` Thomas Petazzoni
2019-08-20 11:43     ` Gaël PORTAY
2019-08-20 12:17       ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.