Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51930 - net-libs/wvstreams-3.75 doesn't build with installed media-libs/speex-1.1.5
Summary: net-libs/wvstreams-3.75 doesn't build with installed media-libs/speex-1.1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jon Hood (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-24 08:26 UTC by Stefan Briesenick (RETIRED)
Modified: 2004-05-28 14:21 UTC (History)
1 user (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 Stefan Briesenick (RETIRED) gentoo-dev 2004-05-24 08:26:14 UTC
if you have media-libs/speex-1.1.5 installed, then net-libs/wvstreams-3.75 wants to install speex-1.0 if your USE-flags contains "speex".

Ok, I don't want a speex downgrade and I don't need speex-support in wvstreams, so I did:

USE="-speex" emerge wvstreams.

But then, the ebuild breaks because of the autodetect-feature of the configure-script, which enables speex by itself.

Then I took a look at the wvstreams ebuild and what did I found?

src_compile() {
        econf `use_with gtk` \
                `use_with qt` \
                `use_with oggvorbis ogg` \
                `use_with oggvorbis vorbis` \
                `use_with fam` \
                `use_with gdbm` \
                `use_with pam` \
                `use_with qt` \
                --enable-verbose \
                --with-bdb \
                --with-openssl \
                --with-zlib \
                || die
        make || die "compile failed"
}

No speex there! That's odd. If I say "-speex" then I really don't want it, no matter if it is installed or not.

If you add `use_with speex` everything works fine and the ebuild can be merged.

Please, for all ebuilds, always use 'use_with' and friends for *all* supported flags. If I have package ABC installed but I say -ABC, then I really don't want it used by the specified package.

Reproducible: Always
Steps to Reproduce:
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-27 22:50:32 UTC
Jon, this should be a quick fix...
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-05-28 14:21:05 UTC
yep, fixed in portage- thanks for catching that, Stefan!