cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1 failed to build Calculating dependencies ... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1 from unknown repo * uClibc-0.9.30.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * uClibc-0.9.30.1-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1 * Maintainer: vapier@gentoo.org solar@gentoo.org,embedded@gentoo.org * USE: crosscompile_opts_headers-only elibc_glibc ipv6 kernel_linux userland_GNU x86 * FEATURES: sandbox >>> Unpacking source... >>> Unpacking uClibc-0.9.30.1.tar.bz2 to /var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/work >>> Unpacking uClibc-0.9.30.1-patches-1.0.tar.bz2 to /var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/work * You really should consider setting UCLIBC_CPU * Otherwise, the build will be generic (read: slow). * Available CPU options: GENERIC_ARM ARM610 ARM710 ARM7TDMI ARM720T ARM920T ARM922T ARM926T ARM10T ARM1136JF_S ARM1176JZ_S ARM1176JZF_S ARM_SA110 ARM_SA1100 ARM_XSCALE ARM_IWMMXT * Runtime Prefix: / * Devel Prefix: /usr * Kernel Prefix: /usr/arm-unknown-linux-uclibc/usr/include * CBUILD: i686-pc-linux-gnu * CHOST: i686-pc-linux-gnu * CTARGET: arm-unknown-linux-uclibc * CPU: GENERIC_ARM * ENDIAN: little >>> Unpacking uClibc-0.9.30.1-patches-1.0.tar.bz2 to /var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/work/uClibc-0.9.30.1 * Applying various patches (bugfixes/updates) ... * 50_all_uClibc-0.9.30.1-c99-ldbl-math.patch ... [ ok ] * 55_all_uClibc-0.9.30.1-dl-sysdep-inline.patch ... [ ok ] * Done with patching make[1]: *** ../../.config: Is a directory. Stop. make: *** [extra/config/conf] Error 2 * ERROR: cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1 failed (unpack phase): * could not config * * Call stack: * ebuild.sh, line 56: Called src_unpack * environment, line 2779: Called die * The specific snippet of code: * make ARCH=${target} defconfig > /dev/null || die "could not config"; * * If you need support, post the output of 'emerge --info =cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1', * the complete build log and the output of 'emerge -pqv =cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1'. * This ebuild is from an overlay: '/home/portage/' * The complete build log is located at '/var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/temp/environment'. * S: '/var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/work/uClibc-0.9.30.1' >>> Failed to emerge cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1, Log file: >>> '/var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/temp/build.log' * Messages for package cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1: * You really should consider setting UCLIBC_CPU * Otherwise, the build will be generic (read: slow). * Available CPU options: * ERROR: cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1 failed (unpack phase): * could not config * * Call stack: * ebuild.sh, line 56: Called src_unpack * environment, line 2779: Called die * The specific snippet of code: * make ARCH=${target} defconfig > /dev/null || die "could not config"; * * If you need support, post the output of 'emerge --info =cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1', * the complete build log and the output of 'emerge -pqv =cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1'. * This ebuild is from an overlay: '/home/portage/' * The complete build log is located at '/var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/temp/environment'. * S: '/var/tmp/portage/cross-armeb-hardfp-linux-uclibc/uclibc-0.9.30.1-r1/work/uClibc-0.9.30.1' Reproducible: Always Steps to Reproduce: 1.Install crossdev 2.Type UCLIBC_CPU="ARM1176JZF_S" crossdev -t cross-armeb-hardfp-linux-uclibc 3.then build failed at uclibc Actual Results: cross-armeb-hardfp-linux-uclibc/binutils and cross-armeb-hardfp-linux-uclibc/linux-headers is installed but uclibc failed to build and install. Expected Results: the arm tool chain should be build and installed properly including uclibc. It is just a ebuild problem I have fixed this problem i encountered with the following patch --- uclibc-0.9.30.1-r1.ebuild.orig 2011-03-30 16:49:45.000000000 +0000 +++ uclibc-0.9.30.1-r1.ebuild 2011-03-30 16:42:27.000000000 +0000 @@ -196,6 +196,7 @@ ########## CONFIG SETUP ########## + touch .config make ARCH=${target} defconfig >/dev/null || die "could not config" for def in DO{DEBUG{,_PT},ASSERTS} SUPPORT_LD_DEBUG{,_EARLY} UCLIBC_HAS_PROFILING; do
Created attachment 267779 [details, diff] uclibc-0.9.30.1-r1.build.patch ebuild fix
Comment on attachment 267779 [details, diff] uclibc-0.9.30.1-r1.build.patch Hope this will help you :)
no reason for you to have a /.config/ dir ...
it's a bit strange why i have a /.config :(.. but i found a Trolltech.conf in it and it belongs to no package . however it works after i removed /.config :)
*** Bug 380877 has been marked as a duplicate of this bug. ***