GNU bug report logs - #20186
Failure to create directory during info-building phase of "make distcheck"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: James Youngman <jay@HIDDEN>; dated Tue, 24 Mar 2015 00:27:01 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at 20186 <at> debbugs.gnu.org:


Received: (at 20186) by debbugs.gnu.org; 9 May 2015 21:30:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 09 17:30:45 2015
Received: from localhost ([127.0.0.1]:39741 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YrCKZ-00085l-AC
	for submit <at> debbugs.gnu.org; Sat, 09 May 2015 17:30:44 -0400
Received: from mail-pd0-f172.google.com ([209.85.192.172]:35844)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <james@HIDDEN>) id 1YrCKW-00085W-Bu
 for 20186 <at> debbugs.gnu.org; Sat, 09 May 2015 17:30:42 -0400
Received: by pdea3 with SMTP id a3so117110436pde.3
 for <20186 <at> debbugs.gnu.org>; Sat, 09 May 2015 14:30:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
 :message-id:subject:from:to:cc:content-type;
 bh=/FuNVucbidmT6txbChJbRKC4b7pfaQI6hXnQxa1CiSo=;
 b=TJm0LEqV5cf1e0oNcBMMQjwq+Zvfk+2sre/rE0+ityJi5MIisxQUupuHvg9z+dNV7s
 0gAjwLxRuzkBk0G8+th0EPpxLZJwVg8NdKc9svx+Dwj5qtV+Mt5czPDHmp6P5Kfrnzta
 wtUoTm0UEm0p0zQKK9wRgpy0qgtNZQUuDA2k3S4LQcwKVHF5oYSQWgLfYlNhFWV1hJ6e
 OfipzVjd31R0QX3HfJV1Nrwi4hSD7keHIHl2L4aNB2umqKTTRok8Iw4mo1P5m75l+ajO
 ZeGOMQfDmR8A+CoNUyapMqdBUwZBZJXFJgRNPzxzwmktKCWlGN/N+F0Sre/dqXYKq0YG
 OObA==
X-Gm-Message-State: ALoCoQn8nSbhxi8C8tGmtT1cFUvfFy1/bkc133hFx2vw2Hdrc9QeILFaA3p9cvdddhvwqCvQ6nXZ
MIME-Version: 1.0
X-Received: by 10.70.102.11 with SMTP id fk11mr7103198pdb.144.1431207034509;
 Sat, 09 May 2015 14:30:34 -0700 (PDT)
Received: by 10.70.60.225 with HTTP; Sat, 9 May 2015 14:30:34 -0700 (PDT)
In-Reply-To: <alpine.LSU.2.11.1503251339200.14664@HIDDEN>
References: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
 <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
 <CAGwX766A967eTqMqN8QpcA_=GAP9sLrZ0wgBLNxFJqqwmxc0qQ@HIDDEN>
 <alpine.LSU.2.11.1503251339200.14664@HIDDEN>
Date: Sat, 9 May 2015 22:30:34 +0100
X-Google-Sender-Auth: ceBUuHOUbTVQ27KjBHyjRH72gyo
Message-ID: <CAGwX764LYYx336+hTry8BUuq4UMdN696QzCYtGPe3t6Qz1+61g@HIDDEN>
Subject: Re: bug#20186: Failure to create directory during info-building phase
 of "make distcheck"
From: James Youngman <jay@HIDDEN>
To: Peter Breitenlohner <peb@HIDDEN>
Content-Type: multipart/mixed; boundary=001a11c31be4e4a3a80515acda49
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 20186
Cc: bug-automake@HIDDEN, 20186 <at> debbugs.gnu.org,
 Stefano Lattarini <stefano.lattarini@HIDDEN>,
 Eric Blake <eblake@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--001a11c31be4e4a3a80515acda49
Content-Type: text/plain; charset=UTF-8

Peter,

Thank you for your suggestion.    Though it didn't work immediately,
it did help to solve the problem.  Switching to $(LN_S) wasn't as
simple as I had hoped since I had included the dblocation.texi file in
the distribution, and "make dist" will invoke tar with the -h option
and dereference the symbolic link.   I didn't conclusively prove that
this made my problem persist, but certainly removing dblocation.texi
from the source distribution seemed to resolve the problem.  Though it
may mean that it will now be necessary for users to have makeinfo when
building and installing even if they didn't modify any of the Texinfo
sources.

In case you're interested, I attach the patch I ended up using.

Thanks for your help, everybody.
James.

On Wed, Mar 25, 2015 at 12:47 PM, Peter Breitenlohner <peb@HIDDEN> wrote:
> On Tue, 24 Mar 2015, James Youngman wrote:
>
>> The timestamps look OK to me:
>>
>> ...
>>
>> Perhaps the cause is this rule, though:
>>
>> dblocation.texi: ../locate/dblocation.texi
>>        cp ../locate/dblocation.texi $@
>>
>> This will clearly update the mtime of dblocation.texi.
>
>
> Hi James,
>
> indeed.  You could use the modified rule
>         dblocation.texi: ../locate/dblocation.texi
>                 $(LN_S) ../locate/dblocation.texi $@
> where $(LN_S) is 'ln -s' on systems with working symlinks or otherwise one
> of 'ln' or 'cp'.  I assume your Makefile.in already contains
>         LN_S = @LN_S@
> otherwise you should add
>         AC_PROG_LN_S
> to your configure.ac.
>
> I assume 'make distcheck' will never run on systems without working symlinks
> so this should be OK.
>
> Regards
> Peter



-- 
--
This email is intended solely for the use of its addressee, sender,
and any readers of a mailing list archive in which it happens to
appear.   If you have received this email in error, please say or type
three times, "I believe in the utility of email disclaimers," and then
reply to the author correcting any spellings (and, optionally, any
incorrect spellings), accompanying these with humorous jests about the
author's parentage.   If you are not the addressee, you are
nevertheless permitted to both copy and forward this email since
without such permissions email systems are unable to transmit email to
anybody, intended recipient or not.  To those still reading by this
point, the author would like to apologise for being unable to maintain
a consistent level of humour throughout this disclaimer.  Contents may
settle during transit.  Do not feed the animals.

--001a11c31be4e4a3a80515acda49
Content-Type: text/x-patch; charset=US-ASCII; 
	name="0001-Don-t-include-dblocation.texi-from-original-spot-sym.patch"
Content-Disposition: attachment; 
	filename="0001-Don-t-include-dblocation.texi-from-original-spot-sym.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_i9hjpllu0

