Bug 79

Summary: glib-2.0_2.22.3 can't cross build due to fail test getgrgid_r function
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Dennis Lan <dennis.yxun>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: poky.bs.watcher, poky.watcher, yang.y.wang
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
fix mipsel glib-2.0 cross compile problem none

Description Dennis Lan 2010-01-07 02:46:47 UTC
dennis@sabayon ~/pokylinux/poky $ bitbake glib-2.0
NOTE: Handling BitBake files: \ (0926/0926) [100 %]
NOTE: Parsing finished. 801 cached, 64 parsed, 61 skipped, 0 masked.
NOTE: build 201001071040: started

OE Build Configuration:
BB_VERSION        = "1.8.13"
METADATA_BRANCH   = ""
METADATA_REVISION = "48f7cefabf7916ee4aabacc9f0aa616528ef0c96"
TARGET_ARCH       = "mipsel"
TARGET_OS         = "linux"
MACHINE           = "mv8100"
DISTRO            = "poky"
DISTRO_VERSION    = "3.2+snapshot-20100107"
TARGET_FPU        = ""

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 299 of 449 (ID: 1, /home/dennis/pokylinux/poky/meta/packages/glib-2.0/glib-2.0_2.22.3.bb, do_setscene)
NOTE: package glib-2.0-2.22.3: started
NOTE: package glib-2.0-2.22.3-r0: task do_setscene: started
NOTE: Checking if staging package installed
NOTE: No. Manually removing any installed files
NOTE: package glib-2.0-2.22.3-r0: task do_setscene: completed
NOTE: package glib-2.0-2.22.3: completed
NOTE: Running task 435 of 449 (ID: 2, /home/dennis/pokylinux/poky/meta/packages/glib-2.0/glib-2.0_2.22.3.bb, do_fetch)
NOTE: package glib-2.0-2.22.3: started
NOTE: package glib-2.0-2.22.3-r0: task do_fetch: started
NOTE: glib-2.0-2.22.3: http://ftp.gnome.org/pub/GNOME/sources/glib/2.22/glib-2.22.3.tar.bz2 has no entry in conf/checksums.ini, not checking URI
NOTE: package glib-2.0-2.22.3-r0: task do_fetch: completed
NOTE: package glib-2.0-2.22.3: completed
NOTE: Running task 436 of 449 (ID: 3, /home/dennis/pokylinux/poky/meta/packages/glib-2.0/glib-2.0_2.22.3.bb, do_unpack)
NOTE: package glib-2.0-2.22.3: started
NOTE: package glib-2.0-2.22.3-r0: task do_unpack: started
NOTE: Unpacking /home/dennis/pokylinux/poky/sources/glib-2.22.3.tar.bz2 to /home/dennis/pokylinux/poky/build/tmp/work/mipsel-poky-linux/glib-2.0-2.22.3-r0/
NOTE: Unpacking /home/dennis/pokylinux/poky/meta/packages/glib-2.0/files/glibconfig-sysdefs.h to /home/dennis/pokylinux/poky/build/tmp/work/mipsel-poky-linux/glib-2.0-2.22.3-r0/
NOTE: package glib-2.0-2.22.3-r0: task do_unpack: completed
NOTE: package glib-2.0-2.22.3: completed
NOTE: Running task 437 of 449 (ID: 4, /home/dennis/pokylinux/poky/meta/packages/glib-2.0/glib-2.0_2.22.3.bb, do_patch)
NOTE: package glib-2.0-2.22.3: started
NOTE: package glib-2.0-2.22.3-r0: task do_patch: started
NOTE: Applying patch 'configure-libtool.patch'
NOTE: package glib-2.0-2.22.3-r0: task do_patch: completed
NOTE: package glib-2.0-2.22.3: completed
NOTE: Running task 438 of 449 (ID: 5, /home/dennis/pokylinux/poky/meta/packages/glib-2.0/glib-2.0_2.22.3.bb, do_configure)
NOTE: package glib-2.0-2.22.3: started
NOTE: package glib-2.0-2.22.3-r0: task do_configure: started
 ERROR: function do_configure failed
