> http://meyering.net/cu/coreutils-8.14.116-1e18d.tar.xz
On NetBSD 5.1/x86, 11 tests fail: FAIL: rm/inaccessible FAIL: misc/date FAIL: misc/printf-cov FAIL: split/l-chunk FAIL: cp/preserve-slink-time FAIL: du/inaccessible-cwd FAIL: du/long-from-unreadable FAIL: ls/block-size FAIL: ls/stat-failed FAIL: tail-2/pipe-f2 FAIL: touch/not-owner Compared to the last report <https://lists.gnu.org/archive/html/coreutils/2011-10/msg00017.html> there is a new failure: ls/block-size Here are the relevant parts of tests/test-suite.log: FAIL: rm/inaccessible ===================== --- exp 2012-01-04 23:08:54.000000000 +0100 +++ out 2012-01-04 23:08:54.000000000 +0100 @@ -1 +1 @@ -rm: cannot remove `rel': Permission denied +rm: unable to record current working directory: Permission denied FAIL: misc/date =============== localtime(72057594037927936) too large at ./misc/date line 54. localtime(72057594037927936) failed at ./misc/date line 54. date: test uninit-64 failed: exit status mismatch: expected 1, got 0 This error occurs in perl. The version in use on this system is: This is perl 5, version 12, subversion 2 (v5.12.2) built for x86_64-netbsd- thread-multi Platform: osname=netbsd, osvers=5.1, archname=x86_64-netbsd-thread-multi hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef FAIL: misc/printf-cov ===================== printf: test d-quote: stdout mismatch, comparing d-quote.O (actual) and d- quote.1 (expected) *** d-quote.O Wed Jan 4 23:09:54 2012 --- d-quote.1 Wed Jan 4 23:09:54 2012 *************** *** 1 **** ! 3,333 \ No newline at end of file --- 1 ---- ! 3333 \ No newline at end of file Where does the comma come from? Even in the C locale: $ LC_ALL=C ./printf "%'d\\n" 3333 3,333 Whereas on glibc systems: $ /usr/bin/printf "%'d\\n" 3333 3.333 I've single-stepped it, and the result comes from the NetBSD libc: The program -------------------------------------------------- #include <stdio.h> int main() { printf ("%'d\n%'ld\n", 3333, (long long) 3333); } -------------------------------------------------- produces 3,333 3,333 This violates POSIX, which says in <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html> section "LC_NUMERIC Category in the POSIX Locale" that no grouping should be performed and the thousands_sep should be empty. Yet another printf bug to be worked around in gnulib... FAIL: cp/preserve-slink-time ============================ --- t1 2012-01-04 23:10:49.000000000 +0100 +++ t2 2012-01-04 23:10:49.000000000 +0100 @@ -1 +1 @@ -2012-01-04 23:10:49.012466322 +0100 +2012-01-04 23:10:49.012466000 +0100 FAIL: du/inaccessible-cwd ========================= du: unable to record current working directory: Permission denied FAIL: du/long-from-unreadable ============================= du: unable to record current working directory: Permission denied FAIL: ls/block-size =================== 0+1 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.000147623 s, 6.9 MB/s 0+1 records in 1+0 records out 4096 bytes (4.1 kB) copied, 0.000146041 s, 28.0 MB/s 0+1 records in 1+0 records out 262144 bytes (262 kB) copied, 0.00313286 s, 83.7 MB/s --- exp 2012-01-04 22:11:03.000000000 +0000 +++ out 2012-01-04 22:11:03.000000000 +0000 @@ -1,117 +1,117 @@ -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -2 Jan 1 2001 file1024 -512 Jan 1 2001 file262144 -8 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -2 Jan 1 2001 file1024 -512 Jan 1 2001 file262144 -8 Jan 1 2001 file4096 -2 Jan 1 2001 file1024 -512 Jan 1 2001 file262144 -8 Jan 1 2001 file4096 -2 Jan 1 2001 file1024 -512 Jan 1 2001 file262144 -8 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -1024 Jan 1 2001 file1024 -262144 Jan 1 2001 file262144 -4096 Jan 1 2001 file4096 -2 Jan 1 2001 file1024 -512 Jan 1 2001 file262144 -8 Jan 1 2001 file4096 -2 Jan 1 2001 file1024 -512 Jan 1 2001 file262144 -8 Jan 1 2001 file4096 -2 Jan 1 2001 file1024 -512 Jan 1 2001 file262144 -8 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 -1 Jan 1 2001 file1024 -256 Jan 1 2001 file262144 -4 Jan 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +2 Janua 1 2001 file1024 +512 Janua 1 2001 file262144 +8 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +2 Janua 1 2001 file1024 +512 Janua 1 2001 file262144 +8 Janua 1 2001 file4096 +2 Janua 1 2001 file1024 +512 Janua 1 2001 file262144 +8 Janua 1 2001 file4096 +2 Janua 1 2001 file1024 +512 Janua 1 2001 file262144 +8 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +1024 Janua 1 2001 file1024 +262144 Janua 1 2001 file262144 +4096 Janua 1 2001 file4096 +2 Janua 1 2001 file1024 +512 Janua 1 2001 file262144 +8 Janua 1 2001 file4096 +2 Janua 1 2001 file1024 +512 Janua 1 2001 file262144 +8 Janua 1 2001 file4096 +2 Janua 1 2001 file1024 +512 Janua 1 2001 file262144 +8 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 +1 Janua 1 2001 file1024 +256 Janua 1 2001 file262144 +4 Janua 1 2001 file4096 $ ./ls -l ls.c -rw-r--r-- 1 haible haible 148410 Janua 1 10:04 ls.c I've single-stepped it, and the result comes from the NetBSD libc: The program -------------------------------------------------- #include <stdio.h> #include <langinfo.h> int main() { int i; for (i = 0; i < 12; i++) printf ("%s\n", nl_langinfo (ABMON_1 + i)); } -------------------------------------------------- produces full month names instead of abbreviated month names: January February March April May June July Augst September October November December This violates POSIX, which says in <http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html> section "LC_TIME Category in the POSIX Locale" that the abbreviated month names should be "Jan", "Feb", etc. The 5-letter abbreviations are fabricated by ls.c (abmon_init()). FAIL: ls/stat-failed ==================== ls: cannot access d/s: Permission denied --- exp 2012-01-04 23:11:05.000000000 +0100 +++ - 2012-01-04 23:11:05.000000000 +0100 @@ -1,2 +1,2 @@ total 0 -?????????? ? ? ? s +?????????? ? ? ? s ls: cannot access d/s: Permission denied --- exp 2012-01-04 23:11:05.000000000 +0100 +++ - 2012-01-04 23:11:05.000000000 +0100 @@ -1,4 +1,4 @@ total 0 - ?????????? ? ? ? ? ? s -//DIRED// 44 45 + ?????????? ? ? ? ? ? s +//DIRED// 46 47 //DIRED-OPTIONS// --quoting-style=literal Probably a consequence of the 5-letter month name abbreviations (see above). FAIL: tail-2/pipe-f2 ==================== --- exp 2012-01-04 23:11:15.000000000 +0100 +++ out 2012-01-04 23:11:15.000000000 +0100 @@ -1 +0,0 @@ -1 ./tail-2/pipe-f2[41]: kill: 28485: No such process FAIL: touch/not-owner ===================== --- exp 2012-01-04 23:11:29.000000000 +0100 +++ out 2012-01-04 23:11:29.000000000 +0100 @@ -1 +1 @@ -touch: setting times of `/': Read-only file system +touch: cannot touch `/': File exists Bruno
