Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268285 - sys-apps/mkinitrd-3.5.7-r3: multiple definition of `__guard'
Summary: sys-apps/mkinitrd-3.5.7-r3: multiple definition of `__guard'
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 2 votes (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 305161 (view as bug list)
Depends on: 324741
Blocks:
  Show dependency tree
 
Reported: 2009-05-02 12:11 UTC by sf
Modified: 2010-07-21 12:52 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mkinitrd-3.5.7-dietssp.patch (mkinitrd-3.5.7-dietssp.patch,7.76 KB, patch)
2009-10-02 19:14 UTC, Christophe LEFEBVRE
Details | Diff
build.log (build.log,2.93 KB, text/plain)
2010-03-27 04:52 UTC, SI Reasoning
Details
environment (environment,83.16 KB, text/plain)
2010-03-27 04:53 UTC, SI Reasoning
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sf 2009-05-02 12:11:22 UTC
sys-apps/mkinitrd-3.5.7-r3 does not build:

>>> Unpacking source...
>>> Unpacking mkinitrd-3.5.7.tar.bz2 to /gentoo/tmp/portage/sys-apps/mkinitrd-3.5.7-r3/work
 * Applying mkinitrd-lvm_statics.diff ...
  [ ok ]
 * Applying mkinitrd-3.5.7-dietssp.patch ...
  [ ok ]
>>> Source unpacked in /gentoo/tmp/portage/sys-apps/mkinitrd-3.5.7-r3/work
sandbox:main  signal SIGQUIT already had a handler ...

>>> Compiling source in /gentoo/tmp/portage/sys-apps/mkinitrd-3.5.7-r3/work/mkinitrd-3.5.7 ...
make 
cc -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector   -c -o nash.o nash.c
nash.c: In function ‘runStartup’:
nash.c:1158: warning: implicit declaration of function ‘display_uuid_cache’
cc -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector   -c -o mount_by_label.o mount_by_label.c
mount_by_label.c: In function ‘get_label_uuid’:
mount_by_label.c:67: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
mount_by_label.c: In function ‘get_spec_by_uuid’:
mount_by_label.c:268: warning: pointer targets in passing argument 2 of ‘get_spec_by_x’ differ in signedness
cc -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector   -c -o ssp.o ssp.c
cc  -static -fno-stack-protector -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector -Wl,-O1 -o nash nash.o mount_by_label.o ssp.o
/usr/lib/gcc/i586-pc-linux-gnu/4.3.2/../../../libc.a(libc-start.o):(.data.rel.ro+0x0): multiple definition of `__guard'
ssp.o:/gentoo/tmp/portage/sys-apps/mkinitrd-3.5.7-r3/work/mkinitrd-3.5.7/nash/ssp.c:51: first defined here
collect2: ld returned 1 exit status
make: *** [nash] Error 1
 * 
 * ERROR: sys-apps/mkinitrd-3.5.7-r3 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2156:  Called die
 * The specific snippet of code:
 *       emake || die "nash compile failed.";
 *  The die message:
 *   nash compile failed.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/gentoo/log/sys-apps:mkinitrd-3.5.7-r3:20090501-095245.log'.
 * The ebuild environment file is located at '/gentoo/tmp/portage/sys-apps/mkinitrd-3.5.7-r3/temp/environment'.
 *
Comment 1 sf 2009-05-02 12:14:10 UTC
#emerge --info

Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28.9 i686)
=================================================================
System uname: Linux-2.6.28.9-i686-Intel-R-_Pentium-R-_4_Mobile_CPU_1.70GHz-with-glibc2.0
Timestamp of tree: Sat, 02 May 2009 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O2 -Os -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.1/share/config /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-march=i586 -O2 -Os -fomit-frame-pointer -pipe"
DISTDIR="/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --with-bdeps y"
FEATURES="buildpkg collision-protect distlock distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
PKGDIR="/gentoo/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="/gentoo/tmp"
PORTDIR="/gentoo/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /gentoo/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib acl acpi activefilter adns alsa apm async avi berkdb bidi bzip2 caps cdb cdr chroot cli cracklib crypt cscope cspoe cups curl custom-cxxflags dga directfb doc dri dts dv dvb dvd dvdr dvdread edl encode erandom ethereal evo expat f77 fam fbcon ffmpeg firebird firefox flac flash foomaticdb fortran freetds freetype gb gcj gd gdbm ggi gif gmp gnutls gphoto2 gpm gps gtk gtk2 hbci iconv idn imagemagick imap imlib imlib2 informix innodb ipv6 isdnlog java jbig jikes jpeg junit ladcca lcms ldap libcaca libg++ libwww lirc mad mailwrapper mcal md5sum midi mikmod mng motif mozilla mozsvg mp3 mpeg mpi mudflap mysql nas ncurses nhc98 nls nntp nptl nptlonly nsplugin oav oci8 odbc ogg oggvorbis opengl openmp oss pam pcmcia pcre pda pdf pdflib pg-hier pg-intdatetime pg-vacuumdelay pic pie plotutils png pnp postgres ppds pppd prebuilt quicktime readline reflection rtc samba sasl scanner sdl session slang slp snmp socks5 speex spell spl ssl svg svga sysfs tcpd tetex threads tiff truetype unicode usb vorbis wavelan win32codecs wmf x86 xface xinerama xml xml2 xorg xulrunner xv xvid xvmc 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="cyrix nvidia radeon"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jarryd Beck 2009-05-03 00:39:03 UTC
I get this too. I just upgraded gcc from 4.1.2 to 4.3.2 and am in the middle of emerge -eav world and got exactly the same error.

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5jarryd-laptop i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5jarryd-laptop-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0
Timestamp of tree: Sat, 02 May 2009 00:00:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r14, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium-m -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.iinet.net.au/linux/Gentoo/ http://mirror.cse.unsw.edu.au/pub/gentoo http://ftp.swin.edu.au/gentoo"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/builds"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avahi berkdb branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvb dvd dvdr dvdread emboss encode esd evo fam ffmpeg firefox fortran gdbm gif gimp gnome gpm gstreamer gtk hal iconv innodb isdnlog java jpeg ldap libnotify lua mad mbrola mdnsresponder-compat midi mikmod mozdevelop mp3 mpeg mudflap mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Daniel Burr 2009-06-18 02:49:06 UTC
I also had this problem.  I tracked it down to this line in mkinitrd-3.5.7-dietssp.patch:

+OBJS += $(shell gcc -fstack-protector -S -o /dev/null -xc /dev/null >/dev/null 2>&1 && echo "ssp.o")

Changing it to:

+OBJS +=

Allowed me to emerge mkinitrd.  It seems that using the exit code `gcc -fstack-protector` is not the correct test to be using here.
Comment 4 Cristian 2009-07-15 16:26:54 UTC
(In reply to comment #3)
> I also had this problem.  I tracked it down to this line in
> mkinitrd-3.5.7-dietssp.patch:
> 
> +OBJS += $(shell gcc -fstack-protector -S -o /dev/null -xc /dev/null >/dev/null
> 2>&1 && echo "ssp.o")
> 
> Changing it to:
> 
> +OBJS +=
> 
> Allowed me to emerge mkinitrd.  It seems that using the exit code `gcc
> -fstack-protector` is not the correct test to be using here.
> 

This worked for me.

Thank you!
Comment 5 walt 2009-09-11 19:26:13 UTC
Seems this package is still broken.  Any idea why this fix hasn't been
committed yet?
Comment 6 Massimiliano 2009-09-14 11:24:56 UTC
I have the same exact issue... The problem seems to be still there...
Comment 7 Christophe LEFEBVRE 2009-10-02 19:14:52 UTC
Created attachment 205865 [details, diff]
mkinitrd-3.5.7-dietssp.patch

I confirm also this bug. Please find the corrected patch as an attachment (Thanks to Daniel Burr for his works on this bug).

***** THIS ***** : 
 ifeq (i386, $(ARCH))
 CC:=diet $(CC)
-CFLAGS += -DUSE_DIET=1
+CFLAGS += -fno-stack-protector
+OBJS +=
 else
 STATIC=-static
 endif

***** INSTEAD OF ****** :
 ifeq (i386, $(ARCH))
 CC:=diet $(CC)
-CFLAGS += -DUSE_DIET=1
+CFLAGS += -fno-stack-protector
+OBJS +=
 else
 STATIC=-static
 endif



corrects the bug.
Comment 8 floppe 2009-10-10 05:41:55 UTC
I confirms this bug is still there. did run emerge -ae world last night and it throw this same error.
Comment 9 floppe 2009-10-10 05:42:37 UTC
I also confirms this bug. Came up in rebuild world.
Comment 10 René Kjellerup 2009-12-30 15:59:04 UTC
this bug is still present, 
I was trying to build mkinitrd to install VMWare tools to manages the system better from my ESXi.

Portage 2.1.6.13 (hardened/linux/x86/10.0, gcc-4.3.4-hardenednopie, glibc-2.9_p20081201-r2, 2.6.23-hardened-r7 i686)
=================================================================
System uname: Linux-2.6.23-hardened-r7-i686-Intel-R-_Xeon-R-_CPU_E5504_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 29 Dec 2009 13:00:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r9, 2.5.2-r7, 2.6.4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /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="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.tiscali.nl/ "
LANG="da_DK"
LC_ALL="da_DK"
LDFLAGS="-Wl,-O1"
LINGUAS="da en"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm hardened iconv imap ipv6 libwww maildir modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php pic png pppd python readline reflection sasl session spl ssl sysfs tcpd unicode urandom x86 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel  mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage  siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware     voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2010-02-14 21:53:51 UTC
*** Bug 305161 has been marked as a duplicate of this bug. ***
Comment 12 SI Reasoning 2010-03-27 04:42:23 UTC
I have a variation of this bug but with a different failure:
cc -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector   -c -o ssp.o ssp.c
cc  -static -fno-stack-protector -Wall -DVERSION=\"3.5.7\" -g -fno-stack-protector -Wl,-O1 -o nash nash.o mount_by_label.o ssp.o
make 
cc -Wall -g  -DVERSION=\"3.5.7\"   -c -o grubby.o grubby.c
grubby.c:237: error: conflicting types for 'strndup'
grubby.c: In function 'lineWrite':
grubby.c:346: warning: format not a string literal and no format arguments
grubby.c:352: warning: format not a string literal and no format arguments
grubby.c:353: warning: format not a string literal and no format arguments
grubby.c: In function 'checkLiloOnRaid':
grubby.c:1718: warning: pointer targets in passing argument 2 of 'checkDeviceBootloader' differ in signedness
grubby.c: In function 'checkForLilo':
grubby.c:1774: warning: pointer targets in passing argument 2 of 'checkLiloOnRaid' differ in signedness
make: *** [grubby.o] Error 1
 * ERROR: sys-apps/mkinitrd-3.5.7-r3 failed:
 *   grubby compile failed.
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2290:  Called die
 * The specific snippet of code:
 *       emake || die "grubby compile failed."

Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-Pentium_III_-Coppermine-with-gentoo-1.12.13
Timestamp of tree: Fri, 26 Mar 2010 20:15:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="7zip X aalib abiword accessibility acl acpi aim alias applet asf aspell automount autoreplace avahi bash-completion bitmap-fonts bittorrent bonobo bzip2 cairo calendar cdf cdr chipcard chipcard2 chroot commercial contactnotes crypt cscope css cups cupsddk curl curlwrappers cxx dbi dbus dcraw devmap dga dhcp dillo dio disablexmb dmi dpms dri dv dvb dvd dvdr dvdread dynamic ecc edl eds emoticon encode epson erandom escreen ethereal evo evolution exceptions exif exo extensions extrafilters fame fat ffmpeg firefox firefox3 flash flatfile font-server foomaticdb fpx ftp fts3 gaim gatos gd gdbm ggi gif gimp gimpprint gkrellm glade glib glibc-omitfp gmp gnome gnome-print gnomedb gnustep gnutls gphoto2 gpm grammar gs gtk gtk2 gtkhtml guile hal hbci hdf hdf5 highlight history howl hpn httpd hyperwave-api i8x0 iconv icq icu id3 idea idn ieee1394 ifp imagemagick imap imlib imlib2 immqt-bc innodb irc jabber java javascript jbig jcs jfs jpeg jpeg2k kde kdehiddenvisibility kdepim kino konqueror lcms lesstif libcaca libgda libsexy linuxthreads-tls live logrotate logwatch lpr ltsp lzo lzw maildir matroska mbox mcal mcve md5sum mdb mdnsresponder-compat memlimit mew mhash mime mimencode ming mjpeg mmx mmxext mng mono mozcalendar moznocompose moznoirc moznomail mozsvg mp3 mp4 mp4live mpeg mpeg2 mppe-mppc msession msn multiuser musepack mysql na_dd nautilus ncurses network networking new-login nfs nls noaudio nptl nptlonly nsplugin ntlm nxclient objc offensive office ofx oggvorbis opendoc opengl openssl opensslcrypt opera oscar pam panel-plugin parse-clocks passfile pcntl pdf perl physfs pic png ppds prelude print ps python qemu-fast qt qt-static qt3support qt4 quicktime quotes rar rc5 rdesktop readline regex reiserfs restrict-javascript rss rtc rtsp samba sametime scanner server sftp sftplogging sguil shared sharedmem silc silverxp slang slp smime sms sndfile soap sockets sox speedo spell sql sqlite sse sse2 ssl statistics stream subp subtitles subversion svg svga symlink sysfs syslog sysvipc tcltk tcpd texteffect tga theora thesaurus threads thumbnail thunar-vfs tiff tk tokenizer toolbar transcode truetype truetype-fonts type1 udev unicode unzip upnp usb utils uudeview v4l v4l2 vcd vcdimager vfat vhosts vidix vim vim-pager vim-with-x vlm vnc webdav webkit webpresence widescreen win32codecs winpopup wmf wordperfect wxwindows x86 xanim xcb xcomposite xforms xfs xft xine xinetd xml xml2 xmlreader xmlrpc xorg xpdf-headers xpm xprint xscreensaver xulrunner xv xvid xvmc yahoo yv12 zip zlib" ALSA_CARDS="maestro3" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="via apm savage fbdev glint vesa v4l" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

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

sys-apps/mkinitrd-3.5.7-r3 was built with the following:
USE="X a52 aac aalib acl aim alsa arts artswrappersuid audiofile avi bash-completion bigger-fonts bindist bitmap-fonts bonobo bzip2 bzlib calendar cdda cddb cdf cdio cdparanoia cdr cdrom cgi chipcard chroot codecs commercial cpdflib crypt cscope css cups curl curlwrappers devfs26 devmap dga dillo dio disablexmb distcache divx4linux dts dv dvb dvd dvdr dvdread edl eds emoticon encode erandom escreen ethereal evo exif extensions faad fam fame fastcgi ffmpeg flac flash flatfile fmod font-server foomaticdb foreign-sysvinit fpx freetype fs ftp gcj gd gdbm ggi gif gimp gimpprint gkrellm glade gnokii gnome gnome-print gnomedb gnustep gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hal hbci hdf hdf5 httpd hyperwave-api iconv icq icu idea ieee1394 image imagekits imagemagick imap imlib imlib2 immqt-bc innodb jabber java javascript jbig jp2 jpeg jpeg2k kde (kdeenablefinal) koffice-plugin lcms libcaca libgda libwww live ltsp lzo lzw lzw-tiff mad maildir matroska mbox mcal mcve md5sum mdb memlimit mew mhash mime mimencode ming mixer mjpeg mmx mmx2 mng monkey mono mozcalendar mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg2 mpeg4 mpi mplayer msdav msession msn mysql mysqli nas ncurses network new-login nls nptl nsplugin ntlm objc odbc offensive ofx ogg oggvorbis openal opengl oscar oss pam parse-clocks passfile pcntl pcre pdf pdfkit pdflib perl php physfs pic png ppds prelude pthreads python qt quicktime quotes rdesktop readline (real) samba scanner sdl server session sftplogging shared sharedmem silverxp skey slang slp smime sms sndfile soap sockets sox speedo spell spl sse sse2 ssl stream subtitles svg svga symlink sysvipc tcltk tcpd tga theora threads tiff tokenizer transcode truetype truetype-fonts type1 type1-fonts unicode usb utf8 uudeview v4l v4l2 vcdimager vhosts vidix vim vim-pager vim-with-x vlm vnc vorbis win32codecs wma123 wmf wxwindows xanim xbase xfs xine xml xml2 xmlrpc xpm xprint xv xvid yahoo yv12 zlib (-selinux)" 
LDFLAGS=""

>>> Attempting to run pkg_info() for 'sys-apps/mkinitrd-3.5.7-r3'
 * pkg_info() is not defined: 'mkinitrd-3.5.7-r3.ebuild'
Comment 13 SI Reasoning 2010-03-27 04:52:43 UTC
Created attachment 225417 [details]
build.log
Comment 14 SI Reasoning 2010-03-27 04:53:22 UTC
Created attachment 225419 [details]
environment
Comment 15 SI Reasoning 2010-03-27 04:57:04 UTC
I am also upgrading gcc from 4.1.2 to 4.3.2 and am in the middle of
emerge -eav world.
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2010-05-12 14:47:51 UTC
See bug 314857.  Try mkinitrd-4.2.0.3-r1 instead.
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2010-07-21 12:52:21 UTC
gone.