Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88505 - emerge grub throws error in ebuild.sh: line 1: -fno-pic: command not found
Summary: emerge grub throws error in ebuild.sh: line 1: -fno-pic: command not found
Status: RESOLVED DUPLICATE of bug 70111
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-09 13:08 UTC by stefan Beckers
Modified: 2005-07-17 13:06 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 stefan Beckers 2005-04-09 13:08:48 UTC
trying to make a fresh stage-1-install using knoppix 3.7.

grub can't be emerged.

Reproducible: Always
Steps to Reproduce:
1.emerge grub
Actual Results:  
Knoppix portage # emerge grub
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-boot/grub-0.94-r1 to /
>>> md5 src_uri ;-) grub-0.94.tar.gz
>>> md5 src_uri ;-) grub-0.94-splash.patch.bz2
>>> Unpacking source...
>>> Unpacking grub-0.94.tar.gz to /var/tmp/portage/grub-0.94-r1/work
>>> Unpacking grub-0.94-splash.patch.bz2 to /var/tmp/portage/grub-0.94-r1/work
 * Applying grub-0.94-splash.patch ...                                       [ ok ]
 * Applying grub-0.94-gcc3.4.patch ...                                       [ ok ]
>>> Source unpacked.
/usr/lib/portage/bin/ebuild.sh: line 1: -fno-pic: command not found
 * econf: updating grub-0.94/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating grub-0.94/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/lib --datadir=/usr/lib/grub --exec-prefix=/
--disable-auto-linux-mem-opt --enable-diskless --enable-3c503 --enable-3c507
--enable-3c509 --enable-3c529 --enable-3c595 --enable-3c90x --enable-cs89x0
--enable-davicom --enable-depca --enable-eepro --enable-eepro100
--enable-epic100 --enable-exos205 --enable-ni5210 --enable-lance --enable-ne2100
--enable-ni5010 --enable-ni6510 --enable-natsemi --enable-ne --enable-ns8390
--enable-wd --enable-otulip --enable-rtl8139 --enable-sis900 --enable-sk-g16
--enable-smc9000 --enable-tiara --enable-tulip --enable-via-rhine --enable-w89c840
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking whether optimization for size works... yes
checking whether -Wundef works... yes
checking whether -falign-loops works... yes
checking for i686-pc-linux-gnu-objcopy... i686-pc-linux-gnu-objcopy
checking if C symbols get an underscore after compilation... no
checking whether i686-pc-linux-gnu-objcopy works for absolute addresses...
configure: error: i686-pc-linux-gnu-gcc cannot link at address 2000

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/grub-0.94-r1/work/grub-0.94/config.log

!!! ERROR: sys-boot/grub-0.94-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Knoppix portage #          

Expected Results:  
grub emerged sucessfully

Knoppix portage # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr  9 2005, 13:28:06)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -march=pentium4 -pipe -mmmx
-msse -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -march=pentium4 -pipe -mmmx
-msse -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib ack acl acpi aim alsa apache2 apm arts audiofile
avi bash-completion bcmath berkdb bitmap-fonts bluetooth bonobo bzlib calendar
caps cdparanoia cdr chasen cpdflib crypt cscope ctype cups curl curlwrappers db2
dba dbx dga directfb divx4linux doc dv dvb dvd dvdread emace-w3 emacs emboss
encode esd ethereal examples exif expat fam fastcgi fbcon fdktk flac flash fmpeg
foomaticdb fortran freetds ftp gd gdbm geoip gi gif glut gnome gnutls gphoto2
gpm gps gstreamer gtk gtk2 gtkhtml hal hardened hardenedphp iconv icq
imagemagick imap imlib inifile innodb iodbc ipv6 jabber java javascript jikes
jpeg kde kdeenablefinal kdexdeltas kerberos krb4 ldap lesstif libcaca libedit
libg++ libgda libwww lirc lm_sensors lmcs mad maildir mbox mcal memlimit mikmod
milter mime ming mmap mmx mng mono motif mozilla mp3 mpeg mpi msession msn msql
mule mysql mysqli nas ncurses neXt netboot netcdf nis nls nptl odbc offensive
ofx ogg oggvorbis openal opengl oscar oss pam pcmcia pcntl pdflib perl php pic
pie png pnp portaudio posix ppd python qt quicktime readline recode ruby samba
sasl sdl session sharedext sharedmem shorten simplexml skey slang slp smartcard
sndfile soap sockets socks5 source sox speex spell spl sprelude sse ssl svg svga
sysfs sysvipc szip tcltk tcpd tetex threads tidy tiff tokenizer truetype
truetype-fonts trusted type1-fonts unicode usb vcd vhosts vorbis wifi
win32codecs wmf wxwindows xface xine xinerama xls xml xml-rpc xml2 xmms xosd xpm
xprint xv xvid yahoo yaz zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY

Knoppix portage #
Comment 1 SpanKY gentoo-dev 2005-04-09 19:44:55 UTC

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