GNU bug report logs - #48062
make check fails if configured with --program-prefix

Previous Next

Package: diffutils;

Reported by: Jun T <takimoto-j <at> kba.biglobe.ne.jp>

Date: Tue, 27 Apr 2021 15:10:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jim Meyering <jim <at> meyering.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#48062: closed (make check fails if configured with
 --program-prefix)
Date: Tue, 25 Jun 2024 01:21:01 +0000
[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)]
From: Jun T <takimoto-j <at> kba.biglobe.ne.jp>
To: bug-diffutils <at> gnu.org
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.


[Message part 3 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: Collin Funk <collin.funk1 <at> gmail.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 48062-done <at> debbugs.gnu.org
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 <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.