RnJvbSBmNTlkODhlNDU2NTUzZGZlMGI1MTg1Y2FmNzVlNDA0MTI4NWZkNTk1IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBKYW1lcyBZb3VuZ21hbiA8amF5QGdudS5vcmc+CkRhdGU6IFNh
dCwgOSBNYXkgMjAxNSAyMTo1NDoxMCArMDEwMApTdWJqZWN0OiBbUEFUQ0hdIERvbid0IGluY2x1
ZGUgZGJsb2NhdGlvbi50ZXhpIGZyb20gb3JpZ2luYWwgc3BvdCwgc3ltbGluayBpdC4KVG86IGZp
bmR1dGlscy1wYXRjaGVzQGdudS5vcmcKCiogZG9jL01ha2VmaWxlLmFtIChkYmxvY2F0aW9uLnRl
eGkpOiBDcmVhdGUgdGhpcyBhcyBhIHN5bWJvbGljCmxpbmsuICBXZSBkbyB0aGlzIGJlY2F1c2Ug
QXV0b21ha2Ugbm93IGludm9rZXMgdGV4aTJkdmkgaW4gInRpZHkiCm1vZGUgYW5kIGhlbmNlIGNo
YW5nZXMgdGhlIHdvcmtpbmcgZGlyZWN0b3J5LiAgVGh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VkYi5oIHVwZGF0ZWRiLnNoICQobWFuX01BTlMpCiBDTEVBTkZJTEVTID0gdXBk
YXRlZGIKIAogRElTVENMRUFORklMRVMgPSBkYmxvY2F0aW9uLnRleGkKIGxvY2F0ZV9TT1VSQ0VT
ID0gbG9jYXRlLmMgd29yZF9pby5jCiBjb2RlX1NPVVJDRVMgPSBjb2RlLmMgd29yZF9pby5jCi1s
b2NhdGVfVEVYSU5GT1MgPSBkYmxvY2F0aW9uLnRleGkKK25vZGlzdF9sb2NhdGVfVEVYSU5GT1Mg
PSBkYmxvY2F0aW9uLnRleGkKIAogQU1fQ1BQRkxBR1MgPSAtSSQodG9wX3NyY2RpcikvbGliIC1J
Li4vZ2wvbGliIC1JJCh0b3Bfc3JjZGlyKS9nbC9saWIgLUkuLi9pbnRsIC1ETE9DQVRFX0RCPVwi
JChMT0NBVEVfREIpXCIgLURMT0NBTEVESVI9XCIkKGxvY2FsZWRpcilcIgogCi0tIAoyLjEuNAoK
--001a11c31be4e4a3a80515acda49--




Information forwarded to bug-automake@HIDDEN:
bug#20186; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 May 2015 21:30:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 09 17:30:57 2015
Received: from localhost ([127.0.0.1]:39744 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YrCKl-00086C-Vx
	for submit <at> debbugs.gnu.org; Sat, 09 May 2015 17:30:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52674)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <james@HIDDEN>) id 1YrCKj-00085w-02
 for submit <at> debbugs.gnu.org; Sat, 09 May 2015 17:30:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YrCKc-0007nI-GJ
 for submit <at> debbugs.gnu.org; Sat, 09 May 2015 17:30:47 -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 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42896)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YrCKc-0007nC-CS
 for submit <at> debbugs.gnu.org; Sat, 09 May 2015 17:30:46 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37940)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YrCKa-00077E-Qz
 for bug-automake@HIDDEN; Sat, 09 May 2015 17:30:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YrCKS-0007mM-KE
 for bug-automake@HIDDEN; Sat, 09 May 2015 17:30:44 -0400
Received: from mail-pd0-f172.google.com ([209.85.192.172]:35050)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YrCKS-0007lq-9d
 for bug-automake@HIDDEN; Sat, 09 May 2015 17:30:36 -0400
Received: by pdbqd1 with SMTP id qd1so115434104pdb.2
 for <bug-automake@HIDDEN>; Sat, 09 May 2015 14:30:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
 :message-id:subject:from:to:cc:content-type;
 bh=/FuNVucbidmT6txbChJbRKC4b7pfaQI6hXnQxa1CiSo=;
 b=AA9bKbVSTxkQyiFqEZq8ZNqkADljuOZgWtxIphrXIUSr/5N/nnopSK9wQUR1L1tQkh
 lUY6/CG5jySnMeYOj4NYMBrCMd3ED5uCc+m+la26+X3qpp81TbIkTfJ2ujKcx7C3Zd+G
 PHGYHtzRPMUP4ZX+2Vir9ZbdOT4CEOrJm3daG5OsYH/FQ9XvKCVh7LlLjcVUpTtkZ2Qf
 SY2NCx9u08Vq4kv9WESJmoY4e2XgGg6k5FqcYmGJfOlA8/X/CODDLM87ZSJTDc39Skv4
 Po326msN0eGQimsLOsc7Aiw8YV5CuEVDu5e3zb0jM32sxrLn36nxhxPdnCqc7eRHWnRd
 UeOA==
X-Gm-Message-State: ALoCoQkT+nOkkQY8wqOdkob3ceb7rPW5mm9dOr3YMDjiktvhdXafT2kB2ty70mQ3LZ/FAZuFyHlx
MIME-Version: 1.0
X-Received: by 10.70.102.11 with SMTP id fk11mr7103198pdb.144.1431207034509;
 Sat, 09 May 2015 14:30:34 -0700 (PDT)
Received: by 10.70.60.225 with HTTP; Sat, 9 May 2015 14:30:34 -0700 (PDT)
In-Reply-To: <alpine.LSU.2.11.1503251339200.14664@HIDDEN>
References: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
 <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
 <CAGwX766A967eTqMqN8QpcA_=GAP9sLrZ0wgBLNxFJqqwmxc0qQ@HIDDEN>
 <alpine.LSU.2.11.1503251339200.14664@HIDDEN>
Date: Sat, 9 May 2015 22:30:34 +0100
X-Google-Sender-Auth: ceBUuHOUbTVQ27KjBHyjRH72gyo
Message-ID: <CAGwX764LYYx336+hTry8BUuq4UMdN696QzCYtGPe3t6Qz1+61g@HIDDEN>
Subject: Re: bug#20186: Failure to create directory during info-building phase
 of "make distcheck"
From: James Youngman <jay@HIDDEN>
To: Peter Breitenlohner <peb@HIDDEN>
Content-Type: multipart/mixed; boundary=001a11c31be4e4a3a80515acda49
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
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: -5.0 (-----)
X-Debbugs-Envelope-To: submit
Cc: bug-automake@HIDDEN, 20186 <at> debbugs.gnu.org,
 Stefano Lattarini <stefano.lattarini@HIDDEN>,
 Eric Blake <eblake@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--001a11c31be4e4a3a80515acda49
Content-Type: text/plain; charset=UTF-8

Peter,

Thank you for your suggestion.    Though it didn't work immediately,
it did help to solve the problem.  Switching to $(LN_S) wasn't as
simple as I had hoped since I had included the dblocation.texi file in
the distribution, and "make dist" will invoke tar with the -h option
and dereference the symbolic link.   I didn't conclusively prove that
this made my problem persist, but certainly removing dblocation.texi
from the source distribution seemed to resolve the problem.  Though it
may mean that it will now be necessary for users to have makeinfo when
building and installing even if they didn't modify any of the Texinfo
sources.

In case you're interested, I attach the patch I ended up using.

Thanks for your help, everybody.
James.

On Wed, Mar 25, 2015 at 12:47 PM, Peter Breitenlohner <peb@HIDDEN> wrote:
> On Tue, 24 Mar 2015, James Youngman wrote:
>
>> The timestamps look OK to me:
>>
>> ...
>>
>> Perhaps the cause is this rule, though:
>>
>> dblocation.texi: ../locate/dblocation.texi
>>        cp ../locate/dblocation.texi $@
>>
>> This will clearly update the mtime of dblocation.texi.
>
>
> Hi James,
>
> indeed.  You could use the modified rule
>         dblocation.texi: ../locate/dblocation.texi
>                 $(LN_S) ../locate/dblocation.texi $@
> where $(LN_S) is 'ln -s' on systems with working symlinks or otherwise one
> of 'ln' or 'cp'.  I assume your Makefile.in already contains
>         LN_S = @LN_S@
> otherwise you should add
>         AC_PROG_LN_S
> to your configure.ac.
>
> I assume 'make distcheck' will never run on systems without working symlinks
> so this should be OK.
>
> Regards
> Peter



