[meta-freescale] fsl-image-gui fails at xserver-xorg_1.11.2.bb do_configure()

Otavio Salvador otavio at ossystems.com.br
Wed Feb 13 11:50:24 PST 2013


On Wed, Feb 13, 2013 at 10:52 AM, Prasant J <pj0585 at gmail.com> wrote:

> On Wed, Feb 13, 2013 at 6:11 PM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
> > On Wed, Feb 13, 2013 at 8:53 AM, Prasant J <pj0585 at gmail.com> wrote:
> >> On Wed, Feb 13, 2013 at 4:16 PM, Otavio Salvador
> >> <otavio at ossystems.com.br> wrote:
> >>> On Wed, Feb 13, 2013 at 8:43 AM, Prasant J <pj0585 at gmail.com> wrote:
> >>>> On Wed, Feb 13, 2013 at 4:09 PM, Prasant J <pj0585 at gmail.com> wrote:
> >>>>> On Wed, Feb 13, 2013 at 4:04 PM, Otavio Salvador
> >>>>> <otavio at ossystems.com.br> wrote:
> >>>>>> On Wed, Feb 13, 2013 at 3:36 AM, Prasant J <pj0585 at gmail.com>
> wrote:
> >>>>>>> On Tue, Feb 12, 2013 at 10:31 PM, Otavio Salvador
> >>>>>>> <otavio at ossystems.com.br> wrote:
> >>>>>>>> On Tue, Feb 12, 2013 at 11:23 AM, Prasant J <pj0585 at gmail.com>
> wrote:
> >>>>>>>>> Hi,
> >>>>>>>>>
> >>>>>>>>> I'm trying to build fsl-image-gui and package xserver-xorg fails
> to
> >>>>>>>>> configure, with the following error msg:
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Package file
> '/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd//usr/lib/pkgconfig/xkbfile.pc'
> >>>>>>>>> appears to be empty
> >>>>>>>>> | Package 'xkbfile' has no Name: field
> >>>>>>>>> | configure:26731: error: Package requirements (fixesproto >= 5.0
> >>>>>>>>> damageproto >= 1.1 xcmiscproto >= 1.2.0 xtrans >= 1.2.2
> bigreqsproto
> >>>>>>>>>>= 1.1.0 xproto >= 7.0.22 randrproto >= 1.2.99.3 renderproto >=
> 0.11
> >>>>>>>>> xextproto >= 7.1.99 inputproto >= 1.9.99.902 kbproto >= 1.0.3
> >>>>>>>>> fontsproto videoproto compositeproto >= 0.4 scrnsaverproto >= 1.1
> >>>>>>>>> resourceproto xkbfile  pixman-1 >= 0.21.8 xfont >= 1.4.2 xau
> xdmcp)
> >>>>>>>>> were not met:
> >>>>>>>>> |
> >>>>>>>>> | Package file
> '/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd//usr/lib/pkgconfig/xkbfile.pc'
> >>>>>>>>> appears to be empty
> >>>>>>>>> | Package 'xkbfile' has no Name: field
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Any inputs on this?
> >>>>>>>>
> >>>>>>>> Are you using danny or master?
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Otavio Salvador                             O.S. Systems
> >>>>>>>
> >>>>>>> I checked the poky git repo (fsl-community-bsp/sources/poky) using
> >>>>>>> 'git describe' :
> >>>>>>> it says:
> >>>>>>>
> >>>>>>> "danny-8.0-48-g47b0864"
> >>>>>>>
> >>>>>>> Which one I should have been using: danny or master?
> >>>>>>
> >>>>>> danny; so you should be good.
> >>>>>>
> >>>>>> It is confusing as mine xkbfile.pc is not empty ...
> >>>>>>
> >>>>>> Did you really removed tmp and sstate-cache?
> >>>>>>
> >>>>>> --
> >>>>>
> >>>>> Yes, I did and built it all over again :-(
> >>>>>
> >>>>> would this help: bitbake virtual/xserver -c cleanall  ?
> >>>>
> >>>>
> >>>> I think the problem is not with xkbfile.pc being empty (or it is not
> >>>> the only problem now) it seems to me the problem is with wrong libpath
> >>>> as it is not able to find the dependent libraries (fixesproto,
> >>>> damageproto, xtrans, etc)
> >>>
> >>> Please send me the build log so I can take a look.
> >>>
> >>> --
> >>
> >> I'm using Ubuntu 12.04.2 32 bit. Attached is the log file.
> >
> > Checking the configure log (which is not in mailing list due the size)
> > it does check the pkgconfig file in the right path so it is doing the
> > right thing. I am quite confused why you're getting such failures.
> >
> > I am doing a full build from scratch to try to reproduce your same
> > failure here. I had sstate-cache but I got rid of it. Let's see how it
> > goes ...
> >
> > --
>
> Thanks a lot for providing inputs & taking out time!   :-)
>

We've built the image from scratch without any error ...


> The build output suggests to look into config.log, which has a error msgs:
>
> configure:5054: checking for arm-poky-linux-gnueabi-gcc
> -march=armv7-a     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
> -mtune=cortex-a9
>
> --sysroot=/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd
> option to accept ISO C99
> configure:5203: arm-poky-linux-gnueabi-gcc  -march=armv7-a
> -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9
>
> --sysroot=/home/prasant/im6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd
>  -c -O2 -pipe -g -feliminate-unused-debug-types  conftest.c >&5
> conftest.c:61:29: error: expected ';', ',' or ')' before 'text'
> conftest.c: In function 'main':
> conftest.c:115:18: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'newvar'
> conftest.c:115:18: error: 'newvar' undeclared (first use in this function)
> conftest.c:115:18: note: each undeclared identifier is reported only
> once for each function it appears in
> conftest.c:125:3: error: 'for' loop initial declarations are only
> allowed in C99 mode
> conftest.c:125:3: note: use option -std=c99 or -std=gnu99 to compile your
> code
> configure:5203: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "xorg-server"
> | #define PACKAGE_TARNAME "xorg-server"
> | #define PACKAGE_VERSION "1.11.2"
> | #define PACKAGE_STRING "xorg-server 1.11.2"
> | #define PACKAGE_BUGREPORT
> "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
> | #define PACKAGE_URL ""
> | #define PACKAGE "xorg-server"
> | #define VERSION "1.11.2"
> | /* end confdefs.h.  */
>
> in case it gives you some hint. I don't know where is conftest.c,
> cannot find this file.
>

This is normal; well, depends on the whole context as ./configure do test a
lot of things and some does fail.

Please do a 'repo sync' and start over ... Something weird is happening ...

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130213/ef5246b7/attachment.html>


More information about the meta-freescale mailing list