Your message dated Sat, 25 Nov 2023 11:04:46 +0000
with message-id <[email protected]>
and subject line Bug#1055958: fixed in readline 8.2-2
has caused the Debian Bug report #1055958,
regarding readline: move libraries to /usr
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 [email protected]
immediately.)


-- 
1055958: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055958
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: readline
Version: 8.2-1.3
Severity: normal
Tags: patch
User: [email protected]
Usertags: dep17m2
X-Debbugs-Cc: [email protected]

We want to finalize the /usr-merge transition via DEP17 by moving all
aliased files from / to /usr. Until recently, doing so was prohibited by
the file move moratorium. It has since been delegated to
https://wiki.debian.org/UsrMerge and we may move files albeit carefully.
https://subdivi.de/~helmut/dep17.html provides a set of things that may
go wrong.

A major aspect is the interaction with the 2038 transition
https://wiki.debian.org/ReleaseGoals/64bit-time. If libreadline8 is
renamed to libreadline8t64, upgrades from bookworm to trixie will move
files from / to /usr and between packages triggering exactly the file
loss scenario that the moratorium was meant to prevent (DEP17 P1). We
probably cannot use Conflicts (DEP17 M7) due to readline being
relatively central and have to resort to protective diversions (DEP17
M8) instead. When this comes about, please upload to experimental first
and wait at least three days. Fortunately, readline is unaffected by
most of the other problems. The debian-installer can deal with libraries
in /usr/lib/<triplet> (DEP17 P10) and the multiarch file loss (DEP17 P7)
is not applicable, because all affected filenames are
architecture-dependent. I locally verified that debootstrap continues to
work in the presence of this change.

Hence, I think we're good to go. I assume that readline is not subject
to backporting and have included a bit of cleanup in the attached patch.
Do not upload this patch to bookworm-backports. If you want to support
backports, use dh_movetousr instead. Also remember to upload
restructuring changes (such as libreadline8t64) during the trixie cycle
to experimental first.

Helmut
diff --minimal -Nru readline-8.2/debian/changelog readline-8.2/debian/changelog
--- readline-8.2/debian/changelog       2023-01-03 21:49:45.000000000 +0100
+++ readline-8.2/debian/changelog       2023-11-14 20:16:55.000000000 +0100
@@ -1,3 +1,10 @@
+readline (8.2-1.4) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move libraries to /usr. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 14 Nov 2023 20:16:55 +0100
+
 readline (8.2-1.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru readline-8.2/debian/rules readline-8.2/debian/rules
--- readline-8.2/debian/rules   2022-11-11 07:26:09.000000000 +0100
+++ readline-8.2/debian/rules   2023-11-14 20:16:55.000000000 +0100
@@ -47,8 +47,7 @@
 ifneq (,$(findstring /$(DEB_HOST_ARCH)/,/amd64/ppc64/))
   build32 = yes
   CC32 = $(CROSS) -m32
-  lib32dir = lib32
-  lib32devdir = usr/lib32
+  lib32dir = usr/lib32
   gencontrol_flags = -- \
        '-Vdevxx:Depends=libc6-dev-$(ARCH32)'
   ifeq ($(DEB_HOST_ARCH),amd64)
@@ -250,15 +249,9 @@
 
        : # move $(p_rl)
        dh_installdirs -p$(p_rl) \
-               etc \
-               lib/$(DEB_HOST_MULTIARCH) \
+               usr/lib/$(DEB_HOST_MULTIARCH) \
                usr/share/doc
-       cp -a $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.so.* 
$(d_rl)/lib/$(DEB_HOST_MULTIARCH)/
-#      cp -a $(d)/usr/lib/lib{history,readline}.so.$(libversion) $(d_rl)/lib/
-#      ln -s libhistory.so.$(libversion) \
-#              $(d_rl)/lib/libhistory.so.$(soversion)
-#      ln -s libreadline.so.$(libversion) \
-#              $(d_rl)/lib/libreadline.so.$(soversion)
+       cp -a $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.so.* 
$(d_rl)/usr/lib/$(DEB_HOST_MULTIARCH)/
 
        : # move $(p_comm)
        dh_installdirs -p$(p_comm) \
@@ -279,9 +272,9 @@
                usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
                usr/share/doc \
                usr/share/info
-       ln -s /lib/$(DEB_HOST_MULTIARCH)/libhistory.so.$(soversion) \
+       ln -s libhistory.so.$(soversion) \
                $(d_rld)/usr/lib/$(DEB_HOST_MULTIARCH)/libhistory.so
-       ln -s /lib/$(DEB_HOST_MULTIARCH)/libreadline.so.$(soversion) \
+       ln -s libreadline.so.$(soversion) \
                $(d_rld)/usr/lib/$(DEB_HOST_MULTIARCH)/libreadline.so
        mv $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.a \
                $(d_rld)/usr/lib/$(DEB_HOST_MULTIARCH)/.
@@ -327,13 +320,13 @@
            infodir=/usr/share/info
 
        dh_installdirs -p$(p_rlu) \
-           lib/$(DEB_HOST_MULTIARCH)
+           usr/lib/$(DEB_HOST_MULTIARCH)
        cp -p 
$(du)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.so.$(libversion) \
-               $(d_rlu)/lib/$(DEB_HOST_MULTIARCH)/
+               $(d_rlu)/usr/lib/$(DEB_HOST_MULTIARCH)/
        ln -s libhistory.so.$(libversion) \
-               $(d_rlu)/lib/$(DEB_HOST_MULTIARCH)/libhistory.so.$(soversion)
+               
$(d_rlu)/usr/lib/$(DEB_HOST_MULTIARCH)/libhistory.so.$(soversion)
        ln -s libreadline.so.$(libversion) \
-               $(d_rlu)/lib/$(DEB_HOST_MULTIARCH)/libreadline.so.$(soversion)
+               
$(d_rlu)/usr/lib/$(DEB_HOST_MULTIARCH)/libreadline.so.$(soversion)
 
        dh_installdirs -p$(p_commu) \
                usr/share/readline
@@ -365,13 +358,13 @@
                $(d_rl32)/$(lib32dir)/libreadline.so.$(soversion)
 
        dh_installdirs -p$(p_rld32) \
-           $(lib32devdir) \
+           $(lib32dir) \
            usr/share/doc
-       ln -s /$(lib32dir)/libhistory.so.$(soversion) \
-               $(d_rld32)/$(lib32devdir)/libhistory.so
-       ln -s /$(lib32dir)/libreadline.so.$(soversion) \
-               $(d_rld32)/$(lib32devdir)/libreadline.so
-       mv $(d32)/usr/lib/lib{history,readline}.a $(d_rld32)/$(lib32devdir)/.
+       ln -s libhistory.so.$(soversion) \
+               $(d_rld32)/$(lib32dir)/libhistory.so
+       ln -s libreadline.so.$(soversion) \
+               $(d_rld32)/$(lib32dir)/libreadline.so
+       mv $(d32)/usr/lib/lib{history,readline}.a $(d_rld32)/$(lib32dir)/.
 endif
 
 ifneq ($(build64),)

--- End Message ---
--- Begin Message ---
Source: readline
Source-Version: 8.2-2
Done: Matthias Klose <[email protected]>

We believe that the bug you reported is fixed in the latest version of
readline, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated readline 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 25 Nov 2023 11:07:51 +0100
Source: readline
Architecture: source
Version: 8.2-2
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Closes: 1012425 1019711 1023676 1055958
Changes:
 readline (8.2-2) unstable; urgency=medium
 .
   * Apply upstream patches 002 - 007.
   * Move libraries to /usr. (Helmut Grohne). Closes: #1055958.
   * debian/README.source: Remove. Closes: #1023676.
   * Remove dependencies on install-info: Closes: #1012425.
   * Add Homepage attribute. Closes: #1019711.
   * Bump debhelper and standards versions.
   * Update watch file.
Checksums-Sha1:
 615c1d63225c40be66090c908596456dceab27b9 2783 readline_8.2-2.dsc
 16b9dd8925fb70582e15a4dfaaf4da64a9bb155f 31940 readline_8.2-2.debian.tar.xz
 ec38c8c953ad0028044c1df77afa440e8b1848de 7470 readline_8.2-2_source.buildinfo
Checksums-Sha256:
 33cc4dc8b7adb2c90eeffe2c180a20df7c0bab9f80e8d5370796f4d67d9a5e64 2783 
readline_8.2-2.dsc
 af49d3be7cbc152a1dbe7e79b5d33c474f6989f4ccfa486934ea8e3acd65ea2b 31940 
readline_8.2-2.debian.tar.xz
 24bbc25ab752602d272a09d07605e1ef028bf7a4791ea3724c6eecfe0da8d4b7 7470 
readline_8.2-2_source.buildinfo
Files:
 95fb867d43663a944193440d088da7ea 2783 libs optional readline_8.2-2.dsc
 d47fca9d87073273a25829efa5678070 31940 libs optional 
readline_8.2-2.debian.tar.xz
 7a318a2ea222ab51214570ed9df9dea4 7470 libs optional 
readline_8.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmVhzq0QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9WZFD/9SePf0exoN6XJwBgpHpUbG6p5pIofSroXb
h+y2aeyhMPCBLgCRq8srV4YSzcxYJJiygRBH9F4GUfHDTsatWoSzFy4LE5Tq8JRm
5y2E9cIB1xPhwHZYKQ7Y9QEYs22ITwy8S3XZLHV0v+1Gxv4cjpJ5LGLTktwg4Byp
ChPtEyWma2fe9vXYFWyecLlc/N1TVOwOQcERfmgyAYPBCQ5tTxksBzo0khMIV7A2
YDhdSeCtR2IruQGgHBlRuWKqsqsJN9wTdbRAPpY0AOTJdW5ZRAMU9vUab3eAHAr8
raF3xr9Jn6v6WqIJenFEZQ1vNmU/wLtYXyA1tTnUXON2ZciLYTVnQufC1P4TEvZX
W9BijF9896PakICPfPo1TdwW85Q9Zvxhfw+Zy5+taf08TwMoITe/9WDzNlWpdSkc
lpEuwlXMhlkDCqkqZ+lXJAt+WfEplJvCAKr5NO91E7XFuIUoIVg15Ro8jstV7Vdl
ok8US8m1lpLhJzj22T8+XxMIpkT4ueltUJTS7dH0AKml/meBM2qRED6mLHTDzwdD
2N128xDVo6nBZkdoKpD6fwXh7feE8UdEFlbww715XABmQXo6C541KFyU2X+YcXaS
2AooplZih/3H/Jlmj55BT3TJ7mTL+lJTezOoAP26frGx5z9PR+ApUIijlfaxzd+Q
gFF2bzUM+Q==
=C1jF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to