Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298029 - dev-lang/i{f,c} remove core libraries if installed together
Summary: dev-lang/i{f,c} remove core libraries if installed together
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Andrey Kislyuk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-22 22:22 UTC by Alexander Bezrukov
Modified: 2013-02-17 10:15 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.info,3.87 KB, text/plain)
2009-12-22 22:23 UTC, Alexander Bezrukov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bezrukov 2009-12-22 22:22:55 UTC
In order to avoid "unnecessary" installation of intel compiler suite core libraries, the said ebuilds use the following approach:

if has_version "~dev-lang/ifc-${PV}"; then
  rm -f rpm/*cprolib*.rpm

(if installing icc; ifc is changed to icc, if ifc is being installed).

This means that if both packages once emerged, after re-emerge (e.g. because USE flags got changed) the libraries belonging to intel-cprolib* will be removed, rendering the compiler suite unusable.

I believe that a reasonable solution would be to merge the icc and ifc ebuilds into one and select rpms based on USE flags (as it is already done with ipp and mkl). This would also solve the problem of inconsistent USE flags for different components (e.g. icc[+idb] and ifc[-idb]), which lead to a situation where availability of a component depends on the emerge order.



Reproducible: Always

Steps to Reproduce:
1. for i in 1 2; do emerge icc ifc; done
2. build a "Hello, world" program

Actual Results:  
ld: cannot find -limf

Expected Results:  
The program should compile and link successfully
Comment 1 Alexander Bezrukov 2009-12-22 22:23:31 UTC
Created attachment 213852 [details]
emerge --info