[oe] problems doing bitbake task-base

Luís Cargnini lvcargnini at gmail.com
Tue Jun 12 15:17:21 UTC 2007


Dears,
the bitbake task-base stop because when trying to compilate the qemu-native,
stop because i have gcc .4.12 as my default gcc, first how to modify bb
class file of qemu-native to explicitly compilate using gcc 3 or add
--with-disable-check to compilate qemu with gcc-4 ??????, doing a
workaround, do task-base when it stop switch to gcc3, do bb qemu-native,
then switch back to gcc-4 and then does bitbake qemu-native againd to
continue after qemu-native seems to work

On 6/7/07, Luís Cargnini <lvcargnini at gmail.com> wrote:
>
> new problems:
> (BD06DC30:~/puc/instramed/openembedded) lvcargnini% bitbake
> task-base
> NOTE: Handling BitBake files: - (4588/4588) [100 %]
> NOTE: Parsing finished. 4373 cached, 0 parsed, 215 skipped, 0 masked.
> NOTE: build 200706071941: started
>
> OE Build Configuration:
> BB_VERSION     = "1.8.2"
> OE_REVISION    = "79523ae60358a1e775044f45dbbc976308d4148f"
> TARGET_ARCH    = "arm"
> TARGET_OS      = "linux-gnueabi"
> MACHINE        = "omap5912osk"
> DISTRO         = "angstrom"
> DISTRO_VERSION = "test-20070607"
> TARGET_FPU     = "soft"
>
> NOTE: Resolving missing task queue dependencies
> NOTE: preferred version 2.5 of glibc not available (for item
> virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
> NOTE: Preparing Runqueue
> NOTE: Executing runqueue
> NOTE: Running task 468 of 1122 (ID: 1022,
> /home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/perl/perl-native_5.8.8.bb,
> do_compile)
> NOTE: package perl-native-5.8.8: started
> NOTE: package perl-native-5.8.8-r11 : task do_compile: started
> ERROR: function do_compile failed
> ERROR: see log in
> /home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/temp/log.do_compile.28955
> NOTE: Task failed:
> /home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/temp/log.do_compile.28955
> NOTE: package perl-native-5.8.8-r11: task do_compile: failed
> ERROR: TaskFailed event exception, aborting
> NOTE: package perl-native-5.8.8: failed
> ERROR: Build of
> /home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/perl/perl-native_5.8.8.bb
> do_compile failed
> ERROR: Task 1022
> (/home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/perl/perl-native_5.8.8.bb,
> do_compile) failed
> ERROR:
> '/home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/perl/perl-native_5.8.8.bb'
> failed
> (BD06DC30:~/puc/instramed/openembedded) lvcargnini%
>
> Making IO (dynamic)
> make[1]: Entering directory
> `/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/perl-5.8.8/ext/IO'
> make[1]: Leaving directory
> `/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/perl-5.8.8/ext/IO'
> make[1]: Entering directory
> `/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/perl-5.8.8/ext/IO'
> make[1]: Leaving directory
> `/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/perl-5.8.8/ext/IO'
>
>         Making IPC::SysV (dynamic)
> make[1]: Entering directory
> `/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/perl-5.8.8/ext/IPC/SysV'
> make[1]: Leaving directory
> `/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/perl-5.8.8/ext/IPC/SysV'
> make[1]: Entering directory
> `/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/perl-5.8.8/ext/IPC/SysV'
> gcc  -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\" 1.04\" -DXS_VERSION=\"1.04\"
> -fpic "-I../../.."   SysV.c
> SysV.xs:7:25: error: asm/page.h: No such file or directory
> make[1]: *** [SysV.o] Error 1
> make[1]: Leaving directory
> `/home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/perl-
> native-5.8.8-r11/perl-5.8.8/ext/IPC/SysV'
> make: *** [lib/auto/IPC/SysV/SysV.so] Error 2
> FATAL: oe_runmake failed
>
>
> On 6/6/07, Luís Cargnini <lvcargnini at gmail.com> wrote:
> >
> > well antecipating the critics I'm installing an gcc version 3.4.6,
> > gentoo supports multiple gcc versions installed.
> >
> > On 6/6/07, Luís Cargnini < lvcargnini at gmail.com> wrote:
> > >
> > > (enterprise:~/puc/instramed/openembedded) lvcargnini% bitbake
> > > task-base
> > > NOTE: Handling BitBake files: | (4586/4586) [100 %]
> > > NOTE: Parsing finished. 0 cached, 4371 parsed, 215 skipped, 0 masked.
> > > NOTE: build 200706061431: started
> > >
> > > OE Build Configuration:
> > > BB_VERSION     = "1.8.2"
> > > OE_REVISION    = "161e1a738dc05762f428e26351dfe3cf5cd65ec4"
> > > TARGET_ARCH    = "arm"
> > > TARGET_OS      = "linux-gnueabi"
> > > MACHINE        = "omap5912osk"
> > > DISTRO         = "angstrom"
> > > DISTRO_VERSION = "test-20070606"
> > > TARGET_FPU     = "soft"
> > >
> > > NOTE: Resolving missing task queue dependencies
> > > NOTE: preferred version 2.5 of glibc not available (for item
> > > virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
> > > NOTE: Preparing Runqueue
> > > NOTE: Executing runqueue
> > > NOTE: Running task 166 of 1122 (ID: 557,
> > > /home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/qemu/qemu-native_cvs.bb,
> > > do_configure)
> > > NOTE: package qemu-native-0.8.2+cvs20060723: started
> > > NOTE: package qemu-native-0.8.2+cvs20060723-r1: task do_configure:
> > > started
> > > ERROR: function do_configure failed
> > > ERROR: see log in
> > > /home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/qemu-
> > > native-0.8.2+cvs20060723-r1/temp/log.do_configure.9861
> > > NOTE: Task failed:
> > > /home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/qemu-
> > > native-0.8.2+cvs20060723-r1/temp/log.do_configure.9861
> > > NOTE: package qemu-native-0.8.2+cvs20060723-r1: task do_configure:
> > > failed
> > > ERROR: TaskFailed event exception, aborting
> > > NOTE: package qemu-native-0.8.2+cvs20060723: failed
> > > ERROR: Build of
> > > /home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/qemu/qemu-native_cvs.bb
> > > do_configure failed
> > > ERROR: Task 557
> > > (/home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/qemu/qemu-native_cvs.bb,
> > > do_configure) failed
> > > ERROR:
> > > '/home/lvcargnini/puc/instramed/openembedded/org.openembedded.dev/packages/qemu/qemu-native_cvs.bb'
> > > failed
> > > (enterprise:~/puc/instramed/openembedded) lvcargnini% cat
> > > /home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/qemu-
> > > native-0.8.2+cvs20060723-r1/temp/log.do_configure.9861
> > > NOTE: Running
> > > /home/lvcargnini/puc/instramed/openembedded/tmp/work/i686-linux/qemu-
> > > native-0.8.2+cvs20060723-r1/qemu/configure
> > > --build=i686-linux                   --host=i686-linux
> > > --target=i686-linux
> > > --prefix=/home/lvcargnini/puc/instramed/openembedded/tmp/staging
> > > --exec_prefix=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux
> > > --bindir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux/bin
> > > --sbindir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux/bin
> > > --libexecdir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux/libexec
> > > --datadir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux/share
> > > --sysconfdir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/etc
> > > --sharedstatedir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/com
> > > --localstatedir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/var
> > > --libdir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux/lib
> > > --includedir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux/include
> > > --oldincludedir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux/include
> > > --infodir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux/share/info
> > > --mandir=/home/lvcargnini/puc/instramed/openembedded/tmp/staging/i686-linux/share/man
> > > ...
> > > ERROR: "gcc" looks like gcc 4.x
> > > QEMU is known to have problems when compiled with gcc 4.x
> > > It is recommended that you use gcc 3.x to build QEMU
> > > To use this compiler anyway, configure with --disable-gcc-check
> > > FATAL: oe_runconf failed
> > > (enterprise:~/puc/instramed/openembedded) lvcargnini%
> > >  how to solve this little problem with gcc version ???? or how to
> > > disable the qemu creation ????
> > >
> > >
> > > On 6/6/07, Luís Cargnini <lvcargnini at gmail.com> wrote:
> > > >
> > > > thank you all for all the help, but first are everybody completely
> > > > sure that I should remove this ines from my conf file ?????
> > > > If yes, why I can remove ?
> > > >
> > > > On 6/6/07, Koen Kooi <koen at dominion.kabel.utwente.nl> wrote:
> > > > >
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA1
> > > > >
> > > > > Koen Kooi schreef:
> > > > > > Luís Cargnini schreef:
> > > > > >> so just to make it fast before I could upload everything to
> > > > > some server here
> > > > > >> follow my local.conf :
> > > > > >
> > > > > >
> > > > > >> TARGET_ARCH = "arm"
> > > > > >> TARGET_OS = "linux"
> > > > > >
> > > > > > Remove those
> > > > > >
> > > > > >> DISTRO = "angstrom-2007.1"
> > > > >
> > > > > That one is ok as well
> > > > >
> > > > > >
> > > > > >> GLIBC_GENERATE_LOCALES = "en en_GB.UTF-8 fr pt_BR.UTF-8"
> > > > > >> INHERIT = "package_tar"
> > > > > >
> > > > > > remove those
> > > > > >
> > > > > >> IMAGE_FSTYPES = "jffs2 tar cramfs"
> > > > > >
> > > > > > that one is ok
> > > > > >
> > > > > >> BBDEBUG = "yes
> > > > > >> BBINCLUDELOGS = "yes"
> > > > > >
> > > > > > and remove those as well
> > > > >
> > > > > _______________________________________________
> > > > > Openembedded-devel mailing list
> > > > > Openembedded-devel at lists.openembedded.org
> > > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> > > > >
> > > > >
> > > > > -----BEGIN PGP SIGNATURE-----
> > > > > Version: GnuPG v1.4.5 (Darwin)
> > > > >
> > > > > iD8DBQFGZldqMkyGM64RGpERAv+NAKCDQjW7q7ickqaTwJdZD5DQhZEAtACgrx8p
> > > > > Gez+xEq2RxWhnkZcrw97Ook=
> > > > > =z96W
> > > > > -----END PGP SIGNATURE-----
> > > > >
> > > > > _______________________________________________
> > > > > Openembedded-devel mailing list
> > > > > Openembedded-devel at lists.openembedded.org
> > > > >
> > > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ------------------------------------------------------------------------------
> > > >
> > > > Thanks && Regards
> > > > Msc. Bsc. Luís Vitório Cargnini
> > > > IEEE Member
> > > > Electrical Engineer Faculty @ PUCRS
> > > > Ipiranga Avenue, 6681 – Building 30
> > > > P.O. Box: 90619-900 – Porto Alegre/RS
> > > > Phone: +55 51 3320 3500  extension: 7696
> > > > ---------------------------------------------------------------------------------
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > ------------------------------------------------------------------------------
> > > Thanks && Regards
> > > Msc. Bsc. Luís Vitório Cargnini
> > > IEEE Member
> > > Electrical Engineer Faculty @ PUCRS
> > > Ipiranga Avenue, 6681 – Building 30
> > > P.O. Box: 90619-900 – Porto Alegre/RS
> > > Phone: +55 51 3320 3500  extension: 7696
> > > ---------------------------------------------------------------------------------
> > >
> > >
> >
> >
> >
> > --
> >
> > ------------------------------------------------------------------------------
> > Thanks && Regards
> > Msc. Bsc. Luís Vitório Cargnini
> > IEEE Member
> > Electrical Engineer Faculty @ PUCRS
> > Ipiranga Avenue, 6681 – Building 30
> > P.O. Box: 90619-900 – Porto Alegre/RS
> > Phone: +55 51 3320 3500  extension: 7696
> > ---------------------------------------------------------------------------------
> >
> >
>
>
>
> --
>
> ------------------------------------------------------------------------------
> Thanks && Regards
> Msc. Bsc. Luís Vitório Cargnini
> IEEE Member
> Electrical Engineer Faculty @ PUCRS
> Ipiranga Avenue, 6681 – Building 30
> P.O. Box: 90619-900 – Porto Alegre/RS
> Phone: +55 51 3320 3500  extension: 7696
> ---------------------------------------------------------------------------------
>
>



-- 
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 – Building 30
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500  extension: 7696
---------------------------------------------------------------------------------



More information about the Openembedded-devel mailing list