group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #34545
[Bug 1570895] Re: Rpath with $ORIGIN fools snapcraft library bundling mechanism
** Changed in: snapcraft (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1570895
Title:
Rpath with $ORIGIN fools snapcraft library bundling mechanism
Status in Snapcraft:
Fix Released
Status in snapcraft package in Ubuntu:
Fix Released
Status in snapcraft source package in Xenial:
Fix Released
Status in snapcraft source package in Yakkety:
Fix Released
Bug description:
I have a pre-built binary game using rpath with "$ORIGIN/lib64".
Snapcraft expands that to $(pwd)/lib64 (eg
/home/zyga/blah/blah/blah/lib64) and a directory like that is added to
the snap. At runtime the rpath is still as before so the library
cannot be found.
[Impact]
* Wrong paths end up in the snap, which makes it to fail.
[Test Case]
* Make a snap wit $ORIGIN in rpath.
* Run snapcraft
* Install it and execute it.
[Regression Potential]
* This affects the files that end up in the snap. Many scenarios are
covered by tests, but some exploratory would be good.
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1570895/+subscriptions