Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372713 - media-libs/quvi-0.2.17 doesn't build with USE=examples (can't link against ../lib/libquvi.la)
Summary: media-libs/quvi-0.2.17 doesn't build with USE=examples (can't link against .....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 21:05 UTC by Stephan Friedrichs
Modified: 2011-07-09 19:09 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (1308862915-install-media-libs_quvi-0.2.17:0::gentoo.out,19.44 KB, text/plain)
2011-06-23 21:06 UTC, Stephan Friedrichs
Details
libquvi-examples-libs.patch (examples-libs.patch,830 bytes, patch)
2011-06-23 21:48 UTC, Ed Catmur
Details | Diff
quvi-0.2.17-r1.ebuild (quvi-0.2.17-r1.ebuild,1010 bytes, text/plain)
2011-07-02 07:24 UTC, Alessandro Surace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Friedrichs 2011-06-23 21:05:03 UTC
media-libs/quvi-0.2.17 fails to compile whenever the 'examples' useflag is enabled. Otherwise it succeeds.

Buildlog follows.

Reproducible: Always

Steps to Reproduce:
1. activate examples useflag for quvi
2. install it
Comment 1 Stephan Friedrichs 2011-06-23 21:06:29 UTC
Created attachment 277919 [details]
Build log
Comment 2 Stephan Friedrichs 2011-06-23 21:07:18 UTC
I should have mentioned that the build fails due to

libtool: link: cannot find the library `../lib/libquvi.la' or unhandled argument `../lib/libquvi.la'
Comment 3 Ed Catmur 2011-06-23 21:48:34 UTC
Created attachment 277929 [details, diff]
libquvi-examples-libs.patch

Patch.
Comment 4 ron widler 2011-06-24 08:48:21 UTC
ran into the same error, using the patch it installs.
Comment 5 Jan Psota 2011-06-25 22:39:10 UTC
(In reply to comment #4)
> ran into the same error, using the patch it installs.

I wonder, how?... Patch worked for me.

And my version sounds:

src_prepare() {
        sed -i 's:/lib\(/libquvi.la\):/src/libquvi\1:' examples/Makefile.am
}
Comment 6 Alessandro Surace 2011-07-02 07:23:22 UTC
I guys I've created an ebuild to solve this problem with the same patch but renamed in libquvi quvi-examples-libs.patch .
Follow the ebuild quvi-0.2.17-r1.ebuild
Comment 7 Alessandro Surace 2011-07-02 07:24:15 UTC
Created attachment 278843 [details]
quvi-0.2.17-r1.ebuild
Comment 8 Alessandro Surace 2011-07-02 07:25:29 UTC
Comment on attachment 278843 [details]
quvi-0.2.17-r1.ebuild

Updated ebuild to solve the this bugì
Comment 9 Tim Harder gentoo-dev 2011-07-08 06:16:20 UTC
I don't know if I agree with using the examples flag to build the code anyway since nothing from it gets installed as far as I can tell.

I'd rather use the flag to install the example files and will change the ebuild to do so unless someone can come up with a convincing argument against it.

Or we could also drop the flag altogether since I doubt many people find much real usage from it currently.
Comment 10 Tim Harder gentoo-dev 2011-07-09 19:09:01 UTC
The latest revision in CVS now installs the example code instead of compiling it.