Public bug reported:

The autotools plugin default to an empty prefix if you install by
destdir (which is default), that's quite non standard and can create
confusion, is there any reason to not use the upstream default
(/usr/local) or the distribution default (/usr)?

I hit the issue while packaging gucharmap, the glib schemas got
installed in $snap/share but the other schemas coming from the deb parts
are in $snap/usr/share, our default wrapper set things to look in
$snap/usr/share and it the program was not finding its schemas.

Things works after using "configflags: [--prefix=/usr]" but ideally that
would be the default

** Affects: snapcraft
     Importance: Undecided
         Status: New

** Affects: snapcraft (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- having prefix='' by default is non standrd
+ having prefix='' by default is non standard

** Also affects: snapcraft
   Importance: Undecided
       Status: New

** Summary changed:

- having prefix='' by default is non standard
+ having prefix='' by default is non standard and confusing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590831

Title:
  having prefix='' by default is non standard and confusing

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1590831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to