Your message dated Wed, 14 May 2014 19:34:38 +0000 with message-id <[email protected]> and subject line Bug#747103: fixed in eglibc 2.18-6 has caused the Debian Bug report #747103, regarding libc6-dev: setlocale in static binary fails to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 747103: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747103 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libc6-dev Version: 2.13-38 Severity: important Hello list, I'm trying to use setlocale() in a static binary, and I compil with: $ gcc -Wall -static code.c -o code When I run $ ./code I expect to see "lundi" instead of "Monday", but it's not working with static compilation. (it's ok in dynamic compil. with: $gcc -Wall -code.c -o code). The locale "fr_FR" is correctly installed on my system (package locales configured with fr_FR). The code.c is fairly simple : #include <stdio.h> #include <locale.h> #include <langinfo.h> int main(void) { setlocale (LC_ALL, "fr_FR"); printf("%s\n",nl_langinfo(DAY_2)); return 0; } I have done some debug (with gcc -ggdb) : - the return of setlocale is correct "fr_FR" in static and dyn. compil, - it seems to me that setdata()/setname() in file setlocale.c don't do right job (pb with CATEGORY_USED(category)) - I have try use of: $ cd tmp ; localedef -i fr_FR -f ISO-8859-1 ./fr_FR and put in code.c before setlocale(): setenv("LOCPATH","/home/raphael/tmp,1); but: it's not better in static compilation - I have noticed with $strace -eopen ./code that in dynamic compil : open("/home/raphael/tmp/fr_FR/LC_xxx", O_RDONLY) = 3 (with setenv) open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 (without setenv) but in static compil with setenv and setlocale(LC_TIME, "fr_FR"); nothing is opened ... I have tried this code under different OS : - RedHat Enterprise Linux Server release 5.5 (Tikanga) or 6 --> it works as expected - Debian Etch, Debian Lenny --> it works as expected - Debian Wheezy --> the bug is present Thank you -- System Information: Debian Release: 6.0.9 APT prefers oldstable APT policy: (500, 'oldstable') Architecture: i386 (x86_64) Kernel: Linux 2.6.32.8_x86_64 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages libc6-dev depends on: ii libc-dev-bin 2.13-38 Embedded GNU C Library: Developmen ii libc6 2.13-38 Embedded GNU C Library: Shared lib ii linux-libc-dev 2.6.32-48squeeze5 Linux support headers for userspac Versions of packages libc6-dev recommends: ii gcc [c-compiler] 4:4.4.5-1 The GNU C compiler ii gcc-4.4 [c-compiler] 4.4.7-2 GNU C compiler Versions of packages libc6-dev suggests: ii glibc-doc 2.11.3-4 Embedded GNU C Library: Documentat ii manpages-dev 3.27-1 Manual pages about using GNU/Linux
--- End Message ---
--- Begin Message ---Source: eglibc Source-Version: 2.18-6 We believe that the bug you reported is fixed in the latest version of eglibc, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Aurelien Jarno <[email protected]> (supplier of updated eglibc package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Wed, 14 May 2014 19:15:10 +0200 Source: eglibc Binary: libc-bin libc-dev-bin glibc-doc eglibc-source locales locales-all nscd multiarch-support libc6 libc6-dev libc6-dbg libc6-prof libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc libc6-dev-sparc libc6-sparc64 libc6-dev-sparc64 libc6-s390 libc6-dev-s390 libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc6-armhf libc6-dev-armhf libc6-armel libc6-dev-armel libc0.1-i386 libc0.1-dev-i386 libc6-x32 libc6-dev-x32 libc6-i686 libc6-xen libc0.1-i686 libc0.3-i686 libc0.3-xen libc6.1-alphaev67 libc6-loongson2f libnss-dns-udeb libnss-files-udeb Architecture: source all amd64 Version: 2.18-6 Distribution: unstable Urgency: medium Maintainer: Aurelien Jarno <[email protected]> Changed-By: Aurelien Jarno <[email protected]> Description: eglibc-source - Embedded GNU C Library: sources glibc-doc - Embedded GNU C Library: Documentation libc-bin - Embedded GNU C Library: Binaries libc-dev-bin - Embedded GNU C Library: Development binaries libc0.1 - Embedded GNU C Library: Shared libraries libc0.1-dbg - Embedded GNU C Library: detached debugging symbols libc0.1-dev - Embedded GNU C Library: Development Libraries and Header Files libc0.1-dev-i386 - Embedded GNU C Library: 32bit development libraries for AMD64 libc0.1-i386 - Embedded GNU C Library: 32bit shared libraries for AMD64 libc0.1-i686 - Embedded GNU C Library: Shared libraries [i686 optimized] libc0.1-pic - Embedded GNU C Library: PIC archive library libc0.1-prof - Embedded GNU C Library: Profiling Libraries libc0.1-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb) libc0.3 - Embedded GNU C Library: Shared libraries libc0.3-dbg - Embedded GNU C Library: detached debugging symbols libc0.3-dev - Embedded GNU C Library: Development Libraries and Header Files libc0.3-i686 - Embedded GNU C Library: Shared libraries [i686 optimized] libc0.3-pic - Embedded GNU C Library: PIC archive library libc0.3-prof - Embedded GNU C Library: Profiling Libraries libc0.3-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb) libc0.3-xen - Embedded GNU C Library: Shared libraries [Xen version] libc6 - Embedded GNU C Library: Shared libraries libc6-amd64 - Embedded GNU C Library: 64bit Shared libraries for AMD64 libc6-armel - Embedded GNU C Library: ARM softfp shared libraries for armhf libc6-armhf - Embedded GNU C Library: ARM hard float shared libraries for armel libc6-dbg - Embedded GNU C Library: detached debugging symbols libc6-dev - Embedded GNU C Library: Development Libraries and Header Files libc6-dev-amd64 - Embedded GNU C Library: 64bit Development Libraries for AMD64 libc6-dev-armel - Embedded GNU C Library: ARM softfp development libraries for armh libc6-dev-armhf - Embedded GNU C Library: ARM hard float development libraries for libc6-dev-i386 - Embedded GNU C Library: 32-bit development libraries for AMD64 libc6-dev-mips64 - Embedded GNU C Library: 64bit Development Libraries for MIPS64 libc6-dev-mipsn32 - Embedded GNU C Library: n32 Development Libraries for MIPS64 libc6-dev-powerpc - Embedded GNU C Library: 32bit powerpc development libraries for p libc6-dev-ppc64 - Embedded GNU C Library: 64bit Development Libraries for PowerPC64 libc6-dev-s390 - Embedded GNU C Library: 32bit Development Libraries for IBM zSeri libc6-dev-sparc - Embedded GNU C Library: 32bit Development Libraries for SPARC libc6-dev-sparc64 - Embedded GNU C Library: 64bit Development Libraries for UltraSPAR libc6-dev-x32 - Embedded GNU C Library: X32 ABI Development Libraries for AMD64 libc6-i386 - Embedded GNU C Library: 32-bit shared libraries for AMD64 libc6-i686 - Embedded GNU C Library: Shared libraries [i686 optimized] libc6-loongson2f - Embedded GNU C Library: Shared libraries (Loongson 2F optimized) libc6-mips64 - Embedded GNU C Library: 64bit Shared libraries for MIPS64 libc6-mipsn32 - Embedded GNU C Library: n32 Shared libraries for MIPS64 libc6-pic - Embedded GNU C Library: PIC archive library libc6-powerpc - Embedded GNU C Library: 32bit powerpc shared libraries for ppc64 libc6-ppc64 - Embedded GNU C Library: 64bit Shared libraries for PowerPC64 libc6-prof - Embedded GNU C Library: Profiling Libraries libc6-s390 - Embedded GNU C Library: 32bit Shared libraries for IBM zSeries libc6-sparc - Embedded GNU C Library: 32bit Shared libraries for SPARC libc6-sparc64 - Embedded GNU C Library: 64bit Shared libraries for UltraSPARC libc6-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb) libc6-x32 - Embedded GNU C Library: X32 ABI Shared libraries for AMD64 libc6-xen - Embedded GNU C Library: Shared libraries [Xen version] libc6.1 - Embedded GNU C Library: Shared libraries libc6.1-alphaev67 - Embedded GNU C Library: Shared libraries (EV67 optimized) libc6.1-dbg - Embedded GNU C Library: detached debugging symbols libc6.1-dev - Embedded GNU C Library: Development Libraries and Header Files libc6.1-pic - Embedded GNU C Library: PIC archive library libc6.1-prof - Embedded GNU C Library: Profiling Libraries libc6.1-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb) libnss-dns-udeb - Embedded GNU C Library: NSS helper for DNS - udeb (udeb) libnss-files-udeb - Embedded GNU C Library: NSS helper for files - udeb (udeb) locales - Embedded GNU C Library: National Language (locale) data [support] locales-all - Embedded GNU C Library: Precompiled locale data multiarch-support - Transitional package to ensure multiarch compatibility nscd - Embedded GNU C Library: Name Service Cache Daemon Closes: 689427 703559 712157 725508 726849 729514 730092 730744 733237 737697 740973 741243 741482 745552 746310 747013 747103 Changes: eglibc (2.18-6) unstable; urgency=medium . [ Samuel Thibault ] * patches/hurd-i386/cvs-libpthread_guardsize.diff: Fix guardsize semantic for gcc's -fsplit-stack. . [ Aurelien Jarno ] * patches/any/cvs-make-4.0.diff: patch from upstream to allow GNU Make 4.0 and greater. Closes: #747013. * patches/sparc/cvs-strcmp.diff: patch from upstream to fix a corner case in the sparc specific strcmp() implementation. Closes: #746310. * debhelper.in/nscd.init: invalidate nscd cache on startup. Closes: #689427. * patches/any/cvs-wprintf.diff: patch from upstream to correctly handle %p in wprintf(). Closes: #729514. * patches/any/submitted-resolv-first-query-failure.diff: replace by upstream version patches/any/cvs-resolv-first-query-failure.diff. * control.in/*: add conflicts between multiarch libc packages using the same dynamic library loader. Closes: #745552. * patches/localedata/submitted-it_IT-thousands_sep.diff: new patch to define the thousands separator for the it_IT locale. Closes: #712157. * patches/any/submitted-ptsname_r-uninitialized-memory.diff: new patch to fix uninitialized memory in ptsname_r(). Closes: #741482. * patches/all/submitted-po-fr-fixes.diff: new patch to fix the French translation of inappropriate (inappropré -> inapproprié). Closes: #733237. * patches/any/cvs-socketcall-syscall.diff: new patch from upstream to fix socketcall multiplex syscall features detection. Closes: #730744. * patches/any/submitted-nl_langinfo-static.diff: new patch to fix nl_langinfo() used in static binaries. Closes: #747103. * patches/any/sparc/cvs-efd_semaphore.diff: new patch from upstream to declare EFD_SEMAPHORE in <bits/eventfd.h> on SPARC. Closes: #730092, #737697. * patches/svn-updates.diff: update from 2.18 branch, to fix a race in free() of fastbin chunk. * local/manpages/sprof.1, local/manpages/rpcgen.1: apply typographical fixes from Bjarni Ingi Gislason <[email protected]>. Closes: #726849, #740973. * patches/hppa/*.diff: apply changes from John David Anglin <[email protected]>. Closes: #725508, #741243. * testsuite-checking/expected-results-mips*el: re-add tst-tls2.out and tst-tls3.out (remove in the latest cleanup) as they still occasionally fail. * local/manpages/sotruss.1: new manpage. * patches/sparc/submitted-prlimit.diff: new patch to fix missing prlimit/prlimit64 prototypes on SPARC. Closes: #703559. * source/lintian-overrides: add override for false positive license-problem-non-free-RFC tag. Remove old override for outdated-autotools-helper-file tag. * control.in/main: Bump Standards-Version to 3.9.5 (no changes). Checksums-Sha1: 7b36d57642bd1d714d1d0865dccb09e559832909 7340 eglibc_2.18-6.dsc 7a14247c693f87526b6b0b02d7fc4efdc44ac47a 1001948 eglibc_2.18-6.debian.tar.xz 1ede18d91dcc141ce48f9dcf495caceb391a10b6 2224622 glibc-doc_2.18-6_all.deb 84168378dce6d4e77b62ce1af2215c4d7c13af9a 13253880 eglibc-source_2.18-6_all.deb b0f879e7daa5fcbc120e4e7eedd7a2535f5d075e 3911754 locales_2.18-6_all.deb b7cbfd178ce6b7bc4a341ec3f9ce08a420d56e04 4812596 libc6_2.18-6_amd64.deb f864229588f26eb2648ce30c39e64f9e18837fb3 1997044 libc6-dev_2.18-6_amd64.deb ccda138daec481844362a2e659680a422dc49d09 1468738 libc6-pic_2.18-6_amd64.deb d124eca49031117a60f0e76bd38ae3aa377adc76 1279576 libc-bin_2.18-6_amd64.deb 841c67d3bd4247fca7f2690ad8d5b6c523ab65ed 231756 libc-dev-bin_2.18-6_amd64.deb c4d3488be142893517af214f5d749f69fc53a66f 168032 multiarch-support_2.18-6_amd64.deb 42e7198a6e2806a4f8e7be4a7d67fd668f42196f 1609518 libc6-prof_2.18-6_amd64.deb 256b040c1dc2622d00092d59227ac91f96090f19 3547580 locales-all_2.18-6_amd64.deb 82d639d50435702cbafd6cf8f9cf9feac44e7ad9 2365896 libc6-i386_2.18-6_amd64.deb 3add7b19fde400dd1e9282b151c441cc4f67835c 1309424 libc6-dev-i386_2.18-6_amd64.deb ed16eef52174f60bed2fae2ff9baa51ee14912ce 2594128 libc6-x32_2.18-6_amd64.deb e535b047cad3a0e8c51a333d0eb4589cf808d3f0 1580406 libc6-dev-x32_2.18-6_amd64.deb b1f01047e91b710c9c1c7c251acf166cea9ea1e2 232510 nscd_2.18-6_amd64.deb 976394d7f965f60618c854c3014aadabdcae5a8f 3426398 libc6-dbg_2.18-6_amd64.deb 375dbb335268a44d1a2bfe234ff0a500ee873e0b 1060774 libc6-udeb_2.18-6_amd64.udeb aaa506e0a6a2bc586373acced7ca25e93051a97d 10042 libnss-dns-udeb_2.18-6_amd64.udeb 5d721ed419a7a5a63673739146f2e6ea463107ec 16624 libnss-files-udeb_2.18-6_amd64.udeb Checksums-Sha256: c5255339358f08749317fd5a3e1c6da47075ca9af32b3db549c4691c18b4f59f 7340 eglibc_2.18-6.dsc cf085b8bf7f91d6df97ac6014036d22afe27651bcd3a32ad4ef70c43bfeac83e 1001948 eglibc_2.18-6.debian.tar.xz f30c788888890988b7e145f0774d7e2390816dc63405b11197b4631551718b2d 2224622 glibc-doc_2.18-6_all.deb 344bc8d3e20c250ec70e7f1a76148345ced8095c696ebe4958d5223956bfde76 13253880 eglibc-source_2.18-6_all.deb 2ba8679ce83ee40cf38d8818ec430ee0728cb946d8d81d7e92e357d9c82f688f 3911754 locales_2.18-6_all.deb f89afd8747a85729a000f5236b2cc26abe2379d67f62413b1951dc6bd08eac65 4812596 libc6_2.18-6_amd64.deb ebf59ee1aa1afb3cf12527d81ec9bbc905e250b0a97cb81f53447430dadf9b37 1997044 libc6-dev_2.18-6_amd64.deb 9d824d1956f11ebe75342f099c3fa489417aa7bf75df3af8c4908b5bc09f9d5d 1468738 libc6-pic_2.18-6_amd64.deb 2049e6846c27d590630f550ed9f6d39b133567b4443c074085fb9b363464a1fa 1279576 libc-bin_2.18-6_amd64.deb 325c1a6d26a5e61032da107268d6618491e2cec9afaf25310ed1048045d91616 231756 libc-dev-bin_2.18-6_amd64.deb 300a9394d23e38b72046e9e689ab3c014b551cedb0763dc4232e6c408632e21a 168032 multiarch-support_2.18-6_amd64.deb 7efa464fafad57328cbb16c68220c90ca5cce2aeb6ee9bfe83aece22703cb1b1 1609518 libc6-prof_2.18-6_amd64.deb 973fc866cb3dab138121229dcd1e8ddbe7c0cfd45f5539b39dfce7bab689c4b2 3547580 locales-all_2.18-6_amd64.deb 0f59325b2f2ae40db039e6d75fe7a6832f0c152a2c0c352b015668a9fd300c1a 2365896 libc6-i386_2.18-6_amd64.deb e02f06f84de2f6f614470ad06df634a8a6d8bc758a540e34bd9bed0f87686501 1309424 libc6-dev-i386_2.18-6_amd64.deb e832af82cb19baca006287e753235068f4b6ea7e27f7612422d3d01b5bfcc44f 2594128 libc6-x32_2.18-6_amd64.deb 0de6da3f129ab2595e0b5ec36703f7151196dd977932ff38da05ff8471f80a50 1580406 libc6-dev-x32_2.18-6_amd64.deb 1118ab05e0f014c15c74d825925531ad9f10289f49c4d0a69f2962c852bd6d77 232510 nscd_2.18-6_amd64.deb d226320b8757fa001a7dc75312ad83e27c3dc61ff4ead84b75c295cf0838aa56 3426398 libc6-dbg_2.18-6_amd64.deb 624338c5009a4fce38ac53bf1ef2185f66247e1947e1a826ffc14495aafa8e31 1060774 libc6-udeb_2.18-6_amd64.udeb 4be24d803e4974fbbb542ffb9239c46c3a2d0688432f2b5d8606c78187d6f59e 10042 libnss-dns-udeb_2.18-6_amd64.udeb c45be786a2cfb8ae6829d900e206704f9bf7a630724d554158f80da020559857 16624 libnss-files-udeb_2.18-6_amd64.udeb Files: 1a435dffcaa64d98b86a8a679fd9faab 2224622 doc optional glibc-doc_2.18-6_all.deb 078b743f01994e04845bcc842e89b54f 13253880 devel optional eglibc-source_2.18-6_all.deb 00829613ea62dd87ed9768540b7448e2 3911754 localization standard locales_2.18-6_all.deb b09ddf1494d8681c75afc1f372897854 4812596 libs required libc6_2.18-6_amd64.deb df2b7a4e5a4ff06c339b0aa8a1ae9fa6 1997044 libdevel optional libc6-dev_2.18-6_amd64.deb e5d18a1e130c79f696ea6728d9c08735 1468738 libdevel optional libc6-pic_2.18-6_amd64.deb 6d2ad3bbdc8c9e0d5d4c3730f0675b4d 1279576 libs required libc-bin_2.18-6_amd64.deb b426b8399db8593e0bc730fbf38daae8 231756 libdevel optional libc-dev-bin_2.18-6_amd64.deb c75afbc2c8b730f3b0ac4e09eca0dfce 168032 libs required multiarch-support_2.18-6_amd64.deb 6dc5affd2fbee3565a2dc0a51f43df0e 1609518 libdevel extra libc6-prof_2.18-6_amd64.deb df1bcd4a078eaf73435ba7ae1bb46625 3547580 localization extra locales-all_2.18-6_amd64.deb 2cd65c89216a1a7e841619bedb37f807 2365896 libs optional libc6-i386_2.18-6_amd64.deb 5c9b9f2bef03557645d05b464f2b3297 1309424 libdevel optional libc6-dev-i386_2.18-6_amd64.deb cf5946d0d0ad8bc56e408cf55a86ccd4 2594128 libs optional libc6-x32_2.18-6_amd64.deb f9ece4980d462820976e03d34a724cff 1580406 libdevel optional libc6-dev-x32_2.18-6_amd64.deb ecf9006249657f7df4d425388bb8098d 232510 admin optional nscd_2.18-6_amd64.deb edb34438dc5d21fb68ad4958b6764f17 3426398 debug extra libc6-dbg_2.18-6_amd64.deb 0b55173c6ec9088cbe808c476da38deb 1060774 debian-installer extra libc6-udeb_2.18-6_amd64.udeb 99e70b6f12c5d592ccafb6b143779bee 10042 debian-installer extra libnss-dns-udeb_2.18-6_amd64.udeb 9c9e72de22af69d6eda178a19ff2af86 16624 debian-installer extra libnss-files-udeb_2.18-6_amd64.udeb 32786f8c387590ed3225698a4d5e9fd6 7340 libs required eglibc_2.18-6.dsc 1cb3aff42ae23574ee0d241544bdc6d1 1001948 libs required eglibc_2.18-6.debian.tar.xz Package-Type: udeb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBU3PDzrqceAYd3YybAQiWVxAAta7m5wjSa2QBZIlESv4Q3JPFshLWKE0M pf7n/BQ4Sh/n+DDPsrzFPG56hqkfz5Mndy/3h5hqrFBCmCqKHYGa2Huc1zmbbngZ QsOYJ37ZCaumLVK3gbbKwKjCAwSJmw/YUThOdgqJDkLPMU16IbabcKF5M0xx338t C6mJVl0BbFe1nYa357x+fmTrLiqfxeawp8GV76kFXU2DO3WoaWdtZfY6bVDjE22b BXvjIEy3neznkhm00rlxgkkEHdt24P7J7v1hbEix/38lR98oBBcCT+WhrbWVUlsc kn+XKkTeTsf1oXcPtKlFuqUGBOAzVQC/s47laMr7TQ2Hc1NOIfACvabnuwOv1GrC V1Rk42xjBjYIrvPKlLqgd0Ykbi9Xk6TR5kIN/h+9W289NGKRlmXTP9rqZHH0KBD8 71Y5VwPy1mG2oe0tIU121/uhMfGzIal7N2LYEd5UgOhY7iTqKgmq4gDuqmw1xDmW FO04EcsBGwEaqNVSU6RR6HLU+SXu7TGTW4BduL8c6p2e1rFDc8sokq7JsRRwQIxm ZcbEmczDcC7LNX8kt1IlB/isY6aO0NQHP0mMcsrlGKZJcr9hDXouqCVFUc+TaFAr 4cAt60bJxVxEvr4BBOsaB9PzuJmRbTRve7VAz43Xqyo1ujlapYFxUKG6pL18BL+s BVSftLsWzOY= =yuPx -----END PGP SIGNATURE-----
--- End Message ---