-- 
--
This email is intended solely for the use of its addressee, sender,
and any readers of a mailing list archive in which it happens to
appear.   If you have received this email in error, please say or type
three times, "I believe in the utility of email disclaimers," and then
reply to the author correcting any spellings (and, optionally, any
incorrect spellings), accompanying these with humorous jests about the
author's parentage.   If you are not the addressee, you are
nevertheless permitted to both copy and forward this email since
without such permissions email systems are unable to transmit email to
anybody, intended recipient or not.  To those still reading by this
point, the author would like to apologise for being unable to maintain
a consistent level of humour throughout this disclaimer.  Contents may
settle during transit.  Do not feed the animals.

--001a11c31be4e4a3a80515acda49
Content-Type: text/x-patch; charset=US-ASCII; 
	name="0001-Don-t-include-dblocation.texi-from-original-spot-sym.patch"
Content-Disposition: attachment; 
	filename="0001-Don-t-include-dblocation.texi-from-original-spot-sym.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_i9hjpllu0

RnJvbSBmNTlkODhlNDU2NTUzZGZlMGI1MTg1Y2FmNzVlNDA0MTI4NWZkNTk1IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBKYW1lcyBZb3VuZ21hbiA8amF5QGdudS5vcmc+CkRhdGU6IFNh
dCwgOSBNYXkgMjAxNSAyMTo1NDoxMCArMDEwMApTdWJqZWN0OiBbUEFUQ0hdIERvbid0IGluY2x1
ZGUgZGJsb2NhdGlvbi50ZXhpIGZyb20gb3JpZ2luYWwgc3BvdCwgc3ltbGluayBpdC4KVG86IGZp
bmR1dGlscy1wYXRjaGVzQGdudS5vcmcKCiogZG9jL01ha2VmaWxlLmFtIChkYmxv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U5TID0gbG9jYXRlLjEgdXBkYXRlZGIuMSBsb2Nh
dGVkYi41CiBCVUlMVF9TT1VSQ0VTID0gZGJsb2NhdGlvbi50ZXhpCi1FWFRSQV9ESVNUID0gZGJs
b2NhdGlvbi50ZXhpIGxvY2F0ZWRiLmggdXBkYXRlZGIuc2ggJChtYW5fTUFOUykKK0VYVFJBX0RJ
U1QgPSBsb2NhdGVkYi5oIHVwZGF0ZWRiLnNoICQobWFuX01BTlMpCiBDTEVBTkZJTEVTID0gdXBk
YXRlZGIKIAogRElTVENMRUFORklMRVMgPSBkYmxvY2F0aW9uLnRleGkKIGxvY2F0ZV9TT1VSQ0VT
ID0gbG9jYXRlLmMgd29yZF9pby5jCiBjb2RlX1NPVVJDRVMgPSBjb2RlLmMgd29yZF9pby5jCi1s
b2NhdGVfVEVYSU5GT1MgPSBkYmxvY2F0aW9uLnRleGkKK25vZGlzdF9sb2NhdGVfVEVYSU5GT1Mg
PSBkYmxvY2F0aW9uLnRleGkKIAogQU1fQ1BQRkxBR1MgPSAtSSQodG9wX3NyY2RpcikvbGliIC1J
Li4vZ2wvbGliIC1JJCh0b3Bfc3JjZGlyKS9nbC9saWIgLUkuLi9pbnRsIC1ETE9DQVRFX0RCPVwi
JChMT0NBVEVfREIpXCIgLURMT0NBTEVESVI9XCIkKGxvY2FsZWRpcilcIgogCi0tIAoyLjEuNAoK
--001a11c31be4e4a3a80515acda49--




Information forwarded to bug-automake@HIDDEN:
bug#20186; Package automake. Full text available.

Message received at 20186 <at> debbugs.gnu.org:


Received: (at 20186) by debbugs.gnu.org; 25 Mar 2015 12:48:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 25 08:48:11 2015
Received: from localhost ([127.0.0.1]:36034 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YakjC-0005i8-Kn
	for submit <at> debbugs.gnu.org; Wed, 25 Mar 2015 08:48:10 -0400
Received: from smtp.mppmu.mpg.de ([134.107.24.58]:52062)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <peb@HIDDEN>) id 1Yakj6-0005hW-7A
 for 20186 <at> debbugs.gnu.org; Wed, 25 Mar 2015 08:48:09 -0400
Received: by smtp.mppmu.mpg.de (Postfix, from userid 998)
 id 330E6C4740; Wed, 25 Mar 2015 13:47:58 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp.mpp.mpg.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 required=6.0 tests=BAYES_00,J_CHICKENPOX_92,
 T_RP_MATCHES_RCVD autolearn=no version=3.3.1
Received: from mail.mppmu.mpg.de (mail-6.mppmu.mpg.de [134.107.6.12])
 (using TLSv1.1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by smtp.mppmu.mpg.de (Postfix) with ESMTPS id BB910C1C13;
 Wed, 25 Mar 2015 13:47:57 +0100 (CET)
Received: from pcl301.mppmu.mpg.de (pcl321.mppmu.mpg.de [134.107.3.54])
 by mail.mppmu.mpg.de (Postfix) with ESMTP id B7084181A07;
 Wed, 25 Mar 2015 13:47:57 +0100 (CET)
Received: by pcl301.mppmu.mpg.de (Postfix, from userid 9000)
 id B01244008D; Wed, 25 Mar 2015 13:47:57 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by pcl301.mppmu.mpg.de (Postfix) with ESMTP id AC7794008C;
 Wed, 25 Mar 2015 13:47:57 +0100 (CET)
Date: Wed, 25 Mar 2015 13:47:57 +0100 (CET)
From: Peter Breitenlohner <peb@HIDDEN>
To: James Youngman <jay@HIDDEN>
Subject: Re: bug#20186: Failure to create directory during info-building
 phase of "make distcheck"
In-Reply-To: <CAGwX766A967eTqMqN8QpcA_=GAP9sLrZ0wgBLNxFJqqwmxc0qQ@HIDDEN>
Message-ID: <alpine.LSU.2.11.1503251339200.14664@HIDDEN>
References: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
 <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
 <CAGwX766A967eTqMqN8QpcA_=GAP9sLrZ0wgBLNxFJqqwmxc0qQ@HIDDEN>
User-Agent: Alpine 2.11 (LSU 23 2013-08-11)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 20186
Cc: bug-automake@HIDDEN, 20186 <at> debbugs.gnu.org,
 Stefano Lattarini <stefano.lattarini@HIDDEN>,
 Eric Blake <eblake@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

On Tue, 24 Mar 2015, James Youngman wrote:

> The timestamps look OK to me:
>
> ...
>
> Perhaps the cause is this rule, though:
>
> dblocation.texi: ../locate/dblocation.texi
>        cp ../locate/dblocation.texi $@
>
> This will clearly update the mtime of dblocation.texi.

Hi James,

indeed.  You could use the modified rule
 	dblocation.texi: ../locate/dblocation.texi
 		$(LN_S) ../locate/dblocation.texi $@
where $(LN_S) is 'ln -s' on systems with working symlinks or otherwise one
of 'ln' or 'cp'.  I assume your Makefile.in already contains
 	LN_S = @LN_S@
otherwise you should add
 	AC_PROG_LN_S
to your configure.ac.

I assume 'make distcheck' will never run on systems without working symlinks
so this should be OK.

Regards
Peter




Information forwarded to bug-automake@HIDDEN:
bug#20186; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Mar 2015 12:48:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 25 08:48:16 2015
Received: from localhost ([127.0.0.1]:36037 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YakjH-0005iR-7Z
	for submit <at> debbugs.gnu.org; Wed, 25 Mar 2015 08:48:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53267)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <peb@HIDDEN>) id 1YakjD-0005hy-Aw
 for submit <at> debbugs.gnu.org; Wed, 25 Mar 2015 08:48:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <peb@HIDDEN>) id 1Yakj7-00071U-Ac
 for submit <at> debbugs.gnu.org; Wed, 25 Mar 2015 08:48:06 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:47766)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <peb@HIDDEN>) id 1Yakj7-00071P-8b
 for submit <at> debbugs.gnu.org; Wed, 25 Mar 2015 08:48:05 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54970)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <peb@HIDDEN>) id 1Yakj6-0006JJ-CJ
 for bug-automake@HIDDEN; Wed, 25 Mar 2015 08:48:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <peb@HIDDEN>) id 1Yakj2-0006zO-5D
 for bug-automake@HIDDEN; Wed, 25 Mar 2015 08:48:04 -0400
