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: Collin Funk <collin.funk1 <at> gmail.com>
To: 48062 <at> debbugs.gnu.org
Subject: bug#48062: make check fails if configured with --program-prefix
Date: Sun, 23 Jun 2024 03:14:48 -0700
[Message part 1 (text/plain, inline)]
Hi,

Jun T says:
> $ ./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

I noticed this since I use --program-prefix=g too. More generally
--program-{prefix,suffix} are simpler forms of
--program-transform-name.

The error is because the sed pattern given to that option is only used
on the executable after 'make install'. I've attached a patch that
invokes diff3 and sdiff with --diff-program=diff which should make the
tests pass regardless of the options passed to ./configure.

Collin

[0001-tests-Don-t-fail-when-program-transform-name-is-used.patch (text/x-patch, attachment)]

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.