[Bug 1621659] Re: can't use erlang as a stage package
Leo Arias
leo.arias at canonical.com
Wed Jan 4 00:38:24 UTC 2017
It affects people trying to do an earlang snap with snapcraft. But you
are right, this probably should be a won't fix in snapcraft.
** Changed in: snapcraft
Status: New => Invalid
--
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:
Invalid
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