Control: reassign 794638 libtag1v5-vanilla 1.9.1-2.3
Control: affects 794638 src:taglib-extras
Control: tags 794638 + patch

On Wed, 05 Aug 2015 at 10:54:36 +0100, Jonathan Wiltshire wrote:
> taglib-extras fails to build with a taglib built for the GCC-5 transition
> (where libtag1 has been renamed libtag1v5):
> 
> dh_sameversiondep: /usr/bin/dh_sameversiondep: no same version
> dependencies for 'sameVersionDep:libtag1-dev' found (at Depends of the
> libtag-extras-dev package)

This appears to be because libtag1v5-vanilla has no non-comment lines in its
symbols file, resulting in generation of a dependency on libtag1v5-vanilla,
whereas the -dev depends on libtag1v5 (and dh_sameversiondep expects that
the symbols file/shlibs will generate a dependency on that too).

I attach a patch for taglib which lets taglib-extras compile. The
modified taglib appears to be functional in trivial testing with btag(1)
in an up to date sid chroot. I don't have any media files that require
taglib-extras, so I can't test that.

In principle all dependent packages should be binNMU'd afterwards (to pick up
the intended versioned dependency on libtag1v5 instead of an unversioned
dependency on libtag1v5-vanilla); but libtag1v5 currently depends on
libtag1v5-vanilla with no alternative anyway, and older versions of
libtag1v5 do not exist, so there's no real need to do the binNMUs.

After the dust has settled, I think the taglib maintainer should seriously
consider dropping the "flavour" arrangement and just building libtag1v5
as a conventional library package, but that doesn't seem like a decision
to be made in an NMU or during a 3K-package transition.

> This holds up other transitions, so your prompt attention is appreciated.

I'll NMU if nobody either objects or takes responsibility.

    S
diffstat for taglib-1.9.1 taglib-1.9.1

 changelog                 |   10 ++++++++++
 libtag1v5-vanilla.symbols |    2 ++
 2 files changed, 12 insertions(+)

diff -Nru taglib-1.9.1/debian/changelog taglib-1.9.1/debian/changelog
--- taglib-1.9.1/debian/changelog	2015-08-04 18:49:37.000000000 +0100
+++ taglib-1.9.1/debian/changelog	2015-08-06 09:00:03.000000000 +0100
@@ -1,3 +1,13 @@
+taglib (1.9.1-2.4) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Provide a minimal symbols file (with no actual symbols yet)
+    to produce a shlibs dependency on libtag1v5 instead of
+    libtag1v5-vanilla, so that the use of dh_sameversiondep in
+    taglib-extras can work. (Closes: #794638)
+
+ -- Simon McVittie <s...@debian.org>  Thu, 06 Aug 2015 07:58:06 +0000
+
 taglib (1.9.1-2.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru taglib-1.9.1/debian/libtag1v5-vanilla.symbols taglib-1.9.1/debian/libtag1v5-vanilla.symbols
--- taglib-1.9.1/debian/libtag1v5-vanilla.symbols	2015-07-16 00:14:35.000000000 +0100
+++ taglib-1.9.1/debian/libtag1v5-vanilla.symbols	2015-08-06 08:58:04.000000000 +0100
@@ -1,3 +1,5 @@
+libtag.so.1 libtag1v5 #MINVER#
+
 #MISSING: 1.9.1-2.1ubuntu2~gcc5.1# (optional)_ZN6TagLib3ASF4File13UnknownObjectD0Ev@Base 1.7-2~
 #MISSING: 1.9.1-2.1ubuntu2~gcc5.1# (optional)_ZN6TagLib3ASF4File13UnknownObjectD1Ev@Base 1.7-2~
 #MISSING: 1.9.1-2.1ubuntu2~gcc5.1# (optional)_ZN6TagLib3ASF4File13UnknownObjectD2Ev@Base 1.7-2~

Reply via email to