Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531024 - dev-libs/papi-5.3.0 with sys-devel/gcc[-fortran] - ar: ftests_util.o: No such file or directory
Summary: dev-libs/papi-5.3.0 with sys-devel/gcc[-fortran] - ar: ftests_util.o: No such...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sławek Lis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-28 18:28 UTC by Konstantin (elxa)
Modified: 2014-12-01 05:43 UTC (History)
0 users

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


Attachments
papi-5.3.0_build.log (papi-5.3.0_build.log,20.45 KB, text/plain)
2014-11-28 18:29 UTC, Konstantin (elxa)
Details
emerge --info of the system (emerge.info.txt,4.36 KB, text/plain)
2014-11-28 20:02 UTC, Konstantin (elxa)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin (elxa) 2014-11-28 18:28:53 UTC
When gcc is built with USE="-fortran" dev-libs/papi-5.3.0 fails to compile.

Excerpt from the build.log (attached):

ar  rv libtestlib.a do_loops.o test_utils.o dummy.o clockcore.o ftests_util.o
ar: creating libtestlib.a
a - do_loops.o
a - test_utils.o
a - dummy.o
a - clockcore.o
ar: ftests_util.o: No such file or directory
Makefile:14: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/papi-5.3.0/work/papi-5.3.0/src/testlib'
Makefile.inc:234: recipe for target 'testlib' failed
make: *** [testlib] Error 2
make: *** Waiting for unfinished jobs....

Reproducible: Always

Steps to Reproduce:
1. USE="-fortran" emerge -1vO gcc
2. emerge -v =dev-libs/papi-5.3.0
Actual Results:  
dev-libs/papi-5.3.0 fails to compile.

Expected Results:  
dev-libs/papi-5.3.0 should complain about missing fortran support in gcc.

The issue is easily fixed by recompiling gcc with fortran support.

Apart from that papi 5.4.0 was released not that long ago:
http://icl.cs.utk.edu/papi/news/news.html?id=348
Comment 1 Konstantin (elxa) 2014-11-28 18:29:47 UTC
Created attachment 390506 [details]
papi-5.3.0_build.log
Comment 2 Konstantin (elxa) 2014-11-28 18:32:16 UTC
Missing fortran support being the culprit is mentioned here:

http://comments.gmane.org/gmane.comp.linux.papi/1276
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-28 19:41:06 UTC
nof77 -I. -I.. -O2 -pipe -Dlinux -Wall -ffixed-line-length-132 -c ftests_util.F

I don't see how that command doesn't fail. But it doesn't.
Comment 4 Konstantin (elxa) 2014-11-28 20:02:23 UTC
Created attachment 390508 [details]
emerge --info of the system
Comment 5 Sławek Lis (RETIRED) gentoo-dev 2014-11-29 15:48:35 UTC
Can you please try again after emerge --sync?
Comment 6 Konstantin (elxa) 2014-12-01 02:32:17 UTC
Looks good, thanks :)

# emerge -pv papi

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by virtual/fortran-0
# required by dev-libs/papi-5.3.0
# required by papi (argument)
>=sys-devel/gcc-4.8.3:4.8 fortran