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 32643 invoked from network); 31 May 2020 01:58:26 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 31 May 2020 01:58:26 -0000 Received: (qmail 25403 invoked by alias); 31 May 2020 01:58:20 -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: 45944 Received: (qmail 11455 invoked by uid 1010); 31 May 2020 01:58:20 -0000 X-Qmail-Scanner-Diagnostics: from out5-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25821. spamassassin: 3.4.4. Clear:RC:0(66.111.4.29):SA:0(-2.6/5.0):. Processed in 3.146526 secs); 31 May 2020 01:58:20 -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: gggruggvucftvghtrhhoucdtuddrgeduhedrudefuddggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfgjfhfogggtgfesthejtddtredtvdenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnhepieehudffhfejfeeiveeftefffeekheeugfdthfeviedvjeev iefhuddukedtfefgnecuffhomhgrihhnpehtrghrsggrlhhlrdgtugenucfkphepjeelrd dujeeirdefledrieelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepugdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Date: Sun, 31 May 2020 01:57:39 +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: <20200531015739.4679267a@tarpaulin.shahaf.local2> In-Reply-To: <20200530.180516.365810412746058204.yasu@utahime.org> References: <20200529.150752.1706439437681626208.yasu@utahime.org> <20200529225401.640a2b75@tarpaulin.shahaf.local2> <20200530.180516.365810412746058204.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=US-ASCII Content-Transfer-Encoding: 7bit Yasuhiro KIMURA wrote on Sat, 30 May 2020 18:05 +0900: > [Similar problem with help files] > > Similar problem happens with 'make install.runhelp' when build is > out-of-source and source is from tarball. > > cd /tmp/zsh/source > tar xfpvJ /somewhere/zsh-5.8.tar.xz > cd /tmp/zsh/build > /tmp/zsh/source/zsh-5.8/configure --srcdir=/tmp/zsh/source/zsh-5.8 > make DESTDIR=/tmp/zsh/install install.runhelp > > These steps result in following error. > > make[1]: Entering directory '/tmp/zsh/build/Doc' > if test x"/usr/local/share/zsh/5.8/help" != x""; then \ > /bin/sh /tmp/zsh/source/zsh-5.8/mkinstalldirs /tmp/zsh/install/usr/local/share/zsh/5.8/help; \ > /bin/install -c -m 644 help/* /tmp/zsh/install/usr/local/share/zsh/5.8/help; \ > while read from to; do \ > rm -f /tmp/zsh/install/usr/local/share/zsh/5.8/help/$to || : ; \ > ln -s $from /tmp/zsh/install/usr/local/share/zsh/5.8/help/$to; \ > done < help.txt; \ > fi > /bin/install: cannot stat 'help/*': No such file or directory > /bin/sh: 4: cannot open help.txt: No such file > make[1]: *** [Makefile:482: install.runhelp] Error 2 > make[1]: Leaving directory '/tmp/zsh/build/Doc' > make: *** [Makefile:226: install.runhelp] Error 2 > Thanks for the report. This looks like another effect of the same series of Doc/Makefile.in commits: 76a16498d 43692: Generate man pages in the build dir, rather than the source dir. b2ddd9717 43404 (after 43392): Fix 'make install' in out-of-tree builds 85ae84e89 43392: dist: Generate doc/help/* and doc/help.txt in builddir rather than srcdir. For me, the patch I just posted (the second revision, from today) fixes this issue as well. I also confirmed that `cd $DESTDIR/$prefix/share/zsh/5.8/help && find` and `cd /usr/share/zsh/help && find` [the latter being my distro's build] produce identical outputs. Do let us know if anything else seems amiss. Cheers, Daniel > Best Regards. > > --- > Yasuhiro KIMURA