From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#16772: Failure in "make install" on MS-Windows Date: Mon, 17 Feb 2014 17:16:06 +0100 Message-ID: References: <63r47232fz.fsf@fencepost.gnu.org> <83y51992nd.fsf@gnu.org> <83txbx91f1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1392653876 18520 80.91.229.3 (17 Feb 2014 16:17:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2014 16:17:56 +0000 (UTC) Cc: 16772@debbugs.gnu.org, Juanma Barranquero To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 17 17:18:03 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WFQtP-0007Ak-Db for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Feb 2014 17:18:03 +0100 Original-Received: from localhost ([::1]:42475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFQtO-0001Wy-Tr for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Feb 2014 11:18:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFQsV-0000Dk-Ou for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 11:17:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFQsR-0004RF-84 for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 11:17:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFQsR-0004R7-4M for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 11:17:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WFQsQ-0001nd-Fv for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 11:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Feb 2014 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16772 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16772-submit@debbugs.gnu.org id=B16772.13926537766825 (code B ref 16772); Mon, 17 Feb 2014 16:17:02 +0000 Original-Received: (at 16772) by debbugs.gnu.org; 17 Feb 2014 16:16:16 +0000 Original-Received: from localhost ([127.0.0.1]:56774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFQrf-0001m0-MA for submit@debbugs.gnu.org; Mon, 17 Feb 2014 11:16:16 -0500 Original-Received: from mail-lb0-f181.google.com ([209.85.217.181]:36771) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFQrc-0001ll-L0 for 16772@debbugs.gnu.org; Mon, 17 Feb 2014 11:16:13 -0500 Original-Received: by mail-lb0-f181.google.com with SMTP id z11so10283265lbi.40 for <16772@debbugs.gnu.org>; Mon, 17 Feb 2014 08:16:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ov/GMM5BnRHChBOTGW0+nM9unAIpI8nXS0EAhPgS1FI=; b=rUHx/GD1J5OfKvvReTNceM9GSkG8YDhecGU5D+ArCWYb0vr0qkECCHVpi/gvGaH/9U 0VLZs04lHBm0pGNZYd61laNfMv+XKBYd2kcOovLiG3BQNPzf/B9Lo74aq+JJwb0okYZS /oALVunrh8AL2vChmEyi4bDJRg0PMrzi+DnFkddUpQQJIN1pV6Ralmk81DlS1LYBfP0J 1eU4YuaBaLFfBd7N7JOtMzlHF/Ojjjja5DdKfEk6DXCTxJJCN9GLR31fl3O1USaqCdjN C57SGunS2sRqlOAtvkjB+r0EcU7ak11DkkcLG4scWkVX6afljfKj+AjUdD9QxqeyTXV1 2LMA== X-Received: by 10.152.29.3 with SMTP id f3mr159918lah.85.1392653766267; Mon, 17 Feb 2014 08:16:06 -0800 (PST) Original-Received: by 10.114.18.69 with HTTP; Mon, 17 Feb 2014 08:16:06 -0800 (PST) In-Reply-To: <83txbx91f1.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85755 Archived-At: >> > Sorry, I don't understand: did you specify DESTDIR, or didn't you? If >> > you did, please show the full "make install" command line you used. >> >> As I said: >> >> >> > I've tried the patch: I've gone to the build directory and done "make >> >> > install prefix='../myinstalldir' GZIP_INFO= GZIP_PROG=". The process >> >> > has ended up this way: > > There's no DESTDIR anywhere in sight here. There isn't, no. (and?) >> AFAIK, this is the way to specify the destination directory in "make >> install" (using the "prefix" parameter). > > You explicitly mentioned DESTDIR, not "destination directory": Because DESTDIR is the name of a make variable, which is employed in the sentence which failed in my original bug report (file "nt/Makefile.in", target "install"): $(INSTALL_DATA) README.W32 "$(DESTDIR)${datadir}/emacs/$(version)" When I try to show the value of that variable, at that point, it seems to be empty (which seems like a bug). >> The problem, I think, is that $(DESTDIR) contains literally the prefix >> I gave ("../myinstalldir"), which is a relative path (to the "current" >> directory - at the moment of the "make install"), but since we are now >> in "nt/Makefile", the current working directory is "/nt", >> and therefore, relative references like this one don't refer to the >> intended location. > > So I thought you were using DESTDIR on the Make command line. It now > turns out you didn't use DESTDIR at all. No, I didn't. Sorry if I said something that confused you, but AFAIK, I don't have to set that variable anywere. > You also said that the target directory existed when the error was > reported: > >> On Mon, Feb 17, 2014 at 5:45 AM, Eli Zaretskii wrote: >> >> Date: Sun, 16 Feb 2014 22:23:06 +0100 >> >> From: Dani Moncayo >> >> >> >> /bin/install -c -m 644 README.W32 >> >> "/usr/home/dani/emacs/install/emacs-r116453-20140216-w32-bin/share/emacs/24.3.50" >> >> /bin/install: cannot stat `README.W32': No such file or directory >> > >> > Does the target directory >> > "/usr/home/dani/emacs/install/emacs-r116453-20140216-w32-bin/share/emacs/24.3.50" >> > exist at that point? >> >> Yes, it does. > > So how come now it does NOT exist? When I checked, I think it existed, but I'm going crazy with so many tests... I'd suggest you to try to reproduce this yourself. But failing that, I'll do it later today... -- Dani Moncayo