Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469228 - app-portage/g-cpan - perl-gcpan/Math-GSL-0.27: can't find cflags for "gsl"
Summary: app-portage/g-cpan - perl-gcpan/Math-GSL-0.27: can't find cflags for "gsl"
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL: https://rt.cpan.org/Public/Bug/Displa...
Whiteboard: [tracking upstream]
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-09 20:57 UTC by Juergen Rose
Modified: 2016-07-29 14:21 UTC (History)
2 users (show)

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


Attachments
logfile for g-cpan -i Math-GSL until ^C (g-cap_-i_Math-GSL.log,58.94 KB, text/x-log)
2016-07-28 16:16 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2013-05-09 20:57:24 UTC
root@lynx:/usr/local/portage/app-office(99)# rm -r /var/lib/cpan/perl-gcpan/Math-GSL/
root@lynx:/usr/local/portage/app-office(100)# g-cpan -u Math-GSL
-Reading '/tmp/.cpan/Metadata'
  Database was generated on Thu, 09 May 2013 19:29:03 GMT
|Checksum for /tmp/.cpan/sources/authors/id/L/LE/LETO/Math-GSL-0.27.tar.gz ok
Use of uninitialized value in pattern match (m//) at /usr/lib64/perl5/vendor_perl/5.16.3/CPAN/Distribution.pm line 2662.
Checking for GSL..
Found GSL 1.15 (via gsl-config) installed in /usr, CFLAGS=-I/usr/include, -L/usr/lib64 -lgsl -lgslcblas -lm
Asking ExtUtils::PkgConfig with ENV{PKG_CONFIG_PATH}=/usr/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/pkgconfig:/usr/libdata/pkgconfig:/usr/local/libdata/pkgconfig:/opt/pkgconfig:

*** can't find cflags for "gsl"
*** is it properly installed and available in PKG_CONFIG_PATH?
 at Build.PL line 156.
 * Scalar::Util is part of the core perl install
 * Ebuild already exists for Test-Exception (dev-perl/Test-Exception)
 * Ebuild already exists for Test-Class (perl-gcpan/Test-Class)
 * version is part of the core perl install
 * Ebuild already exists for ExtUtils-PkgConfig (dev-perl/extutils-pkgconfig)
 * perl is part of the core perl install
 * Ebuild already exists for Test-Most (perl-gcpan/Test-Most)
 * Module::Build is part of the core perl install
 * Generating ebuild for Math::GSL
Use of uninitialized value $eb in substitution (s///) at /usr/bin/g-cpan line 899.
Use of uninitialized value $eb in pattern match (m//) at /usr/bin/g-cpan line 902.
Use of uninitialized value $eb in split at /usr/bin/g-cpan line 907.
Use of uninitialized value $eb_version in int at /usr/bin/g-cpan line 780.
 * Ebuild generated for Math-GSL
>>> Creating Manifest for /var/lib/cpan/perl-gcpan/Math-GSL
 * Everything was up to date, nothing to do!
Comment 1 Juergen Rose 2013-06-19 10:58:47 UTC
Any news? I still have this issue at all my systems.
Comment 2 Sergiy Borodych 2016-05-12 08:24:51 UTC
AFAIU this is an upstream defect, please close it here as 'UPSTREAM'
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2016-05-12 10:21:44 UTC
(In reply to Sergiy Borodych from comment #2)
> AFAIU this is an upstream defect, please close it here as 'UPSTREAM'

Usually we keep these open... otherwise we just get duplicates.

Might make sense to package Math-GSL properly.
Comment 4 Sergiy Borodych 2016-07-28 14:55:34 UTC
Is it the issue still present?
Comment 5 Juergen Rose 2016-07-28 16:14:58 UTC
The installation of Math-GSL with g-cpan still fails:
- It starts with the installatio of Math-GSL-0.36 and 
- then endless tryes to install 'module-Build' version '0.4218', see the attached log file.
Comment 6 Juergen Rose 2016-07-28 16:16:46 UTC
Created attachment 441822 [details]
logfile for g-cpan -i Math-GSL until ^C
Comment 7 Sergiy Borodych 2016-07-29 14:21:25 UTC
Well, seems like another kind of bug.
Please create a new bug report for it, with all info.
Also using '-v' option would be helpful.
I will try to reproduce it later.