Failed: phase compiling: bzip2-1.0.5-2 failed

View: New views
2 Messages — Rating Filter:   Alert me  

Failed: phase compiling: bzip2-1.0.5-2 failed

by Kevin Chval :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kevins-5:~ kevinchval$ fink selfupdate
rsync -az -q  rsync://master.us.finkmirrors.net/finkinfo//TIMESTAMP
/sw/fink/TIMESTAMP.tmp
I will now run the rsync command to retrieve the latest package
descriptions.
rsync -rtz --delete-after --delete -q   --include='10.4/'
--include='10.4/stable/' --include='10.4/stable/main/'
--include='10.4/stable/main/finkinfo/'
--include='10.4/stable/main/finkinfo/*/'
--include='10.4/stable/main/finkinfo/*'
--include='10.4/stable/main/finkinfo/**/*' --include='10.4/'
--include='10.4/stable/' --include='10.4/stable/finkinfo/'
--include='10.4/stable/finkinfo/*/' --include='10.4/stable/finkinfo/*'
--include='10.4/stable/finkinfo/**/*' --include='10.4/'
--include='10.4/unstable/' --include='10.4/unstable/main/'
--include='10.4/unstable/main/finkinfo/'
--include='10.4/unstable/main/finkinfo/*/'
--include='10.4/unstable/main/finkinfo/*'
--include='10.4/unstable/main/finkinfo/**/*' --include='10.4/'
--include='10.4/unstable/' --include='10.4/unstable/crypto/'
--include='10.4/unstable/crypto/finkinfo/'
--include='10.4/unstable/crypto/finkinfo/*/'
--include='10.4/unstable/crypto/finkinfo/*'
--include='10.4/unstable/crypto/finkinfo/**/*' --include='VERSION'
--include='DISTRIBUTION' --include='README' --exclude='**'
'rsync://master.us.finkmirrors.net/finkinfo' '/sw/fink/'
Downloading the indexes of available packages in the binary distribution.
/sw/bin/apt-get-lockwait -q update
Hit http://bindist.finkmirrors.net 10.5/release/main Packages
Hit http://bindist.finkmirrors.net 10.5/release/main Release
Hit http://bindist.finkmirrors.net 10.5/release/crypto Packages
Hit http://bindist.finkmirrors.net 10.5/release/crypto Release
Hit http://bindist.finkmirrors.net 10.5/current/main Packages
Hit http://bindist.finkmirrors.net 10.5/current/main Release
Hit http://bindist.finkmirrors.net 10.5/current/crypto Packages
Hit http://bindist.finkmirrors.net 10.5/current/crypto Release
Reading Package Lists...
Building Dependency Tree...
Scanning package description files..........
Information about 6980 packages read in 2 seconds.
The following 10 packages will be installed or updated:
 bzip2 bzip2-dev bzip2-shlibs dpkg fink-mirrors libiconv libiconv-bin
 libiconv-dev perl586-core rman
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-bzip2-1.0.5-2
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-bzip2-1.0.5-2' in
`/sw/src/fink.build/fink-buildlock-bzip2-1.0.5-2_2008.07.22-10.06.55_darwin-
i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-bzip2-1.0.5-2_2008.07.22-10.06.55_darwin-i
386.deb
Selecting previously deselected package fink-buildlock-bzip2-1.0.5-2.
(Reading database ... 38901 files and directories currently installed.)
Unpacking fink-buildlock-bzip2-1.0.5-2 (from
.../fink-buildlock-bzip2-1.0.5-2_2008.07.22-10.06.55_darwin-i386.deb) ...
Setting up fink-buildlock-bzip2-1.0.5-2 (2008.07.22-10.06.55) ...
gzip -dc /sw/src/bzip2-1.0.5.tar.gz | /sw/bin/tar -xf -  --no-same-owner
--no-same-permissions
[ -r /sw/fink/dists/unstable/main/finkinfo/base/bzip2.patch ]
sed 's|@VERSION@|1.0.5|g' <
/sw/fink/dists/unstable/main/finkinfo/base/bzip2.patch | patch -p1
patching file Makefile
make PREFIX=/sw

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.

Also in README.COMPILATION.PROBLEMS are some hints that may help
if your build produces an executable which is unable to correctly
handle so-called 'large files' -- files of size 2GB or more.

gcc -fno-common -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c blocksort.c
gcc -fno-common -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c huffman.c
gcc -fno-common -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c crctable.c
gcc -fno-common -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c randtable.c
gcc -fno-common -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c compress.c
gcc -fno-common -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c decompress.c
gcc -fno-common -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzlib.c
rm -f libbz2.dylib libbz2.*.dylib
gcc -dynamiclib -o libbz2.1.0.5.dylib blocksort.o huffman.o crctable.o
randtable.o compress.o decompress.o bzlib.o -install_name
/sw/lib/libbz2.1.dylib -compatibility_version 1.0.1 -current_version 1.0.5
/usr/bin/libtool: for architecture ppc7400 object:
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib malformed
object (unknown load command 7)
/usr/bin/libtool: for architecture: (null) file: -lSystem is not an object
file (not allowed in a library)
/usr/bin/libtool: for architecture ppc64 object:
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib malformed
object (unknown load command 7)
make: *** [libbz2.dylib] Error 1
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-bzip2-1.0.5-2
(Reading database ... 38902 files and directories currently installed.)
Removing fink-buildlock-bzip2-1.0.5-2 ...
Failed: phase compiling: bzip2-1.0.5-2 failed



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: Failed: phase compiling: bzip2-1.0.5-2 failed

by Martin Costabel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kevin Chval wrote:
[]
> gcc -dynamiclib -o libbz2.1.0.5.dylib blocksort.o huffman.o crctable.o
> randtable.o compress.o decompress.o bzlib.o -install_name
> /sw/lib/libbz2.1.dylib -compatibility_version 1.0.1 -current_version 1.0.5
> /usr/bin/libtool: for architecture ppc7400 object:
> /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib malformed
> object (unknown load command 7)

This looks like you don't have the right developer tools installed that
correspond to you operating system and your architecture. What do you
get from the commands

uname -a
ld -v
gcc -v
xcodebuild -version

--
Martin


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users
LightInTheBox - Buy quality products at wholesale price