Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550872 - sci-physics/paw-2.14.04-r4 confuses CFLAGS for FFLAGS
Summary: sci-physics/paw-2.14.04-r4 confuses CFLAGS for FFLAGS
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-31 10:24 UTC by Jeroen Roovers (RETIRED)
Modified: 2015-05-31 13:02 UTC (History)
1 user (show)

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


Attachments
sci-physics:paw-2.14.04-r4:20150531-101558.log (20150531-101558.log,215.90 KB, text/x-log)
2015-05-31 10:24 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.