Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590904 - dev-scheme/guile: generated .pc file has invalid Libs.private settings
Summary: dev-scheme/guile: generated .pc file has invalid Libs.private settings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Scheme Project
URL: https://debbugs.gnu.org/cgi/bugreport...
Whiteboard:
Keywords: PullRequest
Depends on: 714088
Blocks:
  Show dependency tree
 
Reported: 2016-08-10 04:17 UTC by SpanKY
Modified: 2020-10-05 19:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2016-08-10 04:17:23 UTC
here's what my /usr/lib64/pkgconfig/guile-2.0.pc says:
Libs.private:  /usr/lib64/libgmp.so /usr/lib64/libltdl.so /usr/lib64/libdl.so -L/usr/lib64/../lib64 -lffi       \
  /usr/lib64/libunistring.so -Wl,-O1 -Wl,--hash-style=gnu  -lcrypt  -lm

problems:
(1) it shouldn't be hardcoding full paths.  e.g. "/usr/lib64/libgmp.so" should be "-lgmp".
(2) it shouldn't be including LDFLAGS.  e.g. drop the -Wl stuff that is from my own settings.
Comment 1 Pacho Ramos gentoo-dev 2017-07-17 10:55:39 UTC
The hardcoded libs look fixed, but I still see LDFLAGS in 2.0.14 :/
Comment 2 Cyprien Nicolas (fulax) 2019-06-16 20:21:29 UTC
(In reply to Pacho Ramos from comment #1)
> The hardcoded libs look fixed, but I still see LDFLAGS in 2.0.14 :/

Same in guile-2.2 and guile-3.0. The pc file includes $GUILE_LIBS, which is set at configure time:

  meta/Makefile:GUILE_LIBS = -Wl,-O1 -Wl,--as-needed  -lcrypt  -lm

I'll check with upstream
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-05 19:07:58 UTC
This should be fixed in 2.2.7: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e71660fab93bfb5fcdccaa6a01e934d0c52bdf23.