Bug#1109447: libtext-iconv-perl: ftbfs on hurd-any
Samuel Thibault
sthibault at debian.org
Wed Sep 3 23:25:57 BST 2025
Control: forwarded 1109447 mxp at dynalabs.de
Hello,
Samuel Thibault, le ven. 18 juil. 2025 10:06:30 +0200, a ecrit:
> libtext-iconv-perl currently ftbfs on hurd-any because by default it
> assumes a non-standard iconv prototype (despite the comment saying it is
> standard...), could you apply the attached patch to fix this?
I have forwarded the patch to upstream, and NMU-ed to delayed/15.
With regards,
Samuel
-------------- next part --------------
diff -Nru libtext-iconv-perl-1.7/debian/changelog libtext-iconv-perl-1.7/debian/changelog
--- libtext-iconv-perl-1.7/debian/changelog 2022-11-21 15:36:11.000000000 +0100
+++ libtext-iconv-perl-1.7/debian/changelog 2025-09-04 00:20:10.000000000 +0200
@@ -1,3 +1,11 @@
+libtext-iconv-perl (1.7-8.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * patches/hurd: Fix hurd build.
+ Closes: #1109447
+
+ -- Samuel Thibault <sthibault at debian.org> Thu, 04 Sep 2025 00:20:10 +0200
+
libtext-iconv-perl (1.7-8) unstable; urgency=medium
[ Debian Janitor ]
diff -Nru libtext-iconv-perl-1.7/debian/patches/hurd libtext-iconv-perl-1.7/debian/patches/hurd
--- libtext-iconv-perl-1.7/debian/patches/hurd 1970-01-01 01:00:00.000000000 +0100
+++ libtext-iconv-perl-1.7/debian/patches/hurd 2025-09-04 00:20:10.000000000 +0200
@@ -0,0 +1,13 @@
+Index: libtext-iconv-perl-1.7/Iconv.xs
+===================================================================
+--- libtext-iconv-perl-1.7.orig/Iconv.xs
++++ libtext-iconv-perl-1.7/Iconv.xs
+@@ -114,7 +114,7 @@ SV *do_conv(struct tiobj *obj, SV *strin
+
+ while(inbytesleft != 0)
+ {
+-#if (defined(__hpux) || defined(__linux) || defined(VMS)) && ! defined(_LIBICONV_VERSION)
++#if (defined(__hpux) || defined(__linux) || defined(__GNU__) || defined(VMS)) && ! defined(_LIBICONV_VERSION)
+ /* Even in HP-UX 11.00, documentation and header files do not agree */
+ /* glibc doesn't seem care too much about standards */
+ ret = iconv(obj->handle, &icursor, &inbytesleft,
diff -Nru libtext-iconv-perl-1.7/debian/patches/series libtext-iconv-perl-1.7/debian/patches/series
--- libtext-iconv-perl-1.7/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ libtext-iconv-perl-1.7/debian/patches/series 2025-09-04 00:20:10.000000000 +0200
@@ -0,0 +1 @@
+hurd
More information about the pkg-perl-maintainers
mailing list