** Description changed:
[Impact]
- In Ubuntu 26.04 (Resolute Raccoon), `pkg-kde-tools` (`0.19.1ubuntu2`) is
broken when paired with `libdpkg-perl` (`1.23.7ubuntu1`) because `dpkg`
`1.23.0` renamed the `file` constructor option in `Dpkg::Shlibs::SymbolFile` to
`filename` ("Dpkg::Shlibs::SymbolFile: Rename file option to filename").
+ In Ubuntu 26.04 (Resolute Raccoon), `pkg-kde-tools` (`0.19.1ubuntu2`) is
broken when paired with `libdpkg-perl` (`1.23.7ubuntu1`) because `dpkg`
`1.23.0` renamed the `file` constructor option in `Dpkg::Shlibs::SymbolFile` to
`filename` ("Dpkg::Shlibs::SymbolFile: Rename file option to filename"). This
+ has been resolved in stonking and tenacious as they use pkg-kde-tools 0.22.1,
see
https://bugs.launchpad.net/ubuntu/+source/pkg-kde-tools/+bug/2174251/comments/6,
https://bugs.launchpad.net/ubuntu/+source/pkg-kde-tools/+bug/2174251/comments/7.
Because `pkgkde-symbolshelper` and
`Debian::PkgKde::SymbolsHelper::SymbolFile` still pass `file => ...`
across all 5 `SymbolFile->new()` call sites,
`Dpkg::Shlibs::SymbolFile->new()` (`if (exists $self->{filename})`)
never loads or parses the input symbol file,
`$symfile->get_confirmed_version()` returns `undef`, and `pkgkde-
symbolshelper` aborts with:
pkgkde-symbolshelper: error: input symbol file template must have
'SymbolsHelper-Confirmed' header
This breaks Debian/Ubuntu packaging workflows that rely on `pkgkde-
symbolshelper` (`batchpatch`, `patch`, `symbolfile`) on Ubuntu 26.04.
The fix was already released upstream in Debian `pkg-kde-tools` `0.19.2`
(Debian Bug #1123816).
[Test Plan]
1. On Ubuntu 26.04 with `pkg-kde-tools` `0.19.1ubuntu2` and `libdpkg-perl`
`1.23.7ubuntu1`, inside an unpacked source package containing a valid
`debian/<pkg>.symbols` file starting with `# SymbolsHelper-Confirmed: ...`, run:
pkgkde-symbolshelper batchpatch -v <version> <build.log>
2. Confirm that `pkgkde-symbolshelper` fails with:
pkgkde-symbolshelper: error: input symbol file template must have
'SymbolsHelper-Confirmed' header
3. Install `pkg-kde-tools` `0.19.1ubuntu2.1` from `resolute-proposed` and
re-run the same `pkgkde-symbolshelper batchpatch` command.
4. Confirm that `pkgkde-symbolshelper` opens the symbol template, applies the
symbol diff from `<build.log>`, and updates `# SymbolsHelper-Confirmed:`
cleanly without errors.
[Where Problems Could Occur]
[Where Problems Could Occur]
Regression risk is minimal. The patch cherry-picks the `dpkg` >= 1.23.0
`file` -> `filename` compatibility updates from Debian `pkg-kde-tools` `0.19.2`
(Debian Bug #1123816) across `SymbolFile` calls and hash accesses, and updates
CMake files (`CMakeLists.txt` and `dlrestrictions/DLRestrictionsConfig.cmake`)
for clean builds under CMake 4.x on Resolute.
---
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: pkg-kde-tools 0.19.1ubuntu2
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 12 09:41:14 2026
InstallationDate: Installed on 2026-04-26 (200 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64
(20260423.1)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: pkg-kde-tools
UpgradeStatus: No upgrade log present (probably fresh install)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174251
Title:
[SRU] pkgkde-symbolshelper fails with dpkg >= 1.23.0
(Dpkg::Shlibs::SymbolFile file -> filename rename; fixed in 0.19.2)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkg-kde-tools/+bug/2174251/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs