Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147275

Summary: sci-libs/fftw-2.1.5-r1 calls is-flag in global scope and generates output there
Product: Gentoo Linux Reporter: Matthias Schwarzott <zzam>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal Keywords: QAglobalscope
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthias Schwarzott gentoo-dev 2006-09-12 01:46:21 UTC
The ebuild sci-libs/fftw-2.1.5-r1 has this code in global-scope:
--cut--
#this one is reported to cause trouble on pentium4 m series
filter-mfpmath "sse"

#here I need (surprise) to increase optimization:
#--enable-i386-hacks requires -fomit-frame-pointer to work properly
if [ "${ARCH}" != "amd64" ]; then
    is-flag "-fomit-frame-pointer" || append-flags "-fomit-frame-pointer"
fi
--cut--

The is-flag call outputs true for my system (even when only scanning ebuilds for emerge -u world).
It should be moved to pkg_setup (or similar).
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-12 13:48:18 UTC
Fixed