Received: from smtp.mppmu.mpg.de ([134.107.24.58]:33936)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <peb@HIDDEN>)
 id 1Yakj1-0006yf-VQ; Wed, 25 Mar 2015 08:48:00 -0400
Received: by smtp.mppmu.mpg.de (Postfix, from userid 998)
 id 330E6C4740; Wed, 25 Mar 2015 13:47:58 +0100 (CET)
Received: from mail.mppmu.mpg.de (mail-6.mppmu.mpg.de [134.107.6.12])
 (using TLSv1.1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by smtp.mppmu.mpg.de (Postfix) with ESMTPS id BB910C1C13;
 Wed, 25 Mar 2015 13:47:57 +0100 (CET)
Received: from pcl301.mppmu.mpg.de (pcl321.mppmu.mpg.de [134.107.3.54])
 by mail.mppmu.mpg.de (Postfix) with ESMTP id B7084181A07;
 Wed, 25 Mar 2015 13:47:57 +0100 (CET)
Received: by pcl301.mppmu.mpg.de (Postfix, from userid 9000)
 id B01244008D; Wed, 25 Mar 2015 13:47:57 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by pcl301.mppmu.mpg.de (Postfix) with ESMTP id AC7794008C;
 Wed, 25 Mar 2015 13:47:57 +0100 (CET)
Date: Wed, 25 Mar 2015 13:47:57 +0100 (CET)
From: Peter Breitenlohner <peb@HIDDEN>
To: James Youngman <jay@HIDDEN>
Subject: Re: bug#20186: Failure to create directory during info-building
 phase of "make distcheck"
In-Reply-To: <CAGwX766A967eTqMqN8QpcA_=GAP9sLrZ0wgBLNxFJqqwmxc0qQ@HIDDEN>
Message-ID: <alpine.LSU.2.11.1503251339200.14664@HIDDEN>
References: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
 <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
 <CAGwX766A967eTqMqN8QpcA_=GAP9sLrZ0wgBLNxFJqqwmxc0qQ@HIDDEN>
User-Agent: Alpine 2.11 (LSU 23 2013-08-11)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
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: -5.0 (-----)
X-Debbugs-Envelope-To: submit
Cc: bug-automake@HIDDEN, 20186 <at> debbugs.gnu.org,
 Stefano Lattarini <stefano.lattarini@HIDDEN>,
 Eric Blake <eblake@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

On Tue, 24 Mar 2015, James Youngman wrote:

> The timestamps look OK to me:
>
> ...
>
> Perhaps the cause is this rule, though:
>
> dblocation.texi: ../locate/dblocation.texi
>        cp ../locate/dblocation.texi $@
>
> This will clearly update the mtime of dblocation.texi.

Hi James,

indeed.  You could use the modified rule
 	dblocation.texi: ../locate/dblocation.texi
 		$(LN_S) ../locate/dblocation.texi $@
where $(LN_S) is 'ln -s' on systems with working symlinks or otherwise one
of 'ln' or 'cp'.  I assume your Makefile.in already contains
 	LN_S = @LN_S@
otherwise you should add
 	AC_PROG_LN_S
to your configure.ac.

I assume 'make distcheck' will never run on systems without working symlinks
so this should be OK.

Regards
Peter




Information forwarded to bug-automake@HIDDEN:
bug#20186; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Mar 2015 22:47:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 24 18:47:06 2015
Received: from localhost ([127.0.0.1]:35343 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YaXbF-0003VV-L7
	for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 18:47:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46607)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <james@HIDDEN>) id 1YaXbD-0003Um-Cd
 for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 18:47:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaXb6-0007Lm-Gv
 for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 18:46:58 -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 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54792)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaXb6-0007Ld-E7
 for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 18:46:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48289)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaXb2-0005jE-59
 for bug-automake@HIDDEN; Tue, 24 Mar 2015 18:46:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaXax-0007E2-2D
 for bug-automake@HIDDEN; Tue, 24 Mar 2015 18:46:52 -0400
Received: from mail-pa0-f48.google.com ([209.85.220.48]:35898)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaXaw-0007DW-Q4
 for bug-automake@HIDDEN; Tue, 24 Mar 2015 18:46:46 -0400
Received: by padcy3 with SMTP id cy3so7480593pad.3
 for <bug-automake@HIDDEN>; Tue, 24 Mar 2015 15:46:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
 :message-id:subject:from:to:cc:content-type;
 bh=pwruPVNhZCKsr+GHpFBnt4elCVCG1WNCpwCefgf3dM4=;
 b=GazNXPmAgwU40IXsx+gSNlKpPBwqzYpltf6ww2RmbagSAmZhWMgIzqH6hrGYbDiKVZ
 EFv3yoGfjIVaHnJ12pR8mEsoSdaru92INa6IzB4Wk72gACm8EOFa6qbTHpltYLzaDTRe
 9Ut9pVaH+RLnxVzW/Svz8FaTfJ2TYgFu4J2zRhVho0rTNn3FjZ38oatxMUCyqa7KALR8
 rGc+C+Ko18No5cxotUJT+00lpvOg9d+FSvI1K6JKtpbPAgiXXXbjceA21spkopgyFihA
 fpkxMb/uXeTI8DEgM4Ddz2o7kaU35Pkiz9IPit8n5MpPx5MsbwirCpos/Ai18K7ASBPS
 O9qw==
