Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17092 - Compiling of sys-apps/bzip2-1.0.2-r2 fails
Summary: Compiling of sys-apps/bzip2-1.0.2-r2 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-08 11:42 UTC by Xavi
Modified: 2003-03-08 20:23 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 Xavi 2003-03-08 11:42:09 UTC
I'm trying to upgrade the system, but when it arrives to the compilation of the
new bzip version, I've see this problem:

bash-2.05a# emerge --update world
Calculating world dependencies ...done!
>>> emerge (1 of 72) sys-apps/bzip2-1.0.2-r2 to /
>>> md5 ;-) bzip2-1.0.2.tar.gz
>>> Unpacking source...
>>> Unpacking bzip2-1.0.2.tar.gz
>>> Source unpacked.
fpic -fPIC -Wall -Winline -O2 -mcpu=i686 -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 -O2 -mcpu=i686 -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 -O2 -mcpu=i686 -pipe -fomit-frame-pointer
-fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c crctable.c
make: fpic: Command not found
make: [crctable.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -O2 -mcpu=i686 -pipe -fomit-frame-pointer
-fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c randtable.c
make: fpic: Command not found
make: [randtable.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -O2 -mcpu=i686 -pipe -fomit-frame-pointer
-fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c compress.c
make: fpic: Command not found
make: [compress.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -O2 -mcpu=i686 -pipe -fomit-frame-pointer
-fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c decompress.c
make: fpic: Command not found
make: [decompress.o] Error 127 (ignored)
fpic -fPIC -Wall -Winline -O2 -mcpu=i686 -pipe -fomit-frame-pointer
-fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c bzlib.c
make: fpic: Command not found
make: [bzlib.o] Error 127 (ignored)
shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 blocksort.o huffman.o
crctable.o randtable.o compress.o decompress.o bzlib.o
make: shared: Command not found
make: [all] Error 127 (ignored)
fpic -fPIC -Wall -Winline -O2 -mcpu=i686 -pipe -fomit-frame-pointer
-fno-strength-reduce -D_FILE_OFFSET_BITS=64 -o bzip2-shared bzip2.c libbz2.so.1.0.2
make: fpic: Command not found
make: [all] Error 127 (ignored)
rm -f libbz2.so.1.0
ln -s libbz2.so.1.0.2 libbz2.so.1.0

If compilation produces errors, or a large number of warnings, 
please read README.COMPILATION.PROBLEMS -- you might be able to
adjust the flags in this Makefile to improve matters.

Wall -Winline -O2 -mcpu=i686 -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 -O2 -mcpu=i686 -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 -O2 -mcpu=i686 -pipe -fomit-frame-pointer -fno-strength-reduce
-D_FILE_OFFSET_BITS=64 -c crctable.c


I'm seeing that maybe the flags are wrong, because it lacks of a gcc calling
(and the first word of commands is a flag compiler, like -Wall or -fpic).
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-08 14:04:12 UTC
please paste
#emerge info
Comment 2 Xavi 2003-03-08 17:18:58 UTC
My emerge info is:

bash-2.05a# emerge info
Portage 2.0.44 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r5 i686 GenuineIntel
USE="x86 oss 3dnow apm avi crypt cups encode gpm jpeg libg++ mikmod mmx mpeg ncu
rses pdflib quicktime spell truetype xml2 xmms xv alsa arts berkdb bonobo cdr es
d gdbm gif gnome-libs gtk guile imlib java kde libwww motif mozilla nls oggvorbi
s opengl pam perl png python qt readline sdl slang ssl svga tcltk tcpd tetex tif
f X"
ARCH="x86"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=""
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"

I think is correct, because I can compile some other apps.

Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-03-08 20:23:00 UTC
it's terrible

update your portage, then gcc
emerge -pu world --deep
watch out any important system package and upgrade it