buildd file owner/group for shared libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debhelper (Debian) |
Fix Committed
|
Unknown
|
|||
debhelper (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned | ||
fakeroot (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
fakeroot with glibc broke dpkg-deb for packages that do not use "Rules-
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-
$ dpkg -c kwayland-
-rw-r--r-- doko/doko 18984 2021-01-21 23:44 ./usr/lib/
-rw-r--r-- doko/doko 85392 2021-01-21 23:44 ./usr/lib/
-rw-r--r-- doko/doko 35536 2021-01-21 23:44 ./usr/lib/
- 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
Changed in glibc (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
affects: | glibc (Ubuntu) → fakeroot (Ubuntu) |
Changed in binutils (Ubuntu): | |
importance: | Undecided → High |
tags: | added: rls-hh-incoming |
Changed in fakeroot (Ubuntu): | |
importance: | High → Critical |
tags: | added: patch |
Changed in glibc (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in debhelper (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in debhelper (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in fakeroot (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in binutils (Ubuntu): | |
status: | Confirmed → Invalid |
no longer affects: | binutils (Ubuntu) |
no longer affects: | glibc (Ubuntu) |
Changed in debhelper (Debian): | |
status: | Unknown → New |
Changed in debhelper (Debian): | |
status: | New → Fix Committed |
that's not seen for every package. ownership for most packages is correct. xz-utils in proposed is an example where things go wrong (on all architectures).