X-Gm-Message-State: ALoCoQl64NDDAOw+4pGCyA+PNCGfXJn3OBvMTGCbkzRTxUdBxjUsI9AGofkY9l7DzSVIw8KYnbS+
MIME-Version: 1.0
X-Received: by 10.66.189.105 with SMTP id gh9mr11289449pac.41.1427237205778;
 Tue, 24 Mar 2015 15:46:45 -0700 (PDT)
Received: by 10.70.130.201 with HTTP; Tue, 24 Mar 2015 15:46:45 -0700 (PDT)
In-Reply-To: <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
References: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
 <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
Date: Tue, 24 Mar 2015 22:46:45 +0000
X-Google-Sender-Auth: FwOzyUUZtQVFZKQ2tptRl2aDaCc
Message-ID: <CAGwX766A967eTqMqN8QpcA_=GAP9sLrZ0wgBLNxFJqqwmxc0qQ@HIDDEN>
Subject: Re: bug#20186: Failure to create directory during info-building phase
 of "make distcheck"
From: James Youngman <jay@HIDDEN>
To: Peter Breitenlohner <peb@HIDDEN>,
 Stefano Lattarini <stefano.lattarini@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
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: -5.0 (-----)
X-Debbugs-Envelope-To: submit
Cc: Eric Blake <eblake@HIDDEN>, 20186 <at> debbugs.gnu.org, bug-automake@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

On Tue, Mar 24, 2015 at 10:49 AM, Peter Breitenlohner <peb@HIDDEN> wrote:
> On Tue, 24 Mar 2015, James Youngman wrote:
>
>> I'm seeing a failure of "make distcheck" which I think is caused by
>> the fact that Automake 1.14.1's rule for .texi.info is trying to
>> create a backup directory in a read-only directory:
>
>
> Hi James,
>
> the .info file in the read-only directory should not be older than the .texi
> file (and other dependencies), thus the rule for .texi.info should never be
> used during "make distcheck".

The timestamps look OK to me:

$ ls -ltri --full-time $( find
/home/james/source/GNU/findutils/git/gnu/findutils
/home/james/source/GNU/findutils/git/gnu/compile/64 \( -name
find.info\* -o -name find.texi \) )
3967808 -r--r--r-- 1 james lp 220524 2015-03-23 09:45:58.000000000
+0000 /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/find.texi
2983056 -rw-r--r-- 1 james lp 220524 2015-03-23 09:45:58.424857809
+0000 /home/james/source/GNU/findutils/git/gnu/findutils/doc/find.texi
3967801 -r--r--r-- 1 james lp  11671 2015-03-23 22:39:18.000000000
+0000 /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/find.info-2
3965120 -r--r--r-- 1 james lp 302487 2015-03-23 22:39:18.000000000
+0000 /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/find.info-1
3967805 -r--r--r-- 1 james lp   6293 2015-03-23 22:39:18.000000000
+0000 /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/find.info
2983128 -rw-r--r-- 1 james lp 302487 2015-03-23 22:39:18.595150555
+0000 /home/james/source/GNU/findutils/git/gnu/findutils/doc/find.info-1
2983129 -rw-r--r-- 1 james lp  11671 2015-03-23 22:39:18.659148601
+0000 /home/james/source/GNU/findutils/git/gnu/findutils/doc/find.info-2
2983130 -rw-r--r-- 1 james lp   6293 2015-03-23 22:39:18.667148357
+0000 /home/james/source/GNU/findutils/git/gnu/findutils/doc/find.info

$ make -C  /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc
-n  find.info
make: Entering directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc'
make: 'find.info' is up to date.
make: Leaving directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc'

Perhaps the cause is this rule, though:

dblocation.texi: ../locate/dblocation.texi
        cp ../locate/dblocation.texi $@

This will clearly update the mtime of dblocation.texi.

However, this rule is intended as a workaround for what would
otherwise be a failure in "make dvi".   The texi file is changed:

$ git diff doc/find.texi  | cat
diff --git a/doc/find.texi b/doc/find.texi
index 7aa20e5..fe0b2ce 100644
--- a/doc/find.texi
+++ b/doc/find.texi
@@ -7,7 +7,7 @@
 @c %**end of header

 @include version.texi
-@include ../locate/dblocation.texi
+@include dblocation.texi

 @iftex
 @finalout

However, the old version of this code no longer works with the
combination of TeX and texinfo I have installed.   Reverting the
change, rebuilding the makefiles (i.e. re-running gnulib-tool etc.)
and doing make dist again we see the failure that I made the above
change to evade:



make[2]: Entering directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/doc'
TEXINPUTS="../../build-aux:$TEXINPUTS" \
MAKEINFO='/bin/sh
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/build-aux/missing
makeinfo   -I ../../doc' \
texi2dvi  --build-dir=find.t2d -o find.dvi  \
../../doc/find.texi
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live
2015/dev/Debian) (preloaded format=etex)
 restricted \write18 enabled.
entering extended mode

