[From nobody Wed Sep  9 12:07:05 2026
Received: (at submit) by bugs.debian.org; 7 Dec 2025 20:14:12 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.7 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MONEY,SPF_HELO_NONE,SPF_NONE
 autolearn=no autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 44; hammy, 150; neutral, 162; spammy,
 0. spammytokens: hammytokens:0.000-+--grohne, 0.000-+--Grohne,
 0.000-+--fPIC, 0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:46830)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;helmut@subdivi.de&gt;) id 1vSL91-00BNcr-2N
 for submit@bugs.debian.org; Sun, 07 Dec 2025 20:14:12 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdivi.de;
 s=k23.isilmar-4; t=1765138448;
 bh=iIM+QaPv7NTShFUUrJijh/2EvQygCykcvkaKarzAhNk=;
 h=Date:From:To:Subject:From;
 b=rvEW+jW3FQY8GRyH8JAHMsDVdFMidro88iUAImZjhQTFl7pEkGwYru8+BctRrS5a8
 ysIr4h1K31wBYSduWW5uLxFlOF0L/4tvGG0ezPDmpZpyKDt5VCEtu0fUJxSZoCnouK
 ahFpdfF725MgN2UmoPS50j/hgSYcRQ7sP78sBhsFae2DImCBkaAfMQ8Mc83BG2OT+G
 R6odflKu6MnGQA8KDJlxWHBPcgf5Nex/Op5lmZ/5SJRoLAHPW4EsICWrM17EuQfKT5
 HsJ50fdXoVFayS4MH7kevY09+gYHay0RaztmfSOChQ20O+GQKwSylisOlv2CGotfmz
 SMrFgPqKB/jGg==
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id BE1F62006E4
 for &lt;submit@bugs.debian.org&gt;; Sun,  7 Dec 2025 20:14:08 +0000 (UTC)
Date: Sun, 7 Dec 2025 21:13:32 +0100
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: pystring: stop using libtool-bin
Message-ID: &lt;20251207201332.GA2171888@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;BaE3xW7V1jhoOfN3&quot;
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
Delivered-To: submit@bugs.debian.org


--BaE3xW7V1jhoOfN3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: pystring
Version: 1.1.4-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability

We would like to remove libtool-bin from Debian. One of the reasons is
that using the package universally breaks cross compilation. For
pystring, there are two options:

It can switch to libtoolize and generate a libtool during build. This
typically amounts to turning it into a full fledged autotools project.
To me, this seems overkill.

The other option is to do by hand what libtool does now. I'm attaching
a patch for this approach.

The point of this exercise is to get libtool-bin out of Build-Depends.
Choose whatever method suits you best.

Helmut

--BaE3xW7V1jhoOfN3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=&quot;pystring_1.1.4-2.1.debdiff&quot;

diff -Nru pystring-1.1.4/debian/changelog pystring-1.1.4/debian/changelog
--- pystring-1.1.4/debian/changelog	2024-09-11 13:56:31.000000000 +0200
+++ pystring-1.1.4/debian/changelog	2025-12-07 21:08:54.000000000 +0100
@@ -1,3 +1,10 @@
+pystring (1.1.4-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Stop using libtool. (Closes: #-1)
+
+ -- Helmut Grohne &lt;helmut@subdivi.de&gt;  Sun, 07 Dec 2025 21:08:54 +0100
+
 pystring (1.1.4-2) unstable; urgency=medium
 
   * d/libpystring-dev.install: install .h in sys-wide path
diff -Nru pystring-1.1.4/debian/libpystring-dev.install pystring-1.1.4/debian/libpystring-dev.install
--- pystring-1.1.4/debian/libpystring-dev.install	2024-09-11 13:44:34.000000000 +0200
+++ pystring-1.1.4/debian/libpystring-dev.install	2025-12-07 21:03:11.000000000 +0100
@@ -1,2 +1,2 @@
 pystring.h usr/include/
-.libs/lib*.so usr/lib/${DEB_HOST_MULTIARCH}/
+usr/lib/lib*.so usr/lib/${DEB_HOST_MULTIARCH}
diff -Nru pystring-1.1.4/debian/libpystring0.install pystring-1.1.4/debian/libpystring0.install
--- pystring-1.1.4/debian/libpystring0.install	2021-08-08 19:43:03.000000000 +0200
+++ pystring-1.1.4/debian/libpystring0.install	2025-12-07 21:03:22.000000000 +0100
@@ -1 +1 @@
-.libs/lib*.so.* usr/lib/${DEB_HOST_MULTIARCH}/
+usr/lib/lib*.so.* usr/lib/${DEB_HOST_MULTIARCH}
diff -Nru pystring-1.1.4/debian/patches/libtool.patch pystring-1.1.4/debian/patches/libtool.patch
--- pystring-1.1.4/debian/patches/libtool.patch	1970-01-01 01:00:00.000000000 +0100
+++ pystring-1.1.4/debian/patches/libtool.patch	2025-12-07 21:08:20.000000000 +0100
@@ -0,0 +1,38 @@
+Index: pystring-1.1.4/Makefile
+===================================================================
+--- pystring-1.1.4.orig/Makefile
++++ pystring-1.1.4/Makefile
+@@ -1,21 +1,24 @@
+-LIBTOOL ?= libtool
+ LIBDIR ?= /usr/lib
+ CXX ?= g++
+ CXXFLAGS ?= -g -O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2
++SONAME = 0
++SOVERSION = $(SONAME).0.0
+ 
+-all: libpystring.la
++all: libpystring.so
+ 
+-pystring.lo: pystring.h pystring.cpp
+-	$(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(CXXFLAGS) -c pystring.cpp
++pystring.o: pystring.cpp pystring.h
++	$(CXX) -fPIC $(CPPFLAGS) $(CXXFLAGS) -c $&lt; -o $@
+ 
+-libpystring.la: pystring.lo
+-	$(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $&lt; -rpath $(LIBDIR)
++libpystring.so: pystring.o
++	$(CXX) -fPIC $(CXXFLAGS) $(LDFLAGS) -shared -Wl,-soname=$@.$(SONAME) -o $@ $&lt;
+ 
+-install: libpystring.la
+-	$(LIBTOOL) --mode=install install -c $&lt; $(LIBDIR)/$&lt;
++install: libpystring.so
++	install -D -m644 $&lt; $(DESTDIR)$(LIBDIR)/$&lt;.$(SOVERSION)
++	ln -s $&lt;.$(SOVERSION) $(DESTDIR)$(LIBDIR)/$&lt;.$(SONAME)
++	ln -s $&lt;.$(SONAME) $(DESTDIR)$(LIBDIR)/$&lt;
+ 
+ clean:
+-	$(RM) -fr pystring.lo pystring.o libpystring.la .libs
++	$(RM) -fr pystring.o libpystring.so test
+ 
+ .PHONY: test
+ test:
diff -Nru pystring-1.1.4/debian/patches/series pystring-1.1.4/debian/patches/series
--- pystring-1.1.4/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ pystring-1.1.4/debian/patches/series	2025-12-07 20:50:25.000000000 +0100
@@ -0,0 +1 @@
+libtool.patch
diff -Nru pystring-1.1.4/debian/rules pystring-1.1.4/debian/rules
--- pystring-1.1.4/debian/rules	2021-08-08 15:58:15.000000000 +0200
+++ pystring-1.1.4/debian/rules	2025-12-07 21:00:33.000000000 +0100
@@ -7,5 +7,3 @@
 
 %:
 	dh $@
-
-override_dh_auto_install:

--BaE3xW7V1jhoOfN3--
]