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

Bug 550872

Summary: sci-physics/paw-2.14.04-r4 confuses CFLAGS for FFLAGS
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] LibraryAssignee: Gentoo Science Physics related packages <sci-physics>
Status: RESOLVED CANTFIX    
Severity: normal CC: bircoph
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sci-physics:paw-2.14.04-r4:20150531-101558.log

Description Jeroen Roovers (RETIRED) gentoo-dev 2015-05-31 10:24:51 UTC
Created attachment 404368 [details]
sci-physics:paw-2.14.04-r4:20150531-101558.log

With variables in make.conf like this:

CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
FFLAGS="${CXXFLAGS}"
CFLAGS="${CXXFLAGS} -Wno-comment"

I get sci-physics/paw complaining like this:

hppa2.0-unknown-linux-gnu-gfortran alphch.F
f951: warning: command line option '-Wno-comment' is valid for C/C++/ObjC/ObjC++ but not for Fortran [enabled by default]
Comment 1 Andrew Savchenko gentoo-dev 2015-05-31 13:02:09 UTC
Paw uses heavily patched and sophisticated imake build system. Almost impossible to fix (except for rewriting build system from scratch).
Comment 2 Andrew Savchenko gentoo-dev 2015-05-31 13:02:42 UTC
BTW, we have the same problem with cernlib and other imake-based packages.