group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #05435
[Bug 1570895] Re: Rpath with $ORIGIN fools snapcraft library bundling mechanism
** Package changed: Ubuntu Xenial => snapcraft (Ubuntu Xenial)
** Changed in: snapcraft (Ubuntu Xenial)
Importance: Undecided => Medium
** Changed in: snapcraft (Ubuntu Xenial)
Status: New => Fix Committed
** Changed in: snapcraft (Ubuntu Yakkety)
Importance: Undecided => Medium
--
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 Committed
Status in snapcraft source package in Xenial:
Fix Committed
Status in snapcraft source package in Yakkety:
Confirmed
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