Package: src:libical3
Version: 3.0.7-1
Severity: serious
Tags: patch

Hi,

Reverse dependencies which want to use libical3's typelibs fail to build
with this message now:

  dh_girepository: error: Could not find ICalGLib-3.0.typelib dependency

It's because that file is installed in the wrong location. See:

  laney@disco> debdiff gir1.2-ical-3.0_3.0.5-2_amd64.deb 
gir1.2-ical-3.0_3.0.7-1_amd64.deb
  [The following lists of changes regard files as different if they have
  different names, permissions or owners.]

  Files in second .deb but not in first
  -------------------------------------
  -rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/ICal-3.0.typelib
  -rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/ICalGLib-3.0.typelib

  Files in first .deb but not in second
  -------------------------------------
  -rw-r--r--  root/root   
/usr/lib/x86_64-linux-gnu/girepository-1.0/ICal-3.0.typelib
  -rw-r--r--  root/root   
/usr/lib/x86_64-linux-gnu/girepository-1.0/ICalGLib-3.0.typelib

  Control files: lines which differ (wdiff format)
  ------------------------------------------------
  [-Depends: gir1.2-glib-2.0, libical3 (>= 3.0.0)-]
  Installed-Size: [-258-] {+257+}
  Version: [-3.0.5-2-] {+3.0.7-1+}

Because of this change in the debdiff:

  diff -Nru libical3-3.0.5/debian/gir1.2-ical-3.0.install 
libical3-3.0.7/debian/gir1.2-ical-3.0.install
  --- libical3-3.0.5/debian/gir1.2-ical-3.0.install       2019-01-12 
17:56:50.000000000 +0000
  +++ libical3-3.0.7/debian/gir1.2-ical-3.0.install       2020-02-02 
14:14:47.000000000 +0000
  @@ -1 +1,2 @@
  -/usr/lib/*/girepository-1.0/*.typelib
  +#! /usr/bin/dh-exec
  +/usr/lib/*/girepository-1.0/*.typelib usr/lib/${DEB_HOST_MULTIARCH}

It misses the directory from the end of the destination. What was the
reason for that change? On the surface the previous rules file looks
fine to me, and unfortunately this change isn't mentioned in the
changelog so I can't see what problem was being fixed.

Since this is breaking the build of reverse dependencies, I'm proposing
to NMU a fix to DELAYED/5. The debdiff is attached. Feel free to fix it
yourself sooner, though.

Cheers,

-- 
Iain Lane                                  [ i...@orangesquash.org.uk ]
Debian Developer                                   [ la...@debian.org ]
Ubuntu Developer                                   [ la...@ubuntu.com ]
diff -Nru libical3-3.0.7/debian/changelog libical3-3.0.7/debian/changelog
--- libical3-3.0.7/debian/changelog     2020-02-02 14:14:47.000000000 +0000
+++ libical3-3.0.7/debian/changelog     2020-02-10 10:38:37.000000000 +0000
@@ -1,3 +1,11 @@
+libical3 (3.0.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix .typelib install path after .install files were converted to dh-exec.
+    (Closes: #xxx)
+
+ -- Iain Lane <la...@debian.org>  Mon, 10 Feb 2020 10:38:37 +0000
+
 libical3 (3.0.7-1) unstable; urgency=medium
 
   * New upstream version. (Closes: #950461)
diff -Nru libical3-3.0.7/debian/gir1.2-ical-3.0.install 
libical3-3.0.7/debian/gir1.2-ical-3.0.install
--- libical3-3.0.7/debian/gir1.2-ical-3.0.install       2020-02-02 
14:14:47.000000000 +0000
+++ libical3-3.0.7/debian/gir1.2-ical-3.0.install       2020-02-10 
10:38:25.000000000 +0000
@@ -1,2 +1,2 @@
 #! /usr/bin/dh-exec
-/usr/lib/*/girepository-1.0/*.typelib usr/lib/${DEB_HOST_MULTIARCH}
+/usr/lib/*/girepository-1.0/*.typelib 
usr/lib/${DEB_HOST_MULTIARCH}/girepository-1.0

Reply via email to