Bug#1109447: libtext-iconv-perl: ftbfs on hurd-any
Samuel Thibault
sthibault at debian.org
Fri Jul 18 09:06:30 BST 2025
Package: libtext-iconv-perl
Version: 1.7-8+b4
Severity: important
Tags: ftbfs patch
Hello,
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?
Thanks,
Samuel
-- System Information:
Debian Release: 13.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.15.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libtext-iconv-perl depends on:
ii libc6 2.41-9
ii perl-base [perlapi-5.40.0] 5.40.1-5
libtext-iconv-perl recommends no packages.
libtext-iconv-perl suggests no packages.
-- no debconf information
--
Samuel
mdiym42: note to self
mdiym42: make sure your cat is not sleeping in the bass drum before you start playing them
-------------- next part --------------
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,
More information about the pkg-perl-maintainers
mailing list