Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326537 - sci-libs/blas-atlas: sci-libs/lapack-atlas: portage-multilib fix
Summary: sci-libs/blas-atlas: sci-libs/lapack-atlas: portage-multilib fix
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 372323
  Show dependency tree
 
Reported: 2010-07-02 02:55 UTC by Drew Patridge
Modified: 2013-01-31 11:08 UTC (History)
0 users

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


Attachments
fixed ebuild for 3.8.0 (blas-atlas-3.8.0-r1.ebuild,6.97 KB, text/plain)
2010-07-02 02:58 UTC, Drew Patridge
Details
fixed ebuild for 3.9.23 (blas-atlas-3.9.23-r5.ebuild,8.17 KB, text/plain)
2010-07-02 02:59 UTC, Drew Patridge
Details
patch to fix lapack ebuild for 3.8.0 (lapack-atlas-3.8.0_ebuild.patch,992 bytes, patch)
2010-07-02 07:12 UTC, Drew Patridge
Details | Diff
patch to fix lapack ebuild for 3.9.23 (lapack-atlas-3.9.23-r3_ebuild.patch,1.17 KB, patch)
2010-07-02 07:13 UTC, Drew Patridge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Drew Patridge 2010-07-02 02:55:55 UTC
submitting two new ebuilds for getting blas-atlas working under portage-multilib which should also continue working under regular portage.

the problem was from multiple sources, first, gentoo-multilib pre-determines that your fortran compiler is gfortran, and this breaks calls to the fortran eclass since it insists that you should be calling strictly "gfortran" and not any particular version of it.  if a user lacks gfortran, the compile errors should be pretty explicit enough on why the build fails anyways.

second, the BLD_DIR and RPATH definitions occurred outside of any of the stages, which is not abi-wrapped, and therefore fails to be properly defined for whichever abi is built second.

third, the archselect variable only checked for amd64, or ppc64 architecture and then proceeded to set -b 64, on amd64 this did fail, and would most likely also fail on ppc64 and sparc.  this is because when under the x86/ppc/sparc32 abi's, we need to pass -b 32, while on the amd64/ppc64/sparc64 abi's, we need to pass -b 64.
Comment 1 Drew Patridge 2010-07-02 02:58:17 UTC
Created attachment 237193 [details]
fixed ebuild for 3.8.0
Comment 2 Drew Patridge 2010-07-02 02:59:04 UTC
Created attachment 237195 [details]
fixed ebuild for 3.9.23
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-07-02 06:33:50 UTC
Thank you for your work on this! Though I would like to ask you to submit diff against original ebuild rather than whole files, next time.
Best regards,
Kacper Kowalik 
Comment 4 Drew Patridge 2010-07-02 07:05:48 UTC
Found out that lapack-atlas exhibits similar behavior for similar reasons,
exclusion being that the fortran eclass seems to behave itself... I notice it's
not called directly either... something must be calling it and that something
behaves itself I guess?  Too lazy to look into something that already works ;)

Anyways, patches for lapack will follow soon.
Comment 5 Drew Patridge 2010-07-02 07:12:35 UTC
Created attachment 237215 [details, diff]
patch to fix lapack ebuild for 3.8.0
Comment 6 Drew Patridge 2010-07-02 07:13:41 UTC
Created attachment 237217 [details, diff]
patch to fix lapack ebuild for 3.9.23
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2013-01-31 11:08:33 UTC
Dropped all atlas packages from tree.
Please use sci-libs/atlas from sci overlay.
If problem still exist with that package, please reopen the bug or file a new one.