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

Bug 244602

Summary: busybox-1.12.1 fails to build
Product: Gentoo Linux Reporter: Alan McKinnon <alan.mckinnon>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alan McKinnon 2008-10-27 09:08:51 UTC
emerge =busybox-1.12.1 fails with this error (only tested on amd63):

In file included from /usr/include/asm/fcntl.h:1,
                 from /usr/include/linux/fcntl.h:4,
                 from /usr/include/linux/inotify.h:11,
                 from miscutils/inotifyd.c:31:
/usr/include/asm-generic/fcntl.h:117: error: redefinition of 'struct flock'
/usr/include/asm-generic/fcntl.h:140: error: redefinition of 'struct flock64'
make[1]: *** [miscutils/inotifyd.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [miscutils] Error 2
  CC      libbb/info_msg.o
make: *** Waiting for unfinished jobs....
  CC      libbb/inode_hash.o
  CC      libbb/isdirectory.o
  CC      libbb/last_char_is.o
  CC      libbb/kernel_version.o
  CC      libbb/lineedit.o
  CC      libbb/lineedit_ptr_hack.o
  CC      libbb/llist.o
  CC      libbb/login.o
  CC      libbb/loop.o
  CC      libbb/make_directory.o
  CC      libbb/makedev.o
  CC      libbb/match_fstype.o
  CC      libbb/md5.o
  CC      libbb/messages.o
  CC      libbb/mode_string.o
  CC      libbb/mtab.o
  CC      libbb/mtab_file.o
  CC      libbb/obscure.o
  CC      libbb/parse_config.o
  CC      libbb/parse_mode.o
  CC      libbb/perror_msg.o
  CC      libbb/perror_msg_and_die.o
  CC      libbb/perror_nomsg.o
  CC      libbb/perror_nomsg_and_die.o
  CC      libbb/pidfile.o
  CC      libbb/print_flags.o
  CC      libbb/printable.o
  CC      libbb/process_escape_sequence.o
  CC      libbb/procps.o
  CC      libbb/ptr_to_globals.o
  CC      libbb/pw_encrypt.o
  CC      libbb/read.o
  CC      libbb/recursive_action.o
  CC      libbb/remove_file.o
  CC      libbb/restricted_shell.o
  CC      libbb/rtc.o
  CC      libbb/run_shell.o
  CC      libbb/safe_gethostname.o
  CC      libbb/safe_poll.o
  CC      libbb/safe_strncpy.o
  CC      libbb/safe_write.o
  CC      libbb/setup_environment.o
  CC      libbb/sha1.o
  CC      libbb/signals.o
  CC      libbb/simplify_path.o
  CC      libbb/skip_whitespace.o
  CC      libbb/speed_table.o
  CC      libbb/str_tolower.o
  CC      libbb/strrstr.o
  CC      libbb/time.o
  CC      libbb/trim.o
  CC      libbb/u_signal_names.o
  CC      libbb/udp_io.o
  CC      libbb/update_passwd.o
  CC      libbb/uuencode.o
  CC      libbb/vdprintf.o
  CC      libbb/verror_msg.o
  CC      libbb/vfork_daemon_rexec.o
  CC      libbb/warn_ignoring_args.o
  CC      libbb/wfopen.o
  CC      libbb/wfopen_input.o
  CC      libbb/write.o
  CC      libbb/xatonum.o
  CC      libbb/xconnect.o
  CC      libbb/xfunc_die.o
  CC      libbb/xfuncs.o
  CC      libbb/xfuncs_printf.o
  CC      libbb/xgetcwd.o
  CC      libbb/xgethostbyname.o
  CC      libbb/xreadlink.o
  CC      libbb/xrealloc_vector.o
  CC      libbb/xregcomp.o
  AR      libbb/lib.a
make: *** wait: No child processes.  Stop.


Reproducible: Always

Steps to Reproduce:
1. emerge =busybox-1.12.1
2.
3.

Actual Results:  
build failed

Expected Results:  
build should succeed

Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.2.5
Timestamp of tree: Sun, 26 Oct 2008 18:04:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r4
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -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/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/distfiles"
FEATURES="collision-protect distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="/mnt/distfiles/ ftp://ftp.is.co.za/mirror/gentoo.org/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB en_US en_ZA"
MAKEOPTS="-j3"
PKGDIR="/var/packages"
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="/var/portage"
PORTDIR_OVERLAY="/var/portage/local/layman/enlightenment /var/portage/local/layman/ecomp /var/portage/local/layman/sunrise /var/portage/local/e17 /var/portage/local/alan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns aiglx alsa amd64 ao apache2 archive audiofile bash-completion berkdb bittorrent bluetooth branding bzip2 cairo cdaudio cdr cisco cli cracklib crypt cups curl curlwrappers cviewer cvs dbus dbx dga dialup dri dts dv dvb dvd dvdr dvdread encode etk evo ewl exif expat fam ffmpeg flac fontconfig foomaticdb freetds ftp fuse gd gdbm gif gimp glitz gnokii gnutls gpm gps graphviz gs gstreamer gtk hal iconv id3tag ieee1394 imagemagick imap imlib ipod iproute2 irda irmc jabber javascript jbig jce jpeg jpeg2k kde kdeprefix kerberos keyring kig-scripting lcms ldap lesstif libc_glibc libcaca libg++ libnotify libsamplerate libsndfile libwww lm_sensors mad maildir matroska mbox mcal messenger midi mikmod milter mime mmx mng mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz mysql mysqli ncurses nepomuk netboot networkmanager nfs nptl nsplugin ntp nvidia odbc offensive ogg openal opengl openmp openvpn pam pango passwordsave pch pcre pdf perl php plasma plotutils pmu png posix postgres ppds pppd profile python qt-static qt3 qt3support qt4 quicktime readline realmedia reflection resolvconf samba sasl scanner sdl semantic-desktop session slp sms solver speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg sysfs sysvipc tcl tcltk tcpd testbed tetex theora threads tidy tiff tk truetype tunepimp udev unicode usb utempter v4l v4l2 vcd video vim-syntax vnc vorbis wavpack wifi wma wmf wxwindows x264 xattr xcb xcomposite xine xinerama xinetd xml xorg xosd xpm xrender xulrunner xv xvid xvmc zeroconf zip 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="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias " ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US en_ZA" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2008-10-27 09:46:40 UTC

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