Source: fstrcmp Version: 0.7.D001-5 Tags: patch User: [email protected] Usertags: cross-satisfiability
We want to remove the libtool-bin package from Debian. A primary reason is that use of this package universally breaks cross compilation. There are basically two ways forward. One is to generate a libtool during build. This is how libtool is meant to be used. The other is stopping to use libtool. Generating a libtool requires use of autoconf. Since fstrcmp already uses autoconf, I am proposing to use it to generate a libtool. To that end, I'm attaching a patch. Please consider applying it. Helmut
diff -Nru fstrcmp-0.7.D001/debian/changelog fstrcmp-0.7.D001/debian/changelog --- fstrcmp-0.7.D001/debian/changelog 2025-04-08 10:09:28.000000000 +0200 +++ fstrcmp-0.7.D001/debian/changelog 2025-12-07 21:21:12.000000000 +0100 @@ -1,3 +1,10 @@ +fstrcmp (0.7.D001-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Stop using libtool-bin. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 07 Dec 2025 21:21:12 +0100 + fstrcmp (0.7.D001-5) unstable; urgency=medium * Adopt Package (closes: #765334) diff -Nru fstrcmp-0.7.D001/debian/control fstrcmp-0.7.D001/debian/control --- fstrcmp-0.7.D001/debian/control 2025-04-08 10:09:28.000000000 +0200 +++ fstrcmp-0.7.D001/debian/control 2025-12-07 21:21:12.000000000 +0100 @@ -7,7 +7,6 @@ ghostscript, groff, libtool, - libtool-bin, Standards-Version: 4.7.2 Rules-Requires-Root: no Vcs-Browser: https://salsa.debian.org/debian/fstrcmp diff -Nru fstrcmp-0.7.D001/debian/patches/libtool.patch fstrcmp-0.7.D001/debian/patches/libtool.patch --- fstrcmp-0.7.D001/debian/patches/libtool.patch 1970-01-01 01:00:00.000000000 +0100 +++ fstrcmp-0.7.D001/debian/patches/libtool.patch 2025-12-07 21:21:12.000000000 +0100 @@ -0,0 +1,63 @@ +Index: fstrcmp-0.7.D001/configure.ac +=================================================================== +--- fstrcmp-0.7.D001.orig/configure.ac ++++ fstrcmp-0.7.D001/configure.ac +@@ -17,6 +17,7 @@ dnl! You should have received a copy of + dnl! along with this program. If not, see <http://www.gnu.org/licenses/>. + dnl! + AC_INIT(install-sh) ++LT_INIT + AC_CONFIG_HEADER(lib/config.h) + AC_PROG_CC + AC_CANONICAL_HOST +@@ -53,36 +54,6 @@ AC_ADD_CFLAGS(-Wshadow) + dnl! AC_ADD_CFLAGS(-Werror) + dnl! AC_ADD_CFLAGS([-Wl,--as-needed]) + +-AC_CHECK_PROGS(LIBTOOL, libtool) +- +-if test -z "$LIBTOOL" +-then +- AC_MSG_RESULT([ +- You must have GNU Libtool installed to build fstrcmp. +- Homepage: http://www.gnu.org/software/libtool/]) +- OK=no +- if apt-get --version > /dev/null 2> /dev/null; then +- AC_MSG_RESULT([ +- The following command may be used to install it: +- sudo apt-get install libtool +- ]) +- OK=yes +- fi +- if yum --version > /dev/null 2> /dev/null; then +- AC_MSG_RESULT([ +- The following command may be used to install it: +- sudo yum install libtool +- ]) +- OK=yes +- fi +- if test "$OK" != "yes"; then +- AC_MSG_RESULT([ +- If you are using a package based install, you will need the +- libtool package. +- ]) +- fi +- exit 1 +-fi + + AC_CHECK_PROGS(GROFF, groff roff) + AC_CHECK_PROGS(SOELIM, gsoelim soelim) +Index: fstrcmp-0.7.D001/Makefile.in +=================================================================== +--- fstrcmp-0.7.D001.orig/Makefile.in ++++ fstrcmp-0.7.D001/Makefile.in +@@ -114,6 +114,9 @@ libdir = $(DESTDIR)@libdir@ + # + includedir = $(DESTDIR)@includedir@ + ++# Used inside LIBTOOL interpolation. We do not support out-of-tree builds. ++top_builddir = . ++ + # + # The name of the GNU Libtool command. + # diff -Nru fstrcmp-0.7.D001/debian/patches/series fstrcmp-0.7.D001/debian/patches/series --- fstrcmp-0.7.D001/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ fstrcmp-0.7.D001/debian/patches/series 2025-12-07 21:21:12.000000000 +0100 @@ -0,0 +1 @@ +libtool.patch

