From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.emacs.bugs Subject: bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in Date: Mon, 18 Jun 2012 17:47:26 -0500 Message-ID: <87wr34nsox.fsf@trouble.defaultvalue.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1340059672 19532 80.91.229.3 (18 Jun 2012 22:47:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2012 22:47:52 +0000 (UTC) To: 11737@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 19 00:47:49 2012 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 1Sgkjd-0007hg-DJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jun 2012 00:47:49 +0200 Original-Received: from localhost ([::1]:60743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sgkjd-0000PX-6J for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jun 2012 18:47:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sgkja-0000PP-BN for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 18:47:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgkjY-0004yl-GH for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 18:47:45 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgkjY-0004yY-D8 for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 18:47:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sgkmj-00005x-MO for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 18:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rob Browning Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jun 2012 22:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11737 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1340059856351 (code B ref -1); Mon, 18 Jun 2012 22:51:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jun 2012 22:50:56 +0000 Original-Received: from localhost ([127.0.0.1]:47282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sgkmd-00005b-OV for submit@debbugs.gnu.org; Mon, 18 Jun 2012 18:50:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51827) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sgkma-00005U-UI for submit@debbugs.gnu.org; Mon, 18 Jun 2012 18:50:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgkjN-0004w1-AQ for submit@debbugs.gnu.org; Mon, 18 Jun 2012 18:47:34 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:42086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgkjN-0004vs-78 for submit@debbugs.gnu.org; Mon, 18 Jun 2012 18:47:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgkjL-0000PG-9L for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 18:47:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgkjJ-0004ut-F6 for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 18:47:30 -0400 Original-Received: from defaultvalue.org ([70.85.129.156]:57631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgkjJ-0004uQ-AQ for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2012 18:47:29 -0400 Original-Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@defaultvalue.org) by defaultvalue.org (Postfix) with ESMTPSA id 5FFD390D35 for ; Mon, 18 Jun 2012 17:49:31 -0500 (CDT) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 775C114E0CF; Mon, 18 Jun 2012 17:47:26 -0500 (CDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:61084 Archived-At: It looks like there may be a problem with the interaction between DESTDIR and infodir in 24.1. You can see the problem by running something like this after a configure and make: make DESTDIR=/some/where infodir=/forbidden/place/ install Assuming you don't have access to /forbidden/, the install process will fail in doc/misc here: mkinfodir = @cd ${srcdir}; test -d ${infodir} || mkdir ${infodir} || test -d ${infodir} because the infodir setting (without modification by DESTDIR) will be passed down from ./Makefile.in and override the doc/misc/Makefile.in setting: infodir=../../info I would guess that either doc/misc/Makefile.in should respect DESTDIR, or this bit of ./Makefile.in: info-real: (cd doc/misc; $(MAKE) $(MFLAGS) info) should either unset infodir before calling $(MAKE), or should specify an infodir that respects DESTDIR. Hope this helps. -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4