Skip to content

deb: remove override_dh_dwz - #551

Draft
thaJeztah wants to merge 2 commits into
docker:mainfrom
thaJeztah:rm_override_dh_dwz
Draft

thaJeztah wants to merge 2 commits into
docker:mainfrom
thaJeztah:rm_override_dh_dwz

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

deb: remove override_dh_dwz

The overrides disabled dh_dwz to work around failures when processing
binaries without debug information with older versions of debhelper.

All supported build distributions now provide debhelper 13 or newer.
Remove the overrides and restore the default helper sequence.

This depends on the CLI build omitting DWARF debug information with
-w: dwz otherwise fails on its compressed debug sections. With -w,
removing the override produces no meaningful package-size change.

All supported Debian and Ubuntu build distributions provide
debhelper compatibility level 13, including Debian 12 (bookworm)
and Ubuntu 22.04 (jammy).

Update all packages from compat 12 to 13. Earlier attempts to
modernize the packaging were constrained by Ubuntu 18.04 support,
which is no longer required.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The overrides disabled dh_dwz to work around failures when processing
binaries without debug information with older versions of debhelper.

All supported build distributions now provide debhelper 13 or newer.
Remove the overrides and restore the default helper sequence.

This depends on the CLI build omitting DWARF debug information with
-w: dwz otherwise fails on its compressed debug sections. With -w,
removing the override produces no meaningful package-size change.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah

Copy link
Copy Markdown
Member Author

docker-ce-rootless-extras:

#32 89.09    dh_dwz -a
#32 89.12 dwz: debian/docker-ce-rootless-extras/usr/bin/rootlesskit: Found compressed .debug_aranges section, not attempting dwz compression
#32 89.12 dh_dwz: error: dwz -- debian/docker-ce-rootless-extras/usr/bin/rootlesskit returned exit code 1
#32 89.12 dwz: debian/docker-ce/usr/bin/docker-proxy: .debug_info section not present
#32 89.12 dwz: debian/docker-ce/usr/bin/dockerd: .debug_info section not present
#32 89.12 dwz: debian/docker-ce/usr/libexec/docker/docker-init: .debug_info section not present
#32 89.12 dwz: Too few files for multifile optimization
#32 89.12 dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it.
#32 89.12 dh_dwz: warning: Common issues include no debug information at all (missing -g) and
#32 89.12 dh_dwz: warning: compressed debug information (#931891).
#32 89.13 dh_dwz: error: Aborting due to earlier error
#32 89.13 make: *** [debian/rules:48: binary] Error 25
#32 89.13 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

containerd:

#35 106.8    dh_dwz -a
#35 106.8 dwz: debian/containerd.io/usr/bin/containerd: .debug_info section not present
#35 106.8 dwz: debian/containerd.io/usr/bin/containerd-shim-runc-v2: .debug_info section not present
#35 106.8 dwz: debian/containerd.io/usr/bin/ctr: .debug_info section not present
#35 106.8 dwz: debian/containerd.io/usr/bin/runc: Found compressed .debug_aranges section, not attempting dwz compression
#35 106.8 dwz: Too few files for multifile optimization
#35 106.8 dh_dwz: error: dwz -mdebian/containerd.io/usr/lib/debug/.dwz/x86_64-linux-gnu/containerd.io.debug -M/usr/lib/debug/.dwz/x86_64-linux-gnu/containerd.io.debug -- debian/containerd.io/usr/bin/containerd debian/containerd.io/usr/bin/containerd-shim-runc-v2 debian/containerd.io/usr/bin/ctr debian/containerd.io/usr/bin/runc returned exit code 1
#35 106.8 dh_dwz: error: Aborting due to earlier error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant