From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#33999: CP437: Invalid Argument on init Date: Thu, 10 Jan 2019 19:21:07 +0100 Message-ID: <20190110192107.454e2cb8@scratchpost.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/_nxyzO_3cwehxUhc0cH+nzn"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghexv-0005D9-Tw for bug-guix@gnu.org; Thu, 10 Jan 2019 13:22:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghexu-0006Jn-1e for bug-guix@gnu.org; Thu, 10 Jan 2019 13:22:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54887) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghext-0006JL-Rw for bug-guix@gnu.org; Thu, 10 Jan 2019 13:22:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ghext-0007ey-Lg for bug-guix@gnu.org; Thu, 10 Jan 2019 13:22:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Bryan Ferris Cc: 33999@debbugs.gnu.org --Sig_/_nxyzO_3cwehxUhc0cH+nzn Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Also, if you want, please try the following program on the booted guix syst= em: #include #include #include #include static iconv_t iconv_init_codepage(int codepage) { iconv_t result; char codepage_name[16]; snprintf(codepage_name, sizeof(codepage_name), "CP%d", codepage); result =3D iconv_open(nl_langinfo(CODESET), codepage_name); if (result =3D=3D (iconv_t) - 1) { printf("FOO\n"); perror(codepage_name); printf("BAR\n"); } return result; } int main() { setlocale(LC_ALL, ""); iconv_init_codepage(437); return 0; } You'd have to put the above text into a file called "a.c", then invoke guix package -i gcc-toolchain Then invoke gcc -o a a.c Then invoke ./a I suspect it will also fail with the same error message. After that, please invoke iconv -l |grep -i cp437 It will probably either return nothing or even fail with an error message. --Sig_/_nxyzO_3cwehxUhc0cH+nzn Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlw3jRMACgkQ5xo1VCww uqWaswf8CksNDOGBzJ4E40P6W4iOkbujWV1j/uQNFdokxyeZlhSUkMJFGXmU/H4S 80OM3C6d2hPx2aeIDPS9yrwNuGzfv+HPVxpLZQEJfzoEeiC+EoQU3fiUbm4hyZ+N x8Etx6rjWI3OcgrtJXtcW3nleiOHlBmGnQ9LMhJuf/g5y5LuBjSrUzj1nQNWaksA p0zd9Hes7NtmR1vU7BMCl2gq/Ij1YaUApbS11CmI/lCyLgcRGHnSgB59UYJwEdrG RVhzuhEHteRng0RNMEmiXLupWWnuvjjHumqfkwPD5UeBNCw9e/ErE3hWkqNqbFYS D0YrzBeLdgh5Y/ijPvPtJRmYeybsFw== =qymy -----END PGP SIGNATURE----- --Sig_/_nxyzO_3cwehxUhc0cH+nzn--