Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285468 - sci-libs/gsl-1.13 : gsl-config tool broken
Summary: sci-libs/gsl-1.13 : gsl-config tool broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 285499 285700 285763 (view as bug list)
Depends on:
Blocks: 285714
  Show dependency tree
 
Reported: 2009-09-18 14:43 UTC by Cornelius Weig
Modified: 2009-09-21 02:06 UTC (History)
3 users (show)

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


Attachments
A patch to make installer replace placeholders as intended (gsl-1.13-cblas-vars.patch,405 bytes, patch)
2009-09-20 18:22 UTC, Livid
Details | Diff
Ebuild using vars patch (gsl-1.13-r1.ebuild,2.39 KB, text/plain)
2009-09-20 18:26 UTC, Livid
Details
A patch to make installer replace placeholders as intended, second attempt (gsl-1.13-cblas-vars.patch,403 bytes, patch)
2009-09-20 18:44 UTC, Livid
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cornelius Weig 2009-09-18 14:43:47 UTC
the gsl-config tool supplied with this package is broken, if gsl is compiled with USE="cblas" (I havent tested it without this USE flag)

Reproducible: Always

Steps to Reproduce:
1. install with USE="cblas"
2. gsl-config --libs    OR   gsl-config --cflags
Actual Results:  
gsl-config --libs
   --> -L/usr/lib -lgsl @CBLAS_LIBS@ -lm
gsl-config --cflags
   --> -I/usr/include @CBLAS_CFLAGS@
gsl-config --libs-without-cblas
   --> works as expected

Expected Results:  
Instead of the @PLACE_HOLDERS@ the actual paths should be printed.

gsl-1.12 came with a special cblas patch. Does it still work for gsl-1.13 or does it something different?
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2009-09-20 13:49:14 UTC
*** Bug 285700 has been marked as a duplicate of this bug. ***
Comment 2 Livid 2009-09-20 18:22:38 UTC
Created attachment 204722 [details, diff]
A patch to make installer replace placeholders as intended

Here is my solution to this bug.
Ebuild using this patch comes next.
Comment 3 Livid 2009-09-20 18:26:50 UTC
Created attachment 204723 [details]
Ebuild using vars patch
Comment 4 Livid 2009-09-20 18:44:41 UTC
Created attachment 204727 [details, diff]
A patch to make installer replace placeholders as intended, second attempt

I'm sorry, it seems trying to fix something when you have a flu is generally a bad idea. I seem to have made correct patch for wrong file.
Here goes the correction (I hope).
Comment 5 Alexey Shvetsov archtester gentoo-dev 2009-09-20 18:56:29 UTC
Added to tree =)
Thanks
Comment 6 lumbrius 2009-09-20 19:11:44 UTC
*** Bug 285499 has been marked as a duplicate of this bug. ***
Comment 7 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-21 02:06:00 UTC
*** Bug 285763 has been marked as a duplicate of this bug. ***