(/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/f
ind.texi
(/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/t
exinfo.tex Loading texinfo [version 2014-05-05.10]: pdf, fonts, markup,
glyphs, page headings, tables, conditionals, indexing, sectioning, toc,
environments, defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
(/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/v
ersion.texi)
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/fi
nd.texi:10: I can't find file `../locate/dblocation.texi'.
@temp ->@input ../locate/dblocation.texi

@includezzz ...and @input #1 }@expandafter }@temp
                                                  @popthisfilestack
l.10 @include ../locate/dblocation.texi

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/fi
nd.texi:10: I can't find file `../locate/dblocation.texi'.
@temp ->@input ../locate/dblocation.texi

@includezzz ...and @input #1 }@expandafter }@temp
                                                  @popthisfilestack
l.10 @include ../locate/dblocation.texi

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/fi
nd.texi:10: Emergency stop.
@temp ->@input ../locate/dblocation.texi

@includezzz ...and @input #1 }@expandafter }@temp
                                                  @popthisfilestack
l.10 @include ../locate/dblocation.texi

No pages of output.
Transcript written on find.log.
/usr/bin/texi2dvi: etex exited with bad status, quitting.
make[2]: *** [find.dvi] Error 1
Makefile:1670: recipe for target 'find.dvi' failed
make[2]: Leaving directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/doc'
Makefile:1695: recipe for target 'dvi-recursive' failed
make[1]: *** [dvi-recursive] Error 1
make[1]: Leaving directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build'
make: *** [distcheck] Error 1
Makefile:1910: recipe for target 'distcheck' failed

$ find /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/
-name dblocation.texi
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/locate/dblocation.texi
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/locate/dblocation.texi


I suspect the problem here is the texio2dvi argument
--build-dir=find.t2d - in other words, the generated makefile now uses
texi2dvi in "tidy" mode, and that changes the current directory of the
TeX formatter; it can no longer find ../locate/dblocation.texi.
Certainly strace shows that the program tries to open the file using
exactly " ../locate/dblocation.texi" and cannot because that's not any
longer the correct relative path to the input (though it is the
correct relative path to the input if the working directory were the
same directory as contains find.texi).

It looks to me as if the relevant change was introduced by Stefano
Lattarini in commit 205c7572497789676bea3167b9cdeede69236a16.

James.




Information forwarded to bug-automake@HIDDEN:
bug#20186; Package automake. Full text available.

Message received at 20186 <at> debbugs.gnu.org:


Received: (at 20186) by debbugs.gnu.org; 24 Mar 2015 22:46:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 24 18:46:59 2015
Received: from localhost ([127.0.0.1]:35339 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YaXb8-0003Uo-Jk
	for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 18:46:59 -0400
Received: from mail-pa0-f46.google.com ([209.85.220.46]:35240)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <james@HIDDEN>) id 1YaXb2-0003UU-5a
 for 20186 <at> debbugs.gnu.org; Tue, 24 Mar 2015 18:46:56 -0400
Received: by pagj7 with SMTP id j7so7539668pag.2
 for <20186 <at> debbugs.gnu.org>; Tue, 24 Mar 2015 15:46:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
 :message-id:subject:from:to:cc:content-type;
 bh=pwruPVNhZCKsr+GHpFBnt4elCVCG1WNCpwCefgf3dM4=;
 b=dMOvex/lGMb3lSi3pVN1vKK9zdKYaSJ5OCDe7X+hwtH8PqTtQnKA+iiPsBurCSBQeG
 4KCMb/YUhY3ff/nml9YwwLq7SNGKxd7lxCUjkU+eKorZDI6uqJ7+bUlck/Lgoldx7rrU
 1QSHAzno5ZIS1C+88+0Jp9s09UjxSCHXXeYXASI+tfYmQSpcSgmbcYL7cFfgaVX0Njee
 E5vSufKuiqyfZs3jprT50cEVLaJ1RbysV2K5/zCMW6e9fTRW3NiHt40G2EaukFntqoqQ
 kVBm9tTq/et/QZoMZjvfIrcn5NsbZY2t8qQ18s79vpf0+SLNj0HIi/y+9Z61bqM+Un4D
 lMhQ==
X-Gm-Message-State: ALoCoQnkA2+B/50xNTa3ddfgS8hcM921ehpATdYv3hG0MVUPSjikKsZRL34iLoDZcrKHbvyrKfLD
MIME-Version: 1.0
X-Received: by 10.66.189.105 with SMTP id gh9mr11289449pac.41.1427237205778;
 Tue, 24 Mar 2015 15:46:45 -0700 (PDT)
Received: by 10.70.130.201 with HTTP; Tue, 24 Mar 2015 15:46:45 -0700 (PDT)
In-Reply-To: <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
References: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
 <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
Date: Tue, 24 Mar 2015 22:46:45 +0000
X-Google-Sender-Auth: FwOzyUUZtQVFZKQ2tptRl2aDaCc
Message-ID: <CAGwX766A967eTqMqN8QpcA_=GAP9sLrZ0wgBLNxFJqqwmxc0qQ@HIDDEN>
Subject: Re: bug#20186: Failure to create directory during info-building phase
 of "make distcheck"
From: James Youngman <jay@HIDDEN>
To: Peter Breitenlohner <peb@HIDDEN>,
 Stefano Lattarini <stefano.lattarini@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 20186
Cc: Eric Blake <eblake@HIDDEN>, 20186 <at> debbugs.gnu.org, bug-automake@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Tue, Mar 24, 2015 at 10:49 AM, Peter Breitenlohner <peb@HIDDEN> wrote:
> On Tue, 24 Mar 2015, James Youngman wrote:
>
>> I'm seeing a failure of "make distcheck" which I think is caused by
>> the fact that Automake 1.14.1's rule for .texi.info is trying to
>> create a backup directory in a read-only directory:
>
>
> Hi James,
>
> the .info file in the read-only directory should not be older than the .texi
> file (and other dependencies), thus the rule for .texi.info should never be
> used during "make distcheck".

The timestamps look OK to me:

$ ls -ltri --full-time $( find
/home/james/source/GNU/findutils/git/gnu/findutils
/home/james/source/GNU/findutils/git/gnu/compile/64 \( -name
find.info\* -o -name find.texi \) )
3967808 -r--r--r-- 1 james lp 220524 2015-03-23 09:45:58.000000000
+0000 /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/find.texi
2983056 -rw-r--r-- 1 james lp 220524 2015-03-23 09:45:58.424857809
+0000 /home/james/source/GNU/findutils/git/gnu/findutils/doc/find.texi
3967801 -r--r--r-- 1 james lp  11671 2015-03-23 22:39:18.000000000
+0000 /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/find.info-2
3965120 -r--r--r-- 1 james lp 302487 2015-03-23 22:39:18.000000000
+0000 /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/find.info-1
3967805 -r--r--r-- 1 james lp   6293 2015-03-23 22:39:18.000000000
+0000 /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/find.info
2983128 -rw-r--r-- 1 james lp 302487 2015-03-23 22:39:18.595150555
+0000 /home/james/source/GNU/findutils/git/gnu/findutils/doc/find.info-1
2983129 -rw-r--r-- 1 james lp  11671 2015-03-23 22:39:18.659148601
+0000 /home/james/source/GNU/findutils/git/gnu/findutils/doc/find.info-2
2983130 -rw-r--r-- 1 james lp   6293 2015-03-23 22:39:18.667148357
+0000 /home/james/source/GNU/findutils/git/gnu/findutils/doc/find.info

$ make -C  /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc
-n  find.info
make: Entering directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc'
make: 'find.info' is up to date.
make: Leaving directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc'

Perhaps the cause is this rule, though:

dblocation.texi: ../locate/dblocation.texi
        cp ../locate/dblocation.texi $@

This will clearly update the mtime of dblocation.texi.

However, this rule is intended as a workaround for what would
otherwise be a failure in "make dvi".   The texi file is changed:

$ git diff doc/find.texi  | cat
diff --git a/doc/find.texi b/doc/find.texi
index 7aa20e5..fe0b2ce 100644
--- a/doc/find.texi
+++ b/doc/find.texi
@@ -7,7 +7,7 @@
 @c %**end of header

 @include version.texi
-@include ../locate/dblocation.texi
+@include dblocation.texi

 @iftex
 @finalout

However, the old version of this code no longer works with the
combination of TeX and texinfo I have installed.   Reverting the
change, rebuilding the makefiles (i.e. re-running gnulib-tool etc.)
and doing make dist again we see the failure that I made the above
change to evade:



make[2]: Entering directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/doc'
TEXINPUTS="../../build-aux:$TEXINPUTS" \
MAKEINFO='/bin/sh
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/build-aux/missing
makeinfo   -I ../../doc' \
texi2dvi  --build-dir=find.t2d -o find.dvi  \
../../doc/find.texi
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live
2015/dev/Debian) (preloaded format=etex)
 restricted \write18 enabled.
entering extended mode

(/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/f
ind.texi
(/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/t
exinfo.tex Loading texinfo [version 2014-05-05.10]: pdf, fonts, markup,
glyphs, page headings, tables, conditionals, indexing, sectioning, toc,
environments, defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
(/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/v
ersion.texi)
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/fi
nd.texi:10: I can't find file `../locate/dblocation.texi'.
@temp ->@input ../locate/dblocation.texi

@includezzz ...and @input #1 }@expandafter }@temp
                                                  @popthisfilestack
l.10 @include ../locate/dblocation.texi

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/fi
nd.texi:10: I can't find file `../locate/dblocation.texi'.
@temp ->@input ../locate/dblocation.texi

@includezzz ...and @input #1 }@expandafter }@temp
                                                  @popthisfilestack
l.10 @include ../locate/dblocation.texi

(Press Enter to retry, or Control-D to exit)
Please type another input file name:
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/doc/fi
nd.texi:10: Emergency stop.
@temp ->@input ../locate/dblocation.texi

@includezzz ...and @input #1 }@expandafter }@temp
                                                  @popthisfilestack
l.10 @include ../locate/dblocation.texi

No pages of output.
Transcript written on find.log.
/usr/bin/texi2dvi: etex exited with bad status, quitting.
make[2]: *** [find.dvi] Error 1
Makefile:1670: recipe for target 'find.dvi' failed
make[2]: Leaving directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/doc'
Makefile:1695: recipe for target 'dvi-recursive' failed
make[1]: *** [dvi-recursive] Error 1
make[1]: Leaving directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build'
make: *** [distcheck] Error 1
Makefile:1910: recipe for target 'distcheck' failed

$ find /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/
-name dblocation.texi
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/locate/dblocation.texi
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/locate/dblocation.texi


I suspect the problem here is the texio2dvi argument
--build-dir=find.t2d - in other words, the generated makefile now uses
texi2dvi in "tidy" mode, and that changes the current directory of the
TeX formatter; it can no longer find ../locate/dblocation.texi.
Certainly strace shows that the program tries to open the file using
exactly " ../locate/dblocation.texi" and cannot because that's not any
longer the correct relative path to the input (though it is the
correct relative path to the input if the working directory were the
same directory as contains find.texi).

It looks to me as if the relevant change was introduced by Stefano
Lattarini in commit 205c7572497789676bea3167b9cdeede69236a16.

James.




Information forwarded to bug-automake@HIDDEN:
bug#20186; Package automake. Full text available.

Message received at 20186 <at> debbugs.gnu.org:


Received: (at 20186) by debbugs.gnu.org; 24 Mar 2015 10:49:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 24 06:49:26 2015
Received: from localhost ([127.0.0.1]:34539 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YaMOk-0008VS-8C
	for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 06:49:26 -0400
Received: from smtp.mppmu.mpg.de ([134.107.24.58]:56612)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <peb@HIDDEN>) id 1YaMOh-0008V2-SL
 for 20186 <at> debbugs.gnu.org; Tue, 24 Mar 2015 06:49:24 -0400
Received: by smtp.mppmu.mpg.de (Postfix, from userid 998)
 id EC4D0C434E; Tue, 24 Mar 2015 11:49:17 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp.mpp.mpg.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=6.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=ham version=3.3.1
Received: from mail.mppmu.mpg.de (mail-6.mppmu.mpg.de [134.107.6.12])
 (using TLSv1.1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by smtp.mppmu.mpg.de (Postfix) with ESMTPS id 8757DC275E;
 Tue, 24 Mar 2015 11:49:17 +0100 (CET)
Received: from pcl301.mppmu.mpg.de (pcl321.mppmu.mpg.de [134.107.3.54])
 by mail.mppmu.mpg.de (Postfix) with ESMTP id 83E2F181A19;
 Tue, 24 Mar 2015 11:49:17 +0100 (CET)
Received: by pcl301.mppmu.mpg.de (Postfix, from userid 9000)
 id 7F83C4008C; Tue, 24 Mar 2015 11:49:17 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by pcl301.mppmu.mpg.de (Postfix) with ESMTP id 7C7CC4008B;
 Tue, 24 Mar 2015 11:49:17 +0100 (CET)
Date: Tue, 24 Mar 2015 11:49:17 +0100 (CET)
From: Peter Breitenlohner <peb@HIDDEN>
To: James Youngman <jay@HIDDEN>
Subject: Re: bug#20186: Failure to create directory during info-building
 phase of "make distcheck"
In-Reply-To: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
Message-ID: <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
References: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
User-Agent: Alpine 2.11 (LSU 23 2013-08-11)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 20186
Cc: 20186 <at> debbugs.gnu.org, bug-automake@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

On Tue, 24 Mar 2015, James Youngman wrote:

> I'm seeing a failure of "make distcheck" which I think is caused by
> the fact that Automake 1.14.1's rule for .texi.info is trying to
> create a backup directory in a read-only directory:

Hi James,

the .info file in the read-only directory should not be older than the .texi
file (and other dependencies), thus the rule for .texi.info should never be
used during "make distcheck".  Something wrong with your timestamps and or
filesystem?

Regards
Peter Breitenlohner <peb@HIDDEN>




Information forwarded to bug-automake@HIDDEN:
bug#20186; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Mar 2015 10:49:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 24 06:49:36 2015
Received: from localhost ([127.0.0.1]:34545 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YaMOu-0008Vw-5F
	for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 06:49:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40554)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <peb@HIDDEN>) id 1YaMOs-0008Vg-88
 for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 06:49:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <peb@HIDDEN>) id 1YaMOl-0000UR-UT
 for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 06:49:28 -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.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59843)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <peb@HIDDEN>) id 1YaMOl-0000UN-Rg
 for submit <at> debbugs.gnu.org; Tue, 24 Mar 2015 06:49:27 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42258)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <peb@HIDDEN>) id 1YaMOl-0005Gx-3P
 for bug-automake@HIDDEN; Tue, 24 Mar 2015 06:49:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <peb@HIDDEN>) id 1YaMOd-0000TP-R6
 for bug-automake@HIDDEN; Tue, 24 Mar 2015 06:49:27 -0400
