Bug#1063571: libpcre3: move libraries to /usr (DEP17)

2024-05-26 Thread Helmut Grohne
Control: clone -1 -2
Control: retitle -2 pcre3 should not be part of trixie
Control: tags -2 trixie sid
Control: severity -2 serious
Control: block -1 by -2

On Sun, May 26, 2024 at 04:18:38PM +0100, Matthew Vernon wrote:
> I really, truly, do not want to be shipping pcre3 in trixie.

Cool. I've recorded this in the bts.

> There are 33 unfixed packages[0], so I think this is reasonable (if nothing
> else, I don't believe any of the remainder are showstoppers).

The autoremover will establish the urgency of this matter to the non-key
packages. Please NMU the others such that we're done before the
transition freeze.

Helmut



Bug#1063571: libpcre3: move libraries to /usr (DEP17)

2024-05-26 Thread Matthew Vernon

Hi,

On 25/05/2024 21:43, Chris Hofstaedtler wrote:

On Fri, Feb 09, 2024 at 04:23:27PM +0100, Helmut Grohne wrote:

Package: libpcre3

[..]

we want to finalize the /usr-merge transition by moving all aliased
files from / to /usr via DEP17 to avoid any negative effects arising
from aliasing. libpcre3 is involved, because installs a shared library
below /lib.

[..]

Are you going to remove libpcre3 from trixie? If not, do you want an
NMU for this or are you going to upload it soon?


I really, truly, do not want to be shipping pcre3 in trixie.

There are 33 unfixed packages[0], so I think this is reasonable (if 
nothing else, I don't believe any of the remainder are showstoppers).


Regards,

Matthew

[0] 
https://docs.google.com/document/d/19IHP-WSOuEuSwgYkeww2VPuiGE0Q25X7/edit?usp=sharing=114425588045217704299=true=true




Bug#1063571: libpcre3: move libraries to /usr (DEP17)

2024-05-25 Thread Chris Hofstaedtler
Hi Matthew,

On Fri, Feb 09, 2024 at 04:23:27PM +0100, Helmut Grohne wrote:
> Package: libpcre3
[..]
> we want to finalize the /usr-merge transition by moving all aliased
> files from / to /usr via DEP17 to avoid any negative effects arising
> from aliasing. libpcre3 is involved, because installs a shared library
> below /lib.
[..]

Are you going to remove libpcre3 from trixie? If not, do you want an
NMU for this or are you going to upload it soon?

Best,
Chris



Bug#1063571: libpcre3: move libraries to /usr (DEP17)

2024-02-09 Thread Helmut Grohne
Package: libpcre3
Version: 2:8.39-15
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Hi,

we want to finalize the /usr-merge transition by moving all aliased
files from / to /usr via DEP17 to avoid any negative effects arising
from aliasing. libpcre3 is involved, because installs a shared library
below /lib. I'm sending a patch, because it cannot be automatically
converted using dh-sequence-movetousr. Note that this patch must not be
uploaded to bookworm-backports or earlier as it would violate the
earlier file move moratorium there.

Helmut
diff --minimal -Nru pcre3-8.39/debian/changelog pcre3-8.39/debian/changelog
--- pcre3-8.39/debian/changelog 2022-12-22 17:45:21.0 +0100
+++ pcre3-8.39/debian/changelog 2024-02-09 16:13:23.0 +0100
@@ -1,3 +1,10 @@
+pcre3 (2:8.39-15.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move library to /usr. (Closes: #-1)
+
+ -- Helmut Grohne   Fri, 09 Feb 2024 16:13:23 +0100
+
 pcre3 (2:8.39-15) unstable; urgency=medium
 
   * Make currently-important packages optional as pcre3 is obsolete
diff --minimal -Nru pcre3-8.39/debian/dirs pcre3-8.39/debian/dirs
--- pcre3-8.39/debian/dirs  2022-12-22 17:45:21.0 +0100
+++ pcre3-8.39/debian/dirs  1970-01-01 01:00:00.0 +0100
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff --minimal -Nru pcre3-8.39/debian/rules pcre3-8.39/debian/rules
--- pcre3-8.39/debian/rules 2022-12-22 17:45:21.0 +0100
+++ pcre3-8.39/debian/rules 2024-02-09 16:12:49.0 +0100
@@ -93,10 +93,6 @@
dh_install -a
# This man page is in the main package, don't want it in -dev
rm debian/libpcre3-dev/usr/share/man/man3/pcrepattern.3
-   # Move actual library to /lib
-   mkdir -p debian/libpcre3/lib/$(DEB_HOST_MULTIARCH)
-   mv debian/libpcre3/usr/lib/$(DEB_HOST_MULTIARCH)/libpcre.so.* 
debian/libpcre3/lib/$(DEB_HOST_MULTIARCH)
-   ln -sf /lib/$(DEB_HOST_MULTIARCH)/libpcre.so.3 
debian/libpcre3-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libpcre.so
# we never need to reference the library path in pcre-config on
# Debian, so clip it out so that the script will be multiarch-safe.
sed -i -e"s,/$(DEB_HOST_MULTIARCH),,g" 
debian/libpcre3-dev/usr/bin/pcre-config