GNU bug report logs - #74428
tests/printf/printf-cov failure on macOS

Previous Next

Package: coreutils;

Reported by: Grisha Levit <grishalevit <at> gmail.com>

Date: Tue, 19 Nov 2024 04:42:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bruno Haible <bruno <at> clisp.org>
To: Pádraig Brady <P <at> draigbrady.com>, 74428 <at> debbugs.gnu.org, grishalevit <at> gmail.com, Bernhard Voelker <mail <at> bernhard-voelker.de>
Subject: bug#74428: tests/printf/printf-cov failure on macOS
Date: Mon, 09 Dec 2024 23:37:20 +0100
Bernhard Voelker wrote:
> >> on openSUSE for Leap 16.0 on x86_64 [1] and aarch64 [2].
> >>
> >> Using coreutils-9.5 (which has gnulib 259829e78), glibc-2.40.
> >> ...
>      97	  /* Test whether the utf8_to_local converter is available at all.  */
>      98	  if (!is_utf8)
>      99	    {
>     100	#if HAVE_ICONV
>     101	      if (utf8_to_local == (iconv_t)(-1)) {
>     102	        fprintf (stderr, "iconv function not usable: '%s'\n", callback_arg);
>     103	        return failure (code, N_("iconv function not usable"), callback_arg); }
>     104	#else
>     105	      fprintf (stderr, "iconv function not available: '%s'\n", callback_arg);
>     106	      return failure (code, N_("iconv function not available"), callback_arg);
>     107	#endif
>     108	    }
> 
> We're running into "iconv function not available" (line 105) there.
> Compressed 'config.log' attached.

In this log, I see:

configure:23922: checking for working iconv
configure:24066: gcc -o conftest -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g  -flto=auto conftest.c  >&5
configure:24066: $? = 0
configure:24066: ./conftest
configure:24066: $? = 16
configure: program exited with status 16

and status 16 means that there is no EUC-JP converter.

This is now the second distro I hear of, that ships glibc without any loadable
iconv converters by default.

I have therefore reported
https://sourceware.org/bugzilla/show_bug.cgi?id=32437
in the hope that glibc makes it easier to distros to ship a reasonable set
of iconv converters.

Bruno







This bug report was last modified 219 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.