Your message dated Sat, 27 Apr 2024 09:20:28 +0000 with message-id <e1s0eeo-00bf5p...@fasolo.debian.org> and subject line Bug#1060769: fixed in foo2zjs 20200505dfsg0-3 has caused the Debian Bug report #1060769, regarding foo2zjs: move all files to /usr DEP17 + empty directory loss 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.) -- 1060769: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060769 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: foo2zjs Version: 20200505dfsg0-2 Tags: patch User: helm...@debian.org Usertags: dep17m2 dep17p6 Hi, we are in the process of finalizing the /usr-merge by moving all aliased files from / to /usr via DEP17. printer-driver-foo2zjs contains an empty directory /lib/firmware/hp in an aliased location. If this is moved to /usr, it will be lost in a package upgrade. This loss is flagged by dumat and is the reason I'm writing this mail. Since no other package in Debian writes any files to /lib/firmware/hp or /usr/lib/firmware/hp, this loss can only happen during the package upgrade. Therefore, recreating the lost directory in printer-driver-foo2zjs.postinst is a reasonable mitigation. I've implemented the /usr-move and this mitigation in the attached patch. After applying it, the /usr-move is done from a foo2zjs perspective. Note that this patch must not be backported to bookworm-backports. I hope this is not a problem as foo2zjs has not been backported in earlier releases. In case it needs to be backports, this patch needs to be reverted. If this leaves any questions, don't hesitate to ask. Helmut DEP17: http://subdivi.de/~helmut/dep17.htmldiff --minimal -Nru foo2zjs-20200505dfsg0/debian/NEWS foo2zjs-20200505dfsg0/debian/NEWS --- foo2zjs-20200505dfsg0/debian/NEWS 2021-09-02 14:45:45.000000000 +0200 +++ foo2zjs-20200505dfsg0/debian/NEWS 2024-02-08 13:55:52.000000000 +0100 @@ -1,7 +1,7 @@ foo2zjs (20090908dfsg-2) unstable; urgency=low Starting with this version all HP firmwares are looked for into - /lib/firmware/hp/ instead of upstream /usr/share/foo2zjs/firmware/ + /usr/lib/firmware/hp/ instead of upstream /usr/share/foo2zjs/firmware/ (thus solving bug #517957). The upstream /usr/bin/getweb and /lib/udev/hplj1000 scripts have diff --minimal -Nru foo2zjs-20200505dfsg0/debian/changelog foo2zjs-20200505dfsg0/debian/changelog --- foo2zjs-20200505dfsg0/debian/changelog 2021-09-02 14:45:45.000000000 +0200 +++ foo2zjs-20200505dfsg0/debian/changelog 2024-02-08 14:01:50.000000000 +0100 @@ -1,3 +1,10 @@ +foo2zjs (20200505dfsg0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * DEP17: Move all aliased files to /usr. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 08 Feb 2024 14:01:50 +0100 + foo2zjs (20200505dfsg0-2) unstable; urgency=medium * Remove myself from Uploaders diff --minimal -Nru foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs-common.install foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs-common.install --- foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs-common.install 2021-09-02 14:45:45.000000000 +0200 +++ foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs-common.install 2024-02-08 13:54:31.000000000 +0100 @@ -1,7 +1,7 @@ PPD/* usr/share/ppd/foo2zjs/ debian/printer-driver-foo2zjs-common.ppd-updater /usr/share/cups/ppd-updaters/ getweb usr/sbin -hplj1000 lib/udev +hplj1000 usr/lib/udev hplj1020.desktop usr/share/applications/ hplj1020_icon.png usr/share/pixmaps usr/bin/foo2ddst-wrapper diff --minimal -Nru foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.dirs foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.dirs --- foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.dirs 2021-09-02 14:45:45.000000000 +0200 +++ foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.dirs 2024-02-08 13:58:25.000000000 +0100 @@ -1 +1 @@ -/lib/firmware/hp/ +/usr/lib/firmware/hp/ diff --minimal -Nru foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.links foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.links --- foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.links 2021-09-02 14:45:45.000000000 +0200 +++ foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.links 2024-02-08 13:55:25.000000000 +0100 @@ -1,10 +1,10 @@ -lib/udev/hplj1000 lib/udev/hplj1005 -lib/udev/hplj1000 lib/udev/hplj1018 -lib/udev/hplj1000 lib/udev/hplj1020 -lib/udev/hplj1000 lib/udev/hpljP1005 -lib/udev/hplj1000 lib/udev/hpljP1006 -lib/udev/hplj1000 lib/udev/hpljP1007 -lib/udev/hplj1000 lib/udev/hpljP1008 -lib/udev/hplj1000 lib/udev/hpljP1505 -lib/udev/hplj1000 lib/udev/hpljP1505n +usr/lib/udev/hplj1000 usr/lib/udev/hplj1005 +usr/lib/udev/hplj1000 usr/lib/udev/hplj1018 +usr/lib/udev/hplj1000 usr/lib/udev/hplj1020 +usr/lib/udev/hplj1000 usr/lib/udev/hpljP1005 +usr/lib/udev/hplj1000 usr/lib/udev/hpljP1006 +usr/lib/udev/hplj1000 usr/lib/udev/hpljP1007 +usr/lib/udev/hplj1000 usr/lib/udev/hpljP1008 +usr/lib/udev/hplj1000 usr/lib/udev/hpljP1505 +usr/lib/udev/hplj1000 usr/lib/udev/hpljP1505n usr/bin/psicc usr/bin/foo2zjs-icc2ps diff --minimal -Nru foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.lintian-overrides foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.lintian-overrides --- foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.lintian-overrides 2021-09-02 14:45:45.000000000 +0200 +++ foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.lintian-overrides 2024-02-08 13:58:37.000000000 +0100 @@ -1,5 +1,5 @@ # That's on purpose, getweb can go fetch these from the web -package-contains-empty-directory lib/firmware/hp/ +package-contains-empty-directory usr/lib/firmware/hp/ # Manpages are shipped in printer-driver-foo2zjs-common no-manual-page usr/bin/arm2hpdl diff --minimal -Nru foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.postinst foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.postinst --- foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.postinst 2021-09-02 14:45:45.000000000 +0200 +++ foo2zjs-20200505dfsg0/debian/printer-driver-foo2zjs.postinst 2024-02-08 14:01:50.000000000 +0100 @@ -3,9 +3,13 @@ set -e if [ "$1" = configure ]; then + # begin-remove-after: released:trixie + # Mitigate empty directory loss in upgrade DEP17 P6. + mkdir -p /usr/lib/firmware/hp + # end-remove-after # Move user-downloaded firmware files if ls /usr/share/foo2zjs/firmware/*.dl >/dev/null 2>/dev/null; then - mv /usr/share/foo2zjs/firmware/*.dl /lib/firmware/hp/ 2>/dev/null + mv /usr/share/foo2zjs/firmware/*.dl /usr/lib/firmware/hp/ 2>/dev/null fi fi diff --minimal -Nru foo2zjs-20200505dfsg0/debian/rules foo2zjs-20200505dfsg0/debian/rules --- foo2zjs-20200505dfsg0/debian/rules 2021-09-02 14:45:45.000000000 +0200 +++ foo2zjs-20200505dfsg0/debian/rules 2024-02-08 13:59:23.000000000 +0100 @@ -39,7 +39,7 @@ install -D -m 644 usb_printerid $(CURDIR)/debian/printer-driver-foo2zjs/usr/bin/usb_printerid install -D -m 644 usb_printerid.1 $(CURDIR)/debian/printer-driver-foo2zjs-common/usr/share/man/man1/usb_printerid.1 # Use a policy-numbered name for the Linux-specific udev rules file - install -D -m 644 hplj10xx.rules $(CURDIR)/debian/printer-driver-foo2zjs/lib/udev/rules.d/85-hplj10xx.rules + install -D -m 644 hplj10xx.rules $(CURDIR)/debian/printer-driver-foo2zjs/usr/lib/udev/rules.d/85-hplj10xx.rules endif ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) # /etc/devd/hplj10xx.conf is kFreeBSD-specific
--- End Message ---
--- Begin Message ---Source: foo2zjs Source-Version: 20200505dfsg0-3 Done: Thorsten Alteholz <deb...@alteholz.de> We believe that the bug you reported is fixed in the latest version of foo2zjs, 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 1060...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Thorsten Alteholz <deb...@alteholz.de> (supplier of updated foo2zjs 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: SHA512 Format: 1.8 Date: Sat, 27 Apr 2024 09:32:30 +0200 Source: foo2zjs Architecture: source Version: 20200505dfsg0-3 Distribution: unstable Urgency: medium Maintainer: Debian Printing Team <debian-printing@lists.debian.org> Changed-By: Thorsten Alteholz <deb...@alteholz.de> Closes: 1060769 Changes: foo2zjs (20200505dfsg0-3) unstable; urgency=medium . [ Thorsten Alteholz ] * debian/control: add myself as Uploader: * debian/control: bump standard to 4.7.0 (no changes) * debian/gbp.conf: latest pristine-tar is missing, so don't use it . [ Helmut Grohne, Chris Hofstaedtler ] * DEP17: Move all aliased files to /usr. (Closes: #1060769) Thanks a lot for preparing the patch Checksums-Sha1: 7e25fd9737af0aaebdce08530824b6b9e455d78b 2415 foo2zjs_20200505dfsg0-3.dsc 33bd4610e360cf8cb0e626a6e990e3e062c65fc5 39824 foo2zjs_20200505dfsg0-3.debian.tar.xz da9c656286a120011b9e0c2808b6f96fb45e4530 10325 foo2zjs_20200505dfsg0-3_amd64.buildinfo Checksums-Sha256: 36286c93c5939bc27360f86198a66061e37f9e30ef7c03ceca507aef0173a2c6 2415 foo2zjs_20200505dfsg0-3.dsc dcf7cd9c1c31d3066e8d68ba9d84cc9758032e8d7694b6730ff7748e837c5c24 39824 foo2zjs_20200505dfsg0-3.debian.tar.xz 8ce2601f5163e190ab70d13e8b0b99a3a2033c5cbb2ceaa9f675a8c886408eed 10325 foo2zjs_20200505dfsg0-3_amd64.buildinfo Files: 88b9373f3bb691d7fd911a4549fed1b7 2415 text optional foo2zjs_20200505dfsg0-3.dsc d63255e503f7fa89d9c9fdace643c44c 39824 text optional foo2zjs_20200505dfsg0-3.debian.tar.xz 977dc4ef7b5c594d6dd9816f3340d880 10325 text optional foo2zjs_20200505dfsg0-3_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmYsvFZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh bHRlaG9sei5kZQAKCRCW/KwNOHtYRzikD/sGDbyNOy7ih7OkfuuOCyi356jdyLuY nWJFGasZkWKWgsWmHvmB8qYKc/V6YHQm0hqrn80kF/3lmknf96fdlHBwZAlBOMe5 oQqWJntaVyxcsK5siRbu/3MmTg+SKJLWVrXIpjkkzi91VTopaO7N5pAp0FLfoF/W btp840ceJolUFG9mRRteaPVq8Al38gOtawvFeJb83jdMchtRrsEk7iVAGcQ9h2qk 93LZC7OXnYnPAZqvrVEdxLudR67myUB8YmQxpsk7970AecedWJ05DzqF/M7o9SzE D9Qt5/RiwgvJdWtSFZu/oNKahUrGgCtS6VQf1F32B97k+8lrxSGJ0znHdTRorksH nhcq59Y9Zc9v+AOJw1XuE0UlFsAjyfLUgPCZ3wcfG9DgguOGQpb8HWhHRXItZTo/ zMEZII43kPYrPv/qteEnSXiygLx8b/LuPGqktqiybQlaKtDZlZ+pwALrtJDbBKoO 5CHOf1arivSZSUv/NAZrNa8tpsbl06ym51DUzacg+WyNe6YKcZb1i8eH7iiU0eI7 /vdFRocPDvuqvCYXkYNeh+rGUntOMnXoBlOOlMXbUEC0Z0xcJk8n4XybidEFSw27 auB6Hl0nyR/bupMnld3BKha7H60ZY1vNnXJWiNE8B7ewBM8xHALPeR6JC/E5U34g JcXsrefgigO2uA== =ykzD -----END PGP SIGNATURE-----pgp6556b3x_Hv.pgp
Description: PGP signature
--- End Message ---