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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#72234: closed (a build failure in a VPATH build)
Date: Sun, 21 Jul 2024 18:01:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 21 Jul 2024 11:00:14 -0700
with message-id <643155b2-170d-4d10-9828-63e4d669f869 <at> cs.ucla.edu>
and subject line Re: [bug-diffutils] bug#72234: a build failure in a VPATH build
has caused the debbugs.gnu.org bug report #72234,
regarding a build failure in a VPATH build
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
72234: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72234
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Bruno Haible <bruno <at> clisp.org>
To: bug-diffutils <at> gnu.org
Subject: a build failure in a VPATH build
Date: Sun, 21 Jul 2024 19:34:22 +0200
[Message part 3 (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)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>
Cc: 72234-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#72234: a build failure in a VPATH build
Date: Sun, 21 Jul 2024 11:00:14 -0700
Thanks, I installed that.


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.