Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382461 - media-libs/libdv-1.0.0-r2 missing backslash after $(use_enable static-libs static)
Summary: media-libs/libdv-1.0.0-r2 missing backslash after $(use_enable static-libs st...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-10 06:24 UTC by Bernardo Costa
Modified: 2011-09-11 05:23 UTC (History)
1 user (show)

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


Attachments
emerge --info =media-libs/libdv-1.0.0-r2 (emerge-info,4.37 KB, text/plain)
2011-09-10 06:24 UTC, Bernardo Costa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernardo Costa 2011-09-10 06:24:20 UTC
Created attachment 286031 [details]
emerge --info =media-libs/libdv-1.0.0-r2

Trying to

emerge -pqv =media-libs/libdv-1.0.0-r2
[ebuild   R   ] media-libs/libdv-1.0.0-r2  USE="-debug -sdl -static-libs% -xv" 

I got a ./configure error:

[snip]
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether to enable debugging... default=yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... checking for XvQueryAdaptors in -lXv... no
configure: error: Could not find Xv Lib

As it merged correctly in the previous cycle (where USE="static-libs" was not defined) I presume this has been introduced by this new option.
Comment 1 Thomas Petersen 2011-09-10 15:54:44 UTC
Same problem here.
A small mistake was apparently made when the static-libs use flag was added to the ebuild.
The line with use_enable static-libs in the src_configure() function is missing a backslash at the end. Adding the backslash fixes the problem for me.
Comment 2 Bernardo Costa 2011-09-10 20:21:57 UTC
(In reply to comment #1)
> Same problem here.
> A small mistake was apparently made when the static-libs use flag was added to
> the ebuild.
> The line with use_enable static-libs in the src_configure() function is missing
> a backslash at the end. Adding the backslash fixes the problem for me.

Fixed here too!

This backslash was tricky, thank you.

I guess we could say resolved, but perhaps upstream must update the ebuild before that?
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-09-10 22:01:04 UTC
Please at least compile test if you edit stable ebuilds, committing to stable untested isn't that good idea
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-11 05:23:07 UTC
Suprisingly i test those,
sadly it passed to build without issue on my pc so i didn't notice the trailing backslash.

     Installed versions:  1.0.0-r2(20:54:20 9.9.2011)(xv -debug -sdl -static-libs)


Updated the ebuild.