Your message dated Sat, 05 Dec 2015 09:37:28 +0000
with message-id <e1a59hu-0005a4...@franck.debian.org>
and subject line Bug#807080: fixed in libraw1394 2.1.1-2
has caused the Debian Bug report #807080,
regarding libraw1394: Please drop obsolete MAKEDEV call
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
807080: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807080
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libraw1394
Version: 2.1.1-1
Severity: grave
Tags: patch
Justification: renders package unusable
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

Hi Guus,

With the recent change to debhelper to no longer call ldconfig from
maintainer scripts but from triggers instead (debhelper 9.20151004), a bug
has been exposed in the postinst of libraw1394-11 that will make the package
uninstallable after a rebuild with new debhelper.

The maintainer script looks for /dev/MAKEDEV, which is long obsolete.  If it
finds it, it calls a series of commands:

  [ -x /dev/MAKEDEV ] && cd /dev && echo -n "Creating device node 
/dev/raw1394... " && ./MAKEDEV raw1394 && echo "done."

If it *doesn't* find it, the above chain will exit non-zero.

Because this non-zero exit code is part of an && command list, it does *not*
trigger an immediate non-zero exit of the shell, in spite of using set -e.
So with the current build of the package, the maintainer script succeeds,
*because this is not the last command in the script* (it's followed by the
debhelper-provided call to ldconfig).

On a simple rebuild of the package in unstable, this command list *does*
become the last command in the script.  The script therefore gets the exit
code of the last command, which is non-zero, and the package fails to
install.

This bug was discovered as part of the bootstrap of Ubuntu xenial for the
s390x architecture, where because libraw1394-11 is a newly-built package
using a current toolchain, it fails to install.

Since makedev is for all intents and purposes obsoleted by udev, I've
applied the attached patch in Ubuntu, which you are welcome to include in
Debian as well.  I remember seeing some discussion in years past on
debian-devel about how to continue supporting makedev properly for those who
don't want to use udev; if you want to do mailing list archaeology I guess
that's still an option, but Ubuntu doesn't support running without udev so
for us it's sufficient to drop the maintainer script.

Marking this as 'grave' since the package becomes uninstallable on a
no-change rebuild.

The patch has been uploaded to Ubuntu with the following changelog
explanation:

  * Drop buggy call to obsolete /dev/MAKEDEV in the maintainer script, which
    if it's the last command (which it is now that ldconfig is being handled
    by trigger from debhelper) causes the package to fail to install.


Thanks for considering the patch.
-- 
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/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru libraw1394-2.1.1/debian/libraw1394-11.postinst libraw1394-2.1.1/debian/libraw1394-11.postinst
--- libraw1394-2.1.1/debian/libraw1394-11.postinst	2009-07-25 07:39:58.000000000 -0700
+++ libraw1394-2.1.1/debian/libraw1394-11.postinst	1969-12-31 16:00:00.000000000 -0800
@@ -1,7 +0,0 @@
-#!/bin/sh -e
-
-if [ "$1" = "configure" ]; then
-	[ -x /dev/MAKEDEV ] && cd /dev && echo -n "Creating device node /dev/raw1394... " && ./MAKEDEV raw1394 && echo "done."
-fi
-
-#DEBHELPER#
diff -Nru libraw1394-2.1.1/debian/libraw1394.postinst.in libraw1394-2.1.1/debian/libraw1394.postinst.in
--- libraw1394-2.1.1/debian/libraw1394.postinst.in	2009-07-25 07:39:58.000000000 -0700
+++ libraw1394-2.1.1/debian/libraw1394.postinst.in	1969-12-31 16:00:00.000000000 -0800
@@ -1,10 +0,0 @@
-#!/bin/sh -e
-
-. /usr/share/debconf/confmodule
-db_version 2.0
-
-if [ "$1" = "configure" ]; then
-	[ -x /dev/MAKEDEV ] && cd /dev && echo -n "Creating device node /dev/raw1394... " && ./MAKEDEV raw1394 && echo "done."
-fi
-
-#DEBHELPER#

--- End Message ---
--- Begin Message ---
Source: libraw1394
Source-Version: 2.1.1-2

