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

Dan Bungert 1943008 at bugs.launchpad.net
Fri Sep 17 15:12:04 UTC 2021


For the snapd autopkgtest problem, you are correct and that changes have
been committed for the snapd snapcraft file to include libgcc.

The dependency is also correct for impish - I spawned a container to
experiment with a system that did not have libgcc-s1.  libgcc-s1 is
Priority: required and attempting to `apt remove libgcc-s1` offers to
remove 61 other essential packages.  Manually removing the library and
running a trivial mksquashfs case does cause an equivalent failure to
the above.  Based on this the dependency looks correct but functionally
redundant.

I have dropped the patch and unsubscribed sponsors, and forwarded the
suggestion to Debian.

** Bug watch added: Debian Bug tracker #994550
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994550

** Also affects: squashfs-tools (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994550
   Importance: Unknown
       Status: Unknown

-- 
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:
  Unknown

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