Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 91688

Summary: flac-1.1.2-r1 is unable to use all patches, and doesn't compile
Product: Gentoo Linux Reporter: Jouni Rinne <l33tmmx>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jouni Rinne 2005-05-06 06:19:37 UTC
Emerging flac-1.1.2-r1 complains at the patching stage:

 * Patching ${S}/ltmain.sh ...
 *   Could not apply portage.patch!
 *   Please verify that it is not needed.

and ends with the following error:

powerpc-unknown-linux-gnu-gcc -shared  .libs/bitbuffer.o .libs/bitmath.o .libs/cpu.o .libs/crc.o .libs/file_decoder.o .libs/file_encoder.o .libs/fixed.o .libs/float.o .libs/format.o .libs/lpc.o .libs/md5.o .libs/memory.o .libs/metadata_iterators.o .libs/metadata_object.o .libs/seekable_stream_decoder.o .libs/seekable_stream_encoder.o .libs/stream_decoder.o .libs/stream_encoder.o .libs/stream_encoder_framing.o  -lm  -maltivec -mabi=altivec -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -mpowerpc-gfxopt -Wl,-read_only_relocs -Wl,warning -Wl,-soname -Wl,libFLAC.so.7 -o .libs/libFLAC.so.7.0.0
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3-20050110/../../../../powerpc-unknown-linux-gnu/bin/ld: bad -rpath option
collect2: ld returned 1 exit status
make[4]: *** [libFLAC.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/flac-1.1.2-r1/work/flac-1.1.2/src/libFLAC'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/flac-1.1.2-r1/work/flac-1.1.2/src/libFLAC'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/flac-1.1.2-r1/work/flac-1.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/flac-1.1.2-r1/work/flac-1.1.2'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1. emerge -av flac
2.
3.




Gentoo Base System version 1.6.11
Portage 2.0.51.21-r1 (default-linux/ppc/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 ppc)
=================================================================
System uname: 2.6.11-gentoo-r6 ppc 7447A, altivec supported
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r4
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing
-pipe -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing
-pipe -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="fi_FI"
LC_ALL="fi_FI"
LINGUAS="en fi"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac alsa altivec berkdb bitmap-fonts cdr crypt cups curl dga dv dvd
eds emboss esd fam ffmpeg flac font-server fortran gdbm gif gnome gstreamer gtk
gtk2 guile imagemagick imap imlib java jpeg kde lcms mad matroska mikmod motif
mp3 mpeg nas ncurses nls nodrm ogg oggvorbis opengl pam perl png ppc python qt
quicktime radeon readline sdl slang sndfile ssl tcltk tcpd theora tiff truetype
truetype-fonts type1-fonts unicode vorbis xine xml xml2 xprint xv zlib
linguas_en linguas_fi userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
Comment 1 Luca Barbato gentoo-dev 2005-05-06 10:41:27 UTC
tested today and is building
Comment 2 Joe Jezak (RETIRED) gentoo-dev 2005-06-04 18:10:06 UTC
Can't reproduce here either.  Closing as INVALID, feel free to reopen if it's
still a problem.