Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 417707

Summary: sys-apps/busybox-1.19.3 fails with >=linux-headers-3.4
Product: Gentoo Linux Reporter: Kilburn Abrahams <kilburna>
Component: New packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: minor CC: cruzki123, daggs, guillaume.ramelet, kai, matt.palermo, ua0zeh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 419511    
Attachments: busybox-1.19.3-r1 build.log
Compile failure
complete build log
emerge --info '=sys-apps/busybox-1.19.3-r1'
genkernel log for kernel 3.4.0

Description Kilburn Abrahams 2012-05-27 01:24:09 UTC
Got a server that is failing on re-emerge of Busybox-1.19.3-r1. I do not know if this related to the kernel version as other servers emerge busybox fine. The filing server is using kernel 3.2.6. Other servers use 3.2.14 and above. 

Error message

ERROR: sys-apps/busybox-1.19.3-r1 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 2350:  Called die
 * The specific snippet of code:
 *       emake V=1 busybox || die;
 *
 * If you need support, post the output of 'emerge --info =sys-apps/busybox-1.19.3-r1',
 * the complete build log and the output of 'emerge -pqv =sys-apps/busybox-1.19.3-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/busybox-1.19.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/busybox-1.19.3-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-apps/busybox-1.19.3-r1/work/busybox-1.19.3'



Reproducible: Always




emerge --info =sys-apps/busybox-1.19.3-r1
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.6-gentoo-x86_64-Intel-R-_Core-TM-_i3-2120T_CPU_@_2.60GHz-with-gentoo-2.1
Timestamp of tree: Sun, 27 May 2012 00:15:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 logrotate mmx modules mudflap multilib mysql ncurses nls nptl openmp pam pcre perl postgres pppd python readline samba session sse sse2 ssl tcpd unicode xml xml2 xorg 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-apps/busybox-1.19.3-r1 was built with the following:
USE="ipv6 (multilib) pam -make-symlinks -mdev -savedconfig (-selinux) -static"
CFLAGS="-O2 -pipe -fno-strict-aliasing"
CXXFLAGS="-O2 -pipe -fno-strict-aliasing"



emerge -pqv =sys-apps/busybox-1.19.3-r1
[ebuild   R   ] sys-apps/busybox-1.19.3-r1  USE="ipv6 pam -livecd% -make-symlinks -mdev -savedconfig (-selinux) -static"
Comment 1 Serge Plyukhin 2012-05-27 06:18:38 UTC
confirm

emerge sys-apps/busybox-1.19.3-r1  USE="pam -ipv6 -livecd% -make-symlinks -mdev -savedconfig (-selinux) -static"

...
e2fsprogs/tune2fs.c:11:27: fatall error: linux/ext2_fs.h: No sutch file or directory

make[1]: *** [e2fsprogs/tune2fs.o] Error 1
make: *** [e2fsprogs] Error 2
emake failed
 * ERROR: sys-apps/busybox-1.19.3-r1 failed (compile phase):
 *   (no error message)




> emerge --info
Portage 2.1.10.63 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.15-r2, 3.4.0-gentoo x86_64)
=================================================================
System uname: Linux-3.4.0-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.1
Timestamp of tree: Sun, 27 May 2012 00:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     1.3.7-r1, 2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.6-r1, 2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.3.6-r1, 4.4.7, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write=y --quiet-build=n --keep-going=y"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility acl alsa amd64 berkdb bzip2 cleartype cli consolekit cracklib crypt cups cxx dbus doc dri dvd examples foomaticdb fortran gpm htmlhandbook iconv java jpeg jpeg2k kde latex lm_sensors mbox mmx modules mudflap multilib ncurses nls nptl nsplugin nvidia opengl openmp pam pcre png policykit pppd qt qt3support qt4 readline rtc sdl semantic-desktop session slang sound spell sse sse2 sse3 sse4.1 ssl ssse3 symlink tcpd truetype ttf type1 udev unicode usb vim-syntax xinerama xorg xulrunner zlib" ALSA_CARDS="hda-intel" 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="alias negotiation auth_basic auth_digest cgi cgid headers unique_id authz_host authn_file dir mime env filter ext_filter setenvif usertrack speling revrite access log_config" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 DaggyStyle 2012-05-27 19:14:18 UTC
same here on am64.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-28 01:03:49 UTC
Please attach the entire build log to this bug report.
Comment 4 Serge Plyukhin 2012-05-28 10:22:54 UTC
Created attachment 313363 [details]
busybox-1.19.3-r1 build.log
Comment 5 Matt 2012-05-28 12:26:51 UTC
Created attachment 313371 [details]
Compile failure

Just adding my build log of the failure as well.
Comment 6 Kilburn Abrahams 2012-05-28 13:48:28 UTC
Created attachment 313383 [details]
complete build log
Comment 7 Matt 2012-05-29 12:53:03 UTC
Created attachment 313521 [details]
emerge --info '=sys-apps/busybox-1.19.3-r1'


Sorry.  I should've included this from the get-go...  :-\


M.
Comment 8 Vincent de Phily 2012-05-30 17:19:03 UTC
I have the same problem with 1.19.3-r1, but it works fine with 1.20.0.
Comment 9 SpanKY gentoo-dev 2012-05-30 18:22:11 UTC
this only happens if you attempt to mix stable & unstable.  this is an extremely terrible idea with linux-headers.
Comment 10 Matt 2012-05-31 13:02:45 UTC
(In reply to comment #9)
> this only happens if you attempt to mix stable & unstable.  this is an
> extremely terrible idea with linux-headers.

At the risk of sounding like a complete dolt...

I'm currently using sys-kernel/gentoo-sources-3.4.0.  Why would I not unmask sys-kernel/linux-headers-3.4 to go along with that?  I've (almost) always done it this way because it seemed to make sense.  Is this a really bad idea?

M.
Comment 11 SpanKY gentoo-dev 2012-06-01 02:21:43 UTC
because packages often break (as you found here) with the latest versions and take time to be stabilized

using the latest kernel headers to match your running kernel version rarely matters
Comment 12 acidrums4 2012-06-02 14:40:04 UTC
I can confirm that. Masking linux-headers (removing it from package.keywords) did the trick for me. I never had a problem with that until now.
Comment 13 SpanKY gentoo-dev 2012-06-04 15:31:41 UTC
*** Bug 419169 has been marked as a duplicate of this bug. ***
Comment 14 Matt 2012-06-05 12:17:35 UTC
Two quick thigns:

1) Confirmed.  BusyBox compiles fine with linux-headers < 3.4.  Current stable is sys-kernel/linux-headers-3.1

2) Just a note for those running X that I just ran into.  Do:

emerge -1 $(qlist -IC x11-drivers)

After dropping the headers version, x11-drivers/xf86-input-evdev couldn't find my monitor's EDID and I was stuck in 1024x768 until I did the above.  I have an nVidia chip also, so I usually just do the above to be on the safe side when I run into these sorts of things.  It goes really fast anyway.


M.
Comment 15 Geoff Madden 2012-06-08 17:15:40 UTC
Created attachment 314703 [details]
genkernel log for kernel 3.4.0

as you will note I have rebuilt with the noclean switch,to check and see where it was falling off the perch
Comment 16 Geoff Madden 2012-06-08 17:17:56 UTC
busybox version 1.20.1
Comment 17 Geoff Madden 2012-06-09 11:33:20 UTC
I can confirm that backtracking to headers 3.3 fixes this problem, busybox compiles up ok for kernel 3.4.0
Comment 18 SpanKY gentoo-dev 2012-06-11 03:35:33 UTC
fixed in newer busybox