Received: from smtp.mppmu.mpg.de ([134.107.24.58]:38489)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <peb@HIDDEN>)
 id 1YaMOd-0000Sg-L3; Tue, 24 Mar 2015 06:49:19 -0400
Received: by smtp.mppmu.mpg.de (Postfix, from userid 998)
 id EC4D0C434E; Tue, 24 Mar 2015 11:49:17 +0100 (CET)
Received: from mail.mppmu.mpg.de (mail-6.mppmu.mpg.de [134.107.6.12])
 (using TLSv1.1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by smtp.mppmu.mpg.de (Postfix) with ESMTPS id 8757DC275E;
 Tue, 24 Mar 2015 11:49:17 +0100 (CET)
Received: from pcl301.mppmu.mpg.de (pcl321.mppmu.mpg.de [134.107.3.54])
 by mail.mppmu.mpg.de (Postfix) with ESMTP id 83E2F181A19;
 Tue, 24 Mar 2015 11:49:17 +0100 (CET)
Received: by pcl301.mppmu.mpg.de (Postfix, from userid 9000)
 id 7F83C4008C; Tue, 24 Mar 2015 11:49:17 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by pcl301.mppmu.mpg.de (Postfix) with ESMTP id 7C7CC4008B;
 Tue, 24 Mar 2015 11:49:17 +0100 (CET)
Date: Tue, 24 Mar 2015 11:49:17 +0100 (CET)
From: Peter Breitenlohner <peb@HIDDEN>
To: James Youngman <jay@HIDDEN>
Subject: Re: bug#20186: Failure to create directory during info-building
 phase of "make distcheck"
In-Reply-To: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
Message-ID: <alpine.LSU.2.11.1503241143330.14664@HIDDEN>
References: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
User-Agent: Alpine 2.11 (LSU 23 2013-08-11)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
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: -5.0 (-----)
X-Debbugs-Envelope-To: submit
Cc: 20186 <at> debbugs.gnu.org, bug-automake@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

On Tue, 24 Mar 2015, James Youngman wrote:

> I'm seeing a failure of "make distcheck" which I think is caused by
> the fact that Automake 1.14.1's rule for .texi.info is trying to
> create a backup directory in a read-only directory:

Hi James,

the .info file in the read-only directory should not be older than the .texi
file (and other dependencies), thus the rule for .texi.info should never be
used during "make distcheck".  Something wrong with your timestamps and or
filesystem?

Regards
Peter Breitenlohner <peb@HIDDEN>




Information forwarded to bug-automake@HIDDEN:
bug#20186; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Mar 2015 00:26:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 23 20:26:57 2015
Received: from localhost ([127.0.0.1]:34303 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YaCgL-00083i-6D
	for submit <at> debbugs.gnu.org; Mon, 23 Mar 2015 20:26:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48432)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <james@HIDDEN>) id 1YaCgJ-00083W-I4
 for submit <at> debbugs.gnu.org; Mon, 23 Mar 2015 20:26:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaCgC-00075e-S5
 for submit <at> debbugs.gnu.org; Mon, 23 Mar 2015 20:26:50 -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 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45032)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaCgC-00075W-PD
 for submit <at> debbugs.gnu.org; Mon, 23 Mar 2015 20:26:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50154)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaCg8-0003jr-Mu
 for bug-automake@HIDDEN; Mon, 23 Mar 2015 20:26:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaCg4-00070i-Ls
 for bug-automake@HIDDEN; Mon, 23 Mar 2015 20:26:44 -0400
