Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24474 - bzip2 build fails to compile
Summary: bzip2 build fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-14 13:34 UTC by adam
Modified: 2011-10-30 22:19 UTC (History)
4 users (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 adam 2003-07-14 13:34:04 UTC
bash-2.05a# emerge bzip2
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/bzip2-1.0.2-r2 to /
>>> md5 src_uri ;-) bzip2-1.0.2.tar.gz
>>> Unpacking source...
>>> Unpacking bzip2-1.0.2.tar.gz to /var/tmp/portage/bzip2-1.0.2-r2/work
>>> Source unpacked.
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer
-fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c blocksort.c
make: fpic: Command not found
make: [blocksort.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer
-fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c huffman.c
make: fpic: Command not found
make: [huffman.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer
-fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c crctable.c
make: fpic: Command not found

.... and so on; at another point:
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce
-D_FILE_OFFSET_BITS=64 -c blocksort.c
make: Wall: Command not found
make: [blocksort.o] Error 127 (ignored)
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce
-D_FILE_OFFSET_BITS=64 -c huffman.c
make: Wall: Command not found
make: [huffman.o] Error 127 (ignored)
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce
-D_FILE_OFFSET_BITS=64 -c crctable.c
make: Wall: Command not found
Wall -Winline -march=i686 -O3 -pipe -fomit-frame-pointer -fno-strength-reduce
-D_FILE_OFFSET_BITS=64 -c randtable.c
make: Wall: Command not found
make: [crctable.o] Error 127 (ignored)

(yes, these are about as retarded errors as you can ever have.)


Reproducible: Always
Steps to Reproduce:
1. emerge rsync
2. emerge bzip2
3. become frustrated, order a pizza

Actual Results:  
see 'details'.

Expected Results:  
it should have installed. dahhr.

this bug prevents anyone who has recently used the latest stage3 cd to install
gentoo from emerging world - upon any attempts to do so, bzip2 fails and they're
stuck.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-07-14 15:08:12 UTC
Please attache the output of emerge info as the bug submission page requests.

Thanks.
Comment 2 adam 2003-07-14 16:31:57 UTC
bash-2.05a# emerge info
Portage 2.0.48-r1 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8)
=================================================================
System uname: 2.4.19+akl i686 AuthenticAMD
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode jpeg kde libg++ libwww mikmod mmx motif mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb bonobo cdr esd gdbm gif gnome-libs gpm gtk gtkhtml imlib java mozilla nls oggvorbis opengl pam perl png python qt readline sdl slang ssl svga tcpd tiff X"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 3 SpanKY gentoo-dev 2003-07-14 19:59:50 UTC
what happens when you do `echo $CC` ? 
or `portageq envvar CC` ? 
Comment 4 Luca Barbato gentoo-dev 2003-07-16 04:12:47 UTC
COMPILER="" <-- it should be gcc3
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-07-16 04:18:35 UTC
lu_zero: no, default-1.0 has no entry in it
Comment 6 adam 2003-07-16 15:26:22 UTC
$CC was not set, I guess I'd assumed portage would do this for me (I'm sure I'm not the only one to make this assumption)

setting $CC to gcc solves the problem =o
Comment 7 Luca Barbato gentoo-dev 2003-07-16 23:04:42 UTC
it may/should be a default in portage if there are enough packages
Comment 8 adam 2003-07-17 12:15:20 UTC
it also affected netpbm (a package required for xscreensaver) .. so it does affect at least two very commonly used pkgs.
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2003-07-29 09:04:40 UTC
emerge gcc-config should fix this