The problem is reproducible on Focal (kernel 5.4) in an armhf LXD
container. The armhf architecture seems to be the only one using hosts
with kernel 5.4. I believe the best approach is to skip only the test
that is failing rather than the entire test script. So we will need to
patch d/t/upstream-root. Once we upgrade the hosts used for armhf tests
we can drop the patch.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libcap2 in Ubuntu.
https://bugs.launchpad.net/bugs/2003892

Title:
  libcap2 seems to not work correctly when linked with -Bsymbolic-
  functions

Status in libcap2 package in Ubuntu:
  In Progress

Bug description:
  Ubuntu will include -Wl,-Bsymbolic-functions in the build flags by
  default. This option seems to break libcap2.

  One of the autopkgtests that is supposed to prevent an exploitation
  instance using capabilities fails:
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  lunar/lunar/amd64/libc/libcap2/20230123_094238_95088@/log.gz

  The solution is to exclude this flag from the set of flags:

  debian/rules:
  export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions

  Debian seems to not be affected by that as they don't include this
  flag in their build:
  
https://buildd.debian.org/status/fetch.php?pkg=libcap2&arch=amd64&ver=1%3A2.66-3&stamp=1671660323&raw=0

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to