Okay check this out. I removes all parts from the project except dpkg
and xz-utils to speed things up.

If I have a clean tree and run `snapcraft prime` this is what I end up
with:

$ ldd prime/usr/bin/xz
prime/usr/bin/xz: /lib/x86_64-linux-gnu/liblzma.so.5: version `XZ_5.2' not 
found (required by prime/usr/bin/xz)
        linux-vdso.so.1 =>  (0x00007ffcfebf4000)
        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fbb73c45000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007fbb73a28000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbb7365e000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbb7345a000)
        /snap/core/current/lib64/../lib/x86_64-linux-gnu/ld-2.23.so => 
/lib64/ld-linux-x86-64.so.2 (0x00007fbb73e67000)

Bad. If I clean the tree and now run `snapcraft prime dpkg` followed by
`snapcraft prime xz-utils` I get this:

$ ldd prime/usr/bin/xz
        linux-vdso.so.1 =>  (0x00007ffc261ea000)
        liblzma.so.5 => 
/home/ubuntu/usd-importer/prime/usr/bin/../lib/liblzma.so.5 (0x00007fae8bbdb000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007fae8b9be000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fae8b5f4000)
        /snap/core/current/lib64/../lib/x86_64-linux-gnu/ld-2.23.so => 
/lib64/ld-linux-x86-64.so.2 (0x00007fae8be11000)

Good! I suspect this is Snapcraft not properly re-evaluating its
environment as it executes its lifecycle.

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

Title:
  Regressions in 2.39.2 in xenial-updates in classic snaps (relative to
  2.35)

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

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

Reply via email to