coreutils-9.4.170-7b206 undefined behaviour in tests

2024-03-24 Thread Bruno Haible
Hi, Building coreutils-9.4.170-7b206 on a glibc system, with clang and ASAN and UBSAN options, produces 4 test failures. I'm using clang 17.0.4 with the options CC="$CC -fsanitize=address,undefined,signed-integer-overflow,shift,integer-divide-by-zero" CFLAGS="-O0 -fno-omit-frame-pointer -ggdb" A

coreutils-9.4.170-7b206 FTBFS on AIX 7.3.1

2024-03-24 Thread Bruno Haible
On the machine gcc119.fsffrance.org (AIX 7.3.1), with gcc (CC="/opt/freeware/bin/gcc -maix64"), there is a compilation error: CC lib/libcoreutils_a-md5-stream.o In file included from /usr/include/openssl/opensslv.h:125, from ../lib/md5.h:36, from ../lib/md

Re: coreutils-9.4.170-7b206 undefined behaviour in tests

2024-03-24 Thread Sam James
Bruno Haible writes: > Hi, > > Building coreutils-9.4.170-7b206 on a glibc system, with clang and ASAN and > UBSAN options, produces 4 test failures. > > I'm using clang 17.0.4 with the options > CC="$CC > -fsanitize=address,undefined,signed-integer-overflow,shift,integer-divide-by-zero" > CFLAG

coreutils-9.4.170-7b206 help/help-version test failure

