Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353861 - sys-apps/busybox-1.18.1 failed (compile phase): static build failed
Summary: sys-apps/busybox-1.18.1 failed (compile phase): static build failed
Status: RESOLVED DUPLICATE of bug 353816
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-06 15:08 UTC by spirch_1
Modified: 2011-02-06 15:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spirch_1 2011-02-06 15:08:12 UTC
i was doing an "emerge -e world system"

Reproducible: Always

Steps to Reproduce:
1. emerge -e world system
2. busybox failed
3. emerge busybox
4. busybox failed (same error)

Actual Results:  
ERROR: sys-apps/busybox-1.18.1 failed (compile phase):
 *   static build failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2803:  Called die
 * The specific snippet of code:
 *           emake CONFIG_STATIC=y busybox || die "static build failed";


Expected Results:  
busybox compiled successfully

Portage 2.1.9.36 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r0, 2.6.35-25-generic x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-25-generic-x86_64-Intel-R-_Core-TM-_i5_CPU_760_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 06 Feb 2011 14:00:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.2-r4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dga directfb dri dts dvd dvdr emboss encode exif fam fbcon firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jpeg jpeg2k kde lcms ldap libnotify libv4l libv4l2 lirc mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pvr python qt3support qt4 readline sdl sdl-image session spell sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb v4l v4l2 vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

[ebuild     U ] sys-apps/busybox-1.18.1 [1.17.4] USE="ipv6 mdev pam -debug -make-symlinks -savedconfig (-selinux) -static" 

[32;01m * [39;49;00mPackage:    sys-apps/busybox-1.18.1
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: embedded@gentoo.org
[32;01m * [39;49;00mUSE:        amd64 elibc_glibc ipv6 kernel_linux mdev multilib pam userland_GNU
[32;01m * [39;49;00mFEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking busybox-1.18.1.tar.bz2 to /var/tmp/portage/sys-apps/busybox-1.18.1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/busybox-1.18.1/work
>>> Preparing source in /var/tmp/portage/sys-apps/busybox-1.18.1/work/busybox-1.18.1 ...
 [32;01m*[0m Applying busybox-1.18.0-bb.patch ...
[A[229C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying busybox-1.18.1-bzip2.patch ...
[A[229C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying busybox-1.18.1-cpio.patch ...
[A[229C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying busybox-1.18.1-hush.patch ...
[A[229C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying busybox-1.18.1-mkswap.patch ...
[A[229C [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying busybox-1.18.1-warning.patch ...
[A[229C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/busybox-1.18.1/work/busybox-1.18.1 ...
 [33;01m*[0m Could not locate user configfile, so we will save a default one
make -j5 -j1 allyesconfig 
 [32;01m*[0m # CONFIG_DMALLOC is not set
 [32;01m*[0m # CONFIG_FEATURE_SUID_CONFIG is not set
 [32;01m*[0m Could not find CONFIG_BUILD_AT_ONCE ...
 [32;01m*[0m # CONFIG_BUILD_LIBBUSYBOX is not set
 [32;01m*[0m # CONFIG_NOMMU is not set
 [32;01m*[0m # CONFIG_MONOTONIC_SYSCALL is not set
 [32;01m*[0m CONFIG_ASH=y
 [32;01m*[0m # CONFIG_HUSH is not set
 [32;01m*[0m CONFIG_PAM=y
 [32;01m*[0m # CONFIG_STATIC is not set
 [32;01m*[0m # CONFIG_DEBUG is not set
 [32;01m*[0m # CONFIG_SELINUX is not set
 [32;01m*[0m # CONFIG_CRONTAB is not set
 [32;01m*[0m # CONFIG_DC is not set
 [32;01m*[0m # CONFIG_DEVFSD is not set
 [32;01m*[0m # CONFIG_DNSD is not set
 [32;01m*[0m # CONFIG_DPKG is not set
 [32;01m*[0m # CONFIG_FAKEIDENTD is not set
 [32;01m*[0m # CONFIG_FBSPLASH is not set
 [32;01m*[0m # CONFIG_FOLD is not set
 [32;01m*[0m # CONFIG_FTPGET is not set
 [32;01m*[0m # CONFIG_FTPPUT is not set
 [32;01m*[0m # CONFIG_HOSTID is not set
 [32;01m*[0m # CONFIG_HUSH is not set
 [32;01m*[0m # CONFIG_INETD is not set
 [32;01m*[0m # CONFIG_INOTIFYD is not set
 [32;01m*[0m # CONFIG_IPCALC is not set
 [32;01m*[0m Could not find CONFIG_LASH ...
 [32;01m*[0m # CONFIG_LOCALE_SUPPORT is not set
 [32;01m*[0m # CONFIG_LOGNAME is not set
 [32;01m*[0m # CONFIG_LPD is not set
 [32;01m*[0m # CONFIG_MSH is not set
 [32;01m*[0m # CONFIG_OD is not set
 [32;01m*[0m # CONFIG_RFKILL is not set
 [32;01m*[0m # CONFIG_SLATTACH is not set
 [32;01m*[0m # CONFIG_SULOGIN is not set
 [32;01m*[0m # CONFIG_TASKSET is not set
 [32;01m*[0m # CONFIG_TCPSVD is not set
 [32;01m*[0m # CONFIG_RPM is not set
 [32;01m*[0m # CONFIG_RPM2CPIO is not set
 [32;01m*[0m # CONFIG_UDPSVD is not set
 [32;01m*[0m # CONFIG_UUDECODE is not set
 [32;01m*[0m # CONFIG_UUENCODE is not set
make -j5 -j1 oldconfig 
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/busybox-1.18.1/work/busybox-1.18.1 ...
make -j5 busybox 
.... (lot of compiling)

  LINK    busybox_unstripped
Trying libraries: crypt m pam pam_misc
 Library crypt is not needed, excluding it
 Library m is needed, can't exclude it (yet)
 Library pam is not needed, excluding it
 Library pam_misc is needed, can't exclude it (yet)
 Library m is needed, can't exclude it (yet)
 Library pam_misc is needed, can't exclude it (yet)
Final link with: m pam_misc
 [32;01m*[0m # CONFIG_PAM is not set
make -j5 CONFIG_STATIC=y busybox 
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
  SPLIT   include/autoconf.h -> include/config/*
  HOSTCC  applets/usage
  HOSTCC  applets/applet_tables
applets/usage.c: In function ‘main’:
applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
  GEN     include/bbconfigopts.h
applets/applet_tables.c: In function ‘main’:
applets/applet_tables.c:138:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
  GEN     include/usage_compressed.h
  GEN     include/applet_tables.h
  HOSTCC  applets/usage_pod
applets/usage_pod.c: In function ‘main’:
applets/usage_pod.c:74:3: warning: format not a string literal and no format arguments
  CC      applets/applets.o
  LD      applets/built-in.o
  CC      loginutils/login.o
loginutils/login.c: In function ‘login_main’:
loginutils/login.c:386:8: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
  CC      miscutils/bbconfig.o
  CC      libbb/appletlib.o
  AR      loginutils/lib.a
  AR      miscutils/lib.a
libbb/appletlib.c: In function ‘run_applet_and_exit’:
libbb/appletlib.c:719:36: warning: array subscript is above array bounds
  AR      libbb/lib.a
  LINK    busybox_unstripped
Trying libraries: crypt m
Failed: -Wl,--start-group -lcrypt -lm -Wl,--end-group
Output of:
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen -finline-limit=0 -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -static-libgcc -static -Wl,-O1 -Wl,--as-needed -o busybox_unstripped -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--start-group applets/built-in.o archival/lib.a archival/libarchive/lib.a console-tools/lib.a coreutils/lib.a coreutils/libcoreutils/lib.a debianutils/lib.a e2fsprogs/lib.a editors/lib.a findutils/lib.a init/lib.a libbb/lib.a libpwdgrp/lib.a loginutils/lib.a mailutils/lib.a miscutils/lib.a modutils/lib.a networking/lib.a networking/libiproute/lib.a networking/udhcp/lib.a printutils/lib.a procps/lib.a runit/lib.a selinux/lib.a shell/lib.a sysklogd/lib.a util-linux/lib.a util-linux/volume_id/lib.a archival/built-in.o archival/libarchive/built-in.o console-tools/built-in.o coreutils/built-in.o coreutils/libcoreutils/built-in.o debianutils/built-in.o e2fsprogs/built-in.o editors/built-in.o findutils/built-in.o init/built-in.o libbb/built-in.o libpwdgrp/built-in.o loginutils/built-in.o mailutils/built-in.o miscutils/built-in.o modutils/built-in.o networking/built-in.o networking/libiproute/built-in.o networking/udhcp/built-in.o printutils/built-in.o procps/built-in.o runit/built-in.o selinux/built-in.o shell/built-in.o sysklogd/built-in.o util-linux/built-in.o util-linux/volume_id/built-in.o -Wl,--end-group -Wl,--start-group -lcrypt -lm -Wl,--end-group
==========
networking/lib.a(nslookup.o): In function `print_host':
nslookup.c:(.text.print_host+0x3e): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libbb/lib.a(inet_common.o): In function `INET_rresolve':
inet_common.c:(.text.INET_rresolve+0xec): warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
util-linux/lib.a(mount.o): In function `nfsmount':
mount.c:(.text.nfsmount+0xba): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libbb/lib.a(inet_common.o): In function `INET_rresolve':
inet_common.c:(.text.INET_rresolve+0x168): warning: Using 'getnetbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libbb/lib.a(inet_common.o): In function `INET_resolve':
inet_common.c:(.text.INET_resolve+0xdd): warning: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libbb/lib.a(xconnect.o): In function `bb_lookup_port':
xconnect.c:(.text.bb_lookup_port+0x3c): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(netstat.o): In function `ip_port_str':
netstat.c:(.text.ip_port_str+0x6c): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64/libc.a(memmove_chk.o): In function `__memmove_chk':
(.text+0x1b4): undefined reference to `__memmove_chk_ssse3_back'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64/libc.a(memmove_chk.o): In function `__memmove_chk':
(.text+0x1b9): undefined reference to `__memmove_chk_ssse3'
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1
emake failed
 [31;01m*[0m ERROR: sys-apps/busybox-1.18.1 failed (compile phase):
 [31;01m*[0m   static build failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  56:  Called src_compile
 [31;01m*[0m   environment, line 2803:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m           emake CONFIG_STATIC=y busybox || die "static build failed";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =sys-apps/busybox-1.18.1',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =sys-apps/busybox-1.18.1'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-apps/busybox-1.18.1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-apps/busybox-1.18.1/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/sys-apps/busybox-1.18.1/work/busybox-1.18.1'
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-02-06 15:16:27 UTC

*** This bug has been marked as a duplicate of bug 353816 ***