| Summary: | Can't build for mipsel with uclibc | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Charles Macfarlane <c.e.macfarlane> |
| Component: | configuration | Assignee: | Khem Raj <raj.khem> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Medium | CC: | bruce.ashfield, mark.hatle, poky.bs.watcher, poky.watcher, raj.khem, sjolley.yp.pm |
| Version: | 1.6.1 | ||
| Target Milestone: | 1.7 | ||
| Hardware: | x86 | ||
| OS: | mips | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Charles Macfarlane
2014-09-18 19:34:41 UTC
I've got a little further by analysing the config files, and discovering thereby that there is a qemumipsel build which I should have specified. As I hadn't discovered this by reading the documentation, that suggests to me that the documentation needs amendment to mention it as a valid build.
Perhaps the reason it doesn't mention it currently is because, when I started again, I still got an error:
1) LocalSource$ rm -fr mipsel-uclibc
2) LocalSource$ source oe-init-build-env mipsel-uclibc
3) Edit conf/local.conf as follows:
MACHINE = "qemumipsel"
TARGET_ARCH = "mipsel"
TARGET_OS = "linux-uclibc"
4) LocalSource/mipsel-uclibc$ bitbake -k core-image-minimal-dev
NOTE: Error during finalise of /home/Embedded/Yocto/LocalSource/meta/recipes-devtools/gcc/gcc-cross-initial_4.8.bb
ERROR: ExpansionError during parsing /home/Embedded/Yocto/LocalSource/meta/recipes-devtools/gcc/gcc-cross-initial_4.8.bb: Failure expanding variable oe_runconf: ExpansionError: Failure expanding variable EXTRA_OECONF, expression was --with-newlib --without-headers --disable-shared --disable-threads --disable-multilib --disable-__cxa_atexit --enable-languages=c --enable-target-optspace --program-prefix=mipsel-poky-linux-uclibc- --with-sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclibc/build/sysroots/qemumipsel --with-build-sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclibc/build/work/${TUNE_PKGARCH}-poky-linux-uclibc/gcc-cross-initial/4.8.1-r0/gcc-4.8.1/build.i686-linux.mipsel-poky-linux-uclibc/tmpsysroot --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --with-system-zlib --disable-lto --disable-plugin --enable-decimal-float=no ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--with-ld=/home/Embedded/Yocto/LocalSource/mipsel-uclibc/build/sysroots/i686-linux/usr/bin/${TUNE_PKGARCH}-poky-linux-uclibc/mipsel-poky-linux-uclibc-ld.bfd', '', d)} --with-native-system-header-dir=/usr/include ${@gettext_oeconf(d)} which triggered exception SyntaxError: EOL while scanning string literal (EXTRA_OECONF, line 1)
NOTE: Error during finalise of /home/Embedded/Yocto/LocalSource/meta/recipes-devtools/gcc/gcc-cross_4.7.bb
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
So still not out of the woods ...
This is really confusing. I've just tried deleting everything, and then in turn both recloning and extracting source files from a downloaded tar, and in both cases I got:
LocalSource/mipsel-uclibc$ bitbake -k core-image-minimal-dev
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Please set a valid MACHINE in your local.conf or environment
ERROR: Execution of event handler 'check_sanity_eventhandler' failed
Meanwhile, I'm not receiving emails from this system (I've checked the spam folder), and no-one here is responding anyway.
"Welcome to the planet Magrathea!"
The difference between the two situations described above is that in the first I had disabled sanity checking. Can you double check that you have your configuration correct? This should be the correct way to set the libc choice and Tune file. MACHINE = "qemumips" DEFUALTTUNE = "mips32el" TCLIBC = "uclibc" (In reply to comment #0) > Change default conf/local.conf as follows > > MACHINE ??= "qemumips" > TARGET_ARCH = "mipsel" > TARGET_OS = "linux-uclibc" This not right. Strike all above and then below bunch of things in local.conf set TCLIBC = "uclibc" DEFAULTTUNE = "mips32el" MACHINE = "qemumips" No better I'm afraid. Clean rebuild from scratch with the configuration suggested now gives (entire output appended as I can't tell what is important): mipsel-uclib$ bitbake -k core-image-minimal-dev Parsing recipes: 100% |########################################################################################################| Time: 00:05:12 Parsing of 855 .bb files complete (0 cached, 855 parsed). 1187 targets, 58 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.20.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-13.10" TARGET_SYS = "mipsel-poky-linux-uclibc" MACHINE = "qemumips" DISTRO = "poky" DISTRO_VERSION = "1.5.3" TUNE_FEATURES = "o32 fpu-hard mips32" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "dora:a54eca72d7f58a23efe409b510642a6d47680a97" NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks WARNING: The recipe libiconv is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/iconv.h Matched in manifest-qemumips-uclibc Please verify which package should provide the above files. NOTE: validating kernel config, see log.do_kernel_configcheck for details ERROR: Function failed: do_compile (log file is located at /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/temp/log.do_compile.30635) ERROR: Logfile of failure stored in: /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/temp/log.do_compile.30635 Log data follows: | DEBUG: SITE files ['endian-little', 'bit-32', 'mips-common', 'common-linux', 'common-uclibc', 'mipsel-linux-uclibc', 'common'] | DEBUG: Executing shell function do_compile | NOTE: make | make all-recursive | make[1]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build' | Making all in usbhid-dump | make[2]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump' | make all-recursive | make[3]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump' | Making all in include | make[4]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include' | Making all in uhd | make[5]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include/uhd' | make[5]: Nothing to be done for `all'. | make[5]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include/uhd' | make[5]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include' | make[5]: Nothing to be done for `all-am'. | make[5]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include' | make[4]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include' | Making all in lib | make[4]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/lib' | ../mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c -o dev.lo /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/dev.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/dev.c -fPIC -DPIC -o .libs/dev.o | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/dev.c -o dev.o >/dev/null 2>&1 | ../mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c -o dev_list.lo /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/dev_list.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/dev_list.c -fPIC -DPIC -o .libs/dev_list.o | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/dev_list.c -o dev_list.o >/dev/null 2>&1 | ../mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c -o iface.lo /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/iface.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/iface.c -fPIC -DPIC -o .libs/iface.o | /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/iface.c: In function 'uhd_iface_new': | /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/iface.c:52:21: warning: variable 'rc' set but not used [-Wunused-but-set-variable] | int rc; | ^ | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/iface.c -o iface.o >/dev/null 2>&1 | ../mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c -o iface_list.lo /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/iface_list.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/iface_list.c -fPIC -DPIC -o .libs/iface_list.o | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/iface_list.c -o iface_list.o >/dev/null 2>&1 | ../mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c -o libusb.lo /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/libusb.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/libusb.c -fPIC -DPIC -o .libs/libusb.o | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/lib/libusb.c -o libusb.o >/dev/null 2>&1 | ../mipsel-poky-linux-uclibc-libtool --tag=CC --mode=link mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -Wl,-O1 -Wl,--as-needed -o libuhd.la dev.lo dev_list.lo iface.lo iface_list.lo libusb.lo -lusb-1.0 | mipsel-poky-linux-uclibc-libtool: link: mipsel-poky-linux-uclibc-ar cru .libs/libuhd.a .libs/dev.o .libs/dev_list.o .libs/iface.o .libs/iface_list.o .libs/libusb.o | mipsel-poky-linux-uclibc-libtool: link: mipsel-poky-linux-uclibc-ranlib .libs/libuhd.a | mipsel-poky-linux-uclibc-libtool: link: ( cd ".libs" && rm -f "libuhd.la" && ln -s "../libuhd.la" "libuhd.la" ) | make[4]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/lib' | Making all in src | make[4]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/src' | mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/src -I.. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/include -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/include -DNDEBUG -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -c /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbhid-dump/src/usbhid-dump.c | ../mipsel-poky-linux-uclibc-libtool --tag=CC --mode=link mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -Wl,-O1 -Wl,--as-needed -o usbhid-dump usbhid-dump.o ../lib/libuhd.la -lusb-1.0 | mipsel-poky-linux-uclibc-libtool: link: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -Os -Wall -O2 -pipe -g -feliminate-unused-debug-types -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -Wl,-O1 -Wl,--as-needed -o usbhid-dump usbhid-dump.o ../lib/.libs/libuhd.a /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/lib/libusb-1.0.so -lrt -pthread | make[4]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/src' | Making all in doc | make[4]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/doc' | make[4]: Nothing to be done for `all'. | make[4]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump/doc' | make[4]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump' | make[4]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump' | make[3]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump' | make[2]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build/usbhid-dump' | make[2]: Entering directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build' | mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007 -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -DDATADIR=\"/usr/share\" -DHAVE_LIBZ -O2 -pipe -g -feliminate-unused-debug-types -c -o lsusb-lsusb.o `test -f 'lsusb.c' || echo '/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/'`lsusb.c | mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007 -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -DDATADIR=\"/usr/share\" -DHAVE_LIBZ -O2 -pipe -g -feliminate-unused-debug-types -c -o lsusb-lsusb-t.o `test -f 'lsusb-t.c' || echo '/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/'`lsusb-t.c | mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007 -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -DDATADIR=\"/usr/share\" -DHAVE_LIBZ -O2 -pipe -g -feliminate-unused-debug-types -c -o lsusb-names.o `test -f 'names.c' || echo '/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/'`names.c | mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007 -I/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips/usr/include/libusb-1.0 -DDATADIR=\"/usr/share\" -DHAVE_LIBZ -O2 -pipe -g -feliminate-unused-debug-types -c -o lsusb-usbmisc.o `test -f 'usbmisc.c' || echo '/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/'`usbmisc.c | mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/sysroots/qemumips -O2 -pipe -g -feliminate-unused-debug-types -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o lsusb lsusb-lsusb.o lsusb-lsusb-t.o lsusb-names.o lsusb-usbmisc.o -lusb-1.0 -lz | lsusb-usbmisc.o: In function `usb_string_to_native': | /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbmisc.c:190: undefined reference to `libiconv_open' | /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbmisc.c:199: undefined reference to `libiconv' | /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/usbutils-007/usbmisc.c:202: undefined reference to `libiconv_close' | collect2: error: ld returned 1 exit status | make[2]: *** [lsusb] Error 1 | make[2]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/build' | make: *** [all] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/usbutils/007-r0/temp/log.do_compile.30635) ERROR: Task 1350 (/home/Embedded/Yocto/LocalSource/meta/recipes-bsp/usbutils/usbutils_007.bb, do_compile) failed with exit code '1' ERROR: QA Issue: Endiannes did not match (1 to 0) on /work/qemumips-poky-linux-uclibc/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_e87d2cb44b-r0/packages-split/kernel-vmlinux/boot/vmlinux-3.10.17-yocto-standard [ 239 such errors - all but first and last snipped ] ERROR: QA Issue: Endiannes did not match (1 to 0) on /work/qemumips-poky-linux-uclibc/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_e87d2cb44b-r0/packages-split/kernel-module-xfrm-user/lib/modules/3.10.17-yocto-standard/kernel/net/xfrm/xfrm_user.ko ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa ERROR: Logfile of failure stored in: /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/qemumips-poky-linux-uclibc/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_e87d2cb44b-r0/temp/log.do_package.23341 ERROR: Task 97 (/home/Embedded/Yocto/LocalSource/meta/recipes-kernel/linux/linux-yocto_3.10.bb, do_package) failed with exit code '1' NOTE: Tasks Summary: Attempted 1580 tasks of which 261 didn't need to be rerun and 2 failed. No currently running tasks (1579 of 1607) Summary: 2 tasks failed: /home/Embedded/Yocto/LocalSource/meta/recipes-bsp/usbutils/usbutils_007.bb, do_compile /home/Embedded/Yocto/LocalSource/meta/recipes-kernel/linux/linux-yocto_3.10.bb, do_package Summary: There was 1 WARNING message shown. Summary: There were 242 ERROR messages shown, returning a non-zero exit code. Some further observations of your build, was this orignally a 1.6.x or 1.5.x issue? You list version in the bug as 1.6.1, but your build output shows 1.5.3?? Also, you have a WARNING early in the build that might indicate an issue with the build, did you do a MIPSEL build on top of an existing build area for mips? Can you please try a clean build of just the mipsel tune in your local.conf? I did try a local build with the settings above and got a different failure with the kernel modules having the wrong edianness: ERROR: QA Issue: Endiannes did not match (1 to 0) on /work/qemumips-poky-linux-uclibc/linux-yocto/3.14+gitAUTOINC+09424cee64_38f344fcab-r0/packages-split/kernel-module-xfrm-user/lib/modules/3.14.0-yocto-standard/kernel/net/xfrm/xfrm_user.ko So this might be different issues, but if we can get you try a clean, or 1.6.x, thanks Cherry pick commit 9da1e04b1543d0a08fdd679a72c9cf6455811ab9 Author: Khem Raj <raj.khem@gmail.com> Date: Sat Mar 15 22:42:27 2014 -0700 uclibc: Remove iconv.h We get it from libiconv on uclibc anyway no need to transplant uclibc one Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Then add LDFLAGS_append_libc-uclibc = " -liconv" To /home/Embedded/Yocto/LocalSource/meta/recipes-bsp/usbutils/usbutils_007.bb and see if it helps. (In reply to comment #7) > Some further observations of your build, was this orignally a 1.6.x or 1.5.x > issue? You list version in the bug as 1.6.1, but your build output shows > 1.5.3?? I've tried both in the past, with, as far as I was able to judge, very similar or identical results. > Also, you have a WARNING early in the build that might indicate an issue > with > the build, did you do a MIPSEL build on top of an existing build area for > mips? > Can you please try a clean build of just the mipsel tune in your local.conf? What I posted above were the results of a clean build. > I did try a local build with the settings above and got a different failure > with the kernel modules having the wrong edianness: > ERROR: QA Issue: Endiannes did not match (1 to 0) on > /work/qemumips-poky-linux-uclibc/linux-yocto/3. > 14+gitAUTOINC+09424cee64_38f344fcab-r0/packages-split/kernel-module-xfrm- > user/lib/modules/3.14.0-yocto-standard/kernel/net/xfrm/xfrm_user.ko Yes, I got a load of those as well, further on in the results posted above, but I had to snip most of them to keep within the posting limits. > So this might be different issues, but if we can get you try a clean, or > 1.6.x, 1.6.1 baking now ... (In reply to comment #8) > uclibc: Remove iconv.h You'll have to be more specific. There are 25 versions of this file, 7 alone under /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/uclibc: /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/uclibc/0.9.33+gitAUTOINC+f22cca4722-r9/git/include/iconv.h /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/uclibc/0.9.33+gitAUTOINC+f22cca4722-r9/image/usr/include/iconv.h /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/uclibc/0.9.33+gitAUTOINC+f22cca4722-r9/package/usr/include/iconv.h /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/uclibc/0.9.33+gitAUTOINC+f22cca4722-r9/package/usr/src/debug/uclibc/0.9.33+gitAUTOINC+f22cca4722-r9/git/include/iconv.h /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/uclibc/0.9.33+gitAUTOINC+f22cca4722-r9/packages-split/uclibc-dbg/usr/src/debug/uclibc/0.9.33+gitAUTOINC+f22cca4722-r9/git/include/iconv.h /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/uclibc/0.9.33+gitAUTOINC+f22cca4722-r9/packages-split/uclibc-dev/usr/include/iconv.h /home/Embedded/Yocto/LocalSource/mipsel-uclib/tmp/work/mips32el-poky-linux-uclibc/uclibc/0.9.33+gitAUTOINC+f22cca4722-r9/sysroot-destdir/usr/include/iconv.h (In reply to comment #9) > (In reply to comment #7) > 1.6.1 baking now ... mipsel-uclibc$ bitbake -k core-image-minimal-dev Parsing recipes: 100% |#########################################################################################| Time: 00:07:00 Parsing of 862 .bb files complete (0 cached, 862 parsed). 1221 targets, 63 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.22.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-13.10" TARGET_SYS = "mipsel-poky-linux-uclibc" MACHINE = "qemumips" DISTRO = "poky" DISTRO_VERSION = "1.6.1" TUNE_FEATURES = "o32 fpu-hard mips32" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "<unknown>:<unknown>" NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available ERROR: Function failed: do_compile (log file is located at /home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/temp/log.do_compile.16887) ERROR: Logfile of failure stored in: /home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/temp/log.do_compile.16887 Log data follows: | DEBUG: SITE files ['endian-little', 'bit-32', 'mips-common', 'common-linux', 'common-uclibc', 'mipsel-linux-uclibc', 'common'] | DEBUG: Executing shell function do_compile | NOTE: make -j 2 | make all-am | make[1]: Entering directory `/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/gnome-desktop-testing-2014.1' | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-local-alloc.lo `test -f 'src/libgsystem/gsystem-local-alloc.c' || echo './'`src/libgsystem/gsystem-local-alloc.c | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-console.lo `test -f 'src/libgsystem/gsystem-console.c' || echo './'`src/libgsystem/gsystem-console.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-local-alloc.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-local-alloc.o | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-console.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-console.o | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-file-utils.lo `test -f 'src/libgsystem/gsystem-file-utils.c' || echo './'`src/libgsystem/gsystem-file-utils.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-file-utils.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-file-utils.o | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-shutil.lo `test -f 'src/libgsystem/gsystem-shutil.c' || echo './'`src/libgsystem/gsystem-shutil.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-shutil.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-shutil.o | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-log.lo `test -f 'src/libgsystem/gsystem-log.c' || echo './'`src/libgsystem/gsystem-log.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-log.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-log.o | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-subprocess-context.lo `test -f 'src/libgsystem/gsystem-subprocess-context.c' || echo './'`src/libgsystem/gsystem-subprocess-context.c | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-subprocess.lo `test -f 'src/libgsystem/gsystem-subprocess.c' || echo './'`src/libgsystem/gsystem-subprocess.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-subprocess-context.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-subprocess-context.o | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumips/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-subprocess.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-subprocess.o | src/libgsystem/gsystem-subprocess.c: In function 'unix_open_file': | src/libgsystem/gsystem-subprocess.c:262:47: error: 'O_CLOEXEC' undeclared (first use in this function) | my_fd = open (filename, mode | O_BINARY | O_CLOEXEC, 0666); | ^ | src/libgsystem/gsystem-subprocess.c:262:47: note: each undeclared identifier is reported only once for each function it appears in | make[1]: *** [libgsystem_la-gsystem-subprocess.lo] Error 1 | make[1]: *** Waiting for unfinished jobs.... | make[1]: Leaving directory `/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/gnome-desktop-testing-2014.1' | make: *** [all] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/temp/log.do_compile.16887) ERROR: Task 1232 (/home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb, do_compile) failed with exit code '1' WARNING: Failed to fetch URL http://wiki.qemu.org/download/qemu-1.7.0.tar.bz2, attempting MIRRORS if available WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.8/libpng-1.6.8.tar.xz, attempting MIRRORS if available WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.17.4.tar.xz, attempting MIRRORS if available WARNING: Failed to fetch URL http://ftp.de.debian.org/debian/pool/main/m/mklibs/mklibs_0.1.38.tar.gz, attempting MIRRORS if available NOTE: validating kernel config, see log.do_kernel_configcheck for details ERROR: QA Issue: Endiannes did not match (1 to 0) on /work/qemumips-poky-linux-uclibc/linux-yocto/3.14+gitAUTOINC+09424cee64_38f344fcab-r0/packages-split/kernel-vmlinux/boot/vmlinux-3.14.0-yocto-standard [262 similar errors of which only the first and last are shown here] ERROR: QA Issue: Endiannes did not match (1 to 0) on /work/qemumips-poky-linux-uclibc/linux-yocto/3.14+gitAUTOINC+09424cee64_38f344fcab-r0/packages-split/kernel-module-xfrm-user/lib/modules/3.14.0-yocto-standard/kernel/net/xfrm/xfrm_user.ko ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa ERROR: Logfile of failure stored in: /home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/qemumips-poky-linux-uclibc/linux-yocto/3.14+gitAUTOINC+09424cee64_38f344fcab-r0/temp/log.do_package.10283 ERROR: Task 82 (/home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_package) failed with exit code '1' NOTE: Tasks Summary: Attempted 1729 tasks of which 23 didn't need to be rerun and 2 failed. No currently running tasks (1729 of 1748) Summary: 2 tasks failed: /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb, do_compile /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-kernel/linux/linux-yocto_3.14.bb, do_package Summary: There were 5 WARNING messages shown. Summary: There were 265 ERROR messages shown, returning a non-zero exit code. It works. Please add a new machine config for little endian qemumips $ cat meta/conf/machine/qemumipsel.conf #@TYPE: Machine #@NAME: mti_malta32_le MIPS #@DESCRIPTION: mti_malta32_le DEFAULTTUNE ?= "mips32el" require conf/machine/include/qemu.inc require conf/machine/include/tune-mips32.inc KERNEL_IMAGETYPE = "vmlinux" KERNEL_ALT_IMAGETYPE = "vmlinux.bin" SERIAL_CONSOLE = "115200 ttyS0" MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" Then after setting up the build environment do MACHINE=qemumipsel TCLIBC=uclibc bitbake core-image-minimal-dev (In reply to comment #12) > It works. Please add a new machine config for little endian qemumips > > $ cat meta/conf/machine/qemumipsel.conf > > #@TYPE: Machine > #@NAME: mti_malta32_le MIPS > #@DESCRIPTION: mti_malta32_le > > DEFAULTTUNE ?= "mips32el" > require conf/machine/include/qemu.inc > require conf/machine/include/tune-mips32.inc > > KERNEL_IMAGETYPE = "vmlinux" > KERNEL_ALT_IMAGETYPE = "vmlinux.bin" > > SERIAL_CONSOLE = "115200 ttyS0" > > MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" > > > Then after setting up the build environment do > > MACHINE=qemumipsel TCLIBC=uclibc bitbake core-image-minimal-dev We seem to be getting closer, but not quite there yet. Here is a 1.6.1 attempt from clean, 1.5.1 from clean baking now: poky-daisy-11.0.1$ cat meta/conf/machine/qemumipsel.conf #@TYPE: Machine #@NAME: mti_malta32_le MIPS #@DESCRIPTION: mti_malta32_le DEFAULTTUNE ?= "mips32el" require conf/machine/include/qemu.inc require conf/machine/include/tune-mips32.inc KERNEL_IMAGETYPE = "vmlinux" KERNEL_ALT_IMAGETYPE = "vmlinux.bin" SERIAL_CONSOLE = "115200 ttyS0" MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" poky-daisy-11.0.1$ source oe-init-build-env mipsel-uclibc ### Shell environment set up for builds. ### You can now run 'bitbake <target>' Common targets are: core-image-minimal core-image-sato meta-toolchain adt-installer meta-ide-support You can also run generated qemu images with a command like 'runqemu qemux86' mipsel-uclibc$ cat conf/local.conf [snip] # This sets the default machine to be qemux86 if no other machine is selected: # MACHINE ??= "qemux86" [snip] # The default is a downloads directory under TOPDIR which is the build directory. # DL_DIR ?= "/home/Embedded/Yocto/Downloads" [snip] # Mipsel MACHINE = "qemumipsel" TCLIBC = "uclibc" mipsel-uclibc$ bitbake -k core-image-minimal-dev Parsing recipes: 100% |#########################################################################################| Time: 00:05:41 Parsing of 862 .bb files complete (0 cached, 862 parsed). 1221 targets, 63 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.22.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-13.10" TARGET_SYS = "mipsel-poky-linux-uclibc" MACHINE = "qemumipsel" DISTRO = "poky" DISTRO_VERSION = "1.6.1" TUNE_FEATURES = "o32 fpu-hard mips32" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "<unknown>:<unknown>" NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available ERROR: Function failed: do_compile (log file is located at /home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/temp/log.do_compile.14587) ERROR: Logfile of failure stored in: /home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/temp/log.do_compile.14587 Log data follows: | DEBUG: SITE files ['endian-little', 'bit-32', 'mips-common', 'common-linux', 'common-uclibc', 'mipsel-linux-uclibc', 'common'] | DEBUG: Executing shell function do_compile | NOTE: make -j 2 | make all-am | make[1]: Entering directory `/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/gnome-desktop-testing-2014.1' | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-local-alloc.lo `test -f 'src/libgsystem/gsystem-local-alloc.c' || echo './'`src/libgsystem/gsystem-local-alloc.c | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-console.lo `test -f 'src/libgsystem/gsystem-console.c' || echo './'`src/libgsystem/gsystem-console.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-console.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-console.o | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-local-alloc.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-local-alloc.o | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-file-utils.lo `test -f 'src/libgsystem/gsystem-file-utils.c' || echo './'`src/libgsystem/gsystem-file-utils.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-file-utils.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-file-utils.o | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-shutil.lo `test -f 'src/libgsystem/gsystem-shutil.c' || echo './'`src/libgsystem/gsystem-shutil.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-shutil.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-shutil.o | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-log.lo `test -f 'src/libgsystem/gsystem-log.c' || echo './'`src/libgsystem/gsystem-log.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-log.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-log.o | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-subprocess-context.lo `test -f 'src/libgsystem/gsystem-subprocess-context.c' || echo './'`src/libgsystem/gsystem-subprocess-context.c | ./mipsel-poky-linux-uclibc-libtool --tag=CC --mode=compile mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR='"/usr/share"' -DLIBEXECDIR='"/usr/lib/gnome-desktop-testing"' -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c -o libgsystem_la-gsystem-subprocess.lo `test -f 'src/libgsystem/gsystem-subprocess.c' || echo './'`src/libgsystem/gsystem-subprocess.c | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-subprocess-context.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-subprocess-context.o | mipsel-poky-linux-uclibc-libtool: compile: mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLIBEXECDIR=\"/usr/lib/gnome-desktop-testing\" -Wall -Werror=strict-prototypes -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=format-security -Werror=missing-include-dirs -Werror=aggregate-return -Werror=declaration-after-statement -pthread -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/gio-unix-2.0/ -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/include/glib-2.0 -I/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/sysroots/qemumipsel/usr/lib/glib-2.0/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -I./src/libgsystem -O2 -pipe -g -feliminate-unused-debug-types -c src/libgsystem/gsystem-subprocess.c -fPIC -DPIC -o .libs/libgsystem_la-gsystem-subprocess.o | src/libgsystem/gsystem-subprocess.c: In function 'unix_open_file': | src/libgsystem/gsystem-subprocess.c:262:47: error: 'O_CLOEXEC' undeclared (first use in this function) | my_fd = open (filename, mode | O_BINARY | O_CLOEXEC, 0666); | ^ | src/libgsystem/gsystem-subprocess.c:262:47: note: each undeclared identifier is reported only once for each function it appears in | make[1]: *** [libgsystem_la-gsystem-subprocess.lo] Error 1 | make[1]: *** Waiting for unfinished jobs.... | make[1]: Leaving directory `/home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/gnome-desktop-testing-2014.1' | make: *** [all] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/temp/log.do_compile.14587) ERROR: Task 1232 (/home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb, do_compile) failed with exit code '1' WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.8/libpng-1.6.8.tar.xz, attempting MIRRORS if available WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.17.4.tar.xz, attempting MIRRORS if available NOTE: validating kernel config, see log.do_kernel_configcheck for details NOTE: Tasks Summary: Attempted 1732 tasks of which 23 didn't need to be rerun and 1 failed. No currently running tasks (1732 of 1748) Summary: 1 task failed: /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb, do_compile Summary: There were 3 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-
> testing/gnome-desktop-testing_2014.1.bb, do_compile
> Summary: There were 3 WARNING messages shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
well, the testing that I have done is using nodistro ( OE-Core only no poky )
where gnome-desktop-testing doesnt get pulled. It seems you might have ptest in your DISTRO_FEATURES for it to be added into default dependencies.
so remove ptest from your distro features for quick test. This error above should be fixed so that this package can build for uclibc. However keep in mind that we do not intend to build a full desktop images using uclibc. So the subset of packages is really contained for uclibc.
Please cherry-pick the patch posted here http://patchwork.openembedded.org/patch/81305/ and it should move you further. (In reply to comment #15) > Please cherry-pick the patch posted here > > http://patchwork.openembedded.org/patch/81305/ > > and it should move you further. Thanks, but how would I do this? Do I enter the above URL into a configuration file, or download a file? (In reply to comment #15) > Please cherry-pick the patch posted here > > http://patchwork.openembedded.org/patch/81305/ > > and it should move you further. Yocto$ tar -vjxf poky-daisy-11.0.1.tar.bz2 [snip] Yocto$ cd poky-daisy-11.0.1 poky-daisy-11.0.1$ patch -i ../daisy-gnome-desktop-testing-Fix-build-on-uclibc.patch patching file 0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch can't find file to patch at input line 46 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb |index 146a02a..c688e9d 100644 |--- a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb |+++ b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb -------------------------- File to patch: meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb patching file meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb poky-daisy-11.0.1$ cat meta/conf/machine/qemumipsel.conf #@TYPE: Machine #@NAME: mti_malta32_le MIPS #@DESCRIPTION: mti_malta32_le DEFAULTTUNE ?= "mips32el" require conf/machine/include/qemu.inc require conf/machine/include/tune-mips32.inc KERNEL_IMAGETYPE = "vmlinux" KERNEL_ALT_IMAGETYPE = "vmlinux.bin" SERIAL_CONSOLE = "115200 ttyS0" MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" poky-daisy-11.0.1$ source oe-init-build-env mipsel-uclibc You had no conf/local.conf file. This configuration file has therefore been created for you with some default values. You may wish to edit it to use a different MACHINE (target hardware) or enable parallel build options to take advantage of multiple cores for example. See the file for more information as common configuration options are commented. The Yocto Project has extensive documentation about OE including a reference manual which can be found at: http://yoctoproject.org/documentation For more information about OpenEmbedded see their website: http://www.openembedded.org/ ### Shell environment set up for builds. ### You can now run 'bitbake <target>' Common targets are: core-image-minimal core-image-sato meta-toolchain adt-installer meta-ide-support You can also run generated qemu images with a command like 'runqemu qemux86' mipsel-uclibc$ cat conf/local.conf [snip] # This sets the default machine to be qemux86 if no other machine is selected: # MACHINE ??= "qemux86" [snip] DL_DIR ?= "/home/Embedded/Yocto/Downloads" [snip] # Mipsel MACHINE = "qemumipsel" TCLIBC = "uclibc" mipsel-uclibc$ bitbake -k core-image-minimal-dev WARNING: Unable to get checksum for gnome-desktop-testing SRC_URI entry 0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch: file could not be found Parsing recipes: 100% |#########################################################################################| Time: 00:05:45 Parsing of 862 .bb files complete (0 cached, 862 parsed). 1221 targets, 63 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.22.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-13.10" TARGET_SYS = "mipsel-poky-linux-uclibc" MACHINE = "qemumipsel" DISTRO = "poky" DISTRO_VERSION = "1.6.1" TUNE_FEATURES = "o32 fpu-hard mips32" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "<unknown>:<unknown>" NOTE: Preparing runqueue WARNING: Unable to get checksum for gnome-desktop-testing SRC_URI entry 0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch: [Errno 2] No such file or directory: '/home/Embedded/Yocto/Downloads/0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch' NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: validating kernel config, see log.do_kernel_configcheck for details WARNING: Failed to fetch URL file://0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch, attempting MIRRORS if available ERROR: Fetcher failure: Unable to find file file://0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch anywhere. The paths that were searched were: /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing-2014.1/poky /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/poky /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/files/poky /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing-2014.1/qemumipsel /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/qemumipsel /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/files/qemumipsel /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing-2014.1/qemuall /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/qemuall /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/files/qemuall /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing-2014.1/mipsel /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/mipsel /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/files/mipsel /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing-2014.1/ /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/ /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/files/ /home/Embedded/Yocto/Downloads ERROR: Function failed: Fetcher failure for URL: 'file://0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /home/Embedded/Yocto/poky-daisy-11.0.1/mipsel-uclibc/tmp/work/mips32el-poky-linux-uclibc/gnome-desktop-testing/2014.1-r0/temp/log.do_fetch.1185 ERROR: Task 1230 (/home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb, do_fetch) failed with exit code '1' NOTE: Tasks Summary: Attempted 1727 tasks of which 23 didn't need to be rerun and 1 failed. No currently running tasks (1727 of 1748) Summary: 1 task failed: /home/Embedded/Yocto/poky-daisy-11.0.1/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb, do_fetch Summary: There were 3 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. (In reply to comment #17) > (In reply to comment #15) > > Please cherry-pick the patch posted here > > > > http://patchwork.openembedded.org/patch/81305/ > > > > and it should move you further. > > Yocto$ tar -vjxf poky-daisy-11.0.1.tar.bz2 > [snip] > Yocto$ cd poky-daisy-11.0.1 > poky-daisy-11.0.1$ patch -i > ../daisy-gnome-desktop-testing-Fix-build-on-uclibc.patch > patching file 0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch > can't find file to patch at input line 46 > Perhaps you should have used the -p or --strip option? > The text leading up to this was: > -------------------------- Did you notice your patch did not apply ? use something like below patch -p1 < xxx.patch (In reply to comment #18) > > patch -p1 < xxx.patch I was having some difficulty in working out how the patch command was supposed to work, but thought it had worked after I manually directed it to the file. However, with above on 1.6.1 daisy, it does indeed work. Thank you very much! Now I have to work out how to add ffmpeg into the build ... (In reply to comment #19) > However, with above on 1.6.1 daisy, it does indeed work. Thank you very > much! This was before I'd tried to run qemu. When I first tried ... runqemu qemumipsel ... it demanded a password for sudo. Isn't this somewhat illogical? I'm not allowed to build as root, but have to have root access to run the result? Anyway, after I'd added myself rather reluctantly to the sudo permissions file, I tried again. I can't reproduce the exact messages, but the rtc wasn't found, dhcp did not obtain a lease, and at the login prompt, keystrokes were not echoed, presumably because, as per other hardware, the keyboard wasn't found. Any advice? Not directly related to this issue.. But the sudo is used to configure local network via the tun/tap interfaces. There are alternative ways of configuring the system to not require sudo, but these are not the default in the Yocto Project. If you feel this is an issue for usability, you should open a new defect. (In reply to comment #21) > Not directly related to this issue.. But the sudo is used to configure local > network via the tun/tap interfaces. > > There are alternative ways of configuring the system to not require sudo, > but these are not the default in the Yocto Project. If you feel this is an > issue for usability, you should open a new defect. Although I think it illogical, I can live with the sudo issue. The important problem is: > I can't reproduce the exact messages, but the rtc wasn't found, dhcp did not obtain a lease, and at the login prompt, keystrokes were not echoed, presumably because, as per other hardware, the keyboard wasn't found. (In reply to comment #20) > (In reply to comment #19) > > However, with above on 1.6.1 daisy, it does indeed work. Thank you very > > much! > > This was before I'd tried to run qemu. > > When I first tried ... > runqemu qemumipsel > ... it demanded a password for sudo. Isn't this somewhat illogical? I'm > not allowed to build as root, but have to have root access to run the > result? Anyway, after I'd added myself rather reluctantly to the sudo > permissions file, I tried again. > > I can't reproduce the exact messages, but the rtc wasn't found, dhcp did not > obtain a lease, and at the login prompt, keystrokes were not echoed, > presumably because, as per other hardware, the keyboard wasn't found. > > Any advice? qemumipsel is not regularly tested/supported config in yocto projects list of targets you can expect this kind of issues. You need to look though the metadata and see what changes are specific to qemumips they also needs to be done for qemumipsel see recipes-core/init-ifupdown/init-ifupdown-1.0/qemumips recipes-bsp/formfactor/files/qemumips recipes-bsp/pointercal/pointercal/qemumips recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips so make directory copies called qemumipsel and then make any changes if needed. they might just work as it is since they are done for MIPS BE and please open different bugs for runtime issues. This issue was about build and is resolved IMO |