--- Begin Message ---
Subject: |
make check fails if configured with --program-prefix |
Date: |
Tue, 27 Apr 2021 20:09:01 +0900 |
$ ./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.
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug-diffutils] bug#48062: bug#48062: make check fails if configured with --program-prefix |
Date: |
Mon, 24 Jun 2024 18:20:01 -0700 |
On Mon, Jun 24, 2024 at 3:57 PM Collin Funk <collin.funk1@gmail.com> wrote:
>
> Paul Eggert <eggert@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@debbugs.gnu.org to 48062-done@debbugs.gnu.org
--- End Message ---