GNU bug report logs -
#48062
make check fails if configured with --program-prefix
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 24 Jun 2024 18:20:01 -0700
with message-id <CA+8g5KHrmHDBwz5+k4V7-3BYRGrt_gcPtsiwpohPpKU+NW1ZBw <at> mail.gmail.com>
and subject line Re: [bug-diffutils] bug#48062: bug#48062: make check fails if configured with --program-prefix
has caused the debbugs.gnu.org bug report #48062,
regarding make check fails if configured with --program-prefix
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
48062: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48062
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
$ ./configure --program-prefix=g
$ make
$ make check
then two tests diff3 and help-version fail.
The reason is quite simple; the log contains lines like
+diff3: subsidiary program 'gdiff' not found
If I run
$ cd src
$ ln -s diff gdiff
then 'make check' succeeds.
If there were a program named 'gdiff' in my PATH then it would
have been used for the test.
[Message part 3 (message/rfc822, inline)]
On Mon, Jun 24, 2024 at 3:57 PM Collin Funk <collin.funk1 <at> gmail.com> wrote:
>
> Paul Eggert <eggert <at> cs.ucla.edu> writes:
>
> > 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?
>
> Mine works fine on Fedora 40 as well. Probably old files like Paul said.
> I habitually run 'git clean -xdf' and './boostrap && ./configure' so I'm
> not sure how possible that is. :)
>
> Also, feel free to close this bug. I'm not very familiar with debbugs,
> sorry.
Thank you both for confirming.
I too have confirmed that in a clean clone, there's no problem.
I'm closing this bug by changing my reply-all recipient address
48062 <at> debbugs.gnu.org to 48062-done <at> debbugs.gnu.org
This bug report was last modified 326 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.