Received: from mail-pd0-f174.google.com ([209.85.192.174]:34130)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <james@HIDDEN>) id 1YaCg4-000705-EM
 for bug-automake@HIDDEN; Mon, 23 Mar 2015 20:26:40 -0400
Received: by pdbni2 with SMTP id ni2so203356022pdb.1
 for <bug-automake@HIDDEN>; Mon, 23 Mar 2015 17:26:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:date:message-id:subject:from
 :to:content-type;
 bh=0Q2NltKcoya4smdkdfEAFDKhxx6jkyIOQ3G9lAbd6gA=;
 b=JuKDUr29zICi/K9oyVhNkjHvxCfnvCD6aISwotGGegEzzxhArXO6yxJQnlapA+Mk+d
 +mRfhs815jZregxtoujmoeORGEAghRNxjNQeiZzpyFKWcE+OirVTPqDRgCy67mnP5OQq
 vc9hdqUUuQwIVEgqAvooZQU6ih+gUNKBiPG9jpm2hKnDmj4AzJVU8vTlHHcpEizCBcdz
 n1Vruf2xrdH4BB64w7ZetaapT4wPGOS4Cs3C5f5Bee3lXcKmtMk0A52vlJ+m+faFIoZ9
 +HG+yQdiiMJuojS3HiCvesy07jyrT4HTa4dVB1zUts/TjEM+U5StY4WW6Y5bEbP9BmIK
 Ngqw==
X-Gm-Message-State: ALoCoQmalrd1OA5thE6TkAqocDn8ZtZuNk+74qvdV0aNBAuoUJE8uW2+tZnp2EMNpEP13VGD8TMZ
MIME-Version: 1.0
X-Received: by 10.66.189.105 with SMTP id gh9mr2717498pac.41.1427156798861;
 Mon, 23 Mar 2015 17:26:38 -0700 (PDT)
Received: by 10.70.130.201 with HTTP; Mon, 23 Mar 2015 17:26:38 -0700 (PDT)
Date: Tue, 24 Mar 2015 00:26:38 +0000
X-Google-Sender-Auth: 67Pj6JlXnMcJC-L7g7nCpqHOplM
Message-ID: <CAGwX764QRAax0111VVRHbNebV_BqkPBYwj+ny7JPzQLajUh95g@HIDDEN>
Subject: Failure to create directory during info-building phase of "make
 distcheck"
From: James Youngman <jay@HIDDEN>
To: bug-automake@HIDDEN
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
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: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

I'm seeing a failure of "make distcheck" which I think is caused by
the fact that Automake 1.14.1's rule for .texi.info is trying to
create a backup directory in a read-only directory:

(sorry about what appear to be problems with leading space)

$ cat doc/Makefile.in
...
.texi.info:
$(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \
am__cwd=`pwd` && $(am__cd) $(srcdir) && \
rm -rf $$backupdir && mkdir $$backupdir && \
if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
 for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9]
$(@:.info=).i[0-9][0-9]; do \
   if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
 done; \
else :; fi && \
cd "$$am__cwd"; \
if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
-o $@ $<; \
then \
 rc=0; \
 $(am__cd) $(srcdir); \
else \
 rc=$$?; \
 $(am__cd) $(srcdir) && \
 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
fi; \
rm -rf $$backupdir; exit $$rc
...


$ make distcheck
...
make[3]: Entering directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/doc'
cp ../locate/dblocation.texi dblocation.texi
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd ../../doc && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/build-aux/missing
makeinfo --version) >/dev/null 2>&1; then \
  for f in ../../doc/find.info ../../doc/find.info-[0-9]
../../doc/find.info-[0-9][0-9] ../../doc/find.i[0-9]
../../doc/find.i[0-9][0-9]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/build-aux/missing
makeinfo   -I ../../doc \
 -o ../../doc/find.info ../../doc/find.texi; \
then \
  rc=0; \
  CDPATH="${ZSH_VERSION+.}:" && cd ../../doc; \
else \
  rc=$?; \
  CDPATH="${ZSH_VERSION+.}:" && cd ../../doc && \
  $restore $backupdir/* `echo "./../../doc/find.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
mkdir: cannot create directory '.am22323': Permission denied
could not open ../../doc/find.texi: No such file or directory
Makefile:1648: recipe for target '../../doc/find.info' failed
make[3]: *** [../../doc/find.info] Error 1
make[3]: Leaving directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/doc'
Makefile:1695: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build'
Makefile:1635: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build'
Makefile:1910: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1


$ ls -l -d /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/doc
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/
 /home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/
dr-xr-xr-x 14 james lp 4096 Mar 23 23:52
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/
drwxr-xr-x 12 james lp 4096 Mar 23 23:53
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/
drwxr-xr-x  2 james lp 4096 Mar 23 23:54
/home/james/source/GNU/findutils/git/gnu/compile/64/findutils-4.5.15-git/_build/doc

$ automake --version
automake (GNU automake) 1.14.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@HIDDEN>
       and Alexandre Duret-Lutz <adl@HIDDEN>.


In case it matters, my regular compile directory (in which "make
distcheck" was invoked) is also a VPATH build, as is the build
configuration created by "make distcheck".

I see that this part of the Automake code changed since the release of
1.14.1, At first glance it looks to me as if git comit
cdba479fe5739555ad9ec30e0224f24b2facf548 might fix the problem.  Is
this likely?

I experimented with "AM_MAKEINFOHTMLFLAGS = --no-split" but this
didn't seem to mitigate my problem.  What else could I try as a
workaround (apart from "install source-built packages of things into
/usr/local until the problem goes away")?

Thanks,
James.




Acknowledgement sent to James Youngman <jay@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#20186; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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