FS#43239 - [namcap] sodepends rule doesn't respect rpath
Attached to Project:
Arch Linux
Opened by Andrii Melnykov (zoidberg_md) - Friday, 26 December 2014, 11:46 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 10 January 2017, 19:07 GMT
Opened by Andrii Melnykov (zoidberg_md) - Friday, 26 December 2014, 11:46 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 10 January 2017, 19:07 GMT
|
Details
This seem to be the reason it breaks on sudo with
sudo W: Referenced library 'libsudo_util.so.0' is an uninstalled dependency Note that if rpath is not present then it is a different situation (e.g. in case of Firefox): firefox W: Referenced library 'libmozsandbox.so' is an uninstalled dependency $ readelf -d /usr/bin/{sudo,firefox} | grep -E "File:|Library" File: /usr/bin/sudo 0x0000000f (RPATH) Library rpath: [/usr/lib/sudo] File: /usr/bin/firefox There is code that uses readelf to get readpath, but only for the sake of validation FHS compliance of RPATH itself. |
This task depends upon
$ namcap electron-0.36.7-2-x86_64.pkg.tar.xz
electron W: Referenced library 'libnode.so' is an uninstalled dependency
$ readelf -d /usr/lib/electron/electron | grep RPATH
0x000000000000000f (RPATH) Library rpath: [$ORIGIN:$ORIGIN/lib/]
libnode.so is installed in /usr/lib/electron. It's annoying because I'm trying to make the package namcap-compliant. I could help to fix this if it's needed.
Thanks