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
Created attachment 277919 [details] Build log
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'
Created attachment 277929 [details, diff] libquvi-examples-libs.patch Patch.
ran into the same error, using the patch it installs.
(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 }
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
Created attachment 278843 [details] quvi-0.2.17-r1.ebuild
Comment on attachment 278843 [details] quvi-0.2.17-r1.ebuild Updated ebuild to solve the this bugì
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.
The latest revision in CVS now installs the example code instead of compiling it.