GNU bug report logs - #18436
Error building 8.23 with builddir != srcdir and --disable-dependency-tracking

Previous Next

Package: coreutils;

Reported by: "Daniel Richard G." <skunk <at> iSKUNK.ORG>

Date: Tue, 9 Sep 2014 19:58:02 UTC

Severity: normal

Merged with 18055

Done: Pádraig Brady <P <at> draigBrady.com>

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: "Daniel Richard G." <skunk <at> iSKUNK.ORG>
Subject: bug#18436: closed (Re: bug#18436: Error building 8.23 with
 builddir != srcdir and --disable-dependency-tracking)
Date: Fri, 19 Sep 2014 22:36:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#18436: Error building 8.23 with builddir != srcdir and --disable-dependency-tracking

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18436 <at> debbugs.gnu.org.

-- 
18436: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18436
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>
Cc: 18436-done <at> debbugs.gnu.org, "Daniel Richard G." <skunk <at> iSKUNK.ORG>
Subject: Re: bug#18436: Error building 8.23 with builddir != srcdir and
 --disable-dependency-tracking
Date: Fri, 19 Sep 2014 23:35:44 +0100
On 09/19/2014 08:19 PM, Bernhard Voelker wrote:
> On 09/19/2014 06:36 PM, Pádraig Brady wrote:
>> Subject: [PATCH] build: fix dependency issues with man page generation
>>
>> * .gitignore: Remove reference to no longer generated make file.
>> * configure.ac: Don't bother generating placeholder make file.
>> * man/local.mk: Hardcode the man page deps list for normal builds
>> to be compatible with all make implementations and configure options.
>> Note in SINGLE_BINARY mode, all man pages will be generated on
>> any change to the coreutils binary, but development will generally
>> not be done in this mode, so this shouldn't be an issue.
> 
> It is:
> 
>   $ make clean
>   $ make
>   $ make syntax-check -j
>   ...
>   help2man: can't get `--help' info from man/coreutils.td/coreutils
>   Try `--no-discard-stderr' if option outputs to stderr
>   prohibit_inttostr_without_use
>   prohibit_jm_in_m4
>   make: *** [man/coreutils.1] Error 127
>   make: *** Waiting for unfinished jobs....
> 
> This only goes away without -j here.

Oops, all that was missing for that case was
an entry for coreutils.1 in the static dependency list.
Pity we can't use a GNU pattern rule here,
and portable suffix rules can't have prerequisites.
Note pattern rules seem widely supported, which is tempting.

Anyway I added coreutils.1 to the list and pushed.

thanks for the review,
Pádraig.

[Message part 3 (message/rfc822, inline)]
From: "Daniel Richard G." <skunk <at> iSKUNK.ORG>
To: bug-coreutils <at> gnu.org
Subject: Error building 8.23 with builddir != srcdir and
 --disable-dependency-tracking
Date: Tue, 09 Sep 2014 15:57:24 -0400
I normally build with --disable-dependency-tracking to speed up builds,
and also build out-of-tree, and got this with the latest coreutils:

    $ cd /foo/bar/coreutils-8.23
    $ mkdir _build
    $ cd _build
    $ ../configure --disable-dependency-tracking
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    [...]
    $ make
    [...]
      GEN      lib/unistr.h
      GEN      lib/unitypes.h
      GEN      lib/uniwidth.h
      GEN      lib/wchar.h
      GEN      lib/wctype.h
      GEN      src/coreutils.h
    /bin/sh: src/coreutils.ht: No such file or directory
    gmake: *** [src/coreutils.h] Error 1


--Daniel


-- 
Daniel Richard G. || skunk <at> iSKUNK.ORG
My ASCII-art .sig got a bad case of Times New Roman.



This bug report was last modified 10 years and 251 days ago.

Previous Next


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