FS#50052 - [cblas] pkg-config outputs empty library search path

Attached to Project: Arch Linux
Opened by Roukun (roukun1254) - Friday, 15 July 2016, 14:22 GMT
Last edited by Antonio Rojas (arojas) - Monday, 05 September 2016, 11:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Antonio Rojas (arojas)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

$ pkg-config --libs cblas
-L -lcblas -lblas

The '-L' without arguments will potentially break the building of any program that uses
pkg-config to find the search paths for cblas. It seems that GCC treats '-lcblas' as the
argument of '-L' and thus the final executable will not get linked to cblas.

Additional info:
* pkg-config: 0.29.1, gcc: 6.1.1
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 05 September 2016, 11:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  cblas 3.6.1-2
Comment by Antonio Rojas (arojas) - Friday, 15 July 2016, 14:40 GMT
Please report this upstream. They fixed blas and lapack but missed cblas.
Comment by Roukun (roukun1254) - Friday, 15 July 2016, 15:12 GMT
OK.
Comment by Roukun (roukun1254) - Wednesday, 24 August 2016, 05:00 GMT
https://bugs.freedesktop.org/show_bug.cgi?id=96941

It seems that it's a problem of the package itself (the generated .pc file).
Comment by Antonio Rojas (arojas) - Wednesday, 24 August 2016, 07:15 GMT
of course, this is a bug in cblas. You need to report it to the lapack/blas bug tracker, not to the pkgconfig one

Loading...