We believe that the bug you reported is fixed in the latest version of
libraw1394, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 807...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guus Sliepen <g...@debian.org> (supplier of updated libraw1394 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 05 Dec 2015 10:18:44 +0100
Source: libraw1394
Binary: libraw1394-dev libraw1394-doc libraw1394-11 libraw1394-11-dbg 
libraw1394-tools
Architecture: source amd64 all
Version: 2.1.1-2
Distribution: unstable
Urgency: medium
Maintainer: Guus Sliepen <g...@debian.org>
Changed-By: Guus Sliepen <g...@debian.org>
Description:
 libraw1394-11 - library for direct access to IEEE 1394 bus (aka FireWire)
 libraw1394-11-dbg - debugging symbols for libraw1394-11
 libraw1394-dev - library for direct access to IEEE 1394 bus - development files
 libraw1394-doc - Reference manual and documentation about libraw1394
 libraw1394-tools - library for direct access to IEEE 1394 bus (aka FireWire)
Closes: 807080
Changes:
 libraw1394 (2.1.1-2) unstable; urgency=medium
 .
   [ Steve Langasek ]
   * Ensure the package can be installed if /dev/MAKEDEV doesn't exist.
     Closes: #807080
Checksums-Sha1:
 d2265d04b5e1c03797582c026619326517532ca6 2080 libraw1394_2.1.1-2.dsc
 5e03e1a6acdb1cd9c2522ec3c0458282ff2657dd 8752 libraw1394_2.1.1-2.debian.tar.xz
 dbac30a1beb88ce131e612e159b13c1e0e1c8adf 107488 
libraw1394-11-dbg_2.1.1-2_amd64.deb
 3bd430a0b32f108a2fae3ffb453ac51f5a35e02c 46790 libraw1394-11_2.1.1-2_amd64.deb
 d5ad66ffb662642251667ae4b46fe785e86625e3 57306 libraw1394-dev_2.1.1-2_amd64.deb
 ec2c600f82e43b561ac9d7751793f85f45277548 298778 libraw1394-doc_2.1.1-2_all.deb
 59a6262f5b1d79572c55fb45d8078ea6275d414c 37380 
libraw1394-tools_2.1.1-2_amd64.deb
Checksums-Sha256:
 5909a47ecdae0ac0281eeda1487ce88ca7a04ac43af00bee0b622230959a0f22 2080 
libraw1394_2.1.1-2.dsc
 b043b7a3cd17ca4122c63cb8c129ec06890106074aa4a54f939bc32c7e6ed05e 8752 
libraw1394_2.1.1-2.debian.tar.xz
 c6c9695550d5842083ef7efac6f2e4e5b120cfaefdf02ad470c0fcffa5ad6742 107488 
libraw1394-11-dbg_2.1.1-2_amd64.deb
 20c3af5cc7d8551da1520a4ef19c91977def73cc106054da11ca349f02ebf8cc 46790 
libraw1394-11_2.1.1-2_amd64.deb
 76f34dc2bfbcda82020c4ff3ae4a255c49096674ef8eadc6feaa9a767c6cd7f5 57306 
libraw1394-dev_2.1.1-2_amd64.deb
 e11d9046104f02dd4aab5753535817e0b55b828c08a5f7d27045bf22f51c58cd 298778 
libraw1394-doc_2.1.1-2_all.deb
 53b1168e231dc57c92290ec6f2b0a6ba708eab517489b6dfd100578cd60f85c7 37380 
libraw1394-tools_2.1.1-2_amd64.deb
Files:
 be8dc1811b784e11c456c12cdb6e149b 2080 libs optional libraw1394_2.1.1-2.dsc
 c08074738a0a4500f75c364834d16729 8752 libs optional 
libraw1394_2.1.1-2.debian.tar.xz
 43b4824bce70475b3159e01ac2317f09 107488 debug extra 
libraw1394-11-dbg_2.1.1-2_amd64.deb
 e76fa901f2506951d076d8bcac8bf240 46790 libs optional 
libraw1394-11_2.1.1-2_amd64.deb
 79bcdf0bace57eca6411eaeb4c3d84cf 57306 libdevel optional 
libraw1394-dev_2.1.1-2_amd64.deb
 1fb961b2490052b9646d3a3d58dd2d93 298778 doc optional 
libraw1394-doc_2.1.1-2_all.deb
 19d39c6859de870ebec9ae9f34519b3b 37380 utils optional 
libraw1394-tools_2.1.1-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWYqwUAAoJED9JDeuHHvn6t50QAIosaQgg3bxQ8JisuRY2xUi6
kToJ6N52QaeFYuSRkeC5WfsWjph2V2zb8saFxOHNoGmCUSZS9tMOIZEqSg4oufXa
4QieHWDGWyTAndZTNmAetaUhErawNsSTjrAsi8JgXuwxRxILisWit2O/En8gYkRC
o1fvfVpWYH7KLULwv1wAKkQWGOIXLQTzjhrYIMFp/yxVbXfNrXIx7o60AQFj0BuH
sJL2zNpeV1nmt8ilYXVVJSHhiP18xyp/ET2k7rKID1A5jH7AzrEJQHUJucCKWX3Y
/wZWll0wdGCvbtoCAaT2FmAzsi+XhNJOfY2pPtqI3IDKo56VKyB9Qlu37Cyy5EBW
wG544lVkRDhQDG9HgCCuXZv7lC1ROMmgAIG7EXjoiEC/e4pFIsEV4MMAOhyprDAo
AtG2xxvYyTSt2ed0u+pQsd8j7bJrd3orYO6S1ir4qNdfWIy7uT2UbG8iYVXlB152
sycTyVYvhlgKwhyx92d2NAFvo7xlnL+Ft+vB/fsDyImWZ+MznOIxb44CQ0kPgYSx
XWwpHWOIrP8GTtWVv1Y+skwoU/3Gg/zGPhEXXdg5zs/K6h6vhFQErgmvm+A9vf8k
Q5RejGrU4lHTUv4scBNPnYBXZP6xwQoOqb8HpMO3W7Aj0YqIZbzJCrRTDRQZxkAQ
JZh9OKjeVXAjD5kQfs9y
=9Ret
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to