From unknown Tue Jun 17 01:41:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5999 <5999@debbugs.gnu.org> To: bug#5999 <5999@debbugs.gnu.org> Subject: Status: new snapshot available: coreutils-8.4.100-81926 Reply-To: bug#5999 <5999@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:41:28 +0000 retitle 5999 new snapshot available: coreutils-8.4.100-81926 reassign 5999 coreutils submitter 5999 Jim Meyering severity 5999 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 21 16:33:51 2010 Received: (at submit) by debbugs.gnu.org; 21 Apr 2010 20:33:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4gcJ-0005wn-3z for submit@debbugs.gnu.org; Wed, 21 Apr 2010 16:33:51 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4gcF-0005wi-C1 for submit@debbugs.gnu.org; Wed, 21 Apr 2010 16:33:49 -0400 Received: from lists.gnu.org ([199.232.76.165]:53497) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O4gcB-0007gG-0w for submit@debbugs.gnu.org; Wed, 21 Apr 2010 16:33:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4gcA-0001gZ-Jk for bug-coreutils@gnu.org; Wed, 21 Apr 2010 16:33:42 -0400 Received: from [140.186.70.92] (port=44310 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4gc7-0001gR-39 for bug-coreutils@gnu.org; Wed, 21 Apr 2010 16:33:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4gc3-0001t7-Lq for bug-coreutils@gnu.org; Wed, 21 Apr 2010 16:33:38 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:53616) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4gc2-0001sp-Rr for bug-coreutils@gnu.org; Wed, 21 Apr 2010 16:33:35 -0400 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 218E79400F6 for ; Wed, 21 Apr 2010 22:33:30 +0200 (CEST) Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id 2BD03940151 for ; Wed, 21 Apr 2010 22:33:28 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 06BB2E32A; Wed, 21 Apr 2010 22:33:28 +0200 (CEST) From: Jim Meyering To: bug-coreutils@gnu.org Subject: new snapshot available: coreutils-8.4.100-81926 Date: Wed, 21 Apr 2010 22:33:23 +0200 Message-ID: <87k4s07dgs.fsf@meyering.net> Lines: 199 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit Cc: coordinator@translationproject.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think we're ready for coreutils-8.5. In preparation, here's a snapshot. Please beat it up. coreutils snapshot: (.gz files are here, too) http://meyering.net/cu/coreutils-ss.tar.xz 4.4 MB http://meyering.net/cu/coreutils-ss.tar.xz.sig http://meyering.net/cu/coreutils-8.4.100-81926.tar.xz There are .gz and .sig files here, too: http://people.redhat.com/meyering/cu/coreutils-ss.tar.xz http://people.redhat.com/meyering/cu/coreutils-8.4.100-81926.tar.xz Here's the NEWS =2D--------------------------------------------------------------------- ** Bug fixes cp and mv once again support preserving extended attributes. [bug introduced in coreutils-8.4] cp now preserves "capabilities" when also preserving file ownership. ls --color once again honors the 'NORMAL' dircolors directive. [bug introduced in coreutils-6.11] sort -M now handles abbreviated months that are aligned using blanks in the locale database. Also locales with 8 bit characters are handled correctly, including multi byte locales with the caveat that multi byte characters are matched case sensitively. sort again handles obsolescent key formats (+POS -POS) correctly. Previously if -POS was specified, 1 field too many was used in the sort. [bug introduced in coreutils-7.2] ** New features join now accepts the --header option, to treat the first line of each file as a header line to be joined and printed unconditionally. timeout now accepts the --kill-after option which sends a kill signal to the monitored command if it's still running the specified duration after the initial signal was sent. who: the "+/-" --mesg (-T) indicator of whether a user/tty is accepting messages could be incorrectly listed as "+", when in fact, the user was not accepting messages (mesg no). Before, who would examine only the permission bits, and not consider the group of the TTY device file. Thus, if a login tty's group would change somehow e.g., to "root", that would make it unwritable (via write(1)) by normal users, in spite of whatever the permission bits might imply. Now, when configured using the --with-tty-group[=3DNAME] option, who also compares the group of the TTY device with NAME (or "tty" if no group name is specified). ** Changes in behavior ls --color no longer emits the final 3-byte color-resetting escape sequence when it would be a no-op. join -t '' no longer emits an error and instead operates on each line as a whole (even if they contain NUL characters). =2D--------------------------------------------------------------------- Changes in coreutils since 8.4: Assaf Gordon (1): join: add --header option to always output the first line Bruno Haible (1): build: update after change in gnulib's lib-ignore module Eric Blake (10): build: fix failure from bogus USE_XATTR definition dirname: improve man page description build: ignore another gnulib artifact expr: clarify error message bootstrap: resynchronize from gnulib maint: ignore *.xz files maint: drop *.lzma suport doc: improve ls --help's description of --escape (-b) rm: tweak wording about loss of data warning docs: document transformation of obsolete sort syntax James R. Van Zandt (1): doc: add a cross reference from tac's man page to "rev" James Youngman (1): doc: make wc --help say how it defines a 'word' Jie Liu (1): build: tell ./bootstrap to check for xz up-front Jim Meyering (46): post-release administrivia maint: add missing "post-release push" step to release procedure pr: avoid two over-allocations libstdbuf: plug a very unlikely leak tests: fix a syntax-check rule to pass in non-srcdir build maint: add a syntax-check rule to check for vulnerable Makefile.in maint: move vulnerable-Makefile.in-check to gnulib ls --color: don't emit a final no-op escape sequence sync with gnulib doc: rewrite part of README-release tests: include help-version test settings used by gzip and grep copy.c: improve a comment doc: add a TODO item remove.c: remove three unnecessary #include directives tests: don't let the LANGUAGE envvar perturb tests remove: without -f, avoid unnecessary-expense/issues with euidaccess build: update gnulib submodule to latest revert to previous working version of gnulib build: update gnulib submodule to latest maint: add a space before open-paren, where lacking maint: mark makefile "dist-hook" target as PHONY doc: make README-prereq more generic doc: tweak README-prereq again maint: code formatting nit maint: enforce one small aspect of formatting style: space-before-"(" cfg.mk: fix copy-paste-o in a diagnostic cfg.mk: remove comments with sed rather than cpp -fpreprocessed tests: fix typos in envvar-check script tests: avoid spurious sc_prohibit_test_minus_ao syntax-check failures tests: disable new texinfo-acronym syntax-check from gnulib build: update gnulib submodule to latest doc: synchronize parts of README-release from grep's version build: update gnulib submodule to latest build: update gnulib submodule to latest build: update gnulib submodule to latest maint: fix a masked syntax-check violation tests: add a PATH-sanity-check to help-version doc: adjust a header in announcement email template maint: ftruncate is always available, even without gnulib maint: new syntax-check rule: prohibit empty lines at EOF tests: more syntax-checks tests: avoid spurious failure of root-only ls/capability test doc: document our code formatting policy regarding curly braces doc: tweak HACKING * HACKING (Add tests): Change example name, "newtest" to "new-test". build: update gnulib submodule to latest Joey Degges (1): sort: inform the system about our input access pattern Kamil Dudka (1): who --mesg (-T) can use a more accurate test for TTY writability Kim Hansen (1): timeout: use more standard option parsing Marc Kleine-Budde (1): tail: include sys/vfs.h (if possible) when sys/statfs.h is absent Mike Frysinger (1): dircolors: add rxvt-256color and rxvt-unicode256 Moritz Orbach (1): ls: fix a regression by honoring NORMAL attributes again Ond=C5=99ej Va=C5=A1=C3=ADk (1): tests: cp-a-selinux: skip the test if mounting a loop device fails Paolo Bonzini (1): tests: change help-version to per-program functions P=C3=A1draig Brady (29): maint: ensure test independence from config macro format doc: add nproc to the texinfo overview menu tests: make cp-mv-enotsup-xattr independent of the host file system maint: use $(CONFIG_INCLUDE) rather than the hardcoding lib/config.h maint: fix an inconsequential memory leak in join join: make -t '' operate on the whole line maint: fix a typo in NEWS tests: fix various timeout races doc: remove extraneous periods from --help output doc: fix inconsistent capitalization in --help output tests: fix an unlikely race in tail-2/inotify-hash-abuse2 maint: fix the man page correlation tests maint: clean up the output from syntax-check rules sort: fix issues with month sorting in some locales maint: rename the si_present variable in sort to iec_present doc: Add an example for cutting fields separated by runs of blanks timeout: add the --kill-after option maint: update the mbsalign module maint: mbsalign: fix an edge case where we truncate too much doc: fix info on cp --preserve=3Dall, which does _not_ give xattr war= nings nice,chroot: use more standard option parsing doc: mention that "capabilities" are preserved by cp/mv doc: clarify when cp and mv output xattr warnings cp: treat selinux warnings consistently tests: avoid spurious failure of ls/color-norm test maint: fix build on platforms that replace strsignal cp: preserve "capabilities" when also preserving file ownership sort: fix parsing of end field in obsolescent key formats maint: update a couple of NEWS items for the pending release Ralf Wildenhues (1): revert "maint: mark makefile "dist-hook" target as PHONY" Thien-Thi Nguyen (1): doc: use mktemp, not tempfile, in a shred usage example --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10-svn4867 (GNU/Linux) iQIcBAEBCAAGBQJLz2EXAAoJENd//eG5q5oWY4AP/R4ffm50e+djzBhA7ADShDuS hkLxe9u1egE6JZraCKppBkwOI98Jt1cv72y7mk71HdxF0OvzpeEO6RB9l294OBwg +LjQciYJjv0CSouUGkfGskqI/xGxiY5zDUudTHFWp8W9YHhsy2x5KLxDEavn4e4r EBXXWXG2aQ8zEb7GZef9MX7vUpmAIOKOh1Ur6DCYL3m67INz4o0mRToRS7heBWDp mcfuwCNFDXCX0+1RcXQ2/zsjQ80/yVZjJi/CIThbgXE4xbnMk7fuETbhUHgTivUB fcGFGwlkEINW95dcfjVKhm+7mrecLCidXAQwBs5B+pO9qvPPpFQif7vFl2NgkVBE 9bOO7TjP5LBjVWZiH04DUy9nCk3nUFVqYOJ+TeiESmqhdM5obNlbCnIQFhT4DSz7 sC5jOLB+ckdzCrWFAYphOdE7QjTIKtGLk27rmt8FK3IdbGLggigg4BBsUeBg4kHN QhR+DpeTDD2Qy+Pj/HDeOFOQkk+mmBXkCPL8Sqyx+uOOkhoSY7ztnHbanPOtX4Ou bylrj9zQvPoQCmagmL5Etup0NsYfEeqxycwaslFIZfwFZWNQxHtM5/zy91+7vufM NrS4LMqNM7++9ruhEXAVW5/kXmaAPJ58aUcaHj2qf/c3RsiaVP0w+UwRDlj32uul kPW2pHUuBDDCTLa0Dti1 =edFE -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 22 01:28:57 2010 Received: (at 5999) by debbugs.gnu.org; 22 Apr 2010 05:28:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4oy8-0002o1-GA for submit@debbugs.gnu.org; Thu, 22 Apr 2010 01:28:57 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4oy4-0002nu-ND for 5999@debbugs.gnu.org; Thu, 22 Apr 2010 01:28:55 -0400 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id 832A381806D; Thu, 22 Apr 2010 07:28:44 +0200 (CEST) Received: from pii350 (vir91-2-82-236-101-3.fbx.proxad.net [82.236.101.3]) by smtp3-g21.free.fr (Postfix) with SMTP id 1F8158180C9; Thu, 22 Apr 2010 07:28:41 +0200 (CEST) Message-ID: <2a0f01cae1dc$d067d1c0$f9b5a8c0@pii350> From: "Gilles Espinasse" To: <5999@debbugs.gnu.org>, "Jim Meyering" References: <87k4s07dgs.fsf@meyering.net> Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 Date: Thu, 22 Apr 2010 07:29:43 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1983 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1983 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 5999 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.2 (--) ----- Original Message ----- From: "Jim Meyering" To: <5999@debbugs.gnu.org> Cc: Sent: Wednesday, April 21, 2010 10:33 PM Subject: bug#5999: new snapshot available: coreutils-8.4.100-81926 > I think we're ready for coreutils-8.5. > In preparation, here's a snapshot. Please beat it up. A few warning during tests (x86, gcc-4.4.3) in gnulib-tests, but less than 8.4 with same compiler. Every test PASS or SKIP There is a few SKIP that I am not sure of the real cause ./misc/pwd-unreadable-parent: skipping test: can't use buggy system getcwd SKIP: misc/pwd-unreadable-parent ./df/total-verify: skipping test: df fails SKIP: df/total-verify (FS is ext3) ./du/slink: skipping test: `.' is on an XFS file system SKIP: du/slink ./mv/i-3: skipping test: /dev/stdin is not readable SKIP: mv/i-3 Here is the diff of the tests log between 8.4 and 8.4.100-81926 (I removed some noise entering and exiting directories), first run as root, then as nobody. -make[4]: Entering directory `/usr/src/coreutils-8.4/tests' -make[5]: Entering directory `/usr/src/coreutils-8.4/tests' +make[4]: Entering directory `/usr/src/coreutils-8.4.100-81926/tests' +make[5]: Entering directory `/usr/src/coreutils-8.4.100-81926/tests' PASS: chown/basic ./cp/cp-a-selinux: skipping test: this system (or maybe just the current file system) lacks SELinux support SKIP: cp/cp-a-selinux @@ -13,6 +13,8 @@ PASS: cp/special-bits ./cp/cp-mv-enotsup-xattr: skipping test: failed to get xattr of file SKIP: cp/cp-mv-enotsup-xattr +./cp/capability: skipping test: configured without libcap support +SKIP: cp/capability ./dd/skip-seek-past-dev: skipping test: failed to determine size of - SKIP: dd/skip-seek-past-dev PASS: install/install-C-root @@ -36,36 +38,36 @@ PASS: touch/now-owned-by-other ====================== All 14 tests passed -(7 tests were not run) +(8 tests were not run) ====================== ... @@ -115,7 +117,7 @@ PASS: rm/empty-name PASS: rm/f-1 PASS: rm/fail-eacces -PASS: rm/fail-eperm +SKIP: rm/fail-eperm ./tail-2/assert: skipping test: very expensive: disabled by default SKIP: tail-2/assert PASS: rm/hash @@ -248,6 +250,7 @@ PASS: misc/sort-files0-from PASS: misc/sort-merge PASS: misc/sort-merge-fdlimit +PASS: misc/sort-month PASS: misc/sort-rand PASS: misc/sort-version PASS: misc/split-a @@ -260,8 +263,7 @@ PASS: misc/stdbuf PASS: misc/stty PASS: misc/stty-invalid -./misc/stty-row-col: skipping test: can't increase window size -SKIP: misc/stty-row-col +PASS: misc/stty-row-col ./misc/su-fail: skipping test: required program(s) not built SKIP: misc/su-fail PASS: misc/sum @@ -405,6 +407,7 @@ PASS: ls/abmon-align PASS: ls/color-clear-to-eol PASS: ls/color-dtype-dir +PASS: ls/color-norm PASS: ls/dangle PASS: ls/dired PASS: ls/file-type @@ -530,6 +533,8 @@ SKIP: cp/special-bits ./cp/cp-mv-enotsup-xattr: skipping test: must be run as root SKIP: cp/cp-mv-enotsup-xattr +./cp/capability: skipping test: must be run as root +SKIP: cp/capability ./dd/skip-seek-past-dev: skipping test: must be run as root SKIP: dd/skip-seek-past-dev ./install/install-C-root: skipping test: must be run as root @@ -563,20 +568,22 @@ ./touch/now-owned-by-other: skipping test: must be run as root SKIP: touch/now-owned-by-other ======================= -All 357 tests passed -(59 tests were not run) +All 359 tests passed +(60 tests were not run) ======================= ... Making check in gnulib-tests ... +make[6]: Entering directory `/usr/src/coreutils-8.4.100-81926/gnulib-tests' CC glthread/thread.o + CC ioctl.o CC read-file.o CC unlinkdir.o AR libtests.a @@ -593,16 +600,10 @@ CC test-alloca-opt.o CCLD test-alloca-opt CC test-areadlink.o -test-areadlink.c: In function 'main': -test-areadlink.c:49: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-areadlink CC test-areadlink-with-size.o -test-areadlink-with-size.c: In function 'main': -test-areadlink-with-size.c:42: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-areadlink-with-size CC test-areadlinkat.o -test-areadlinkat.c: In function 'main': -test-areadlinkat.c:53: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-areadlinkat CC test-argmatch.o CCLD test-argmatch @@ -627,18 +628,12 @@ CC test-c-strncasecmp.o CCLD test-c-strncasecmp CC test-canonicalize.o -test-canonicalize.c: In function 'main': -test-canonicalize.c:49: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-canonicalize CC test-chown.o -test-chown.c: In function 'main': -test-chown.c:45: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-chown CC test-cloexec.o CCLD test-cloexec CC test-closein.o -test-closein.c: In function 'main': -test-closein.c:50: warning: ignoring return value of 'fread', declared with attribute warn_unused_result CCLD test-closein CC test-md5.o CCLD test-md5 @@ -735,12 +730,13 @@ CC test-getopt.o CCLD test-getopt CC test-gettimeofday.o -test-gettimeofday.c:23: warning: initialization from incompatible pointer type CCLD test-gettimeofday CC test-hash.o CCLD test-hash CC test-i-ring.o CCLD test-i-ring + CC test-iconv-h.o + CCLD test-iconv-h CC test-iconv.o CCLD test-iconv CC test-inet_ntop.o @@ -760,16 +756,10 @@ CC test-langinfo.o CCLD test-langinfo CC test-lchown.o -test-lchown.c: In function 'main': -test-lchown.c:45: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-lchown CC test-link.o -test-link.c: In function 'main': -test-link.c:43: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-link CC test-linkat.o -test-linkat.c: In function 'main': -test-linkat.c:84: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-linkat CC test-locale.o CCLD test-locale @@ -778,8 +768,6 @@ CC test-lseek.o CCLD test-lseek CC test-lstat.o -test-lstat.c: In function 'main': -test-lstat.c:56: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-lstat CC test-malloca.o CCLD test-malloca @@ -787,6 +775,8 @@ CCLD test-math CC test-mbrtowc.o CCLD test-mbrtowc + CC test-mbsalign.o + CCLD test-mbsalign CC test-mbscasecmp.o CCLD test-mbscasecmp CC test-mbsinit.o @@ -808,8 +798,6 @@ CC test-memrchr.o CCLD test-memrchr CC test-mkdir.o -test-mkdir.c: In function 'main': -test-mkdir.c:43: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-mkdir CC test-nanosleep.o CCLD test-nanosleep @@ -824,22 +812,14 @@ CC test-openat-safer.o CCLD test-openat-safer CC test-fchownat.o -test-fchownat.c: In function 'main': -test-fchownat.c:66: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-fchownat CC test-fstatat.o -test-fstatat.c: In function 'main': -test-fstatat.c:65: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-fstatat CC test-mkdirat.o -test-mkdirat.c: In function 'main': -test-mkdirat.c:54: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-mkdirat CC test-openat.o CCLD test-openat CC test-unlinkat.o -test-unlinkat.c: In function 'main': -test-unlinkat.c:65: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-unlinkat CC test-perror.o CCLD test-perror @@ -856,41 +836,33 @@ CC test-read-file.o CCLD test-read-file CC test-readlink.o -test-readlink.c: In function 'main': -test-readlink.c:44: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-readlink CC test-remove.o -test-remove.c: In function 'main': -test-remove.c:41: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-remove CC test-rename.o -test-rename.c: In function 'main': -test-rename.c:42: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-rename CC test-rmdir.o -test-rmdir.c: In function 'main': -test-rmdir.c:43: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-rmdir CC test-select.o test-select.c: In function 'test_accept_first': -test-select.c:293: warning: ignoring return value of 'write', declared with attribute warn_unused_result -test-select.c:294: warning: ignoring return value of 'read', declared with attribute warn_unused_result -test-select.c:305: warning: ignoring return value of 'write', declared with attribute warn_unused_result -test-select.c:309: warning: ignoring return value of 'read', declared with attribute warn_unused_result -test-select.c:310: warning: ignoring return value of 'write', declared with attribute warn_unused_result +test-select.c:295: warning: ignoring return value of 'write', declared with attribute warn_unused_result +test-select.c:296: warning: ignoring return value of 'read', declared with attribute warn_unused_result +test-select.c:307: warning: ignoring return value of 'write', declared with attribute warn_unused_result +test-select.c:311: warning: ignoring return value of 'read', declared with attribute warn_unused_result +test-select.c:312: warning: ignoring return value of 'write', declared with attribute warn_unused_result test-select.c: In function 'test_pair': -test-select.c:328: warning: ignoring return value of 'write', declared with attribute warn_unused_result -test-select.c:334: warning: ignoring return value of 'read', declared with attribute warn_unused_result +test-select.c:330: warning: ignoring return value of 'write', declared with attribute warn_unused_result +test-select.c:336: warning: ignoring return value of 'read', declared with attribute warn_unused_result test-select.c: In function 'test_socket_pair': -test-select.c:354: warning: ignoring return value of 'write', declared with attribute warn_unused_result +test-select.c:356: warning: ignoring return value of 'write', declared with attribute warn_unused_result test-select.c: In function 'test_pipe': -test-select.c:366: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result +test-select.c:368: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result CCLD test-select CC test-select-fd.o CCLD test-select-fd CC test-select-stdin.o test-select-stdin.c: In function 'main': -test-select-stdin.c:77: warning: ignoring return value of 'read', declared with attribute warn_unused_result +test-select-stdin.c:79: warning: ignoring return value of 'read', declared with attribute warn_unused_result CCLD test-select-stdin CC test-setenv.o CCLD test-setenv @@ -931,12 +903,8 @@ CC test-strtod.o CCLD test-strtod CC test-symlink.o -test-symlink.c: In function 'main': -test-symlink.c:43: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-symlink CC test-symlinkat.o -test-symlinkat.c: In function 'main': -test-symlinkat.c:67: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-symlinkat CC test-sys_ioctl.o CCLD test-sys_ioctl @@ -969,16 +937,14 @@ CC uniwidth/test-uc_width2.o CCLD test-uc_width2 CC test-unlink.o -test-unlink.c: In function 'main': -test-unlink.c:45: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-unlink CC test-unsetenv.o CCLD test-unsetenv + CC test-userspec.o + CCLD test-userspec CC test-usleep.o CCLD test-usleep CC test-utimens.o -test-utimens.c: In function 'main': -test-utimens.c:69: warning: ignoring return value of 'system', declared with attribute warn_unused_result CCLD test-utimens CC test-vasnprintf.o CCLD test-vasnprintf @@ -1018,10 +984,10 @@ CCLD test-xvasprintf CC test-yesno.o CCLD test-yesno -make[6]: Leaving directory `/usr/src/coreutils-8.4/gnulib-tests' +make[6]: Leaving directory `/usr/src/coreutils-8.4.100-81926/gnulib-tests' make check-TESTS -make[6]: Entering directory `/usr/src/coreutils-8.4/gnulib-tests' -make[7]: Entering directory `/usr/src/coreutils-8.4/gnulib-tests' +make[6]: Entering directory `/usr/src/coreutils-8.4.100-81926/gnulib-tests' +make[7]: Entering directory `/usr/src/coreutils-8.4.100-81926/gnulib-tests' SKIP: test-file-has-acl.sh PASS: test-set-mode-acl.sh SKIP: test-copy-acl.sh @@ -1038,7 +1004,7 @@ PASS: test-binary-io.sh PASS: test-bitrotate SKIP: test-btowc1.sh -SKIP: test-btowc2.sh +PASS: test-btowc2.sh PASS: test-c-ctype PASS: test-c-strcase.sh PASS: test-canonicalize @@ -1090,7 +1056,7 @@ PASS: test-fsync PASS: test-ftello.sh PASS: test-ftello2.sh -PASS: test-getaddrinfo +SKIP: test-getaddrinfo PASS: test-getcwd PASS: test-getdate PASS: test-getdelim @@ -1103,6 +1069,7 @@ PASS: test-gettimeofday PASS: test-hash PASS: test-i-ring +PASS: test-iconv-h PASS: test-iconv PASS: test-inet_ntop PASS: test-inet_pton @@ -1122,17 +1089,18 @@ PASS: test-malloca PASS: test-math SKIP: test-mbrtowc1.sh -SKIP: test-mbrtowc2.sh +PASS: test-mbrtowc2.sh SKIP: test-mbrtowc3.sh SKIP: test-mbrtowc4.sh -SKIP: test-mbscasecmp.sh -SKIP: test-mbsinit.sh +PASS: test-mbsalign +PASS: test-mbscasecmp.sh +PASS: test-mbsinit.sh SKIP: test-mbsrtowcs1.sh -SKIP: test-mbsrtowcs2.sh +PASS: test-mbsrtowcs2.sh SKIP: test-mbsrtowcs3.sh SKIP: test-mbsrtowcs4.sh PASS: test-mbsstr1 -SKIP: test-mbsstr2.sh +PASS: test-mbsstr2.sh SKIP: test-mbsstr3.sh PASS: test-memchr PASS: test-memchr2 @@ -1203,6 +1171,7 @@ PASS: test-unlink PASS: test-unsetenv PASS: test-update-copyright.sh +PASS: test-userspec PASS: test-usleep PASS: test-utimens PASS: test-vasnprintf @@ -1225,16 +1194,16 @@ PASS: test-xvasprintf PASS: test-yesno.sh ======================= -All 184 tests passed -(18 tests were not run) +All 192 tests passed +(13 tests were not run) ======================= From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 22 05:14:13 2010 Received: (at 5999-done) by debbugs.gnu.org; 22 Apr 2010 09:14:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4sU9-0004uC-K2 for submit@debbugs.gnu.org; Thu, 22 Apr 2010 05:14:13 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4sU6-0004u5-NJ for 5999-done@debbugs.gnu.org; Thu, 22 Apr 2010 05:14:12 -0400 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 67C23940122 for <5999-done@debbugs.gnu.org>; Thu, 22 Apr 2010 11:14:03 +0200 (CEST) Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id 86877940005 for <5999-done@debbugs.gnu.org>; Thu, 22 Apr 2010 11:14:01 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 39994DCC4; Thu, 22 Apr 2010 11:14:01 +0200 (CEST) From: Jim Meyering To: "Gilles Espinasse" Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 In-Reply-To: <2a0f01cae1dc$d067d1c0$f9b5a8c0@pii350> (Gilles Espinasse's message of "Thu, 22 Apr 2010 07:29:43 +0200") References: <87k4s07dgs.fsf@meyering.net> <2a0f01cae1dc$d067d1c0$f9b5a8c0@pii350> Date: Thu, 22 Apr 2010 11:14:01 +0200 Message-ID: <877hnz7sti.fsf@meyering.net> Lines: 54 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 5999-done Cc: 5999-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) Gilles Espinasse wrote: > ----- Original Message ----- > From: "Jim Meyering" > Subject: bug#5999: new snapshot available: coreutils-8.4.100-81926 > >> I think we're ready for coreutils-8.5. >> In preparation, here's a snapshot. Please beat it up. > > A few warning during tests (x86, gcc-4.4.3) in gnulib-tests, but less than > 8.4 with same compiler. > Every test PASS or SKIP Thanks for the quick and detailed feedback. > There is a few SKIP that I am not sure of the real cause > ./misc/pwd-unreadable-parent: skipping test: can't use buggy system getcwd > SKIP: misc/pwd-unreadable-parent This test works only when the system getcwd works in spite of an unreadable parent. Yours is replaced, so the test must be skipped. > ./df/total-verify: skipping test: df fails > SKIP: df/total-verify That test runs df and skips if it exits nonzero on your system. Look in tests/df/total-verify.log for details. > (FS is ext3) > ./du/slink: skipping test: `.' is on an XFS file system > SKIP: du/slink This test would generate spurious failures when using an XFS file system. Here's the code: if df --type=xfs . >/dev/null 2>&1; then # At least on Irix-6.5.19, when using an xfs file system, # each created symlink (name lengths up to 255) would have a size of `0'. skip_test_ "\`.' is on an XFS file system" fi > ./mv/i-3: skipping test: /dev/stdin is not readable > SKIP: mv/i-3 Normally, the special file, /dev/stdin is readable. Without that, we must skip this test. > Here is the diff of the tests log between 8.4 and 8.4.100-81926 (I removed > some noise entering and exiting directories), first run as root, then as > nobody. > > -make[4]: Entering directory `/usr/src/coreutils-8.4/tests' Thanks again! From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 22 07:36:13 2010 Received: (at 5999) by debbugs.gnu.org; 22 Apr 2010 11:36:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4uhZ-0006MZ-CO for submit@debbugs.gnu.org; Thu, 22 Apr 2010 07:36:13 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O4uhY-0006MU-0Z for 5999@debbugs.gnu.org; Thu, 22 Apr 2010 07:36:12 -0400 Received: (qmail 72826 invoked from network); 22 Apr 2010 11:36:05 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 22 Apr 2010 11:36:05 -0000 Message-ID: <4BD034A1.4060002@draigBrady.com> Date: Thu, 22 Apr 2010 12:36:01 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: 5999@debbugs.gnu.org Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 References: <87k4s07dgs.fsf@meyering.net> In-Reply-To: <87k4s07dgs.fsf@meyering.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 5999 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On 21/04/10 21:33, Jim Meyering wrote: > I think we're ready for coreutils-8.5. > In preparation, here's a snapshot. Please beat it up. Platform Passed Failed Skipped -------------------------------------------- Fedora 11 x86 372 0 47 gnulib 204 0 1 Fedora 5 x86 370 0 49 gnulib 203 0 2 Solaris 10 x86 348 0 71 Ubuntu 7.10 x86 369 1 49 FAIL: misc/env (exit: 1) ============================ ++ env sh -c '\c=d echo fail' + test xfail = xpass + fail=1 Mac OS X 10.6.3 343 0 76 gnulib 201 2 2 FAIL: test-posixtm (exit: 1) ============================ 000001010000.00 mismatch (-: actual; +:expected) --62167132800 +-62167219200 FAIL: test-utimens (exit: 134) ============================== test-utimens.h:91: assertion failed Might get to investigate this evening. cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 23 02:53:42 2010 Received: (at 5999-done) by debbugs.gnu.org; 23 Apr 2010 06:53:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5Cli-0006qi-5y for submit@debbugs.gnu.org; Fri, 23 Apr 2010 02:53:42 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5Clf-0006qb-MQ for 5999-done@debbugs.gnu.org; Fri, 23 Apr 2010 02:53:41 -0400 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id CCA0181809D; Fri, 23 Apr 2010 08:53:32 +0200 (CEST) Received: from pii350 (vir91-2-82-236-101-3.fbx.proxad.net [82.236.101.3]) by smtp3-g21.free.fr (Postfix) with SMTP id D1AD581811C; Fri, 23 Apr 2010 08:53:29 +0200 (CEST) Message-ID: <2b5601cae2b1$d14cf1d0$f9b5a8c0@pii350> From: "Gilles Espinasse" To: "Jim Meyering" References: <87k4s07dgs.fsf@meyering.net><2a0f01cae1dc$d067d1c0$f9b5a8c0@pii350> <877hnz7sti.fsf@meyering.net> Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 Date: Fri, 23 Apr 2010 08:54:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1983 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1983 X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: 5999-done Cc: 5999-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) ----- Original Message ----- From: "Jim Meyering" To: "Gilles Espinasse" Cc: <5999-done@debbugs.gnu.org> Sent: Thursday, April 22, 2010 11:14 AM Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 > Gilles Espinasse wrote: > > ----- Original Message ----- > > From: "Jim Meyering" > > Subject: bug#5999: new snapshot available: coreutils-8.4.100-81926 > > > >> I think we're ready for coreutils-8.5. > >> In preparation, here's a snapshot. Please beat it up. > > > > A few warning during tests (x86, gcc-4.4.3) in gnulib-tests, but less than > > 8.4 with same compiler. > > Every test PASS or SKIP > > Thanks for the quick and detailed feedback. > I forgot to report the spurious configure test util-linux-ng [ 2.17.2 ] [ 0 ] [ DONE ] e2fsprogs [ 1.41.11 ] [ 0 ] [ DONE ] coreutils [ 8.4..81926 ]*** %n in writable segment detected *** To hide that, we use gl_cv_func_printf_directive_n=no ./configure We use gl_cv_func_printf_directive_n=no in gzip and m4 too where the same problem happen. > > There is a few SKIP that I am not sure of the real cause > > ./misc/pwd-unreadable-parent: skipping test: can't use buggy system getcwd ... > > > (FS is ext3) > > ./du/slink: skipping test: `.' is on an XFS file system > > SKIP: du/slink > > This test would generate spurious failures when using an XFS file > system. Here's the code: > > if df --type=xfs . >/dev/null 2>&1; then > # At least on Irix-6.5.19, when using an xfs file system, > # each created symlink (name lengths up to 255) would have a size of `0'. > skip_test_ "\`.' is on an XFS file system" > fi Should not "\`.' is not an XFS file system" be reported? > > > ./mv/i-3: skipping test: /dev/stdin is not readable > > SKIP: mv/i-3 > > Normally, the special file, /dev/stdin is readable. > Without that, we must skip this test. > I suspect it is skipped for a bad reason [chroot-i486] root:/$ ls -l /dev/stdin lrwxrwxrwx 1 root root 4 Apr 22 17:51 /dev/stdin -> fd/0 [chroot-i486] root:/$ test -r /dev/stdin || echo not readable I will try to look at that. Gilles From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 23 03:15:46 2010 Received: (at 5999-done) by debbugs.gnu.org; 23 Apr 2010 07:15:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5D74-0006zK-Di for submit@debbugs.gnu.org; Fri, 23 Apr 2010 03:15:46 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5D71-0006zF-9a for 5999-done@debbugs.gnu.org; Fri, 23 Apr 2010 03:15:44 -0400 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 87923940171 for <5999-done@debbugs.gnu.org>; Fri, 23 Apr 2010 09:15:35 +0200 (CEST) Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id 6FF93940172 for <5999-done@debbugs.gnu.org>; Fri, 23 Apr 2010 09:15:33 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 45FD7E1DC; Fri, 23 Apr 2010 09:15:33 +0200 (CEST) From: Jim Meyering To: "Gilles Espinasse" Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 In-Reply-To: <2b5601cae2b1$d14cf1d0$f9b5a8c0@pii350> (Gilles Espinasse's message of "Fri, 23 Apr 2010 08:54:27 +0200") References: <87k4s07dgs.fsf@meyering.net> <2a0f01cae1dc$d067d1c0$f9b5a8c0@pii350> <877hnz7sti.fsf@meyering.net> <2b5601cae2b1$d14cf1d0$f9b5a8c0@pii350> Date: Fri, 23 Apr 2010 09:15:33 +0200 Message-ID: <87vdbi4p2i.fsf@meyering.net> Lines: 69 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 5999-done Cc: 5999-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) Gilles Espinasse wrote: ... > I forgot to report the spurious configure test > util-linux-ng > [ 2.17.2 ] [ 0 ] [ DONE ] > e2fsprogs > [ 1.41.11 ] [ 0 ] [ DONE ] > coreutils > [ 8.4..81926 ]*** %n in writable segment detected *** I'm pretty sure that output comes from the C library writing to /dev/tty during a "run test". > To hide that, we use > gl_cv_func_printf_directive_n=no ./configure > > We use gl_cv_func_printf_directive_n=no in gzip and m4 too where the same > problem happen. Priming the cache with a value saying "the %n directive is mishandled" does indeed skip the test and avoid the warning-to-tty, but it may make the resulting tools unnecessarily avoid using your C library's functions. Why did you choose "no" rather than "yes"? At least on glibc-based systems, %n does work the way it's supposed to. >> > There is a few SKIP that I am not sure of the real cause >> > ./misc/pwd-unreadable-parent: skipping test: can't use buggy system > getcwd > ... >> >> > (FS is ext3) >> > ./du/slink: skipping test: `.' is on an XFS file system >> > SKIP: du/slink >> >> This test would generate spurious failures when using an XFS file >> system. Here's the code: >> >> if df --type=xfs . >/dev/null 2>&1; then >> # At least on Irix-6.5.19, when using an xfs file system, >> # each created symlink (name lengths up to 255) would have a size of > `0'. >> skip_test_ "\`.' is on an XFS file system" >> fi > > Should not "\`.' is not an XFS file system" be reported? The above runs "df --type=xfs .". If that fails (as it should on an ext3 FS), the "if"-block should not be run. Here's what I get: $ df --type=xfs . df: no file systems processed [Exit 1] >> > ./mv/i-3: skipping test: /dev/stdin is not readable >> > SKIP: mv/i-3 >> >> Normally, the special file, /dev/stdin is readable. >> Without that, we must skip this test. >> > I suspect it is skipped for a bad reason > [chroot-i486] root:/$ ls -l /dev/stdin > lrwxrwxrwx 1 root root 4 Apr 22 17:51 /dev/stdin -> fd/0 > [chroot-i486] root:/$ test -r /dev/stdin || echo not readable > > I will try to look at that. What does ls -L /dev/stdin print? Or ls -l /dev/fd/0 ? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 24 02:58:44 2010 Received: (at 5999-done) by debbugs.gnu.org; 24 Apr 2010 06:58:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5ZK8-0003cr-Ie for submit@debbugs.gnu.org; Sat, 24 Apr 2010 02:58:44 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5ZK5-0003cl-Bi for 5999-done@debbugs.gnu.org; Sat, 24 Apr 2010 02:58:42 -0400 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id A1BC78180BA; Sat, 24 Apr 2010 08:58:34 +0200 (CEST) Received: from pii350 (vir91-2-82-236-101-3.fbx.proxad.net [82.236.101.3]) by smtp3-g21.free.fr (Postfix) with SMTP id AE7AD818111; Sat, 24 Apr 2010 08:58:31 +0200 (CEST) Message-ID: <2c5401cae37b$aec32e70$f9b5a8c0@pii350> From: "Gilles Espinasse" To: "Jim Meyering" References: <87k4s07dgs.fsf@meyering.net><2a0f01cae1dc$d067d1c0$f9b5a8c0@pii350> <877hnz7sti.fsf@meyering.net><2b5601cae2b1$d14cf1d0$f9b5a8c0@pii350> <87vdbi4p2i.fsf@meyering.net> Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 Date: Sat, 24 Apr 2010 08:59:28 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1983 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1983 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 5999-done Cc: 5999-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) ----- Original Message ----- From: "Jim Meyering" To: "Gilles Espinasse" Cc: <5999-done@debbugs.gnu.org> Sent: Friday, April 23, 2010 9:15 AM Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 > Gilles Espinasse wrote: > ... > > I forgot to report the spurious configure test > > util-linux-ng [ 2.17.2 ] [ 0 ] [ DONE ] > > e2fsprogs [ 1.41.11 ] [ 0 ] [ DONE ] > > coreutils [ 8.4..81926 ]*** %n in writable segment detected *** > > I'm pretty sure that output comes from the C library writing to /dev/tty > during a "run test". > > > To hide that, we use > > gl_cv_func_printf_directive_n=no ./configure > > > > We use gl_cv_func_printf_directive_n=no in gzip and m4 too where the same > > problem happen. > > Priming the cache with a value saying "the %n directive is mishandled" > does indeed skip the test and avoid the warning-to-tty, but it may make > the resulting tools unnecessarily avoid using your C library's functions. > Why did you choose "no" rather than "yes"? At least on glibc-based > systems, %n does work the way it's supposed to. > Thank for the suggestion. That's not me wich do that change. I suppose it was set to the value resulting of the test. I checked to have gl_cv_func_printf_directive_n=no in config.log when using only ./configure As the comment in the test program say | int main () | { | int count = -1; | /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) | support %n in format strings in read-only memory but not in writable | memory. */ | strcpy (fmtstring, "%d %n"); | if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 | || strcmp (buf, "123 ") != 0 | || count != 4) | return 1; | return 0; | } configure:19018: result: no We compile now glibc with _FORTIFY_SOURCE=2 and that's the reason of the failure in the test and why we have the spurious message. If the test is right, to my understanding, we should not set gl_cv_func_printf_directive_n=yes I will change to LIBC_FATAL_STDERR_=1 ./configure so the spurious message is redirected to stderr. Probably the advice to set LIBC_FATAL_STDERR_=1 to avoid the spurious character of the message should be added to the test program. http://sourceware.org/bugzilla/show_bug.cgi?id=9854 Gilles From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 03:05:33 2010 Received: (at 5999-done) by debbugs.gnu.org; 26 Apr 2010 07:05:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6INo-0004Fc-QL for submit@debbugs.gnu.org; Mon, 26 Apr 2010 03:05:33 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6INm-0004FW-4Z for 5999-done@debbugs.gnu.org; Mon, 26 Apr 2010 03:05:31 -0400 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id CAF549400BA; Mon, 26 Apr 2010 09:05:23 +0200 (CEST) Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id D6AC9940143; Mon, 26 Apr 2010 09:05:20 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id BAC35E90F; Mon, 26 Apr 2010 09:05:20 +0200 (CEST) From: Jim Meyering To: "Gilles Espinasse" Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 In-Reply-To: <2c5401cae37b$aec32e70$f9b5a8c0@pii350> (Gilles Espinasse's message of "Sat, 24 Apr 2010 08:59:28 +0200") References: <87k4s07dgs.fsf@meyering.net> <2a0f01cae1dc$d067d1c0$f9b5a8c0@pii350> <877hnz7sti.fsf@meyering.net> <2b5601cae2b1$d14cf1d0$f9b5a8c0@pii350> <87vdbi4p2i.fsf@meyering.net> <2c5401cae37b$aec32e70$f9b5a8c0@pii350> Date: Mon, 26 Apr 2010 09:05:20 +0200 Message-ID: <87wrvu7ky7.fsf@meyering.net> Lines: 111 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 5999-done Cc: Bruno Haible , 5999-done@debbugs.gnu.org, bug-gnulib@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) Gilles Espinasse wrote: ... >> Priming the cache with a value saying "the %n directive is mishandled" >> does indeed skip the test and avoid the warning-to-tty, but it may make >> the resulting tools unnecessarily avoid using your C library's functions. >> Why did you choose "no" rather than "yes"? At least on glibc-based >> systems, %n does work the way it's supposed to. >> > Thank for the suggestion. > That's not me wich do that change. > I suppose it was set to the value resulting of the test. > I checked to have gl_cv_func_printf_directive_n=no in config.log when using > only ./configure > > As the comment in the test program say > | int main () > | { > | int count = -1; > | /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2) > | support %n in format strings in read-only memory but not in writable > | memory. */ > | strcpy (fmtstring, "%d %n"); > | if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0 > | || strcmp (buf, "123 ") != 0 > | || count != 4) > | return 1; > | return 0; > | } > configure:19018: result: no > > We compile now glibc with _FORTIFY_SOURCE=2 and that's the reason of the > failure in the test and why we have the spurious message. > If the test is right, to my understanding, we should not set > gl_cv_func_printf_directive_n=yes > > I will change to LIBC_FATAL_STDERR_=1 ./configure so the spurious message is > redirected to stderr. Probably the advice to set LIBC_FATAL_STDERR_=1 to > avoid the spurious character of the message should be added to the test > program. > > http://sourceware.org/bugzilla/show_bug.cgi?id=9854 Thanks, but you should not have to do that. Here's a patch to make that diagnostic go where it belongs for all gnulib-using projects: Bruno, I could have factored out the 4-line snippet into its own macro instead of writing it twice, but it didn't seem worthwhile... Ok to commit? >From e793f628df456cece652c3e3b296a113ced676a9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 26 Apr 2010 08:38:15 +0200 Subject: [PATCH] printf: redirect configure time diag, "%n in writable segment detected" * m4/printf.m4 (gl_PRINTF_DIRECTIVE_N): Arrange for glibc's "%n in writable segment detected" diagnostic to be written to stderr, where we can redirect it. (gl_SNPRINTF_DIRECTIVE_N): Likewise. Prompted by an exchange with Gilles Espinasse. --- ChangeLog | 9 +++++++++ m4/printf.m4 | 8 ++++++++ 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9208e2f..f39450d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-04-26 Jim Meyering + + printf: redirect configure time diag, "%n in writable segment detected" + * m4/printf.m4 (gl_PRINTF_DIRECTIVE_N): Arrange for glibc's "%n in + writable segment detected" diagnostic to be written to stderr, where + we can redirect it. + (gl_SNPRINTF_DIRECTIVE_N): Likewise. + Prompted by an exchange with Gilles Espinasse. + 2010-04-25 Bruno Haible ptsname: Fix misuse of ttyname_r. diff --git a/m4/printf.m4 b/m4/printf.m4 index ebca536..12649b5 100644 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -594,6 +594,10 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_N], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + # Tell glibc to write its "%n in writable segment detected" diagnostic + # to stderr, not to the tty, so that we can redirect it. + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ AC_CACHE_CHECK([whether printf supports the 'n' directive], [gl_cv_func_printf_directive_n], [ @@ -1162,6 +1166,10 @@ AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], [ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + # Tell glibc to write its "%n in writable segment detected" diagnostic + # to stderr, not to the tty, so that we can redirect it. + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive], [gl_cv_func_snprintf_directive_n], [ -- 1.7.1.rc2.340.g38e7f From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 07:10:38 2010 Received: (at 5999-done) by debbugs.gnu.org; 26 Apr 2010 11:10:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6MCy-0006DE-Kb for submit@debbugs.gnu.org; Mon, 26 Apr 2010 07:10:36 -0400 Received: from mail-ew0-f209.google.com ([209.85.219.209]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6Je9-0004sm-4M for 5999-done@debbugs.gnu.org; Mon, 26 Apr 2010 04:26:29 -0400 Received: by ewy1 with SMTP id 1so3803740ewy.15 for <5999-done@debbugs.gnu.org>; Mon, 26 Apr 2010 01:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=XemGgUcUjWljEE4Nv7C85k/dfMQj644B2t60WK7RGBk=; b=oAjH4s5ZxihesUD0Y/J8Sc8HlUaGEsttOMLtTSQG/MG0equegB/s3kZgn+4un1s3qY alxPkCRkxDuty7JTo03J5AFuGmFD8it4+0cLlorRZEfYVaUKcZIPlkrq8vRm169jJrhP TXnlKyINPOfnMMt0GqUsAkidwD0A3A/bJSu/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=QyCaCOUDpD8K1S7B5JObLTKVlqttWhE6dQjak4+DIJtn45cYbtwZy2+RFe9JbmwSmb KXINy3Uvc7Y1VMteQHtST9lVRDq1R0Drgn55Elak/mIOH2NQ16mfaxTfEq5dMWHWu/KU gCRlcP/bb0nVsBoxyqVCqEURFYXVOVG1S91pY= Received: by 10.213.98.202 with SMTP id r10mr1540248ebn.54.1272270385538; Mon, 26 Apr 2010 01:26:25 -0700 (PDT) Received: from yakj.usersys.redhat.com (nat-pool-brq-t.redhat.com [209.132.186.34]) by mx.google.com with ESMTPS id 15sm1935066ewy.8.2010.04.26.01.26.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Apr 2010 01:26:24 -0700 (PDT) Message-ID: <4BD54E2F.5090900@gnu.org> Date: Mon, 26 Apr 2010 10:26:23 +0200 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 References: <87k4s07dgs.fsf@meyering.net> <2a0f01cae1dc$d067d1c0$f9b5a8c0@pii350> <877hnz7sti.fsf@meyering.net> <2b5601cae2b1$d14cf1d0$f9b5a8c0@pii350> <87vdbi4p2i.fsf@meyering.net> <2c5401cae37b$aec32e70$f9b5a8c0@pii350> <87wrvu7ky7.fsf@meyering.net> In-Reply-To: <87wrvu7ky7.fsf@meyering.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5999-done X-Mailman-Approved-At: Mon, 26 Apr 2010 07:10:33 -0400 Cc: Bruno Haible , 5999-done@debbugs.gnu.org, bug-gnulib@gnu.org, Gilles Espinasse X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > Thanks, but you should not have to do that. > Here's a patch to make that diagnostic go where it belongs > for all gnulib-using projects: I wonder if we shouldn't do that for all _autoconf_-using projects! Paolo From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 19:30:37 2010 Received: (at 5999-done) by debbugs.gnu.org; 26 Apr 2010 23:30:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6Xl7-0004sQ-CK for submit@debbugs.gnu.org; Mon, 26 Apr 2010 19:30:37 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.162]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6XiZ-0004qa-E8 for 5999-done@debbugs.gnu.org; Mon, 26 Apr 2010 19:28:00 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1272324474; l=1412; s=domk; d=haible.de; h=Content-Transfer-Encoding:Content-Type:MIME-Version:In-Reply-To: References:Cc:Date:Subject:To:From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=W0PnSKZh2a0mU05OiKNltSA9/2I=; b=yGMyxge/PaXfTO2vlk5/TSMUJa9XyEd31NAGanlJLBZVGPQZjQhQZn9BT1Wwh7M6p84 bZkN76NPgtkSCoqmsHi+QrQOvoUqSKYggbFKmikaIkXOEASgBD2/emExvvrhqxCpzz3Hg R32w4O1WTryskCLf7os2PUBP97RAQ9isDew= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9xTKL3R4OlBCAU6/lWb5 X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-094-219-120-104.pools.arcor-ip.net [94.219.120.104]) by post.strato.de (mrclete mo15) (RZmta 23.0) with ESMTP id U00945m3QLnf53 ; Tue, 27 Apr 2010 01:27:53 +0200 (MEST) From: Bruno Haible To: Paolo Bonzini Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 Date: Tue, 27 Apr 2010 01:27:37 +0200 User-Agent: KMail/1.9.9 References: <87k4s07dgs.fsf@meyering.net> <87wrvu7ky7.fsf@meyering.net> <4BD54E2F.5090900@gnu.org> In-Reply-To: <4BD54E2F.5090900@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201004270127.39304.bruno@clisp.org> X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 5999-done X-Mailman-Approved-At: Mon, 26 Apr 2010 19:30:37 -0400 Cc: bug-gnulib@gnu.org, 5999-done@debbugs.gnu.org, Gilles Espinasse , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.4 (-) Paolo Bonzini wrote: > > Here's a patch to make that diagnostic go where it belongs > > for all gnulib-using projects: > > I wonder if we shouldn't do that for all _autoconf_-using projects! Or, at least, for all tests in all gnulib-using projects. There are more possible causes of a FORTIFY message, according to How about this proposed patch? 2010-04-26 Jim Meyering Bruno Haible * m4/gnulib-common.m4 (gl_COMMON_BODY): Set LIBC_FATAL_STDERR_. --- m4/gnulib-common.m4.orig Tue Apr 27 01:25:33 2010 +++ m4/gnulib-common.m4 Tue Apr 27 00:01:03 2010 @@ -1,4 +1,4 @@ -# gnulib-common.m4 serial 19 +# gnulib-common.m4 serial 20 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -35,6 +35,12 @@ is a misnomer outside of parameter lists. */ #define _UNUSED_PARAMETER_ _GL_UNUSED ]) + dnl Preparation for running test programs: + dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not + dnl to /dev/tty, so that can be redirected to log files. Such diagnostics + dnl occur e.g. in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ ]) # gl_MODULE_INDICATOR_CONDITION From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 19:31:28 2010 Received: (at 5999-done) by debbugs.gnu.org; 26 Apr 2010 23:31:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6Xlv-0004t2-NN for submit@debbugs.gnu.org; Mon, 26 Apr 2010 19:31:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6Xlt-0004sw-U0 for 5999-done@debbugs.gnu.org; Mon, 26 Apr 2010 19:31:27 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3QNVJlf022951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Apr 2010 19:31:19 -0400 Received: from [10.3.253.11] (vpn-253-11.phx2.redhat.com [10.3.253.11]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3QNVIQW009389; Mon, 26 Apr 2010 19:31:18 -0400 Message-ID: <4BD62246.50402@redhat.com> Date: Mon, 26 Apr 2010 17:31:18 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 References: <87k4s07dgs.fsf@meyering.net> <87wrvu7ky7.fsf@meyering.net> <4BD54E2F.5090900@gnu.org> <201004270127.39304.bruno@clisp.org> In-Reply-To: <201004270127.39304.bruno@clisp.org> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig1DB3D3B83B2575F08B848C72" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Spam-Score: -10.2 (----------) X-Debbugs-Envelope-To: 5999-done Cc: Gilles Espinasse , Paolo Bonzini , bug-gnulib@gnu.org, 5999-done@debbugs.gnu.org, Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1DB3D3B83B2575F08B848C72 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/26/2010 05:27 PM, Bruno Haible wrote: >> I wonder if we shouldn't do that for all _autoconf_-using projects! >=20 > Or, at least, for all tests in all gnulib-using projects. There are > more possible causes of a FORTIFY message, according to > >=20 > How about this proposed patch? I like it. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig1DB3D3B83B2575F08B848C72 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJL1iJGAAoJEKeha0olJ0NqJ0AIAKm53qiX488d9trfofWKpgcx qIy3zQn8DQKxmmFyh6Oy1AO4t5s5TadQ9OO84IRb94KxnBTG8DyttzYNsRdDT9PS ckW1p4SwS5HnUgP/xMEpRFp+wZvf3joqUwBV0JOxpt1wCebdbpF3KdEPsX+QuD/O sFG6RUJnORq4UaDD07uw6skd+TzYrT0gUvphlYHmLsqZqGIKHEVFmIlOY9ghDy7F Psb9dQAYeHaxD4PM10kznFUgaBQcakOP53IvnlZAIsU6MZMnOwTefBxkfQGEA1I4 gTJGlTUqzKU75SW5DPdBpGcKZY1UopJzOaW8jAHLW18Fk99FGTNgJzvA9+JV0Es= =0w35 -----END PGP SIGNATURE----- --------------enig1DB3D3B83B2575F08B848C72-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 01:44:05 2010 Received: (at 5999-done) by debbugs.gnu.org; 27 Apr 2010 05:44:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6daX-0007VS-22 for submit@debbugs.gnu.org; Tue, 27 Apr 2010 01:44:05 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6daU-0007V4-SK for 5999-done@debbugs.gnu.org; Tue, 27 Apr 2010 01:44:04 -0400 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id 9330A81805F; Tue, 27 Apr 2010 07:43:53 +0200 (CEST) Received: from pii350 (vir91-2-82-236-101-3.fbx.proxad.net [82.236.101.3]) by smtp3-g21.free.fr (Postfix) with SMTP id 5009A818044; Tue, 27 Apr 2010 07:43:51 +0200 (CEST) Message-ID: <051a01cae5cc$bd436480$f9b5a8c0@pii350> From: "Gilles Espinasse" To: "Bruno Haible" , "Paolo Bonzini" References: <87k4s07dgs.fsf@meyering.net> <87wrvu7ky7.fsf@meyering.net> <4BD54E2F.5090900@gnu.org> <201004270127.39304.bruno@clisp.org> Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 Date: Tue, 27 Apr 2010 07:44:43 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0517_01CAE5DD.8062C450" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1983 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1983 X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 5999-done Cc: 5999-done@debbugs.gnu.org, bug-gnulib@gnu.org, Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.4 (-) This is a multi-part message in MIME format. ------=_NextPart_000_0517_01CAE5DD.8062C450 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit ----- Original Message ----- From: "Bruno Haible" To: "Paolo Bonzini" Cc: "Jim Meyering" ; "Gilles Espinasse" ; <5999-done@debbugs.gnu.org>; Sent: Tuesday, April 27, 2010 1:27 AM Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 > Paolo Bonzini wrote: > > > Here's a patch to make that diagnostic go where it belongs > > > for all gnulib-using projects: > > > > I wonder if we shouldn't do that for all _autoconf_-using projects! > > Or, at least, for all tests in all gnulib-using projects. There are > more possible causes of a FORTIFY message, according to > > > How about this proposed patch? > > > 2010-04-26 Jim Meyering > Bruno Haible > > * m4/gnulib-common.m4 (gl_COMMON_BODY): Set LIBC_FATAL_STDERR_. > > --- m4/gnulib-common.m4.orig Tue Apr 27 01:25:33 2010 > +++ m4/gnulib-common.m4 Tue Apr 27 00:01:03 2010 > @@ -1,4 +1,4 @@ > -# gnulib-common.m4 serial 19 > +# gnulib-common.m4 serial 20 > dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. > dnl This file is free software; the Free Software Foundation > dnl gives unlimited permission to copy and/or distribute it, > @@ -35,6 +35,12 @@ > is a misnomer outside of parameter lists. */ > #define _UNUSED_PARAMETER_ _GL_UNUSED > ]) > + dnl Preparation for running test programs: > + dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not > + dnl to /dev/tty, so that can be redirected to log files. Such diagnostics > + dnl occur e.g. in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. > + LIBC_FATAL_STDERR_=1 > + export LIBC_FATAL_STDERR_ > ]) > > # gl_MODULE_INDICATOR_CONDITION I understand there is a problem but I am unsure of the direction to go. I made this stupid patch (attached) that include the same test than gl_cv_func_printf_directive_n in coreutils sleep usage [chroot-i486] root:/usr/src/coreutils-8.5$ gl_cv_func_printf_directive_n=no ./configure --prefix=/usr [chroot-i486] root:/usr/src/coreutils-8.5$ make [chroot-i486] root:/usr/src/coreutils-8.5$ ./src/sleep; echo $? ./src/sleep: missing operand Try `./src/sleep --help' for more information. *** %n in writable segment detected *** Aborted 134 [chroot-i486] root:/usr/src/coreutils-8.5$ make clean [chroot-i486] root:/usr/src/coreutils-8.5$ gl_cv_func_printf_directive_n=yes ./configure --prefix=/usr [chroot-i486] root:/usr/src/coreutils-8.5$ make [chroot-i486] root:/usr/src/coreutils-8.5$ ./src/sleep; echo $? ./src/sleep: missing operand Try `./src/sleep --help' for more information. *** %n in writable segment detected *** Aborted 134 So result is the same with gl_cv_func_printf_directive_n=no or gl_cv_func_printf_directive_n=yes. Am I wrong somewhere? What is the gain that this test is so written? Gilles ------=_NextPart_000_0517_01CAE5DD.8062C450 Content-Type: application/octet-stream; name="sleep_writable-format.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="sleep_writable-format.patch" --- src/sleep.c.old 2010-01-01 13:06:47.000000000 +0000=0A= +++ src/sleep.c 2010-04-27 04:21:38.000000000 +0000=0A= @@ -17,6 +17,7 @@=0A= =0A= #include =0A= #include =0A= +#include =0A= #include =0A= #include =0A= =0A= @@ -28,6 +29,9 @@=0A= #include "xnanosleep.h"=0A= #include "xstrtod.h"=0A= =0A= +static char fmtstring[10];=0A= +static char buf[100];=0A= +=0A= /* The official name of this program (e.g., no `g' prefix). */=0A= #define PROGRAM_NAME "sleep"=0A= =0A= @@ -58,7 +62,16 @@=0A= fputs (VERSION_OPTION_DESCRIPTION, stdout);=0A= emit_ancillary_info ();=0A= }=0A= - exit (status);=0A= + int count =3D -1;=0A= + /* Copy the format string. Some systems (glibc with = _FORTIFY_SOURCE=3D2)=0A= + support %n in format strings in read-only memory but not in = writable=0A= + memory. */=0A= + strcpy (fmtstring, "%d %n");=0A= + if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0=0A= + || strcmp (buf, "123 ") !=3D 0=0A= + || count !=3D 4)=0A= + exit(1);=0A= + exit(0);=0A= }=0A= =0A= /* Given a floating point value *X, and a suffix character, SUFFIX_CHAR,=0A= ------=_NextPart_000_0517_01CAE5DD.8062C450-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 03:04:31 2010 Received: (at 5999-done) by debbugs.gnu.org; 27 Apr 2010 07:04:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6eqN-00085O-FE for submit@debbugs.gnu.org; Tue, 27 Apr 2010 03:04:31 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6eqK-00085J-CB for 5999-done@debbugs.gnu.org; Tue, 27 Apr 2010 03:04:29 -0400 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 6E8EB940075; Tue, 27 Apr 2010 09:04:20 +0200 (CEST) Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id 82E4B94010D; Tue, 27 Apr 2010 09:04:18 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 1908110218; Tue, 27 Apr 2010 09:04:18 +0200 (CEST) From: Jim Meyering To: Bruno Haible Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 In-Reply-To: <201004270127.39304.bruno@clisp.org> (Bruno Haible's message of "Tue, 27 Apr 2010 01:27:37 +0200") References: <87k4s07dgs.fsf@meyering.net> <87wrvu7ky7.fsf@meyering.net> <4BD54E2F.5090900@gnu.org> <201004270127.39304.bruno@clisp.org> Date: Tue, 27 Apr 2010 09:04:18 +0200 Message-ID: <87pr1l4brh.fsf@meyering.net> Lines: 52 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 5999-done Cc: bug-gnulib@gnu.org, Paolo Bonzini , Gilles Espinasse , 5999-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) Bruno Haible wrote: > Paolo Bonzini wrote: >> > Here's a patch to make that diagnostic go where it belongs >> > for all gnulib-using projects: >> >> I wonder if we shouldn't do that for all _autoconf_-using projects! > > Or, at least, for all tests in all gnulib-using projects. There are > more possible causes of a FORTIFY message, according to > > > How about this proposed patch? I like it. Thanks. Adjusted and pushed like this: ... +2010-04-26 Jim Meyering + Bruno Haible + + gnulib-common.m4: make glibc write diagnostics to stderr, not /dev/tty + * m4/gnulib-common.m4 (gl_COMMON_BODY): Set LIBC_FATAL_STDERR_. + Prompted by an exchange with Gilles Espinasse. + 2010-04-26 Jim Meyering git-version-gen: aesthetic tweak diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 index 54b2517..4c7ac30 100644 --- a/m4/gnulib-common.m4 +++ b/m4/gnulib-common.m4 @@ -1,4 +1,4 @@ -# gnulib-common.m4 serial 19 +# gnulib-common.m4 serial 20 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -35,6 +35,12 @@ AC_DEFUN([gl_COMMON_BODY], [ is a misnomer outside of parameter lists. */ #define _UNUSED_PARAMETER_ _GL_UNUSED ]) + dnl Preparation for running test programs: + dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not + dnl to /dev/tty, so they can be redirected to log files. Such diagnostics + dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. + LIBC_FATAL_STDERR_=1 + export LIBC_FATAL_STDERR_ ]) # gl_MODULE_INDICATOR_CONDITION -- 1.7.1.328.g9993c From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 03:12:35 2010 Received: (at 5999-done) by debbugs.gnu.org; 27 Apr 2010 07:12:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6eyB-00089K-4w for submit@debbugs.gnu.org; Tue, 27 Apr 2010 03:12:35 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6ey7-00089E-BV for 5999-done@debbugs.gnu.org; Tue, 27 Apr 2010 03:12:33 -0400 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 703EB940075; Tue, 27 Apr 2010 09:12:23 +0200 (CEST) Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id 89EB8940024; Tue, 27 Apr 2010 09:12:21 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 55DDBED2E; Tue, 27 Apr 2010 09:12:21 +0200 (CEST) From: Jim Meyering To: "Gilles Espinasse" Subject: Re: bug#5999: new snapshot available: coreutils-8.4.100-81926 In-Reply-To: <051a01cae5cc$bd436480$f9b5a8c0@pii350> (Gilles Espinasse's message of "Tue, 27 Apr 2010 07:44:43 +0200") References: <87k4s07dgs.fsf@meyering.net> <87wrvu7ky7.fsf@meyering.net> <4BD54E2F.5090900@gnu.org> <201004270127.39304.bruno@clisp.org> <051a01cae5cc$bd436480$f9b5a8c0@pii350> Date: Tue, 27 Apr 2010 09:12:21 +0200 Message-ID: <87k4rt4be2.fsf@meyering.net> Lines: 40 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 5999-done Cc: bug-gnulib@gnu.org, Paolo Bonzini , Bruno Haible , 5999-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) Gilles Espinasse wrote: ... > I understand there is a problem but I am unsure of the direction to go. > I made this stupid patch (attached) that include the same test than > gl_cv_func_printf_directive_n in coreutils sleep usage You should be able to consider this resolved. Once you start using the latest from gnulib, you will no longer see that glibc diagnostic mixed in with configure-output "checking..." messages. > [chroot-i486] root:/usr/src/coreutils-8.5$ gl_cv_func_printf_directive_n=no > ./configure --prefix=/usr > [chroot-i486] root:/usr/src/coreutils-8.5$ make > [chroot-i486] root:/usr/src/coreutils-8.5$ ./src/sleep; echo $? > ./src/sleep: missing operand > Try `./src/sleep --help' for more information. > *** %n in writable segment detected *** > Aborted > 134 > [chroot-i486] root:/usr/src/coreutils-8.5$ make clean > [chroot-i486] root:/usr/src/coreutils-8.5$ gl_cv_func_printf_directive_n=yes > ./configure --prefix=/usr > [chroot-i486] root:/usr/src/coreutils-8.5$ make > [chroot-i486] root:/usr/src/coreutils-8.5$ ./src/sleep; echo $? > ./src/sleep: missing operand > Try `./src/sleep --help' for more information. > *** %n in writable segment detected *** > Aborted > 134 > > So result is the same with gl_cv_func_printf_directive_n=no or > gl_cv_func_printf_directive_n=yes. > Am I wrong somewhere? > What is the gain that this test is so written? The success or failure of that test contributes to whether a project uses the native vasnprintf (because it passes all tests) or a replacement. See the many conditions in gnulib/m4/vasnprintf-posix.m4. From unknown Tue Jun 17 01:41:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 25 May 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator