Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218429 - media-sound/pulseaudio-0.9.10-r1 failed to build
Summary: media-sound/pulseaudio-0.9.10-r1 failed to build
Status: RESOLVED DUPLICATE of bug 218286
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-19 15:18 UTC by Alex J. Ivasyuv
Modified: 2010-05-10 16:30 UTC (History)
3 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 Alex J. Ivasyuv 2008-04-19 15:18:50 UTC
....

creating libffmpeg-resampler.la
(cd .libs && rm -f libffmpeg-resampler.la && ln -s ../libffmpeg-resampler.la libffmpeg-resampler.la)
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -pthread -D_POSIX_PTHREAD_SEMANTICS    -DPA_DLSEARCHPATH=\"/usr/lib/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DAO_REQUIRE_CAS '-DDEBUG_TRAP=__asm__("int $3")' -march=prescott -pipe -O3 -fomit-frame-pointer -UNDEBUG -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math -version-info 5:1:0  -o libpulsecore.la -rpath /usr/lib libpulsecore_la-channelmap.lo libpulsecore_la-error.lo libpulsecore_la-mainloop.lo libpulsecore_la-mainloop-api.lo libpulsecore_la-mainloop-signal.lo libpulsecore_la-sample.lo libpulsecore_la-timeval.lo libpulsecore_la-utf8.lo libpulsecore_la-util.lo libpulsecore_la-volume.lo libpulsecore_la-xmalloc.lo libpulsecore_la-autoload.lo libpulsecore_la-cli-command.lo libpulsecore_la-cli-text.lo libpulsecore_la-client.lo libpulsecore_la-conf-parser.lo libpulsecore_la-core.lo libpulsecore_la-core-scache.lo libpulsecore_la-core-subscribe.lo libpulsecore_la-core-util.lo libpulsecore_la-dynarray.lo libpulsecore_la-g711.lo libpulsecore_la-hashmap.lo libpulsecore_la-idxset.lo libpulsecore_la-log.lo libpulsecore_la-mcalign.lo libpulsecore_la-memblock.lo libpulsecore_la-memblockq.lo libpulsecore_la-memchunk.lo libpulsecore_la-modargs.lo libpulsecore_la-modinfo.lo libpulsecore_la-ltdl-helper.lo libpulsecore_la-module.lo libpulsecore_la-namereg.lo libpulsecore_la-pid.lo libpulsecore_la-pipe.lo libpulsecore_la-play-memchunk.lo libpulsecore_la-play-memblockq.lo libpulsecore_la-poll.lo libpulsecore_la-props.lo libpulsecore_la-queue.lo libpulsecore_la-random.lo libpulsecore_la-resampler.lo libpulsecore_la-sample-util.lo libpulsecore_la-sconv.lo libpulsecore_la-sconv-s16be.lo libpulsecore_la-sconv-s16le.lo libpulsecore_la-sink.lo libpulsecore_la-sink-input.lo libpulsecore_la-sioman.lo libpulsecore_la-sound-file.lo libpulsecore_la-sound-file-stream.lo libpulsecore_la-source.lo libpulsecore_la-source-output.lo libpulsecore_la-strbuf.lo libpulsecore_la-tokenizer.lo libpulsecore_la-core-error.lo libpulsecore_la-hook-list.lo libpulsecore_la-shm.lo libpulsecore_la-flist.lo libpulsecore_la-asyncmsgq.lo libpulsecore_la-asyncq.lo libpulsecore_la-thread-mq.lo libpulsecore_la-fdsem.lo libpulsecore_la-object.lo libpulsecore_la-msgobject.lo libpulsecore_la-rtsig.lo libpulsecore_la-rtpoll.lo libpulsecore_la-rtclock.lo libpulsecore_la-once.lo libpulsecore_la-time-smoother.lo libpulsecore_la-start-child.lo libpulsecore_la-mutex-posix.lo libpulsecore_la-thread-posix.lo libpulsecore_la-semaphore-posix.lo   -lltdl -lsamplerate   -lsndfile    -loil-0.3 -lm -lrt    libspeex-resampler-fixed.la libspeex-resampler-float.la libffmpeg-resampler.la -lcap -lrt -ldl -lm
grep: /usr/lib/libogg.la: No such file or directory
/bin/sed: can't read /usr/lib/libogg.la: No such file or directory
libtool: link: `/usr/lib/libogg.la' is not a valid libtool archive
make[3]: *** [libpulsecore.la] Error 1
make[3]: Leaving directory `/usr/tmp/portage/media-sound/pulseaudio-0.9.10-r1/work/pulseaudio-0.9.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/tmp/portage/media-sound/pulseaudio-0.9.10-r1/work/pulseaudio-0.9.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/tmp/portage/media-sound/pulseaudio-0.9.10-r1/work/pulseaudio-0.9.10'
make: *** [all] Error 2
......

