[Bug 1943008] Re: squashfs-tools: needs to depend on libgcc-s1

Dan Bungert 1943008 at bugs.launchpad.net
Wed Sep 22 01:06:41 UTC 2021


> Any progress on this?

If the snapd snap on the edge channel was on stable, this would be a
non-issue because libgcc_s has been added to that snap.  If you like,
you can verify this for yourself by making a modification to the snapd
package to force the edge channel snap to be installed and running it
thru autopkgtest.

Adding the dependency from squashfs-tools -> libgcc-s1 is ultimately a
good thing for package correctness but will do nothing to resolve the
current autopkgtest dilemma because it's the mksquashfs inside the snapd
snap that wants a matching libgcc_s.  See also above comment I made
which shows that libgcc_s is de-facto present on any realistic system.

I'm strongly considering just hinting the relevant packages and being done with it, but there is the following problem:
Why are any of the snapd autopkgtests passing right now?

looking at current history of amd64 snapd tests, the last 4 runs were triggered with
* linux-aws (pass)
* linux-gcp (pass)
* linux-oracle (fail)
* linux-meta-kvm (pass)

I looked at the logs and artifacts for oracle versus the others and I'm
not seeing interesting reasons on why -oracle would fail when -gcp
passes.  And when I run them locally, they fail every time, including
passing scenarios like the above linux-gcp.  And why would -oracle would
pass 4 days ago and not now?

Again, maybe we just hint and move on, but something odd is happening.

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

Title:
  squashfs-tools: needs to depend on libgcc-s1

Status in snapd package in Ubuntu:
  Won't Fix
Status in squashfs-tools package in Ubuntu:
  Confirmed
Status in squashfs-tools package in Debian:
  New

Bug description:
  I'm getting this error running the ADT test for snapd on impish:

  021-09-08 07:49:43 Error executing autopkgtest:adt-local:tests/smoke/sandbox (autopkgtest:adt-local) : 
  -----
  ++ snap debug confinement
  + '[' strict '!=' strict ']'
  + /home/gopath/src/github.com/snapcore/snapd/tests/lib/tools/snaps-state install-local test-snapd-sandbox
  error: cannot pack "/home/gopath/src/github.com/snapcore/snapd/tests/smoke/sandbox/test-snapd-sandbox": mksquashfs call failed: 
  -----
  libgcc_s.so.1 must be installed for pthread_cancel to work
  Parallel mksquashfs: Using 1 processor
  Creating 4.0 filesystem on /home/gopath/src/github.com/snapcore/snapd/tests/smoke/sandbox/test-snapd-sandbox/test-snapd-sandbox_1.0_all.snap, block size 131072.
  -----
  error: cannot read snap file: "/var/lib/snapd/snaps/.local-install-443592474"
         is not a snap or snapdir
  -----

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1943008/+subscriptions




More information about the foundations-bugs mailing list