Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244571 - Failed to emerge sys-apps/busybox-1.12.1 ebuild.sh, line 49: Called src_compile
Summary: Failed to emerge sys-apps/busybox-1.12.1 ebuild.sh, line 49: Called src_co...
Status: RESOLVED DUPLICATE of bug 244470
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 01:41 UTC by xufeng
Modified: 2008-10-27 02:11 UTC (History)
1 user (show)

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 xufeng 2008-10-27 01:41:25 UTC
make[1]: *** [miscutils/inotifyd.o] Error 1
make: *** [miscutils] Error 2
 * 
 * ERROR: sys-apps/busybox-1.12.1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2488:  Called die
 * The specific snippet of code:
 * emake busybox || die "build failed";
 * The die message:
 * build failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/busybox-1.12.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/busybox-1.12.1/temp/environment'.


Reproducible: Always
Comment 1 Xiao-Yong JIN 2008-10-27 02:05:55 UTC
I encountered the same problem.

The error follows as

  CC      miscutils/devmem.o
miscutils/devmem.c:12: warning: no previous prototype for ‘devmem_main’
miscutils/devmem.c: In function ‘devmem_main’:
miscutils/devmem.c:44: warning: format ‘%X’ expects type ‘unsigned int’, but argument 2 has type ‘off_t’
miscutils/devmem.c:44: warning: format ‘%X’ expects type ‘unsigned int’, but argument 4 has type ‘long unsigned int’
miscutils/devmem.c:58: warning: format ‘%X’ expects type ‘unsigned int’, but argument 2 has type ‘long unsigned int’
miscutils/devmem.c:58: warning: format ‘%X’ expects type ‘unsigned int’, but argument 3 has type ‘long unsigned int’
  CC      miscutils/eject.o
  CC      miscutils/fbsplash.o
  CC      miscutils/hdparm.o
  CC      miscutils/inotifyd.o
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: *** [miscutils] Error 2

My emerge --info:

Portage 2.2_rc12 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-x86_64-Intel-R-_Pentium-R-_D_CPU_3.40GHz-with-glibc2.2.5
Timestamp of tree: Sun, 26 Oct 2008 16:04:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 1.12.11.1
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=nocona -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en en_US zh zh_CN"
PKGDIR="/usr/portage/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/haskell"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl alsa amd64 audiofile avahi berkdb bzip2 cairo caps cddb cdparanoia cdr cjk cli cracklib crypt cscope cups curl dbus djvu dri dts dv dvb dvd dvdread eds emacs encode exif fam fbcon ffmpeg fftw firefox flac fltk fontconfig fortran ftp gd gdbm geoip gif git gmp gnome gnome-keyring gnutls gpm graphviz gstreamer gtk gtkhtml hal iconv idn imagemagick imlib ipod ipv6 isdnlog java jbig jpeg jpeg2k lapack latex lcms libnotify libsamplerate lzo m17n-lib mad midi mmap mmx mng modplug mono mp3 mpeg mudflap musepack musicbrainz ncurses nls nptl nptlonly nsplugin odbc ogg openal openexr opengl openmp oss pam pcre pdf perl plotutils png pppd python qt4 quicktime readline reflection sasl sdl session sndfile speex spell spl sqlite3 sse sse2 ssl startup-notification subversion svg tcpd tetex theora threads tiff tk truetype unicode usb v4l vcd vim-syntax vorbis wavpack wmf wxwindows x264 xcb xcomposite xface xine xinerama xml xmlrpc xorg xpm xscreensaver xulrunner xv xvid zeroconf 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh zh_CN" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Please ask if you need more information.
Comment 2 SpanKY gentoo-dev 2008-10-27 02:11:04 UTC

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