Attached is a debdiff for Ubuntu 26.04 (Resolute) cherry-picking the
`file` to `filename` compatibility fix for
`Dpkg::Shlibs::SymbolFile->new()` from `pkg-kde-tools` `0.19.2` (Debian
Bug #1123816).

[Impact]
A naming change in upstream `dpkg` `1.23.0` (`file` renamed to `filename` in 
`Dpkg::Shlibs::SymbolFile->new()`) broke `pkg-kde-tools` (`0.19.1ubuntu2`) when 
paired with `libdpkg-perl` (`1.23.7ubuntu1`). Because `pkgkde-symbolshelper` 
and its Perl modules still pass `file =>`, symbol files fail to load, causing 
commands like `batchpatch` to fail immediately with a missing 
'SymbolsHelper-Confirmed' header error.

[Test Plan]
1. On Ubuntu 26.04 with `pkg-kde-tools` `0.19.1ubuntu2`, run 
`pkgkde-symbolshelper batchpatch -v <version> <build.log>` on a package with a 
confirmed symbols template and observe the failure.
2. Upgrade to `pkg-kde-tools` `0.19.1ubuntu2.1` from `resolute-proposed` and 
re-run the `batchpatch` command.
3. Verify that the `.symbols` template loads and updates cleanly.

[Where Problems Could Occur]
Regression risk is very low; the change strictly updates the five affected 
constructor call sites in `pkgkde-symbolshelper` and `SymbolFile.pm` from `file 
=>` to `filename =>` to align with `libdpkg-perl` >= 1.23.0 and Debian version 
`0.19.2`.


** Patch added: "Debdiff for Ubuntu 26.04 (Resolute) updating 
Dpkg::Shlibs::SymbolFile->new() calls from file to filename (LP: #2174251)"
   
https://bugs.launchpad.net/ubuntu/+source/pkg-kde-tools/+bug/2174251/+attachment/6017300/+files/pkg-kde-tools_0.19.1ubuntu2.1.debdiff

-- 
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:
  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

Reply via email to