Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108766 - Workaround for Intel's fortran compiler's (ifc/ifort) bug about LANGUAGE env. variable
Summary: Workaround for Intel's fortran compiler's (ifc/ifort) bug about LANGUAGE env....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 183393
Blocks:
  Show dependency tree
 
Reported: 2005-10-10 12:47 UTC by Nicolas Bigaouette
Modified: 2007-11-15 20:53 UTC (History)
2 users (show)

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


Attachments
Patches the ebuild and adds 2 files (ifc-9.0.021.ebuild.patch,2.77 KB, patch)
2005-10-10 12:52 UTC, Nicolas Bigaouette
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bigaouette 2005-10-10 12:47:03 UTC
Intel's fortran compiler (ifc/ifort) has a bug which prevent from running them
if the environment variable "LANGUAGE" is set. It fails with "Cannot find g++
location".

Reproducible: Always
Steps to Reproduce:
1.$ export LANGUAGE=testing
2.$ ifort -v
3.

Actual Results:  
Cannot find g++ location

Expected Results:  
Version 9.0
Comment 1 Nicolas Bigaouette 2005-10-10 12:52:07 UTC
Created attachment 70315 [details, diff]
Patches the ebuild and adds 2 files

Add 2 new files to the portage tree and modify the ebuild so it copy them to
the right place.

Those two files (/opt/intel/fortran90/bin/{ifc,ifort}) are just the script
running the compiler. Two lines have been added to them that uset the faulty
variables:
export -n IA32ROOT; unset IA32ROOT;
unset LANGUAGE
Comment 2 Nicolas Bigaouette 2005-10-10 12:53:58 UTC
This applies to dev-lang/ifc-9.0.021
(Intel Fortran 2003 compiler)
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-10 16:52:34 UTC
Why exactly would LANGUAGE be set anyway? Shouldn't that be LANG?

It also seems clear that if LANGUAGE affects the compiler, people might want the
compiler to be able to receive said variable instead of having a wrapper unset it.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-16 23:50:13 UTC
Reassigning to proper maintainers.
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2007-11-15 20:53:33 UTC
has been fixed in the ifc versions in the tree.