GNU bug report logs - #72234
a build failure in a VPATH build

Previous Next

Package: diffutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Sun, 21 Jul 2024 17:35:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bruno Haible <bruno <at> clisp.org>
To: 72234 <at> debbugs.gnu.org
Subject: bug#72234: a build failure in a VPATH build
Date: Sun, 21 Jul 2024 19:34:22 +0200
[Message part 1 (text/plain, inline)]
A VPATH build of diffutils (git HEAD, with GNU make, on Ubuntu 22.04)
fails like this:

$ mkdir bb
$ cd bb
$ ../configure
$ make
...
make[1]: Entering directory '/DIFFUTILS/diffutils/bb/src'
  GEN      paths.h
  CC       cmp.o
In file included from ../../src/cmp.c:19:
../../src/system.h:87:10: fatal error: version.h: No such file or directory
   87 | #include "version.h"
      |          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:2451: cmp.o] Error 1


The attached patch fixes it.

[0001-build-Fix-a-build-failure-in-a-VPATH-build.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.