[Bug 2002871] Re: Failed pkgbinarymangler tests with debhelper 13.10
Shengjing Zhu
2002871 at bugs.launchpad.net
Mon Feb 20 08:33:00 UTC 2023
The regression is not from python 3.11, it's from debhelper 13.10,
notably
* dh_installchangelogs: Trim old Debian changelog entries
automatically. Distributions can disable this by using
`DEB_BUILD_OPTIONS=notrimdch`.
So debhelper has the ability to trim the changelog and enables it by
default. This function is duplicated to pkgbinarymangler.
pkgbinarymangler has its own logic to trim changelog. It treats ppa
packages especially and has testcases to ensure their changelogs are not
trimmed.
So what the expected behavior we want here?
I propose to drop the changelog handling in pkgbinarymangler, as
debhelper now supports such behavior.
Do we want to keep the special logic for ppa? If we want, IMO it's
better to patch debhelper. Or maybe we could just ask LP admin to add
DEB_BUILD_OPTIONS=notrimdch to all PPA builders?
** Summary changed:
- Failed pkgbinarymangler tests with python3.11
+ Failed pkgbinarymangler tests with debhelper 13.10
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2002871
Title:
Failed pkgbinarymangler tests with debhelper 13.10
Status in pkgbinarymangler package in Ubuntu:
New
Bug description:
To be able to update pkgbinarymangler to address bug #2002845, I
disabled 3 tests which would otherwise have failed at buildtime. Those
tests, which were simply commented in test/run, are:
- test_debian_changelog_truncation
- test_native_changelog_truncation
- test_ppa_debian_changelog
Ideally they should be fixed rather than disabled, of course. I'm
talking about this upload:
https://launchpad.net/ubuntu/+source/pkgbinarymangler/150
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgbinarymangler/+bug/2002871/+subscriptions
More information about the foundations-bugs
mailing list