Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396025 - >=sys-apps/busybox-1.17.4 missing dependency on >=linux-headers-2.6.19.2 for mtd-user.h
Summary: >=sys-apps/busybox-1.17.4 missing dependency on >=linux-headers-2.6.19.2 for ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 398397
  Show dependency tree
 
Reported: 2011-12-26 00:50 UTC by Robin Johnson
Modified: 2012-01-10 21:00 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-12-26 00:50:03 UTC
>=busybox-1.17.4 needs to get a dependency on >=linux-headers-2.6.19.2 as that is when mtd-user.h was introduced. Dependency noted while upgrading an old box, with Portage scheduling the linux-headers upgrade after busybox.

  CC      miscutils/flash_lock_unlock.o
miscutils/flash_eraseall.c:21:26: error: mtd/mtd-user.h: No such file or directory
miscutils/flash_eraseall.c:52: error: expected ')' before '*' token
miscutils/flash_eraseall.c: In function 'flash_eraseall_main':
miscutils/flash_eraseall.c:66: error: 'mtd_info_t' undeclared (first use in this function)
miscutils/flash_eraseall.c:66: error: (Each undeclared identifier is reported only once
miscutils/flash_eraseall.c:66: error: for each function it appears in.)
miscutils/flash_eraseall.c:66: error: expected ';' before 'meminfo'
miscutils/flash_eraseall.c:67: warning: ISO C90 forbids mixed declarations and code
miscutils/flash_eraseall.c:68: error: 'erase_info_t' undeclared (first use in this function)
miscutils/flash_eraseall.c:68: error: expected ';' before 'erase'
miscutils/flash_eraseall.c:69: warning: ISO C90 forbids mixed declarations and code
miscutils/flash_eraseall.c:82: error: 'MEMGETINFO' undeclared (first use in this function)
miscutils/flash_eraseall.c:82: error: 'meminfo' undeclared (first use in this function)
miscutils/flash_eraseall.c:83: error: 'erase' undeclared (first use in this function)
miscutils/flash_eraseall.c:84: error: 'MTD_NANDFLASH' undeclared (first use in this function)
miscutils/flash_eraseall.c:99: error: storage size of 'oobinfo' isn't known
miscutils/flash_eraseall.c:101: error: 'MEMGETOOBSEL' undeclared (first use in this function)
miscutils/flash_eraseall.c:104: error: 'MTD_NANDECC_AUTOPLACE' undeclared (first use in this function)
miscutils/flash_eraseall.c:99: warning: unused variable 'oobinfo'
miscutils/flash_eraseall.c:146: error: 'MEMGETBADBLOCK' undeclared (first use in this function)
miscutils/flash_eraseall.c:167: warning: implicit declaration of function 'show_progress'
miscutils/flash_eraseall.c:169: error: 'MEMERASE' undeclared (first use in this function)
miscutils/flash_eraseall.c:177: error: storage size of 'oob' isn't known
miscutils/flash_eraseall.c:182: error: 'MEMWRITEOOB' undeclared (first use in this function)
miscutils/flash_eraseall.c:177: warning: unused variable 'oob'
make[1]: *** [miscutils/flash_eraseall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
  CC      coreutils/tee.o
  LD      networking/libiproute/built-in.o
  CC      networking/libiproute/ip_parse_common_args.o
miscutils/flash_lock_unlock.c:19:26: error: mtd/mtd-user.h: No such file or directory
miscutils/flash_lock_unlock.c: In function 'flash_lock_unlock_main':
miscutils/flash_lock_unlock.c:27: error: storage size of 'info' isn't known
miscutils/flash_lock_unlock.c:28: error: storage size of 'lock' isn't known
miscutils/flash_lock_unlock.c:50: error: 'MEMGETINFO' undeclared (first use in this function)
miscutils/flash_lock_unlock.c:50: error: (Each undeclared identifier is reported only once
miscutils/flash_lock_unlock.c:50: error: for each function it appears in.)
miscutils/flash_lock_unlock.c:75: error: 'MEMLOCK' undeclared (first use in this function)
miscutils/flash_lock_unlock.c:77: error: 'MEMUNLOCK' undeclared (first use in this function)
miscutils/flash_lock_unlock.c:28: warning: unused variable 'lock'
miscutils/flash_lock_unlock.c:27: warning: unused variable 'info'
make[1]: *** [miscutils/flash_lock_unlock.o] Error 1
make: *** [miscutils] Error 2
make: *** Waiting for unfinished jobs....
  CC      networking/libiproute/ipaddress.o

Portage 2.1.10.11 (default/linux/x86/10.0/server, gcc-4.1.2, unavailable, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.23-gentoo-r3-i686-Intel-R-_Xeon-TM-_CPU_3.00GHz-with-gentoo-1.12.6
Timestamp of tree: Sun, 25 Dec 2011 23:30:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.4.4-r4::<unknown repository>, 2.5.4-r3, 2.6.6-r2, 2.7.2-r3
dev-util/pkgconfig:       0.20::<unknown repository>
sys-apps/baselayout:      1.12.6::<unknown repository>
sys-apps/sandbox:         1.6-r2
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            3.4.6-r2, 4.1.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.17-r2::<unknown repository> (virtual/os-headers)
sys-libs/glibc:           2.10.1-r1
Repositories: gentoo x-portage-local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks 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"
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 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv imap ipv6 modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre pppd readline session snmp ssl sysfs tcpd truetype unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CALLIGRA_FEATURES="kexi words flow plan 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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
Comment 1 SpanKY gentoo-dev 2011-12-31 07:21:18 UTC
should be all set now in the tree; thanks for the report!

Commit message: Force a recent version of linux-headers
http://sources.gentoo.org/sys-apps/busybox/busybox-1.19.3-r1.ebuild?r1=1.5&r2=1.6
Comment 2 Andreas Kinzler 2012-01-10 14:28:41 UTC
If the dependency required is ">=linux-headers-2.6.19.2" then this should have been added and not ">=sys-kernel/linux-headers-2.6.39" which breaks every system that wants to have linux-headers < 2.6.39.
Comment 3 SpanKY gentoo-dev 2012-01-10 21:00:02 UTC
no.  upgrade your kernel headers.