From unknown Mon Jun 23 18:28:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18436 <18436@debbugs.gnu.org> To: bug#18436 <18436@debbugs.gnu.org> Subject: Status: Error building 8.23 with builddir != srcdir and --disable-dependency-tracking Reply-To: bug#18436 <18436@debbugs.gnu.org> Date: Tue, 24 Jun 2025 01:28:24 +0000 retitle 18436 Error building 8.23 with builddir !=3D srcdir and --disable-d= ependency-tracking reassign 18436 coreutils submitter 18436 "Daniel Richard G." severity 18436 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 09 15:57:52 2014 Received: (at submit) by debbugs.gnu.org; 9 Sep 2014 19:57:52 +0000 Received: from localhost ([127.0.0.1]:35680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRRXz-0005Pv-Fd for submit@debbugs.gnu.org; Tue, 09 Sep 2014 15:57:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49164) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRRXw-0005Pf-LB for submit@debbugs.gnu.org; Tue, 09 Sep 2014 15:57:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRRXl-0004fx-W0 for submit@debbugs.gnu.org; Tue, 09 Sep 2014 15:57:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRRXl-0004fq-ST for submit@debbugs.gnu.org; Tue, 09 Sep 2014 15:57:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRRXh-0003Le-0X for bug-coreutils@gnu.org; Tue, 09 Sep 2014 15:57:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRRXc-0004es-9K for bug-coreutils@gnu.org; Tue, 09 Sep 2014 15:57:32 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:47997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRRXb-0004eo-To for bug-coreutils@gnu.org; Tue, 09 Sep 2014 15:57:28 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by gateway2.nyi.internal (Postfix) with ESMTP id 7B62821007 for ; Tue, 9 Sep 2014 15:57:24 -0400 (EDT) Received: from web5 ([10.202.2.215]) by compute2.internal (MEProxy); Tue, 09 Sep 2014 15:57:24 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=iSKUNK.ORG; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:subject:date; s=mesmtp; bh=kUjxVEVg+6Usvi1ro+y06HT bI2w=; b=jdX6urtN0h4ER95bYlfNGfKqodDAHv39G+go3OY1Zxqs3P/K48GCmVi Shq+YlnFNTuVI5uNZXs6ElbGb+fBaZjF1lzv7UEuz2/QmhOEESm7pzSMl6XqgLol 7FBsxdcDg8fgN3Yn5HW8wPOWXCb5NGNrVMUxzptnNynYWb3XSSgw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=kUjxVEVg+6Usvi1ro+y06HTbI2w=; b=BsmMb2fNaIqMs+M5ERXxAKrCKeQ+ d19ycAOOR2ar0kTkJB1qMODN7lqhoTZ9Mo+7vaOEHOg19VuU+j3/SlfbwJyzfY+u 53dznf0dZIsCNyZGU/cs3S3IatzVMdHMYkSgCWAuQzHO34G/aIN9y7I0Ji7pDubn nlWrYWu+73SX/WA= Received: by web5.nyi.internal (Postfix, from userid 99) id 3A5F5B4134B; Tue, 9 Sep 2014 15:57:24 -0400 (EDT) Message-Id: <1410292644.2824590.165554633.7856E2F6@webmail.messagingengine.com> X-Sasl-Enc: Rs8M4ryvRmxCA46Y28XvuLUrYjbeEX16NfPamUf3Qhs9 1410292644 From: "Daniel Richard G." To: bug-coreutils@gnu.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - html Subject: Error building 8.23 with builddir != srcdir and --disable-dependency-tracking Date: Tue, 09 Sep 2014 15:57:24 -0400 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 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@iSKUNK.ORG My ASCII-art .sig got a bad case of Times New Roman. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 12:45:54 2014 Received: (at 18436) by debbugs.gnu.org; 19 Sep 2014 16:45:54 +0000 Received: from localhost ([127.0.0.1]:45988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV1Jh-0002RI-Ii for submit@debbugs.gnu.org; Fri, 19 Sep 2014 12:45:54 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:3438) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV1Jd-0002R4-NQ; Fri, 19 Sep 2014 12:45:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As4CAGxcHFRtTESQ/2dsb2JhbAANU4NgUwSIXMEXh1EBgRgBhHwBAQEEeRALDQQDAQIBCRYPCQMCAQIBPQgGDQEFAgEBiD8DrBWXJgEXj3ARBwmEQgWGII09gUtkgj2GK4YUhF2CPYgrGhaBRGuCSgEBAQ Received: from unknown (HELO [192.168.1.79]) ([109.76.68.144]) by mail2.vodafone.ie with ESMTP; 19 Sep 2014 17:36:24 +0100 Message-ID: <541C5B87.6090106@draigBrady.com> Date: Fri, 19 Sep 2014 17:36:23 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: "Daniel Richard G." Subject: Re: bug#18436: Error building 8.23 with builddir != srcdir and --disable-dependency-tracking References: <1410292644.2824590.165554633.7856E2F6@webmail.messagingengine.com> In-Reply-To: <1410292644.2824590.165554633.7856E2F6@webmail.messagingengine.com> X-Enigmail-Version: 1.6 Content-Type: multipart/mixed; boundary="------------020805000809050302080103" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18436 Cc: 18436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------020805000809050302080103 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit forcemerge 18055 18436 stop On 09/09/2014 08:57 PM, Daniel Richard G. wrote: > 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 This is essentially the same issue as http://bugs.gnu.org/18055 I'm guessing tha dependency tracking is disabled there too for the distro as it's not needed for once off builds, and then doing parallel make builds compounds the issue. We could fix it for GNU and solaris make but break on BSD (since it doesn't support included makefiles) like: diff --git a/man/local.mk b/man/local.mk index f2d1357..0464cf1 100644 --- a/man/local.mk +++ b/man/local.mk @@ -78,7 +78,7 @@ man/dynamic-deps.mk: Makefile && mv $@-t $@ # Include the generated man dependencies. -@AMDEP_TRUE@@am__include@ man/dynamic-deps.mk +@am__include@ man/dynamic-deps.mk We could work nicely for all once off builds like, but require rebuilding all man pages for any change for devs with: diff --git a/man/local.mk b/man/local.mk index f2d1357..888ff10 100644 --- a/man/local.mk +++ b/man/local.mk @@ -41,7 +41,7 @@ distclean-local: test x$(srcdir) = x$(builddir) || rm -f $(ALL_MANS) # Dependencies common to all man pages. Updated below. -mandeps = +mandeps = $(bin_PROGRAMS) # Depend on this to get version number changes. mandeps += .version @@ -77,9 +77,6 @@ man/dynamic-deps.mk: Makefile done > $@-t \ && mv $@-t $@ -# Include the generated man dependencies. -@AMDEP_TRUE@@am__include@ man/dynamic-deps.mk It would be nice to rely on GNU make for dynamic rules or order-only prerequisites which would nicely handle things. However it's best to stick with portable make for now due to the low level nature of coreutils which might be required to build gnu make etc. for example. Instead the attached patch simplifies things by avoiding the dynamically generated makefile entirely. There are still a few foibles with parallel make syntax-check in --enable-single-binary mode, but I've a handle on that edge case which we can fix up later. thanks, Pádraig. --------------020805000809050302080103 Content-Type: text/x-patch; name="help2man-dep-fixes.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="help2man-dep-fixes.patch" >From 1e235119d175a78ed54a910d7babe2165fff9483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Fri, 19 Sep 2014 16:49:26 +0100 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. Fixes http://bugs.gnu.org/18055 --- .gitignore | 1 - configure.ac | 9 ---- man/local.mk | 139 ++++++++++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 112 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 02a61e8..885d309 100644 --- a/.gitignore +++ b/.gitignore @@ -134,7 +134,6 @@ /m4/xsize.m4 /maint.mk /man/*.1 -/man/dynamic-deps.mk /po/*.gmo /po/*.po /po/.gitignore diff --git a/configure.ac b/configure.ac index f45b06e..0744964 100644 --- a/configure.ac +++ b/configure.ac @@ -589,15 +589,6 @@ AM_GNU_GETTEXT_VERSION([0.18.1]) # For a test of uniq: it uses the $LOCALE_FR envvar. gt_LOCALE_FR -# If doing dynamic dependency checking, create man/dynamic-deps.mk so -# that 'make' doesn't complain about its being absent. Use an old -# time stamp, so that 'make' thinks it is older than 'Makefile'. -# Use time stamp 1, since some 'make' implementations treat 0 specially. -# Use 'touch -t', since older 'touch' implementations don't grok -d. -AC_CONFIG_COMMANDS([man/dynamic-deps.mk], - [test -n "$AMDEP_TRUE" || - TZ=UTC0 touch -t 197001010000.01 man/dynamic-deps.mk]) - AC_CONFIG_FILES( Makefile po/Makefile.in diff --git a/man/local.mk b/man/local.mk index f2d1357..aadb540 100644 --- a/man/local.mk +++ b/man/local.mk @@ -52,33 +52,118 @@ mandeps += $(top_srcdir)/src/system.h $(ALL_MANS): $(mandeps) -# Most prog.1 man pages depend on src/$prog, except when they are part of a -# single binary, in which case they depend on src/coreutils. The exceptions -# are handled by converting $name to $prog on the following code. -# $(ALL_MANS) includes the $(EXTRA_MANS) so even the programs that are not -# being installed will have the right dependency for the manpages. -DISTCLEANFILES += man/dynamic-deps.mk -man/dynamic-deps.mk: Makefile - $(AM_V_GEN)rm -f $@ $@-t - $(AM_V_at)for man in $(ALL_MANS); do \ - name=`echo "$$man"|sed 's|.*/||; s|\.1$$||'` || exit 1; \ - case $$name in \ - arch) prog='uname';; \ - install) prog='ginstall';; \ - test) prog='[';; \ - *) prog=$$name;; \ - esac; \ - case " $(single_binary_progs) " in \ - *" $$prog "*) \ - echo $$man: src/coreutils$(EXEEXT);; \ - *) \ - echo $$man: src/$$prog$(EXEEXT);; \ - esac \ - done > $@-t \ - && mv $@-t $@ - -# Include the generated man dependencies. -@AMDEP_TRUE@@am__include@ man/dynamic-deps.mk +if SINGLE_BINARY +mandeps += src/coreutils$(EXEEXT) +else +# Most prog.1 man pages depend on src/prog. List the exceptions: +# Note that dir and vdir are exceptions only if you consider the name +# of the .c file upon which they depend: ls.c. +man/arch.1: src/uname +man/dir.1: src/dir +man/install.1: src/ginstall +man/vdir.1: src/vdir + +man/base64.1: src/base64 +man/basename.1: src/basename +man/cat.1: src/cat +man/chcon.1: src/chcon +man/chgrp.1: src/chgrp +man/chmod.1: src/chmod +man/chown.1: src/chown +man/chroot.1: src/chroot +man/cksum.1: src/cksum +man/comm.1: src/comm +man/cp.1: src/cp +man/csplit.1: src/csplit +man/cut.1: src/cut +man/date.1: src/date +man/dd.1: src/dd +man/df.1: src/df +man/dircolors.1: src/dircolors +man/dirname.1: src/dirname +man/du.1: src/du +man/echo.1: src/echo +man/env.1: src/env +man/expand.1: src/expand +man/expr.1: src/expr +man/factor.1: src/factor +man/false.1: src/false +man/fmt.1: src/fmt +man/fold.1: src/fold +man/groups.1: src/groups +man/head.1: src/head +man/hostid.1: src/hostid +man/hostname.1: src/hostname +man/id.1: src/id +man/join.1: src/join +man/kill.1: src/kill +man/link.1: src/link +man/ln.1: src/ln +man/logname.1: src/logname +man/ls.1: src/ls +man/md5sum.1: src/md5sum +man/mkdir.1: src/mkdir +man/mkfifo.1: src/mkfifo +man/mknod.1: src/mknod +man/mktemp.1: src/mktemp +man/mv.1: src/mv +man/nice.1: src/nice +man/nl.1: src/nl +man/nohup.1: src/nohup +man/nproc.1: src/nproc +man/numfmt.1: src/numfmt +man/od.1: src/od +man/paste.1: src/paste +man/pathchk.1: src/pathchk +man/pinky.1: src/pinky +man/pr.1: src/pr +man/printenv.1: src/printenv +man/printf.1: src/printf +man/ptx.1: src/ptx +man/pwd.1: src/pwd +man/readlink.1: src/readlink +man/realpath.1: src/realpath +man/rm.1: src/rm +man/rmdir.1: src/rmdir +man/runcon.1: src/runcon +man/seq.1: src/seq +man/sha1sum.1: src/sha1sum +man/sha224sum.1: src/sha224sum +man/sha256sum.1: src/sha256sum +man/sha384sum.1: src/sha384sum +man/sha512sum.1: src/sha512sum +man/shred.1: src/shred +man/shuf.1: src/shuf +man/sleep.1: src/sleep +man/sort.1: src/sort +man/split.1: src/split +man/stat.1: src/stat +man/stdbuf.1: src/stdbuf +man/stty.1: src/stty +man/sum.1: src/sum +man/sync.1: src/sync +man/tac.1: src/tac +man/tail.1: src/tail +man/tee.1: src/tee +man/test.1: src/test +man/timeout.1: src/timeout +man/touch.1: src/touch +man/tr.1: src/tr +man/true.1: src/true +man/truncate.1: src/truncate +man/tsort.1: src/tsort +man/tty.1: src/tty +man/uname.1: src/uname +man/unexpand.1: src/unexpand +man/uniq.1: src/uniq +man/unlink.1: src/unlink +man/uptime.1: src/uptime +man/users.1: src/users +man/wc.1: src/wc +man/who.1: src/who +man/whoami.1: src/whoami +man/yes.1: src/yes +endif .x.1: $(AM_V_GEN)name=`echo $@ | sed 's|.*/||; s|\.1$$||'` || exit 1; \ -- 1.7.7.6 --------------020805000809050302080103-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 15:19:35 2014 Received: (at 18436) by debbugs.gnu.org; 19 Sep 2014 19:19:35 +0000 Received: from localhost ([127.0.0.1]:46040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV3iQ-0007M3-W7 for submit@debbugs.gnu.org; Fri, 19 Sep 2014 15:19:35 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:54097) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV3iO-0007Lv-M8 for 18436@debbugs.gnu.org; Fri, 19 Sep 2014 15:19:33 -0400 Received: from [192.168.1.10] (pD957CBB4.dip0.t-ipconnect.de [217.87.203.180]) by mrelayeu.kundenserver.de (node=mreue007) with ESMTP (Nemesis) id 0M9iEF-1XbQqa2Mn9-00CxkX; Fri, 19 Sep 2014 21:19:31 +0200 Message-ID: <541C81C2.5000406@bernhard-voelker.de> Date: Fri, 19 Sep 2014 21:19:30 +0200 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: =?windows-1252?Q?P=E1draig_Brady?= , "Daniel Richard G." Subject: Re: bug#18436: Error building 8.23 with builddir != srcdir and --disable-dependency-tracking References: <1410292644.2824590.165554633.7856E2F6@webmail.messagingengine.com> <541C5B87.6090106@draigBrady.com> In-Reply-To: <541C5B87.6090106@draigBrady.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:EIcr9YQmPd1PRjdErLJET99pIkEYQdOVPFaKTkw8jS+ zqftM9TZsXeA0+onnQyOFRlbU1CAEsx1/lGDKE3wAlC5Mr+TeL DhLS0+M/1doupHnJ7y5pziK3UWUICencxeXSun3/ipKW31XJx8 qVP6YEMn6SC1VjeokgpRxxC9sKgPWHlA8fysU/CZ8AVjdDkRlM +R8Q4FkRzEDzcARvqXmd31EvtXj8xrbMxZA6/s86giT2gI+Jtf jCBmEvBxKMQJwmo8324ZiNUzyjzJ1/Dxp19J/EibYXGNE/bi8/ T7sSZL9ke0j5ygSsVB1/ntj/Ui4huILFUXlfAo3Xo8JIiiwW/k 6d11OhGeZHbOlVbs8INtQ/1FyZtKf56zuhx4+K97f X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18436 Cc: 18436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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. Otherwise +1. Thanks & have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 18:35:48 2014 Received: (at 18436-done) by debbugs.gnu.org; 19 Sep 2014 22:35:48 +0000 Received: from localhost ([127.0.0.1]:46124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV6mK-0003mM-4U for submit@debbugs.gnu.org; Fri, 19 Sep 2014 18:35:48 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:15800) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV6mI-0003mE-8p for 18436-done@debbugs.gnu.org; Fri, 19 Sep 2014 18:35:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwBAK2uHFRtTESQ/2dsb2JhbAANU4NgV8lxh1UBgRkBhHwBAQEEMgFGEAsNAQkBCRYPCQMCAQIBPQgGDQEHAQGIP6wWlnQBF5ABB4RLAQSWDIhohhSEXYsZgURrgkoBAQE Received: from unknown (HELO [192.168.1.79]) ([109.76.68.144]) by mail2.vodafone.ie with ESMTP; 19 Sep 2014 23:35:44 +0100 Message-ID: <541CAFC0.6070707@draigBrady.com> Date: Fri, 19 Sep 2014 23:35:44 +0100 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Bernhard Voelker Subject: Re: bug#18436: Error building 8.23 with builddir != srcdir and --disable-dependency-tracking References: <1410292644.2824590.165554633.7856E2F6@webmail.messagingengine.com> <541C5B87.6090106@draigBrady.com> <541C81C2.5000406@bernhard-voelker.de> In-Reply-To: <541C81C2.5000406@bernhard-voelker.de> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18436-done Cc: 18436-done@debbugs.gnu.org, "Daniel Richard G." X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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. From unknown Mon Jun 23 18:28:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 18 Oct 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator