bug#78509: Coreutils' mv and cp 9.5 do not work properly on old PPC Mac OS X 10.4.11, Tiger

Pádraig Brady <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <[email protected]>
On 21/05/2025 20:13, Peter Dyballa via GNU coreutils Bug Reports wrote:
> 
>> Am 20.Mai.2025 um 19:10 schrieb Paul Eggert <[email protected]>:
>>
>> First, please build and run coreutils 9.7
> 
> The tests stop in
> 
> 	PASS: tests/cp/dir-vs-file.sh
> 	PASS: tests/cp/existing-perm-dir.sh
> 
> at
> 
> 	+ mkfifo_or_skip_ fifo
> 	+ test 1 = 1
> 	+ mkfifo fifo
> 	+ touch fifo-copy
> 	+ chgrp 502 fifo
> 	+ chgrp 262 fifo-copy
> 	+ chmod g+r fifo-copy
> 	+ cp -p --copy-contents fifo fifo-copy
> 	+ pid=10841
> 	cp: cannot stat 'fifo-copy/fifo': Not a directory
> 
> After waiting 40 min I had, at around 19:00 h:
> 
>    -rw-r--r--   1 macports admin  6677 21. Mai 18:25 existing-perm-race.log
>    -rw-r--r--   1 macports admin  6194 21. Mai 18:25 existing-perm-dir.log
>    -rw-r--r--   1 macports admin    82 21. Mai 18:25 existing-perm-dir.trs
> 
> Then, two hours ago, I killed 'make check'…

I've not looked at the main issue at hand,
but the tests shouldn't hang. We already protect some
fifo interactions with `timeout 60`, so I've pushed this change
to avoid such hangs similarly in future:
https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=dc4e6b670

cheers,
Padraig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.