Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32955 - oprofile ebuild has environmental dependencies
Summary: oprofile ebuild has environmental dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-07 09:58 UTC by Aron Griffis (RETIRED)
Modified: 2003-11-12 12:08 UTC (History)
0 users

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 Aron Griffis (RETIRED) gentoo-dev 2003-11-07 09:58:27 UTC
I see that the ebuild contains:

IUSE="qt"
DEPEND="
    >=dev-libs/popt-1.7-r1
    >=sys-devel/binutils-2.14.90.0.6-r3
    >=sys-libs/glibc-2.3.2-r1
    qt? ( >=x11-libs/qt-3.2.1-r2 )"

However the qt use variable is not checked anywhere in the build.  This means that if you have USE=-qt, but qt is installed on the system, oprofile will use it.  Ideally ebuilds will strictly follow USE settings, not depending on the build environment for build configuration.

I'm not filing this bug because it needs to be immediately fixed... just didn't want this information to get lost.  I might fix it myself eventually, but assigning to cretin for now since he put the ebuild in the system.
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2003-11-12 11:32:14 UTC
Added this to the ebuild, seems to work.

use qt ||  myconf="${myconf} --with-qt-dir=/void"

Closing.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-11-12 12:08:09 UTC
Cool, thanks Cretin.  I'm always trying to track down and fix this kind of thing so that our builds are mostly deterministic based on USE instead of environment.