[Bug 1621659] Re: can't use erlang as a stage package
Kyle Fazzari
kyle at canonical.com
Wed Dec 21 20:38:24 UTC 2016
Why is this logged against snapcraft, then?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to erlang in Ubuntu.
https://bugs.launchpad.net/bugs/1621659
Title:
can't use erlang as a stage package
Status in Snapcraft:
New
Status in erlang package in Ubuntu:
New
Bug description:
I'm trying to snap an erlang app. This would be really really simple
if I could use the erlang package in the snap, but it has a hardcoded
path outside of the snap.
To reproduce:
Run snapcraft on the attached file.
$ cat prime/usr/lib/erlang/erts-7.3/bin/erl | grep ROOTDIR
ROOTDIR=/usr/lib/erlang
BINDIR=$ROOTDIR/erts-7.3/bin
export ROOTDIR
When I try to run the app, it will fail saying:
/snap/tty2048/x3/usr/bin/erl: 29: exec: /usr/lib/erlang/erts-7.3/bin/erlexec: not found
As far as I understand, this is a bug in the erlang package, because
it shouldn't hardcode the location of the root dir.
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1621659/+subscriptions
More information about the foundations-bugs
mailing list