Subject: bug#48062: [bug-diffutils] bug#48062: bug#48062: make check fails if configured with --program-prefix

From: Paul Eggert <[email-masked]>
Date: Mon, 24 Jun 2024 10:00:01 -0400

On 6/24/24 01:52, Jim Meyering wrote:
> Unrelated, I noticed that a gnulib test failed on Fedora 40:
> 
> $ make check
> ...
> /bin/ld: test-pthread-cond.o: in function `pthread_cond_timedwait_routine':
> /home/j/w/co/diffutils/gnulib-tests/test-pthread-cond.c:146:(.text+0x103):
> undefined reference to `__pthread_cond_timedwait64'
> collect2: error: ld returned 1 exit status

I'm not seeing that on my Fedora 40 build of diffutils. There is no file 
diffutils/gnulib-tests/test-pthread-cond.c in my source tree, after 
running './bootstrap --gnulib-refdir=$HOME/src/gnu/gnulib' in a fresh 
diffutils clone. Also, in a current Gnulib the command './gnulib-tool 
--test pthread-cond' works for me.

Perhaps some files left over from one of your previous diffutils builds 
need to be cleaned out?