Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778407 - sys-auth/pam_blue-0.9.0-r1 - x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option -rpath=/lib/security
Summary: sys-auth/pam_blue-0.9.0-r1 - x86_64-pc-linux-gnu-gcc: error: unrecognized com...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-26 12:48 UTC by Toralf Förster
Modified: 2021-03-30 15:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.98 KB, text/plain)
2021-03-26 12:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,277.59 KB, text/plain)
2021-03-26 12:48 UTC, Toralf Förster
Details
environment (environment,87.33 KB, text/plain)
2021-03-26 12:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,76.70 KB, application/x-bzip)
2021-03-26 12:48 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.22 KB, application/x-bzip)
2021-03-26 12:48 UTC, Toralf Förster
Details
sys-auth:pam_blue-0.9.0-r1:20210326-121631.log (sys-auth:pam_blue-0.9.0-r1:20210326-121631.log,17.00 KB, text/plain)
2021-03-26 12:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.96 KB, application/x-bzip)
2021-03-26 12:48 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-26 12:48:41 UTC
rdlibtool: link: ln -s /dev/null .libs/pam_blue.a.disabled
rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/utils.o .libs/bluepmain.o .libs/bluescan.o .libs/parser.o .libs/lexer.o -O2 -pipe -march=native -fno-diagnostics-color -rpath=/lib/security -lbluetooth -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -fPIC -o .libs/pam_blue.so
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-rpath=/lib/security’
rdlibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages).
rdlibtool: < returned to > slbt_exec_link(), line 1868.
make[3]: *** [Makefile:455: pam_blue.la] Error 2

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210318-090503

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.17.1 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
3)	OpenJDK 8.282_p08 [openjdk-8]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   openjdk-8 
  [4]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Mar 26 12:05:50 UTC 2021

emerge -qpvO sys-auth/pam_blue
[ebuild  N    ] sys-auth/pam_blue-0.9.0-r1
Comment 1 Toralf Förster gentoo-dev 2021-03-26 12:48:42 UTC
Created attachment 694257 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-26 12:48:44 UTC
Created attachment 694260 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-26 12:48:45 UTC
Created attachment 694263 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-26 12:48:47 UTC
Created attachment 694266 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-26 12:48:48 UTC
Created attachment 694269 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-26 12:48:49 UTC
Created attachment 694272 [details]
sys-auth:pam_blue-0.9.0-r1:20210326-121631.log
Comment 7 Toralf Förster gentoo-dev 2021-03-26 12:48:50 UTC
Created attachment 694275 [details]
temp.tar.bz2
Comment 8 orbea 2021-03-26 14:18:08 UTC
Probably should be '-rpath /lib/security', not '-rpath=/lib/security'.
Comment 9 orbea 2021-03-26 14:21:21 UTC
Upstream's url seems to have moved.

https://launchpad.net/ubuntu/+source/libpam-blue
Comment 10 orbea 2021-03-30 14:15:24 UTC
Add this to src_prepare() to fix the build.

sed -i "s|-rpath='/lib/security'|-rpath /lib/security|" src/Makefile.am || die

Upstream also seems inactive.
Comment 11 Larry the Git Cow gentoo-dev 2021-03-30 15:25:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d657187f80966a99f84ec3d32955d418aa9a96

commit 14d657187f80966a99f84ec3d32955d418aa9a96
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-30 15:24:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-30 15:25:00 +0000

    sys-auth/pam_blue: fix build with slibtool
    
    Thanks-to: orbea <orbea@riseup.net>
    Closes: https://bugs.gentoo.org/778407
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)