[Bug 1670388] Re: classic snap are missing some env variables for reaching command name. (snap build, executing it fails)

2017-03-12 Thread Alberto Salvia Novella
** Changed in: snapcraft (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1670388 Title: classic snap are missing some env variables for reaching command name.

[Bug 1670388] Re: classic snap are missing some env variables for reaching command name. (snap build, executing it fails)

2017-03-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapcraft (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1670388 Title:

[Bug 1670388] Re: classic snap are missing some env variables for reaching command name. (snap build, executing it fails)

2017-03-07 Thread Didier Roche
If there is an error message about it (Note that there is none presently, only at runtime), yeah, I guess that's okish. The issue is that the logic for finding the binary is still the same in snapcraft to validate the prime step. So, it passes. The logic should remove the "look in bin/ and other w

[Bug 1670388] Re: classic snap are missing some env variables for reaching command name. (snap build, executing it fails)

2017-03-07 Thread Sergio Schvezov
These are the constraints of a classic snap. The developer of such snap would need to setup environment variables if needed to not accidentally pollute the environment. If execution is the problem, the use the relative path in prime to the command. -- You received this bug notification because yo

[Bug 1670388] Re: classic snap are missing some env variables for reaching command name. (snap build, executing it fails)

2017-03-07 Thread Sergio Schvezov
we can make the error message clearer about this though. ** Changed in: snapcraft Status: New => Triaged ** Changed in: snapcraft Importance: Undecided => Low ** Changed in: snapcraft Assignee: (unassigned) => Sergio Schvezov (sergiusens) -- You received this bug notification be