# equery f media-libs/libogg
....
/usr/lib
/usr/lib/libogg.a
/usr/lib/libogg.so -> libogg.so.0.5.3
/usr/lib/libogg.so.0 -> libogg.so.0.5.3
/usr/lib/libogg.so.0.5.3
/usr/lib/pkgconfig
/usr/lib/pkgconfig/ogg.pc
...

# ls -l /usr/lib/libogg.la
ls: cannot access /usr/lib/libogg.la: No such file or directory
#




Reproducible: Always

Steps to Reproduce:
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-19 16:20:28 UTC
Please run revdep-rebuild and try to emerge pulseaudio again.

If that doesn't solve the problem, then please provide the output of the following commands:

emerge --info
emerge -vp media-libs/libogg
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-19 16:57:45 UTC

*** This bug has been marked as a duplicate of bug 218286 ***
Comment 3 Alex J. Ivasyuv 2008-04-19 17:26:10 UTC
(In reply to comment #1)
> Please run revdep-rebuild and try to emerge pulseaudio again.
> 
> If that doesn't solve the problem, then please provide the output of the
> following commands:
> 
> emerge --info
> emerge -vp media-libs/libogg
> 

I found problem place:

--- libogg-1.1.3.ebuild 2007-10-22 08:06:17.000000000 +0300
+++ libogg-1.1.3-r1.ebuild      2008-04-19 00:16:38.000000000 +0300
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libogg/libogg-1.1.3.ebuild,v 1.14 2007/10/22 04:55:33 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libogg/libogg-1.1.3-r1.ebuild,v 1.1 2008/04/18 21:16:38 flameeyes Exp $

 inherit eutils libtool

@@ -10,7 +10,7 @@

 LICENSE="as-is"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
 IUSE=""

 src_unpack() {
@@ -23,4 +23,6 @@

 src_install() {
        make DESTDIR="${D}" install || die "make install failed"
+
+       find "${D}" -name '*.la' -delete <----- HERE. WHY?
 }


Comment 4 Maeda Ryoske 2009-10-03 02:15:26 UTC
The problem above is still there.
The line which delete *.la files should be erased so that the build using libogg.la could success.
Comment 5 Tobias Kaminsky 2009-10-05 19:44:55 UTC
Elog says:

This version of ${PN} has stopped installing .la files. This may
cause compilation failures in other packages. To fix this problem,
install dev-util/lafilefixer and run:
lafilefixer --justfixit

Worksforme so I think this can be closed
Comment 6 Mike Nelson 2009-10-19 19:19:12 UTC
(In reply to comment #5)
> Elog says:
> 
> This version of ${PN} has stopped installing .la files. This may
> cause compilation failures in other packages. To fix this problem,
> install dev-util/lafilefixer and run:
> lafilefixer --justfixit
> 
> Worksforme so I think this can be closed
> 

Running this on my system makes it update a ton of unrelated lib files on my system (all la files?). I don't see what is happening really but this seems messed up. I really don't get why the libogg ebuild is deleting its la files in the first place. That is the part that is seems broken (see the duplicate bug-218286). That bug looks like it needs to be reopened.
Comment 7 Tom Dexter 2009-11-11 03:00:46 UTC
I had media-sound/sox fail with a similar error because of the missing /usr/lib/libogg.la file.  Running lafilefixer --justfixit did not replace that file.  Only commenting our that *.la file delete in libogg-1.1.4.ebuild would get me past this.
Comment 8 Dirk Tilger 2010-05-10 16:08:50 UTC
(In reply to comment #5)
> Elog says:
[...]
> Worksforme so I think this can be closed

Hmm, but should users need to read the Elog to get a package installed?
Comment 9 Dirk Tilger 2010-05-10 16:30:00 UTC
(In reply to comment #8)
> Hmm, but should users need to read the Elog to get a package installed?

Okay for anyone stumbling over libogg.la, recommended reads are #218286 and #271129.