From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26274 invoked from network); 1 Jun 2020 08:04:44 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 1 Jun 2020 08:04:44 -0000 Received: (qmail 8573 invoked by alias); 1 Jun 2020 08:04:30 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45947 Received: (qmail 15009 invoked by uid 1010); 1 Jun 2020 08:04:30 -0000 X-Qmail-Scanner-Diagnostics: from wout2-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25828. spamassassin: 3.4.4. Clear:RC:0(64.147.123.25):SA:0(-2.6/5.0):. Processed in 4.75596 secs); 01 Jun 2020 08:04:30 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefgedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkjghfofggtgfgsehtqhdttdertdejnecuhfhrohhmpeffrghn ihgvlhcuufhhrghhrghfuceougdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpefhtdetfeehveeutdehuddtieefgeettedtjedtffehudei ieejleetteekudetheenucfkphepjeelrddujeeirdefledrieelnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhs hhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Date: Mon, 1 Jun 2020 08:03:42 +0000 From: Daniel Shahaf To: Yasuhiro KIMURA Cc: zsh-workers@zsh.org Subject: Re: 'make install' fails when build directory is differnet from that of source tree. Message-ID: <20200601080342.105dbccc@tarpaulin.shahaf.local2> In-Reply-To: <20200531.164634.342543794698281016.yasu@utahime.org> References: <20200529225401.640a2b75@tarpaulin.shahaf.local2> <20200530.180516.365810412746058204.yasu@utahime.org> <20200531015739.4679267a@tarpaulin.shahaf.local2> <20200531.164634.342543794698281016.yasu@utahime.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yasuhiro KIMURA wrote on Sun, 31 May 2020 16:46 +0900: > in-tree build produced following output. =E2=8B=AE > And out-of-tree build produced following output. =E2=8B=AE: > I you compare these outputs, there are following extra output in the > later. >=20 > ---------------------------------------------------------------------- > perl /tmp/zsh/source/zsh-5.8/Util/helpfiles \ > zshbuiltins.1 help help.txt \ > || rm -f help.txt help/* > ---------------------------------------------------------------------- Thanks again for the thorough investigation and clear presentation. The cause of this difference seems to be straightforward: the cp(1) invocation added by the patch creates [builddir]/Doc/zshbultins.1 with an mtime of "now", which causes the following rule to run: 204 help.txt: zshbuiltins.1 205 @-rm -f $@ help/* 206 perl $(sdir_top)/Util/helpfiles \ 207 zshbuiltins.1 help help.txt \ 208 || rm -f help.txt help/* I suspect that extending the last patch (workers/45943) to (1)=C2=A0copy Doc/help/ and Doc/help.txt [due to the aforementioned workers/43392], and (2)=C2=A0s/cp/cp -p/, would address this. However, I'm afraid I don't currently have time to implement and test this. If you have time to do so, you'll be very welcome; if not, I'll implement that and post the patch when I have a minute. Cheers, Daniel