GNU bug report logs - #11737
Setting DESTDIR and infodir breaks doc/misc/Makefile.in

Previous Next

Package: emacs;

Reported by: Rob Browning <rlb <at> defaultvalue.org>

Date: Mon, 18 Jun 2012 22:51:01 UTC

Severity: normal

Fixed in version 24.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11737 in the body.
You can then email your comments to 11737 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11737; Package emacs. (Mon, 18 Jun 2012 22:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rob Browning <rlb <at> defaultvalue.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 18 Jun 2012 22:51:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rob Browning <rlb <at> defaultvalue.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Setting DESTDIR and infodir breaks doc/misc/Makefile.in
Date: Mon, 18 Jun 2012 17:47:26 -0500
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




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 19 Jun 2012 02:14:02 GMT) Full text and rfc822 format available.

Notification sent to Rob Browning <rlb <at> defaultvalue.org>:
bug acknowledged by developer. (Tue, 19 Jun 2012 02:14:02 GMT) Full text and rfc822 format available.

Message #10 received at 11737-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 11737-done <at> debbugs.gnu.org
Subject: Re: bug#11737: Setting DESTDIR and infodir breaks doc/misc/Makefile.in
Date: Mon, 18 Jun 2012 22:10:31 -0400
Version: 24.2

I renamed $infodir to $buildinfodir in doc/*/Makefile.in, since it has
no relation to the $infodir used by install.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 17 Jul 2012 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 36 days ago.

Previous Next


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