[Bug 1623256] Re: adjust the way to create dbgsym packages like Debian does
Martin Pitt
martin.pitt at ubuntu.com
Wed Nov 30 11:43:19 UTC 2016
Sorry about the env var confusion -- in fact $ENABLE_DBGSYM is an
internal variable in dh_strip, so that's definitively wrong.
$DH_BUILD_DDEBS is still present in our version of debhelper:
$dh{ENABLE_DBGSYM} = 0 if not $ENV{'DH_BUILD_DDEBS'};
but got dropped in Debian, so let's not use that either. The manpage
documents
The automatic creation of debug symbol packages can also be prevented by adding noautodbgsym to the DEB_BUILD_OPTIONS
environment variable. However, dh_strip will still add debuglinks to ELF binaries when this flag is set. This is to ensure
that the regular deb package will be identical with and without this flag (assuming it is otherwise "bit-for-bit"
reproducible).
So let's use that then?
> We'll probably have to keep /CurrentlyBuilding around for a while.
Yes, indeed. At some point we might consider SRUing the testing of
DEB_BUILD_OPTIONS to stable pkgbinarymanglers/pkg-create-dbgsyms, but
let's first let this bake a while. Until then our debhelper should test
/CurrentlyBuilding too.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1623256
Title:
adjust the way to create dbgsym packages like Debian does
Status in launchpad-buildd:
Triaged
Status in debhelper package in Ubuntu:
In Progress
Status in pkg-create-dbgsym package in Ubuntu:
New
Bug description:
Debian now creates dbgsym packages in it's own way, incompatible with
the Ubuntu approach. This leads to ftbfs or failed-to-upload packages
without changing the packaging. It might be feasible to adjust the
packaging, however in the long term it would be better to adjust to
the way to build the dbgsym packages the Debian way.
example: https://launchpad.net/ubuntu/+source/librevenge/0.0.4-6
To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad-buildd/+bug/1623256/+subscriptions
More information about the foundations-bugs
mailing list