[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1065703: t64 transition broke build of other packages



Source: libident
Severity: serious
Tags: patch
Version: 0.32-2
X-Debbugs-Cc: byang@debian.org, efingerd@packages.debian.org, vorlon@debian.org, debian.axhn@manchmal.in-ulm.de

Control: block 1065100 by -1
Control: block 1065101 by -1

For libident, the t64 transition was done in a slightly different way:
Instead of appending t64, the library package was renamed from libident
to libident0.

While technically being a library transition, the usual steps were
obviously not done, especially: Rebuilding the reverse build
dependencies to check for possible problems. Instead some bugs were
filed against those packages, severity serious. This is at least about:

    efingerd: #1065100 (maintainer Cc'ed)
    ngircd: #1065101 (maintained by yours truly)

If those test rebuilds had been done, the following error could not have
been overseen (for efingerd, likewise ngircd):

    (...)
       dh_makeshlibs
       dh_shlibdeps
    dpkg-shlibdeps: error: no dependency information found for /lib/x86_64-linux-gnu/libident.so.0 (used by debian/efingerd/usr/sbin/efingerd)
    Hint: check if the library actually comes from a package.
    dh_shlibdeps: error: dpkg-shlibdeps -Tdebian/efingerd.substvars debian/efingerd/usr/sbin/efingerd returned exit code 25
    dh_shlibdeps: error: Aborting due to earlier error

After spending some hours in the related tooling to understand the root
cause without avail, I suggest to modernize src:libident by replacing
.shlibs with .symbols. If solves the problem for me, and it's how things
should be done anyway.

Aside, the change also triggers an "unused-override" from lintian.

    Christoph
diff --git a/debian/libident0.shlibs b/debian/libident0.shlibs
deleted file mode 100644
index f0da07c..0000000
--- a/debian/libident0.shlibs
+++ /dev/null
@@ -1 +0,0 @@
-libident0 0 libident0 (>= 0.32)
diff --git a/debian/libident0.symbols b/debian/libident0.symbols
new file mode 100644
index 0000000..550c842
--- /dev/null
+++ b/debian/libident0.symbols
@@ -0,0 +1,15 @@
+libident.so.0 libident0 #MINVER#
+* Build-Depends-Package: libident-dev
+ id_close@Base 0.32
+ id_open@Base 0.32
+ id_open_addr@Base 0.32
+ id_parse@Base 0.32
+ id_query@Base 0.32
+ id_strdup@Base 0.32
+ id_strtok@Base 0.32
+ id_version@Base 0.32
+ ident_free@Base 0.32
+ ident_id@Base 0.32
+ ident_lookup@Base 0.32
+ ident_query@Base 0.32
+ ident_query_addr@Base 0.32

Attachment: signature.asc
Description: PGP signature


Reply to: