Your message dated Thu, 14 Mar 2024 18:19:32 +0000
with message-id <[email protected]>
and subject line Bug#1061274: fixed in coreutils 9.4-3.1
has caused the Debian Bug report #1061274,
regarding coreutils: DEP17: move files 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.)


-- 
1061274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061274
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: coreutils
Version: 9.4-3
Tags: patch
User: [email protected]
Usertags: dep17m2

Hi,

we want to finalize the /usr-merge transition via DEP17 by moving all
files to /usr and having base-files install the aliasing symlinks.
coreutils is naturally involved as it installs files to /bin. While we
no longer officially support unmerged filesystem hierarchies since
trixie, coreutils is essential and we require more of it. Being
essential means we still support bootstrapping unmerged and merging via
usrmerge.postinst, which required presence of /bin/cp until version 38.
The updated version 39 also works with /usr/bin/cp and hence, we may now
move forward.

I've prepared a patch for performing the conversion in a way that
simplifies the packaging. This patch must not be backported to
bookworm-backports as the moratorium still applies there, but I think
backports of coreutils are fairly unlikely. The patch also allows us to
get rid of the remaining maintainer scripts.

I've performed tests with debootstrap, cdebootstrap and mmdebstrap and
all of them are able to construct chroots with this coreutils patch
applied.

Helmut
diff --minimal -Nru coreutils-9.4/debian/changelog 
coreutils-9.4/debian/changelog
--- coreutils-9.4/debian/changelog      2024-01-02 14:54:03.000000000 +0100
+++ coreutils-9.4/debian/changelog      2024-01-21 22:33:08.000000000 +0100
@@ -1,3 +1,10 @@
+coreutils (9.4-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * DEP17: Move files to /usr. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 21 Jan 2024 22:33:08 +0100
+
 coreutils (9.4-3) unstable; urgency=low
 
   * remove arch restriction from libssl-dev build-depend
diff --minimal -Nru coreutils-9.4/debian/control coreutils-9.4/debian/control
--- coreutils-9.4/debian/control        2024-01-02 14:22:27.000000000 +0100
+++ coreutils-9.4/debian/control        2024-01-21 22:33:08.000000000 +0100
@@ -11,6 +11,7 @@
 Pre-Depends: ${shlibs:Depends}, ${misc:Pre-Depends}
 Essential: yes
 Depends: ${misc:Depends}
+Breaks: usrmerge (<< 39)
 Description: GNU core utilities
  This package contains the basic file, shell and text manipulation
  utilities which are expected to exist on every operating system.
diff --minimal -Nru coreutils-9.4/debian/coreutils.postinst 
coreutils-9.4/debian/coreutils.postinst
--- coreutils-9.4/debian/coreutils.postinst     2022-09-20 17:04:38.000000000 
+0200
+++ coreutils-9.4/debian/coreutils.postinst     1970-01-01 01:00:00.000000000 
+0100
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = 'configure' -a ! -e "$DPKG_ROOT/usr/bin/touch" ]; then
-  ln -s /bin/touch "$DPKG_ROOT/usr/bin/touch"
-fi
-
-#DEBHELPER#
diff --minimal -Nru coreutils-9.4/debian/coreutils.postrm 
coreutils-9.4/debian/coreutils.postrm
--- coreutils-9.4/debian/coreutils.postrm       2022-09-20 17:04:49.000000000 
+0200
+++ coreutils-9.4/debian/coreutils.postrm       1970-01-01 01:00:00.000000000 
+0100
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = 'remove' -a -L "$DPKG_ROOT/usr/bin/touch" ]; then
-  rm "$DPKG_ROOT/usr/bin/touch"
-fi
-
-#DEBHELPER#
diff --minimal -Nru coreutils-9.4/debian/rules coreutils-9.4/debian/rules
--- coreutils-9.4/debian/rules  2023-11-10 14:31:21.000000000 +0100
+++ coreutils-9.4/debian/rules  2024-01-21 21:41:59.000000000 +0100
@@ -36,11 +36,6 @@
 override_dh_install-arch: 
        dh_install -a
 
-       # some things go in root rather than usr
-       for f in $(BIN_PROGS); do \
-               mv $(d)/usr/bin/$$f $(d)/bin/$$f; \
-       done
-       
        # backward compatability
        ln -s /usr/bin/md5sum $(d)/usr/bin/md5sum.textutils
        ln -s /usr/share/man/man1/md5sum.1 
$(d)/usr/share/man/man1/md5sum.textutils.1
@@ -49,8 +44,6 @@
 ifeq ($(DEB_HOST_ARCH_OS),linux)
        # kill from procps is linux-specific
        rm -f $(d)/usr/bin/kill $(d)/usr/share/man/man1/kill.1
-else
-       mv $(d)/usr/bin/kill $(d)/bin
 endif
        rm -f $(d)/usr/bin/hostname $(d)/usr/share/man/man1/hostname.1
        rm -f $(d)/usr/bin/uptime $(d)/usr/share/man/man1/uptime.1

--- End Message ---
--- Begin Message ---
Source: coreutils
Source-Version: 9.4-3.1
Done: Helmut Grohne <[email protected]>

We believe that the bug you reported is fixed in the latest version of
coreutils, 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.
Helmut Grohne <[email protected]> (supplier of updated coreutils 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, 09 Mar 2024 18:42:01 +0100
Source: coreutils
Architecture: source
Version: 9.4-3.1
Distribution: unstable
Urgency: medium
Maintainer: Michael Stone <[email protected]>
Changed-By: Helmut Grohne <[email protected]>
Closes: 1057250 1061274
Changes:
 coreutils (9.4-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * DEP17: Move files to /usr. (Closes: #1061274, #1057250)
Checksums-Sha1:
 4393db8692ed05ffb8d3b612db4236ebda5d41ef 1868 coreutils_9.4-3.1.dsc
 d596d63bb2ee83ae7c3d9240eb3c6ed4856bad46 29604 coreutils_9.4-3.1.debian.tar.xz
 8aedc1d810ab3a5a61ca0fab06cd4fdcd8a26106 7026 coreutils_9.4-3.1_amd64.buildinfo
Checksums-Sha256:
 f18173c5b03135ec14e901748317ef5d05273dfbdebd76938988e2404f185aa1 1868 
coreutils_9.4-3.1.dsc
 326454b01befcd4116543c624f5515387f57f9655284330d1abb7c593abc001f 29604 
coreutils_9.4-3.1.debian.tar.xz
 408dd696e49ec312f7f6d7686527375b8c96bedaeb27f60e33db846eddae25a2 7026 
coreutils_9.4-3.1_amd64.buildinfo
Files:
 6a318007444e0533ed072a62780c7bb3 1868 utils required coreutils_9.4-3.1.dsc
 e63e5995e2710158b88125dc5700e9dc 29604 utils required 
coreutils_9.4-3.1.debian.tar.xz
 01426a9791e8e5b8fdd007236a0677b7 7026 utils required 
coreutils_9.4-3.1_amd64.buildinfo

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

iQIzBAEBCgAdFiEETMLS2QqNFlTb+HOqLRqqzyREREIFAmXsoEUACgkQLRqqzyRE
REKgaA/+IeExNtvioeyeY8ggCY/+wp6i8KBgIU5FCvgI1wa/X6lmM3ibbZusyw+0
OtHL+wldskFumkmpVFi3uP8TowYKxdUOUqikRLMug9w9kDuT2t1O9oPDhEj4lmSH
yt1QEBcgJAzTJMliyoVZishqpxkZVynLXLB+O4YpljepwAtFsh+DqA8UixxbG4Gx
/uADDhWIoMEKccPgkhpYJW5YCuOa90Vggvh9bcwRTzglW48tSh2hdwZBDB9vbYtf
rkvZBm+BdlGCFJ8hWMWvs4rn2FVSv94QQjWrLx5pL3JPRlWTRM/iX/m0eBBMEsTj
jy2HBNtZadTxasVLBucMSH+29t3crhoYQ0iY512YP+5Vu/WrSh3ICIgjQt9jVKpd
otgx70bbm6mKdQfGJEUVFpp0WxhGxYQMnXCM+P3OqW4oD3fQjwCFf+Y0aftN9i0h
srLFSFB8cXieAWEhczBFG4D2LAhAPSMThHRFK5LaD6m08PcNqgBIX0d0HYyPL0hs
CVkqvD2mHN+jE2aMi7JnvQPA2hgnQD3apoKTN5ViVFr4vtPtS4uGAQggJF//RJPk
ojMm1Cd1KhPqC8z6nip050ncS/+QqQpA1HLgyIe7WuF2JE99JxLih6YJpaQQcjGx
p6g18cpRvwma86uf4Wfvvdor8zrzMuBK8AB80RuNSwzoJ07O/d0=
=DTrI
-----END PGP SIGNATURE-----

Attachment: pgpBpOIr5amVY.pgp
Description: PGP signature


--- End Message ---

Reply via email to