Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281072 - sys-apps/mkinitrd-4.2.0.3-r1 fails to build on amd64
Summary: sys-apps/mkinitrd-4.2.0.3-r1 fails to build on amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-11 08:53 UTC by Richard Scott
Modified: 2009-08-11 09:15 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 Richard Scott 2009-08-11 08:53:30 UTC
I get this error when emerging sys-apps/mkinitrd-4.2.0.3-r1:

>>> Emerging (1 of 8) sys-apps/mkinitrd-4.2.0.3-r1
 * mkinitrd-4.2.0.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking mkinitrd-4.2.0.3.tar.bz2 to /var/tmp/portage/sys-apps/mkinitrd-4.2.0.3-r1/work
 * Applying mkinitrd-4.2.0.3-glibc-2.10.patch ...                                                                                                      [ ok ]
 * Applying mkinitrd-lvm_statics.diff ...                                                                                                              [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-apps/mkinitrd-4.2.0.3-r1/work
>>> Compiling source in /var/tmp/portage/sys-apps/mkinitrd-4.2.0.3-r1/work/mkinitrd-4.2.0.3 ...
make -j3 CC=x86_64-pc-linux-gnu-gcc LDFLAGS=-Wl,-O1 -C nash
make: Entering directory `/var/tmp/portage/sys-apps/mkinitrd-4.2.0.3-r1/work/mkinitrd-4.2.0.3/nash'
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -fomit-frame-pointer -Wall -DVERSION=\"4.2.0.3\"    -c -o nash.o nash.c
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -fomit-frame-pointer -Wall -DVERSION=\"4.2.0.3\"    -c -o mount_by_label.o mount_by_label.c
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -fomit-frame-pointer -Wall -DVERSION=\"4.2.0.3\"    -c -o name_to_dev_t.o name_to_dev_t.c
nash.c: In function `runStartup':
nash.c:1494: warning: 'rc' might be used uninitialized in this function
x86_64-pc-linux-gnu-gcc -static -g -Wl,-O1 -o nash nash.o mount_by_label.o name_to_dev_t.o
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [nash] Error 1
make: Leaving directory `/var/tmp/portage/sys-apps/mkinitrd-4.2.0.3-r1/work/mkinitrd-4.2.0.3/nash'
 *
 * ERROR: sys-apps/mkinitrd-4.2.0.3-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2477:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" -C nash || 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 '/var/tmp/portage/sys-apps/mkinitrd-4.2.0.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/mkinitrd-4.2.0.3-r1/temp/environment'.

Here's my emerge --info info:

 # emerge --info
Portage 2.1.6.13 (hardened/amd64, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Pentium-R-_4_CPU_3.60GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 10 Aug 2009 23:45:02 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.qubenet.net/mirror/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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="/opt/portage"
SYNC="rsync://pharamond.har.mrc.ac.uk/gentoo-portage"
USE="amd64 berkdb cracklib crypt fuse hardened ipv6 justify mmx ncurses nls nptl nptlonly pam pic readline sse sse2 ssl sysfs tcpd urandom xorg 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 intel mach64        mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis    sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
Comment 1 Richard Scott 2009-08-11 09:15:21 UTC
invalid as mkinitrd-4.2.0.3 won't re-compile either so no wonder mkinitrd-4.2.0.3-r1 doesn't :-(