In the middle of an emerge -uD world, flac fails. (Relevant emerge output follows) /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -Ino/include -I../.. -I./include -I../../include -O2 -DNDEBUG -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -march=athlon-xp -Os -pipe -fomit-frame-pointer -funit-at-a-time -Wl,-z,now -o libOggFLAC.la -rpath /usr/lib -version-info 3:0:0 file_decoder.lo file_encoder.lo ogg_decoder_aspect.lo ogg_encoder_aspect.lo ogg_helper.lo ogg_mapping.lo seekable_stream_decoder.lo seekable_stream_encoder.lo stream_decoder.lo stream_encoder.lo -Lno/lib -logg ../libFLAC/libFLAC.la ../../libtool: line 1780: cd: no/lib: No such file or directory libtool: link: cannot determine absolute directory name of `no/lib' make[4]: *** [libOggFLAC.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/flac-1.1.2-r1/work/flac-1.1.2/src/libOggFLAC' Reproducible: Always Steps to Reproduce: Emerge Info: Gentoo Base System version 1.6.11 Portage 2.0.51.21 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-nitro1 i686) ================================================================= System uname: 2.6.11-nitro1 i686 AMD Athlon(tm) XP 1800+ dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.5 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.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -funit-at-a-time" CHOST="i686-pc-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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache clean confcache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/ http://adelie.polymtl.ca/ http://mirror.datapipe.net/gentoo http://modzer0.cs.uaf.edu/public/gentoo/" LANG="en_NZ" LDFLAGS="-Wl,-z,now" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/personal /usr/local/portage/gentoo.de" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X alsa berkdb crypt cups dvd foomaticdb gdbm gif gnome gpm gtk gtk2 ipv6 java jpeg mmx mmxext ncurses nls nptl opengl pam png ppds python readline samba spell sse ssl svga tiff truetype unicode usb xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LINGUAS
I don't know the correct way to fix it, but adding this at the end of src_unpack seems to work around the problem: mkdir -p src/libOggFLAC/no/lib mkdir -p src/flac/no/lib mkdir -p src/test_libOggFLAC/no/lib mkdir -p src/test_libOggFLAC++/no/lib mkdir -p src/test_seeking/no/lib
Same problem here: /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -Ino/include -I../.. -I./include -I../../include -O2 -DNDEBUG -O3 -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -march=athlon-xp -O3 -mfpmath=sse -ftracer -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -pipe -o libOggFLAC.la -rpath /usr/lib -version-info 3:0:0 file_decoder.lo file_encoder.lo ogg_decoder_aspect.lo ogg_encoder_aspect.lo ogg_helper.lo ogg_mapping.lo seekable_stream_decoder.lo seekable_stream_encoder.lo stream_decoder.lo stream_encoder.lo -Lno/lib -logg ../libFLAC/libFLAC.la ../../libtool: line 1843: cd: no/lib: No such file or directory libtool: link: cannot determine absolute directory name of `no/lib' make[4]: *** [libOggFLAC.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/flac-1.1.2-r1/work/flac-1.1.2/src/libOggFLAC' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/flac-1.1.2-r1/work/flac-1.1.2/src/libOggFLAC' 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 !!! ERROR: media-libs/flac-1.1.2-r1 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message.
Can you post emerge -pv flac ?
dotcoder ~ # emerge -pv flac These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-libs/flac-1.1.2-r1 [1.1.1] +3dnow -debug -doc -ogg +sse +xmms 0 kB Total size of downloads: 0 kB dotcoder ~ #
Oh, I added ogg USE-flag and flac compiled without any problems.
I also tried addingthe ogg USE flag, and flac compiles. As part of the upgrade, I added the 3dnow USE flag from my previous install (1.1.1). Re-emerging with USE="-3dnow -ogg" results in the same error. I notice that the ogg USE flag is an addition to 1.1.2 - it is not in the 1.1.1 ebuild - it was a required dependancy for 1.1.1. Checking through the output, the following code snippets are interesting (and are maybe the source of the problem?) ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --without-ogg --enable-sse --disable-3dnow --disable-debug --disable-dependency-tracking <snip> checking for Ogg... yes <snip>/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -Ino/include -I../.. -I./include -I../../include -O2 -DNDEBUG -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -march=athlon-xp -Os -pipe -fomit-frame-pointer -funit-at-a-time -Wl,-z,now -o libOggFLAC.la -rpath /usr/lib -version-info 3:0:0 file_decoder.lo file_encoder.lo ogg_decoder_aspect.lo ogg_encoder_aspect.lo ogg_helper.lo ogg_mapping.lo seekable_stream_decoder.lo seekable_stream_encoder.lo stream_decoder.lo stream_encoder.lo -Lno/lib -logg ../libFLAC/libFLAC.la ../../libtool: line 1780: cd: no/lib: No such file or directory libtool: link: cannot determine absolute directory name of `no/lib' make[4]: *** [libOggFLAC.la] Error 1 make[4]: Leaving directory `/var/tmp/portage/flac-1.1.2-r1/work/flac-1.1.2/src/libOggFLAC' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/flac-1.1.2-r1/work/flac-1.1.2/src/libOggFLAC' 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 I therefore propose, either remove the ogg USE flag and make ogg compulsory, or potentially use the solution in comment #1 Maybe someone who doesn't have the ogg libs installed could try to see if it works without? (I also note that in the ebuild there is no --with-xmms option used if the xmms USE flag is specified.)
same problem, adding USE="ogg" fixes the problem but it shouldn't be necessary... Portage 2.0.51.21-r1 (default-linux/x86, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc3 i686) ================================================================= System uname: 2.6.12-rc3 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.6.11 ccache version 2.4 [enabled] 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.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe" CHOST="i686-pc-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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect cvs digest distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aalib acpi aim alsa apache2 avi bitmap-fonts cdr crypt cups dba divx4linux dvd encode esd flac fluxbox font-server ftp gd gd-external gif gnome gtk gtk2 icq idea imap imlib java jikes jpeg mad mmx mozilla mp3 mpeg ncurses nptl nptlonly ogg oggvorbis opengl pam pcmcia php pic png posix python samba sdl spell sse sse2 ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vim vorbis xmms xprint xv xvid userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
I'll take care of this, it's configure/autotools stuff which needs to be fixed or useflag removed.
Fixed in cvs now.