While trying to update to busybox-1.15.2 I get the following compilation error(s): CC miscutils/flash_eraseall.o CC coreutils/tee.o CC libbb/crc32.o LD networking/built-in.o CC networking/arp.o In file included from /usr/include/mtd/mtd-user.h:11, from miscutils/flash_eraseall.c:14: /usr/include/mtd/mtd-abi.h:9: error: expected specifier-qualifier-list before ‘__u32’ /usr/include/mtd/mtd-abi.h:14: error: expected specifier-qualifier-list before ‘__u32’ /usr/include/mtd/mtd-abi.h:51: error: expected specifier-qualifier-list before ‘__u8’ /usr/include/mtd/mtd-abi.h:64: error: expected specifier-qualifier-list before ‘__u32’ /usr/include/mtd/mtd-abi.h:72: error: expected specifier-qualifier-list before ‘__u32’ /usr/include/mtd/mtd-abi.h:102: error: expected specifier-qualifier-list before ‘__u32’ /usr/include/mtd/mtd-abi.h:109: error: expected specifier-qualifier-list before ‘__u32’ /usr/include/mtd/mtd-abi.h:119: error: expected specifier-qualifier-list before ‘__u32’ /usr/include/mtd/mtd-abi.h:134: error: expected specifier-qualifier-list before ‘__u32’ In file included from /usr/include/mtd/jffs2-user.h:9, from miscutils/flash_eraseall.c:15: /usr/include/linux/jffs2.h:94: error: expected specifier-qualifier-list before ‘__u32’ /usr/include/linux/jffs2.h:98: error: expected specifier-qualifier-list before ‘__u32’ /usr/include/linux/jffs2.h:102: error: expected specifier-qualifier-list before ‘__u16’ /usr/include/linux/jffs2.h:124: error: expected specifier-qualifier-list before ‘__u8’ /usr/include/linux/jffs2.h:156: error: expected specifier-qualifier-list before ‘__u8’ /usr/include/linux/jffs2.h:171: error: expected specifier-qualifier-list before ‘__u8’ miscutils/flash_eraseall.c: In function ‘show_progress’: miscutils/flash_eraseall.c:44: error: ‘mtd_info_t’ has no member named ‘erasesize’ miscutils/flash_eraseall.c:44: error: ‘erase_info_t’ has no member named ‘start’ miscutils/flash_eraseall.c:45: error: ‘erase_info_t’ has no member named ‘start’ miscutils/flash_eraseall.c:45: error: ‘mtd_info_t’ has no member named ‘size’ miscutils/flash_eraseall.c: In function ‘flash_eraseall_main’: miscutils/flash_eraseall.c:72: error: ‘erase_info_t’ has no member named ‘length’ miscutils/flash_eraseall.c:72: error: ‘mtd_info_t’ has no member named ‘erasesize’ miscutils/flash_eraseall.c:73: error: ‘mtd_info_t’ has no member named ‘type’ miscutils/flash_eraseall.c:83: error: ‘__u16’ undeclared (first use in this function) miscutils/flash_eraseall.c:83: error: (Each undeclared identifier is reported only once miscutils/flash_eraseall.c:83: error: for each function it appears in.) miscutils/flash_eraseall.c:83: error: expected ‘;’ before ‘__b’ miscutils/flash_eraseall.c:83: error: ‘__b’ undeclared (first use in this function) miscutils/flash_eraseall.c:83: warning: excess elements in struct initializer miscutils/flash_eraseall.c:83: warning: (near initialization for ‘(anonymous)’) miscutils/flash_eraseall.c:84: error: expected ‘;’ before ‘__b’ miscutils/flash_eraseall.c:84: warning: excess elements in struct initializer miscutils/flash_eraseall.c:84: warning: (near initialization for ‘(anonymous)’) miscutils/flash_eraseall.c:86: error: ‘__u32’ undeclared (first use in this function) miscutils/flash_eraseall.c:86: error: expected ‘;’ before ‘__b’ miscutils/flash_eraseall.c:86: warning: excess elements in struct initializer miscutils/flash_eraseall.c:86: warning: (near initialization for ‘(anonymous)’) miscutils/flash_eraseall.c:93: error: ‘struct nand_oobinfo’ has no member named ‘useecc’ miscutils/flash_eraseall.c:95: error: ‘struct nand_oobinfo’ has no member named ‘oobfree’ miscutils/flash_eraseall.c:96: error: ‘struct nand_oobinfo’ has no member named ‘oobfree’ miscutils/flash_eraseall.c:103: error: ‘mtd_info_t’ has no member named ‘oobsize’ miscutils/flash_eraseall.c:118: error: expected ‘;’ before ‘__b’ miscutils/flash_eraseall.c:118: warning: excess elements in struct initializer miscutils/flash_eraseall.c:118: warning: (near initialization for ‘(anonymous)’) miscutils/flash_eraseall.c:121: error: expected ‘;’ before ‘__b’ miscutils/flash_eraseall.c:121: warning: excess elements in struct initializer miscutils/flash_eraseall.c:121: warning: (near initialization for ‘(anonymous)’) miscutils/flash_eraseall.c:128: error: ‘erase_info_t’ has no member named ‘start’ miscutils/flash_eraseall.c:128: error: ‘erase_info_t’ has no member named ‘start’ miscutils/flash_eraseall.c:128: error: ‘mtd_info_t’ has no member named ‘size’ miscutils/flash_eraseall.c:129: error: ‘erase_info_t’ has no member named ‘start’ miscutils/flash_eraseall.c:129: error: ‘mtd_info_t’ has no member named ‘erasesize’ miscutils/flash_eraseall.c:132: error: ‘erase_info_t’ has no member named ‘start’ miscutils/flash_eraseall.c:137: error: ‘erase_info_t’ has no member named ‘start’ miscutils/flash_eraseall.c:167: error: ‘struct mtd_oob_buf’ has no member named ‘ptr’ miscutils/flash_eraseall.c:168: error: ‘struct mtd_oob_buf’ has no member named ‘start’ miscutils/flash_eraseall.c:168: error: ‘erase_info_t’ has no member named ‘start’ miscutils/flash_eraseall.c:169: error: ‘struct mtd_oob_buf’ has no member named ‘length’ miscutils/flash_eraseall.c:172: error: ‘erase_info_t’ has no member named ‘start’ miscutils/flash_eraseall.c:184: error: ‘erase_info_t’ has no member named ‘start’ make[1]: *** [miscutils/flash_eraseall.o] Error 1 make: *** [miscutils] Error 2 make: *** Waiting for unfinished jobs.... Only USE-flag enabled on busybox is 'pam'. emerge --info: Portage 2.1.7.4 (default/linux/amd64/10.0/desktop, gcc-4.3.3, glibc-2.11-r0, 2.6.31-rc9 x86_64) ================================================================= System uname: Linux-2.6.31-rc9-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 08 Nov 2009 09:25:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7-r1, 2.1.9-r1 dev-lang/python: 2.5.4-r2, 2.6.4, 3.1.1-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.tiscali.nl/pub/mirror/gentoo " LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" 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/layman/x11 /usr/local/aphax-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 audacious automount avahi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dirac divx djvu dri dts dv dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fortran fuse gdbm gif gnome gnome-keyring gpm gstreamer gtk gtk2 hal iconv ieee1394 ipv6 jpeg jpeg2k kde ldap libnotify mad matroska mikmod mmx modules mono moonlight mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nntp nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb vcd vim-syntax vorbis wmf wmp wxwindows x264 xml xorg xulrunner xv xvid xvmc 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Seeing as those errors don't look sane, I have a question: what's your version of libcap ?
(In reply to comment #1) > Seeing as those errors don't look sane, > I have a question: what's your version of libcap ? > libcap version is 2.17 (apologies for taking so long to reply)
OK, that was a move in the wrong direction. You need more recent kernel headers - 2.29 were released at 23.03, fix for the problem went into kernel git at 26.03.
(In reply to comment #3) > OK, that was a move in the wrong direction. > You need more recent kernel headers - > 2.29 were released at 23.03, fix for the problem > went into kernel git at 26.03. > Thanks! updating those fixed the problem
*** Bug 297697 has been marked as a duplicate of this bug. ***