Re: a script to help maintainers with renames for gcc packages
On Thu, Aug 13, 2015 at 03:14:18AM +0200, Cyril Brulebois wrote:
> Hi Steve,
> Steve Langasek <vorlon@debian.org> (2015-08-12):
> > At Matthias's suggestion, I'm attaching here a script that I've been
> > using in Ubuntu to trigger library package transitions for the g++5
> > ABI change. It needs a bit of tuning to be usable in Debian (for
> > instance, you probably don't want to pull the source package from
> > Ubuntu... or try to write transition files to the Ubuntu instance of
> > the release team transition tracker, as checked out on my local
> > machine... or upload a source package to the Debian archive without
> > building/testing/including binaries), but hopefully it's a useful
> > starting point for maintainers (or NMUers) who need to update their
> > packages for this ABI change.
> Thanks! Does the hazardous sed call touching debian/rules now account
> for the dh_makeshlibs call(s) that might have been missed previously?
I don't know about dh_makeshlibs calls specifically. The script is not
perfect, and there have been some manual fix-ups needed for some source
packages prepared using this script. Two cases that I know of:
- if using d-shlibs (which... don't. thanks), you need to pass a --v5
option to it in debian/rules.
- if your debian/rules is very manual and includes things like
dh_suchnsuch -p<runtimelibpkg> [...] in it, this script fails to fix
those up (due to lack of whitespace before the package name).
The second of these may be the problem you're describing wrt dh_makeshlibs?
Anyway, both of these issues are fixable in the script with some additional
seddery, if someone is so inclined.
> (I've hinted jmw in this direction a few days ago for libktoblzcheck1c2a
> vs. libktoblzcheck1v5 as seen in NEW, and you might have been notified
> afterwards; maybe fixing this was just a matter of throwing debian/rules
> at the end of the said sed call, and all is well already.)
Sorry, I hadn't heard anything about libktoblzcheck.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org
Reply to: