[Bug 1915250] Re: buildd file owner/group for shared libraries

Mathew Hodson 1915250 at bugs.launchpad.net
Fri Feb 19 04:09:43 UTC 2021


** No longer affects: binutils (Ubuntu)

** No longer affects: glibc (Ubuntu)

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

Title:
  buildd file owner/group for shared libraries

Status in debhelper package in Ubuntu:
  Fix Committed
Status in fakeroot package in Ubuntu:
  Fix Committed
Status in debhelper package in Debian:
  Unknown

Bug description:
  fakeroot with glibc broke dpkg-deb for packages that do not use
  "Rules-Requires-Root: no" was broken.

  binutils stopped preserving permissions from objcopy & strip, leading
  to incorrect permissions of files after stripping.

  fakeroot is now patched with better glibc 2.33 support. TODO upstream
  changes.

  binutils is not fixed, as upstream changes are still being discussed.
  Instead we have worked around objcopy/strip in debhelper to call those
  tools from dh_strip in a safe manner.

  We also rebuilt binutils against glibc 2.32, to avoid this new
  behaviour. However, we need to resolve bintuils in a better way, one
  way or another.

  
  --

  the current state of -proposed creates deb packages with buildd file
  owner/group for shared libraries.

  reported at least for kwayland-integration.

  $ dpkg -c kwayland-integration_5.20.90-0ubuntu1_amd64.deb|grep \.so
  -rw-r--r-- doko/doko     18984 2021-01-21 23:44 ./usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kguiaddons/kmodifierkey/kmodifierkey_wayland.so
  -rw-r--r-- doko/doko     85392 2021-01-21 23:44 ./usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kwindowsystem/KF5WindowSystemKWaylandPlugin.so
  -rw-r--r-- doko/doko     35536 2021-01-21 23:44 ./usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeKWaylandPlugin.so

   - in a release pocket, rebuild binutils from proposed. correctly
     restores the file ownership

   - in a release pocket, update glibc from proposed. then rebuild
     binutils from proposed. shows the wrong ownership

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



More information about the foundations-bugs mailing list