[Bug 1448247] Re: pkg-create-dbgsym creates -dbgsym packages with the source version, not the binary version
Launchpad Bug Tracker
1448247 at bugs.launchpad.net
Thu Apr 30 10:20:04 UTC 2015
This bug was fixed in the package pkg-create-dbgsym - 0.50.1
---------------
pkg-create-dbgsym (0.50.1) precise-proposed; urgency=medium
[ Colin Watson ]
* Check each element of Architecture separately using dpkg-architecture,
rather than inaccurately checking the whole field for "any" or
"linux-any".
[ Martin Pitt ]
* testsuite: Enable dhtest.versionoverride, and verify that ddeb has exact
same version as the corresponding deb. Reproduces LP #1448247.
* testsuite: Add "manualtest" which builds a package without debhelper or
any other abstractions, and calls pkg_create_dbgsym directly.
* pkg_create_dbgsym: Add -B option for only building the ddeb package dir in
debian/ but not building the .ddeb package yet. This keeps the default
behaviour for packages which call this manually, but allows us to modify
the ddeb package directory later during the package build process.
* Handle binary packages with different version than the source:
- Add our own dh_gencontrol wrapper which adjusts the ddeb's versions
after the original dh_gencontrol determined the final binary version of
the original debs, and then builds the .ddebs.
- dh_strip: Call pkg_create_dbgsym with -B, so that we move the actual
.ddeb generation into dh_gencontrol.
- preinst, postrm: Divert dh_gencontrol.
- LP: #1448247
-- Martin Pitt <martin.pitt at ubuntu.com> Tue, 28 Apr 2015 16:08:28
+0200
** Changed in: pkg-create-dbgsym (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkg-create-dbgsym in Ubuntu.
https://bugs.launchpad.net/bugs/1448247
Title:
pkg-create-dbgsym creates -dbgsym packages with the source version,
not the binary version
Status in pkg-create-dbgsym package in Ubuntu:
Fix Released
Status in pkg-create-dbgsym source package in Lucid:
Won't Fix
Status in pkg-create-dbgsym source package in Precise:
Fix Released
Status in pkg-create-dbgsym source package in Trusty:
Fix Released
Status in pkg-create-dbgsym source package in Utopic:
Fix Released
Status in pkg-create-dbgsym source package in Vivid:
Fix Released
Status in pkg-create-dbgsym source package in w-series:
Fix Committed
Bug description:
[SRU Justification]
seen in
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+sourcepub/4962729/+listing-archive-extra
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+sourcepub/4962755/+listing-archive-extra
The gcc-5 (and gcc-4-x) source packages build some binary packages
where the binary version doesn't match the source version, but the
-dbgsym package is still built using the source version of the
package.
These packages now all fail to upload, in every release ...
[Test case]
1. Turn on the ddeb flag in launchpad
2. Upload gcc to the ubuntu-toolchain-r ppa
3. Verify that the package does not fail to upload
[Regression Potential]
This can't break user systems, just building of future updates. Known-weird packages like gcc, binutils, systemd, linux and others have been tested against the new version and build correctly, giving a strong indication that everything is good.
There will probably be other failed to upload cases from enabling
native ddebs, but they were always going to happen with or without
this fix. In any failure case, we can unbreak the archive or push
through an urgent update by building it in a PPA that doesn't have the
ddebs flag enabled, or that has a reverted pkg-create-dbgsym.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkg-create-dbgsym/+bug/1448247/+subscriptions
More information about the foundations-bugs
mailing list