gnutls.pc contains unrecognized command line option -R
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnutls26 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
$ pkg-config --libs --static gnutls
-L/usr/
$ grep -e -R /usr/lib/
/usr/lib/
That -R looks innocent, but it's not. Libs.private is passed to gcc, not to ld, so it needs to use -Wl,-rpath... what am I saying, it shouldn't be passing an rpath at all, should it?
Anyway, the -R has to go, it causes build failure for any app that uses pkg-config --static --libs gnutls
This bug was not present in ubuntu 12.04, but is present in both ubuntu 14.04 and ubuntu 15.10.
The workaround for affected developers is to ham-fistedly remove the -R/usr/
affects: | ubuntu → gnutls26 (Ubuntu) |
tags: | added: trusty wily |
tags: | added: rls-x-incoming |
tags: | removed: rls-x-incoming |
This was noticed by at least one other random guy on the intertubes: https:/ /github. com/tatsuhiro- t/aria2/ issues/ 359