ERROR: log data follows (/home/dennis/pokylinux/poky/build/tmp/work/mipsel-poky-linux/glib-2.0-2.22.3-r0/temp/log.do_configure.17000)
| automake (GNU automake) 1.10.2
| Copyright (C) 2008 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| 
| Written by Tom Tromey <tromey@redhat.com>
|        and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1.10
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I/home/dennis/pokylinux/poky/build/tmp/sysroots/mipsel-poky-linux/usr/share/aclocal-1.10 -I /home/dennis/pokylinux/poky/build/tmp/sysroots/mipsel-poky-linux/usr/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: configure.in: not using Gettext
| autoreconf: running: aclocal -I /home/dennis/pokylinux/poky/build/tmp/sysroots/mipsel-poky-linux/usr/share/aclocal-1.10 -I /home/dennis/pokylinux/poky/build/tmp/sysroots/mipsel-poky-linux/usr/share/aclocal --force
| autoreconf: configure.in: tracing
| configure.in:549: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ../../lib/autoconf/general.m4:2463: AC_RUN_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2479: AC_TRY_RUN is expanded from...
| configure.in:549: the top level
| configure.in:544: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:544: the top level
| configure.in:671: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:1899: AC_CACHE_VAL is expanded from...
| ../../lib/autoconf/general.m4:1912: AC_CACHE_CHECK is expanded from...
| configure.in:671: the top level
| configure.in:1131: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:1131: the top level
| configure.in:1480: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:1480: the top level
| configure.in:2155: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:2155: the top level
| configure.in:2194: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:2194: the top level
| autoreconf: running: libtoolize --copy --force
| libtoolize: putting auxiliary files in `.'.
| libtoolize: copying file `./ltmain.sh'
| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
| libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
| libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
| autoreconf: running: /home/dennis/pokylinux/poky/build/tmp/sysroots/i686-linux/usr/bin/autoconf --include=/home/dennis/pokylinux/poky/build/tmp/sysroots/mipsel-poky-linux/usr/share/aclocal-1.10 --include=/home/dennis/pokylinux/poky/build/tmp/sysroots/mipsel-poky-linux/usr/share/aclocal --force --warnings=cross
| configure.in:549: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ../../lib/autoconf/general.m4:2463: AC_RUN_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2479: AC_TRY_RUN is expanded from...
| configure.in:549: the top level
| configure.in:544: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:544: the top level
| configure.in:671: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:1899: AC_CACHE_VAL is expanded from...
| ../../lib/autoconf/general.m4:1912: AC_CACHE_CHECK is expanded from...
| configure.in:671: the top level
| configure.in:1131: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:1131: the top level
| configure.in:1480: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:1480: the top level
| configure.in:2155: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:2155: the top level
| configure.in:2194: warning: AC_RUN_IFELSE called without default to allow cross compiling
| configure.in:2194: the top level
| autoreconf: running: /home/dennis/pokylinux/poky/build/tmp/sysroots/i686-linux/usr/bin/autoheader --include=/home/dennis/pokylinux/poky/build/tmp/sysroots/mipsel-poky-linux/usr/share/aclocal-1.10 --include=/home/dennis/pokylinux/poky/build/tmp/sysroots/mipsel-poky-linux/usr/share/aclocal --force --warnings=cross
| autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
| automake: unknown warning category `cross'
| gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ...
| docs/reference/gio/Makefile.am:122:   `gtk-doc.make' included from here
| Makefile.decl:8: ... `EXTRA_DIST' previously defined here
| docs/reference/gio/Makefile.am:1:   `Makefile.decl' included from here
| gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ...
| docs/reference/glib/Makefile.am:73:   `gtk-doc.make' included from here
| Makefile.decl:8: ... `EXTRA_DIST' previously defined here
| docs/reference/glib/Makefile.am:2:   `Makefile.decl' included from here
| gtk-doc.make:26: EXTRA_DIST multiply defined in condition TRUE ...
| docs/reference/gobject/Makefile.am:61:   `gtk-doc.make' included from here
| Makefile.decl:8: ... `EXTRA_DIST' previously defined here
| docs/reference/gobject/Makefile.am:2:   `Makefile.decl' included from here
| autoreconf: running: gnu-configize
| autoreconf: Leaving directory `.'
| NOTE: Running /home/dennis/pokylinux/poky/build/tmp/work/mipsel-poky-linux/glib-2.0-2.22.3-r0/glib-2.22.3/configure 		    --build=i686-linux 		    --host=mipsel-poky-linux 		    --target=mipsel-poky-linux 		    --prefix=/usr 		    --exec_prefix=/usr 		    --bindir=/usr/bin 		    --sbindir=/usr/sbin 		    --libexecdir=/usr/libexec 		    --datadir=/usr/share 		    --sysconfdir=/etc 	    --sharedstatedir=/com 		    --localstatedir=/var 		    --libdir=/usr/lib 		    --includedir=/usr/include 		    --oldincludedir=/usr/include 		    --infodir=/usr/share/info 		    --mandir=/usr/share/man 			--enable-included-printf=no --enable-nls 		    ...
| configure: loading site script /home/dennis/pokylinux/poky/meta/site/endian-little
| configure: loading site script /home/dennis/pokylinux/poky/meta/site/common-glibc
| configure: loading site script /home/dennis/pokylinux/poky/meta/site/mipsel-linux
| configure: loading site script /home/dennis/pokylinux/poky/meta/site/common
| configure: loading site script /home/dennis/pokylinux/poky/meta/site/common
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for a thread-safe mkdir -p... /bin/mkdir -p
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking for mipsel-poky-linux-strip... mipsel-poky-linux-strip
| checking whether to enable maintainer-specific portions of Makefiles... no
| checking build system type... i686-pc-linux-gnu
| checking host system type... mipsel-poky-linux-gnu
| checking for the BeOS... no
| checking for Win32... no
| checking for Mac OS X Carbon support... checking for style of include used by make... GNU
| checking for mipsel-poky-linux-gcc... ccache mipsel-poky-linux-gcc -march=mips32
| checking for C compiler default output file name... a.out
| checking whether the C compiler works... yes
| checking whether we are cross compiling... yes
| checking for suffix of executables...
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether ccache mipsel-poky-linux-gcc -march=mips32 accepts -g... yes
| checking for ccache mipsel-poky-linux-gcc -march=mips32 option to accept ISO C89... none needed
| checking dependency style of ccache mipsel-poky-linux-gcc -march=mips32... gcc3
| checking how to run the C preprocessor... mipsel-poky-linux-gcc -E
| no
| checking whether to enable garbage collector friendliness... no
| checking whether to disable memory pools... no
| checking for mipsel-poky-linux-gcc... (cached) ccache mipsel-poky-linux-gcc -march=mips32
| checking whether we are using the GNU C compiler... (cached) yes
| checking whether ccache mipsel-poky-linux-gcc -march=mips32 accepts -g... (cached) yes
| checking for ccache mipsel-poky-linux-gcc -march=mips32 option to accept ISO C89... (cached) none needed
| checking dependency style of ccache mipsel-poky-linux-gcc -march=mips32... (cached) gcc3
| checking how to run the C preprocessor... mipsel-poky-linux-gcc -E
| checking for mipsel-poky-linux-c++... ccache mipsel-poky-linux-g++ -march=mips32
| checking whether we are using the GNU C++ compiler... yes
| checking whether ccache mipsel-poky-linux-g++ -march=mips32 accepts -g... yes
| checking dependency style of ccache mipsel-poky-linux-g++ -march=mips32... gcc3
| checking for mipsel-poky-linux-gcc... (cached) ccache mipsel-poky-linux-gcc -march=mips32
| checking whether we are using the GNU C compiler... (cached) yes
| checking whether ccache mipsel-poky-linux-gcc -march=mips32 accepts -g... (cached) yes
| checking for ccache mipsel-poky-linux-gcc -march=mips32 option to accept ISO C89... (cached) none needed
| checking dependency style of ccache mipsel-poky-linux-gcc -march=mips32... (cached) gcc3
| checking whether ccache mipsel-poky-linux-gcc -march=mips32 and cc understand -c and -o together... yes
| checking for a BSD-compatible install... /usr/bin/install -c
| checking for special C compiler options needed for large files... no
| checking for _FILE_OFFSET_BITS value needed for large files... 64
| checking for pkg-config... /home/dennis/pokylinux/poky/build/tmp/sysroots/i686-linux/usr/bin/pkg-config
| checking for gawk... (cached) gawk
| checking for perl5... no
| checking for perl... perl
| checking for indent... no
| checking for perl... /home/dennis/pokylinux/poky/build/tmp/sysroots/i686-linux/usr/bin/perl
| checking for a Python interpreter with version >= 2.4... python
| checking for python... /home/dennis/pokylinux/poky/build/tmp/sysroots/i686-linux/usr/bin/python
| checking for python version... 2.6
| checking for python platform... linux2
| checking for python script directory... ${prefix}/lib/python2.6/site-packages
| checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
| checking for iconv_open... yes
| checking for grep that handles long lines and -e... /bin/grep
| checking for egrep... /bin/grep -E
| checking whether we are using the GNU C Library 2.1 or newer... yes
| checking Whether to cache iconv descriptors... no
| checking for ANSI C header files... yes
| checking for sys/types.h... yes
| checking for sys/stat.h... yes
| checking for stdlib.h... yes
| checking for string.h... yes
| checking for memory.h... yes
| checking for strings.h... yes
| checking for inttypes.h... yes
| checking for stdint.h... yes
| checking for unistd.h... yes
| checking locale.h usability... yes
| checking locale.h presence... yes
| checking for locale.h... yes
| checking for LC_MESSAGES... yes
| checking libintl.h usability... yes
| checking libintl.h presence... yes
| checking for libintl.h... yes
| checking for ngettext in libc... yes
| checking for dgettext in libc... yes
| checking for bind_textdomain_codeset... yes
| checking for msgfmt... /home/dennis/pokylinux/poky/build/tmp/sysroots/i686-linux/usr/bin/msgfmt
| checking for dcgettext... yes
| checking if msgfmt accepts -c... yes
| checking for gmsgfmt... /usr/bin/gmsgfmt
| checking for xgettext... /home/dennis/pokylinux/poky/build/tmp/sysroots/i686-linux/usr/bin/xgettext
| checking for catalogs to be installed...  am ar as az be be@latin bg bn bn_IN bs ca ca@valencia cs cy da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy id is it ja ka kn ko ku lt lv mai mg mk ml mn mr ms nb ne nl nn oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te th tl tr tt uk vi wa xh yi zh_CN zh_HK zh_TW
| checking for a sed that does not truncate output... /bin/sed
| checking for fgrep... /bin/grep -F
| checking for ld used by ccache mipsel-poky-linux-gcc -march=mips32... mipsel-poky-linux-ld
| checking if the linker (mipsel-poky-linux-ld) is GNU ld... yes
| checking for BSD- or MS-compatible name lister (nm)... /home/dennis/pokylinux/poky/build/tmp/cross/mipsel//bin/mipsel-poky-linux-nm -B
| checking the name lister (/home/dennis/pokylinux/poky/build/tmp/cross/mipsel//bin/mipsel-poky-linux-nm -B) interface... BSD nm
| checking whether ln -s works... yes
| checking the maximum length of command line arguments... 1572864
| checking whether the shell understands some XSI constructs... yes
| checking whether the shell understands "+="... yes
| checking for mipsel-poky-linux-ld option to reload object files... -r
| checking for mipsel-poky-linux-objdump... mipsel-poky-linux-objdump
| checking how to recognize dependent libraries... pass_all
| checking for mipsel-poky-linux-ar... mipsel-poky-linux-ar
| checking for mipsel-poky-linux-strip... (cached) mipsel-poky-linux-strip
| checking for mipsel-poky-linux-ranlib... mipsel-poky-linux-ranlib
| checking command to parse /home/dennis/pokylinux/poky/build/tmp/cross/mipsel//bin/mipsel-poky-linux-nm -B output from ccache mipsel-poky-linux-gcc -march=mips32 object... ok
| checking for dlfcn.h... yes
| checking whether we are using the GNU C++ compiler... (cached) yes
| checking whether ccache mipsel-poky-linux-g++ -march=mips32 accepts -g... (cached) yes
| checking dependency style of ccache mipsel-poky-linux-g++ -march=mips32... (cached) gcc3
| checking how to run the C++ preprocessor... ccache mipsel-poky-linux-g++ -march=mips32 -E
| checking for objdir... .libs
| checking if ccache mipsel-poky-linux-gcc -march=mips32 supports -fno-rtti -fno-exceptions... no
| checking for ccache mipsel-poky-linux-gcc -march=mips32 option to produce PIC... -fPIC -DPIC
| checking if ccache mipsel-poky-linux-gcc -march=mips32 PIC flag -fPIC -DPIC works... yes
| checking if ccache mipsel-poky-linux-gcc -march=mips32 static flag -static works... yes
| checking if ccache mipsel-poky-linux-gcc -march=mips32 supports -c -o file.o... yes
| checking if ccache mipsel-poky-linux-gcc -march=mips32 supports -c -o file.o... (cached) yes
| checking whether the ccache mipsel-poky-linux-gcc -march=mips32 linker (mipsel-poky-linux-ld) supports shared libraries... yes
| checking whether -lc should be explicitly linked in... no
| checking dynamic linker characteristics... GNU/Linux ld.so
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... yes
| checking if libtool supports shared libraries... yes
| checking whether to build shared libraries... yes
| checking whether to build static libraries... no
| checking for ld used by ccache mipsel-poky-linux-g++ -march=mips32... mipsel-poky-linux-ld
| checking if the linker (mipsel-poky-linux-ld) is GNU ld... yes
| checking whether the ccache mipsel-poky-linux-g++ -march=mips32 linker (mipsel-poky-linux-ld) supports shared libraries... yes
| checking for ccache mipsel-poky-linux-g++ -march=mips32 option to produce PIC... -fPIC -DPIC
| checking if ccache mipsel-poky-linux-g++ -march=mips32 PIC flag -fPIC -DPIC works... yes
| checking if ccache mipsel-poky-linux-g++ -march=mips32 static flag -static works... yes
| checking if ccache mipsel-poky-linux-g++ -march=mips32 supports -c -o file.o... yes
| checking if ccache mipsel-poky-linux-g++ -march=mips32 supports -c -o file.o... (cached) yes
| checking whether the ccache mipsel-poky-linux-g++ -march=mips32 linker (mipsel-poky-linux-ld) supports shared libraries... yes
| checking dynamic linker characteristics... GNU/Linux ld.so
| checking how to hardcode library paths into programs... immediate
| configure: creating ./config.lt
| config.lt: creating mipsel-poky-linux-libtool
| checking for extra flags for POSIX compliance... none needed
| checking for ANSI C header files... (cached) yes
| checking for vprintf... yes
| checking for _doprnt... no
| checking for working alloca.h... yes
| checking for alloca... yes
| checking for mmap... yes
| checking for posix_memalign... yes
| checking for memalign... yes
| checking for valloc... yes
| checking for fsync... yes
| checking for pipe2... yes
| checking for atexit... yes
| checking for on_exit... yes
| checking for timegm... yes
| checking for gmtime_r... yes
| checking for char... yes
| checking size of char... 1
| checking for short... yes
| checking size of short... 2
| checking for long... yes
| checking size of long... 4
| checking for int... yes
| checking size of int... (cached) 4
| checking for void *... yes
| checking size of void *... 4
| checking for long long... yes
| checking size of long long... 8
| checking for __int64... no
| checking size of __int64... 0
| checking for format to printf and scanf a guint64... (cached) %llu
| checking for an ANSI C-conforming const... yes
| checking if malloc() and friends prototypes are gmem.h compatible... yes
| checking for growing stack pointer... (cached) no
| checking for __inline... (cached) yes
| checking for __inline__... (cached) yes
| checking for inline... (cached) yes
| checking if inline functions in headers work... yes
| checking for working do while(0) macros... yes
| checking for ISO C99 varargs macros in C... yes
| checking for ISO C99 varargs macros in C++... yes
| checking for GNUC varargs macros... yes
| checking for GNUC visibility attribute... yes
| checking whether using Sun Studio C compiler... no
| checking whether byte ordering is bigendian... (cached) no
| checking dirent.h usability... yes
| checking dirent.h presence... yes
| checking for dirent.h... yes
| checking float.h usability... yes
| checking float.h presence... yes
| checking for float.h... yes
| checking limits.h usability... yes
| checking limits.h presence... yes
| checking for limits.h... yes
| checking pwd.h usability... yes
| checking pwd.h presence... yes
| checking for pwd.h... yes
| checking grp.h usability... yes
| checking grp.h presence... yes
| checking for grp.h... yes
| checking sys/param.h usability... yes
| checking sys/param.h presence... yes
| checking for sys/param.h... yes
| checking sys/poll.h usability... yes
| checking sys/poll.h presence... yes
| checking for sys/poll.h... yes
| checking sys/resource.h usability... yes
| checking sys/resource.h presence... yes
| checking for sys/resource.h... yes
| checking sys/time.h usability... yes
| checking sys/time.h presence... yes
| checking for sys/time.h... yes
| checking sys/times.h usability... yes
| checking sys/times.h presence... yes
| checking for sys/times.h... yes
| checking sys/wait.h usability... yes
| checking sys/wait.h presence... yes
| checking for sys/wait.h... yes
| checking for unistd.h... (cached) yes
| checking values.h usability... yes
| checking values.h presence... yes
| checking for values.h... yes
| checking sys/select.h usability... yes
| checking sys/select.h presence... yes
| checking for sys/select.h... yes
| checking for sys/types.h... (cached) yes
| checking for stdint.h... (cached) yes
| checking sched.h usability... yes
| checking sched.h presence... yes
| checking for sched.h... yes
| checking malloc.h usability... yes
| checking malloc.h presence... yes
| checking for malloc.h... yes
| checking sys/vfs.h usability... yes
| checking sys/vfs.h presence... yes
| checking for sys/vfs.h... yes
| checking sys/mount.h usability... yes
| checking sys/mount.h presence... yes
| checking for sys/mount.h... yes
| checking sys/vmount.h usability... no
| checking sys/vmount.h presence... no
| checking for sys/vmount.h... no
| checking sys/statfs.h usability... yes
| checking sys/statfs.h presence... yes
| checking for sys/statfs.h... yes
| checking sys/statvfs.h usability... yes
| checking sys/statvfs.h presence... yes
| checking for sys/statvfs.h... yes
| checking mntent.h usability... yes
| checking mntent.h presence... yes
| checking for mntent.h... yes
| checking sys/mnttab.h usability... no
| checking sys/mnttab.h presence... no
| checking for sys/mnttab.h... no
| checking sys/vfstab.h usability... no
| checking sys/vfstab.h presence... no
| checking for sys/vfstab.h... no
| checking sys/mntctl.h usability... no
| checking sys/mntctl.h presence... no
| checking for sys/mntctl.h... no
| checking sys/sysctl.h usability... yes
| checking sys/sysctl.h presence... yes
| checking for sys/sysctl.h... yes
| checking fstab.h usability... yes
| checking fstab.h presence... yes
| checking for fstab.h... yes
| checking sys/uio.h usability... yes
| checking sys/uio.h presence... yes
| checking for sys/uio.h... yes
| checking for struct stat.st_mtimensec... no
| checking for struct stat.st_mtim.tv_nsec... yes
| checking for struct stat.st_atimensec... no
| checking for struct stat.st_atim.tv_nsec... yes
| checking for struct stat.st_ctimensec... no
| checking for struct stat.st_ctim.tv_nsec... yes
| checking for struct stat.st_blksize... yes
| checking for struct stat.st_blocks... yes
| checking for struct statfs.f_fstypename... no
| checking for struct statfs.f_bavail... yes
| checking for struct statvfs.f_basetype... no
| checking for nl_langinfo and CODESET... yes
| checking whether we are using the GNU C Library 2.1 or newer... (cached) yes
| checking stddef.h usability... yes
| checking stddef.h presence... yes
| checking for stddef.h... yes
| checking for stdlib.h... (cached) yes
| checking for string.h... (cached) yes
| checking for setlocale... yes
| checking for size_t... yes
| checking size of size_t... 4
| checking for the appropriate definition for size_t... unsigned int
| checking for lstat... yes
| checking for strerror... (cached) yes
| checking for strsignal... yes
| checking for memmove... yes
| checking for vsnprintf... yes
| checking for stpcpy... yes
| checking for strcasecmp... yes
| checking for strncasecmp... yes
| checking for poll... yes
| checking for getcwd... yes
| checking for vasprintf... yes
| checking for setenv... yes
| checking for unsetenv... yes
| checking for getc_unlocked... yes
| checking for readlink... yes
| checking for symlink... yes
| checking for fdwalk... no
| checking for chown... yes
| checking for lchmod... no
| checking for lchown... yes
| checking for fchmod... yes
| checking for fchown... yes
| checking for link... yes
| checking for statvfs... yes
| checking for statfs... yes
| checking for utimes... yes
| checking for getgrgid... yes
| checking for getpwuid... yes
| checking for getmntent_r... yes
| checking for setmntent... yes
| checking for endmntent... yes
| checking for hasmntopt... yes
| checking for getmntinfo... no
| checking for nanosleep... yes
| checking for nsleep... no
| checking crt_externs.h usability... no
| checking crt_externs.h presence... no
| checking for crt_externs.h... no
| checking for _NSGetEnviron... no
| checking for C99 vsnprintf... (cached) yes
| checking whether printf supports positional parameters... (cached) yes
| checking value of AF_INET... 2
| checking value of AF_INET6... 10
| checking value of AF_UNIX... 1
| checking value of MSG_PEEK... 2
| checking value of MSG_OOB... 1
| checking value of MSG_DONTROUTE... 4
| checking for getprotobyname_r... yes
| checking for endservent... yes
| checking netdb.h usability... yes
| checking netdb.h presence... yes
| checking for netdb.h... yes
| checking winsock2.h usability... no
| checking winsock2.h presence... no
| checking for winsock2.h... no
| checking mswsock.h usability... no
| checking mswsock.h presence... no
| checking for mswsock.h... no
| checking for strndup... yes
| checking for setresuid... (cached) yes
| checking for setreuid... yes
| checking sys/prctl.h usability... yes
| checking sys/prctl.h presence... yes
| checking for sys/prctl.h... yes
| checking arpa/nameser_compat.h usability... yes
| checking arpa/nameser_compat.h presence... yes
| checking for arpa/nameser_compat.h... yes
| checking for res_query... no
| checking for res_query in -lresolv... yes
| checking number of arguments to statfs()... 2
| checking for signed... yes
| checking for long long... (cached) yes
| checking for long double... yes
| checking for wchar_t... yes
| checking for wint_t... yes
| checking for size_t... (cached) yes
| checking for ptrdiff_t... yes
| checking for inttypes.h... yes
| checking for stdint.h... yes
| checking for snprintf... yes
| checking for wcslen... yes
| checking for C99 snprintf... (cached) yes
| checking for sys_errlist... yes
| checking for sys_siglist... yes
| checking for sys_siglist declaration... yes
| checking for fd_set... yes, found in sys/types.h
| checking whether realloc (NULL,) will work... (cached) yes
| checking for nl_langinfo (CODESET)... yes
| checking for a compliant posix_memalign() implementation... (cached) yes
| checking for OpenBSD strlcpy/strlcat... no
| checking for an implementation of va_copy()... (cached) yes
| checking for an implementation of __va_copy()... (cached) yes
| checking whether va_lists can be copied by value... (cached) yes
| checking for dlopen... no
| checking for NSLinkModule... no
| checking for dlopen in -ldl... yes
| checking for dlsym in -ldl... yes
| /home/dennis/pokylinux/poky/build/tmp/sysroots/mipsel-poky-linux/usr/lib/crt1.o: In function `__start':
| (.text+0x18): undefined reference to `main'
| collect2: ld returned 1 exit status
| checking for RTLD_GLOBAL brokenness... (cached) no
| checking for preceeding underscore in symbols... (cached) no
| checking for dlerror... yes
| checking for the suffix of module shared libraries... .so
| checking for gspawn implementation... gspawn.lo
| checking for GIOChannel implementation... giounix.lo
| checking for is_selinux_enabled in -lselinux... no
| checking sys/inotify.h usability... yes
| checking sys/inotify.h presence... yes
| checking for sys/inotify.h... yes
| checking for inotify_init1... yes
| checking for FAMOpen in -lfam... no
| configure: WARNING: *** FAM support will not be built (FAM library not found) ***
| checking for getxattr in -lc... yes
| checking sys/xattr.h usability... yes
| checking sys/xattr.h presence... yes
| checking for sys/xattr.h... yes
| checking for XATTR_NOFOLLOW... no
| checking for platform-dependent source...
| checking whether to compile timeloop... yes
| checking if building for some Win32 platform... no
| checking for thread implementation... posix
| checking thread related cflags... -pthread
| checking for sched_get_priority_min... yes
| checking thread related libraries... -pthread
| checking for localtime_r... yes
| checking for gmtime_r... (cached) yes
| checking for posix getpwuid_r... (cached) yes
| checking for posix getgrgid_r... configure: error: cannot run test program while cross compiling
| See `config.log' for more details.
| FATAL: oe_runconf failed
NOTE: Task failed: /home/dennis/pokylinux/poky/build/tmp/work/mipsel-poky-linux/glib-2.0-2.22.3-r0/temp/log.do_configure.17000
NOTE: package glib-2.0-2.22.3-r0: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package glib-2.0-2.22.3: failed
ERROR: Build of /home/dennis/pokylinux/poky/meta/packages/glib-2.0/glib-2.0_2.22.3.bb do_configure failed
ERROR: Task 5 (/home/dennis/pokylinux/poky/meta/packages/glib-2.0/glib-2.0_2.22.3.bb, do_configure) failed
NOTE: Tasks Summary: Attempted 437 tasks of which 433 didn't need to be rerun and 1 failed.
ERROR: '/home/dennis/pokylinux/poky/meta/packages/glib-2.0/glib-2.0_2.22.3.bb' failed
NOTE: build 201001071040: completed
Comment 1 Dennis Lan 2010-01-07 03:09:30 UTC
Created attachment 1785 [details]
Layer problem error

the problem is that my target arch is mipsel, while glib-2.0 require some cache file variables. attached patches should solve this problem.
Comment 2 Richard Purdie 2010-01-18 17:35:48 UTC
This has been fixed in recent commits