2024-03-24 Thread Bruno Haible
The help/help-version test fails on AIX 7.1 and AIX 7.3.1. test-suite.log on AIX 7.1: FAIL: tests/help/help-version = env: '[': No such file or directory env: '[': No such file or directory env: '[': No such file or directory FAIL: [ 0+1 records in 0+1 records out FA

coreutils-9.4.170-7b206 uniq/uniq test failure

2024-03-24 Thread Bruno Haible
The uniq/uniq test fails on Solaris 11 OpenIndiana. test-suite.log on Solaris 11 OpenIndiana: FAIL: tests/uniq/uniq = uniq (GNU coreutils) 9.4.170-7b206 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

coreutils-9.4.170-7b206 stty/stty-row-col test failure

2024-03-24 Thread Bruno Haible
The stty/stty-row-col test fails on Solaris 11.4. test-suite.log on Solaris 11.4: FAIL: tests/stty/stty-row-col = ++ initial_cwd_=/export/home/bruno/coreutils-9.4.170-7b206/build-64 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /export/home/bruno/coreutil

coreutils-9.4.170-7b206 tail/pipe-f2 test failure

2024-03-24 Thread Bruno Haible
The tail/pipe-f2 test fails on NetBSD 9.3 and 10.0-rc4. test-suite.log on NetBSD 9.3: FAIL: tests/tail/pipe-f2 --- exp 2024-03-24 12:45:54.627129684 +0100 +++ out 2024-03-24 12:45:54.628038908 +0100 @@ -1 +0,0 @@ -1 kill: 20415: No such process FAIL tests/tail/pipe-f2.s

coreutils-9.4.170-7b206 mv/mv-exchange test failure

2024-03-24 Thread Bruno Haible
The mv/mv-exchange test fails on: - NetBSD 9.3 - OpenBSD 7.4 - AIX 7.1 - AIX 7.3.1 test-suite.log from NetBSD 9.3: FAIL: tests/mv/mv-exchange == mv: cannot exchange 'a' and 'b': Not supported FAIL tests/mv/mv-exchange.sh (exit status: 1) test-suite.log from Ope

coreutils-9.4.170-7b206 date/date-debug, date/date-tz test failures

2024-03-24 Thread Bruno Haible
The date/date-debug, date/date-tz tests fail on NetBSD 9.3 and 10.0-rc4. test-suite.log from NetBSD 9.3: FAIL: tests/date/date-debug === --- exp22024-03-24 12:44:31.942851024 +0100 +++ out22024-03-24 12:44:31.947773870 +0100 @@ -5,9 +5,8 @@ date: error:

coreutils-9.4.170-7b206 ls/removed-directory test failure

2024-03-24 Thread Bruno Haible
The ls/removed-directory test fails on FreeBSD 14.0. tests-suite.log from FreeBSD 14.0: FAIL: tests/ls/removed-directory diff -u /dev/null err --- /dev/null 1970-01-01 +++ err 1970-01-01 +ls: reading directory '.': No such file or directory FAIL tests/ls/remov

coreutils-9.4.170-7b206 ls/dired test failure

2024-03-24 Thread Bruno Haible
The ls/dired test fails on: - FreeBSD 14.0, - Solaris 11 OpenIndiana. test-suite.log on FreeBSD 14.0: FAIL: tests/ls/dired tail: cannot open '+53' for reading: No such file or directory Mismatch! Expected: 1a, Found: tail: cannot open '+98' for reading: No such file or

coreutils-9.4.170-7b206 chown/preserve-root test failure

2024-03-24 Thread Bruno Haible
The chown/preserve-root test fails on macOS 12.5. test-suite.log from macOS 12.5: FAIL: tests/chown/preserve-root === ++ initial_cwd_=/Users/haible/STORAGE/coreutils-9.4.170-7b206/build +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /Users/haible/STORAGE/c

coreutils-9.4.170-7b206 cp/preserve-mode test failure

2024-03-24 Thread Bruno Haible
The cp/preserve-mode test fails on Alpine Linux 3.18. test-suite.log from Alpine Linux 3.18: FAIL: tests/cp/preserve-mode + initial_cwd_=/home/bruno/coreutils-9.4.170-7b206/build + testdir_prefix_ + printf gt + pfx_=gt + mktempd_ /home/bruno/coreutils-9.4.170-7b206/

coreutils-9.4.170-7b206 chmod/symlinks test failure

2024-03-24 Thread Bruno Haible
The chmod/symlinks test fails on: - Alpine Linux 3.18, - macOS 12.5, - FreeBSD 14.0, - NetBSD 9.3 and 10.0-rc4, - OpenBSD 7.4, - Solaris 11.4, - AIX 7.1 and 7.3.1. Find attached the test-suite.log files. FAIL: tests/chmod/symlinks == + initial_cwd_=/home/brun

coreutils-9.4.170-7b206 misc/numfmt test failure

2024-03-24 Thread Bruno Haible
The misc/numfmt test fails on - Alpine Linux 3.18, - macOS 12.5, - FreeBSD 14.0, - Solaris 11 OpenIndiana. Find attached the test-suite.log files. If these test failures are due to platform-specific *printf bugs, please provide a test case for *printf at the C level. Then I can add a work

coreutils-9.4.170-7b206 test failures on AIX 7.3

2024-03-24 Thread Bruno Haible
On AIX 7.3, I also see three other test failures: - misc/stdbuf - install/basic-1 - mkdir/p-3 Here's the test-suite.log. FAIL: tests/misc/stdbuf === stdbuf: invalid mode 'l' stdbuf: invalid mode '18446744073709551616': Value too large to be stored in data type stdbuf:

Re: env: follow up on argv0 setting feature

2024-03-24 Thread Pádraig Brady
On 23/03/2024 20:24, Matheus Afonso Martins Moreira wrote: Thank you!! Really happy to have this feature in upstream coreutils! Would you mind giving me feedback on the patch I sent? What can I do to make future contributions acceptable? I'm not very familiar with the GNU development processes.

Re: coreutils-9.4.170-7b206 mv/mv-exchange test failure

2024-03-24 Thread Pádraig Brady
On 24/03/2024 16:26, Bruno Haible wrote: The mv/mv-exchange test fails on: - NetBSD 9.3 - OpenBSD 7.4 - AIX 7.1 - AIX 7.3.1 The attached should fix the issue with this new test. thanks for all the testing! Pádraig From c45fcb2ed2d80df5e7dea3c52eba24a9676d9eae Mon Sep 17 00:00:00 20

some string issues in coreutils-9.4.170-7b206

2024-03-24 Thread Wenbin Lv
Hi, I just finished updating the zh_CN translation for 9.4.170-7b206. Below are some string related issues I have noticed: src/chown-core.h:101: "owner and/or "should be translatable; src/chown.c:84: "[OWNER][:[GROUP]]" and "GROUP" should be translatable; src/copy.c:2731: "renamed %s -> %s" shoul

Test failure when building in setgid directory

2024-03-24 Thread Sven Joachim
When building coreutils 9.4.170-7b206 on x86_64 GNU/Linux, I got a test failure in tests/chmod/symlinks, apparently because I was building in a setgid directory. The log file of the failed test is attached. , | $ LANG=C ls -ld /usr/local/src/coreutils | drwxr-sr-x 17 sven src 4096 Mar 24 17:1

Date setting examples in manual

2024-03-24 Thread wrotycz
I noticed there are no examples of how to set date using date, in the manual. Therefore I propose to add these to examples section to make it clear and easy to do so. I used simple formats, more like 'machine formats' to make it even simpler, as no one wants to use elaborate formats like 'Thu Ma

Correction to pl po translation

2024-03-24 Thread wrotycz
I noticed some minor mistakes or inconsistences in translation so I send correction. Regards Wrotycz --- pl.po~ 2023-08-29 14:00:27.0 + +++ pl.po 2024-03-24 18:59:24.0 + @@ -355,7 +355,7 @@ msgstr "Błędne wyrażenie regularne" # ? - rzm #: lib/regcomp.c:13

Re: Test failure when building in setgid directory

2024-03-24 Thread Pádraig Brady
On 24/03/2024 16:29, Sven Joachim wrote: When building coreutils 9.4.170-7b206 on x86_64 GNU/Linux, I got a test failure in tests/chmod/symlinks, apparently because I was building in a setgid directory. The log file of the failed test is attached. , | $ LANG=C ls -ld /usr/local/src/coreutil

Re: some string issues in coreutils-9.4.170-7b206

2024-03-24 Thread Pádraig Brady
On 24/03/2024 16:35, Wenbin Lv wrote: Hi, I just finished updating the zh_CN translation for 9.4.170-7b206. Below are some string related issues I have noticed: src/chown-core.h:101: "owner and/or "should be translatable; Fixed in https://bugs.gnu.org/69985 src/chown.c:84: "[OWNER][:[GROUP]

Re: Correction to pl po translation

2024-03-24 Thread Pádraig Brady
On 24/03/2024 18:43, wrotycz wrote: I noticed some minor mistakes or inconsistences in translation so I send correction. Regards Wrotycz Please direct this to the translation project https://translationproject.org/team/ lists this as: translation-team...@lists.sourceforge.net thanks, Pádra