GNU bug report logs - #16626
'make' should run 'make info'

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Sun, 2 Feb 2014 18:14:02 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 25.1

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 16626 in the body.
You can then email your comments to 16626 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#16626; Package emacs. (Sun, 02 Feb 2014 18:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thierry Volpiatto <thierry.volpiatto <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 02 Feb 2014 18:14:02 GMT) Full text and rfc822 format available.

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

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; Unable to make bootstrap after building and installing emacs
Date: Sun, 02 Feb 2014 18:12:51 +0100
Hi,
since some weeks now I am unable to make bootstrap emacs:

1) Checkout emacs (git)
2) build emacs (configure and make)
3) sudo make install
4) make bootstrap
[...]
rm: impossible de supprimer «./info/dired-x.info»: Permission non accordée
rm: impossible de supprimer «./info/octave-mode.info»: Permission non accordée





In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2014-01-25 on dell-14z
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.4 LTS

Configured using:
 `configure --with-x-toolkit=lucid --without-toolkit-scroll-bars
 --without-gconf --without-gsettings'

Important settings:
  value of $LC_MONETARY: fr_FR.UTF-8
  value of $LC_NUMERIC: fr_FR.UTF-8
  value of $LC_TIME: fr_FR.UTF-8
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  psession-mode: t
  global-semanticdb-minor-mode: t
  global-semantic-idle-scheduler-mode: t
  semantic-mode: t
  golden-ratio-mode: t
  winner-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  auto-image-file-mode: t
  eldoc-in-minibuffer-mode: t
  show-paren-mode: t
  display-time-mode: t
  recentf-mode: t
  savehist-mode: t
  eldoc-mode: t
  minibuffer-depth-indicate-mode: t
  helm-mode: t
  helm-descbinds-mode: t
  shell-dirtrack-mode: t
  helm-adaptative-mode: t
  helm-match-plugin-mode: t
  helm-occur-match-plugin-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> C-y <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
M-y C-g <help-echo> <down-mouse-1> <down-mouse-3> <mouse-3> 
<mouse-1> <down-mouse-2> <mouse-2> C-x C-s <up> <up> 
<up> <return> M-[ [ . . . ] M-x r e p o r t <retur
n>

Recent messages:
Here is not Git work tree
Restoring buffers...done
End of buffer
Mark set
Invalid face reference: gnus-header-subject
Mark set
Saving file /home/thierry/.emacs.d/save-scratch.el...
Wrote /home/thierry/.emacs.d/save-scratch.el
M-[ is undefined
Auto-saving...

Load-path shadows:
/usr/local/share/emacs/24.3.50/lisp/gnus/.dir-locals hides ~/elisp/magit/.dir-locals
~/elisp/auctex/lpath hides ~/elisp/emacs-wget/lpath
/usr/local/share/emacs/24.3.50/lisp/emacs-lisp/tq hides ~/elisp/emms/lisp/tq

Features:
(shadow gnus-dired nnir mail-extr gnus-msg gnus-art mm-uu mml2015
mm-view mml-smime smime dig gnus-sum nnoo gnus-group gnus-undo nnmail
mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win emacsbug
helm-command helm-ring sh-script smie executable conf-mode vc-rcs
markdown-mode vc-git naquadah-theme em-unix em-script em-prompt em-ls
em-hist em-pred em-glob em-dirs em-cmpl em-basic em-banner em-alias
align-let git-gutter server persistent-sessions semantic/db-mode
semantic/db eieio-base semantic/idle semantic/format ezimage
semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local
cedet config-w3m w3m timezone w3m-hist w3m-fb bookmark-w3m w3m-ems
w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util w3m-load package
golden-ratio winner undo-tree diff image-file newsticker newst-treeview
newst-plainview newst-reader newst-ticker newst-backend xdvi-search
preview-latex tex-site auto-loads pcomplete-extension em-term term
disp-table ehelp helm-ipython helm-elisp helm-eval python eldoc-eval
warnings whitespace paren time avoid recentf tree-widget savehist
smtpmail-async smtpmail sendmail dired-async iterator simple-call-tree
iedit-rect rect iedit iedit-lib smallurl mm-url gnus gnus-ems nnheader
wid-edit rectangle-utils ledger-config ledger esh-var esh-io esh-cmd
esh-opt esh-ext esh-proc eldoc esh-groups eshell esh-module esh-mode
esh-arg esh-util tv-utils async pcvs vc-cvs pcvs-parse pcvs-info
pcvs-defs pcvs-util ewoc mb-depth cl-info slime-autoloads esh-toggle
flymake no-word htmlize cl dired-extension emms-mpd-config
emms-playlist-limit emms-volume emms-volume-amixer emms-i18n
emms-history emms-score emms-stream-info emms-metaplaylist-mode
emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort
emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq
emms-playing-time emms-lyrics emms-url hl-line emms-tag-editor emms-mark
emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info
emms-playlist-mode emms-player-vlc emms-player-mplayer emms-info
emms-streams later-do emms-source-playlist emms-source-file
emms-player-simple emms-setup emms emms-compat org-config-thierry ob-sh
org-crypt cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew
holidays hol-loaddefs appt diary-lib diary-loaddefs org-element
org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view
jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m org-agenda
org-annotation-helper addressbook-bookmark message rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev mail-utils gmm-utils mailheader firefox-protocol
bookmark-firefox-handler bookmark-extensions org org-macro org-footnote
org-pcomplete org-list org-faces org-entities noutline outline
easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob
ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs find-func cal-menu calendar cal-loaddefs init-helm-thierry
helm-mode helm-dictionary helm-ls-git helm-descbinds helm-ls-hg
helm-files image-dired tramp tramp-compat tramp-loaddefs trampver shell
pcomplete format-spec dired-x dired-aux ffap thingatpt helm-buffers
helm-elscreen helm-tags helm-bookmark helm-adaptative helm-info helm-net
browse-url xml url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util url-parse url-vars mailcap
helm-plugin bookmark pp helm-help helm-match-plugin helm-grep wgrep-helm
wgrep helm-regexp grep helm-external helm-utils dired compile comint
ansi-color ring helm-locate helm vc vc-dispatcher helm-config
helm-aliases epa-file epa derived epg epg-config auth-source eieio
byte-opt bytecomp byte-compile cconv eieio-core gnus-util time-date
mm-util mail-prsvr password-cache info easymenu cl-macs gv edmacro
kmacro advice help-fns net-utils cl-loaddefs cl-lib tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting font-render-setting x-toolkit x
multi-tty emacs)

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16626; Package emacs. (Sun, 02 Feb 2014 18:55:01 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 16626 <at> debbugs.gnu.org
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Sun, 02 Feb 2014 19:54:08 +0100
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> Hi,
> since some weeks now I am unable to make bootstrap emacs:
>
> 1) Checkout emacs (git)
> 2) build emacs (configure and make)
  2a) make info
> 3) sudo make install
> 4) make bootstrap

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16626; Package emacs. (Sun, 02 Feb 2014 19:41:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 16626 <at> debbugs.gnu.org
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Sun, 02 Feb 2014 14:40:47 -0500
Thierry Volpiatto wrote:

> rm: impossible de supprimer «./info/dired-x.info»: Permission non accordée
> rm: impossible de supprimer «./info/octave-mode.info»: Permission non accordée

What are the ownership and permissions of those files?

Please send the entire build log as an attachment.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16626; Package emacs. (Sun, 02 Feb 2014 19:45:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 16626 <at> debbugs.gnu.org
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Sun, 02 Feb 2014 14:44:12 -0500
Glenn Morris wrote:

> What are the ownership and permissions of those files?
>
> Please send the entire build log as an attachment.

PS it would be helpful to set your locale to English for this process.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16626; Package emacs. (Sun, 02 Feb 2014 19:50:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 16626 <at> debbugs.gnu.org, Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Sun, 02 Feb 2014 14:49:37 -0500
Andreas Schwab wrote:

>> 1) Checkout emacs (git)
>> 2) build emacs (configure and make)
>   2a) make info
>> 3) sudo make install
>> 4) make bootstrap

Well, that was clear and helpful...

Are you cryptically implying that `sudo make install' has generated the
info files in the source directory with root ownership, which he is then
unable to overwrite as a normal user?

Why would this be a new phenomenon?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16626; Package emacs. (Sun, 02 Feb 2014 20:19:01 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16626 <at> debbugs.gnu.org, Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Sun, 02 Feb 2014 21:18:23 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> Andreas Schwab wrote:
>
>>> 1) Checkout emacs (git)
>>> 2) build emacs (configure and make)
>>   2a) make info
>>> 3) sudo make install
>>> 4) make bootstrap
>
> Well, that was clear and helpful...
>
> Are you cryptically implying that `sudo make install' has generated the
> info files in the source directory with root ownership, which he is then
> unable to overwrite as a normal user?

Dunno, 'twas just a WAG.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16626; Package emacs. (Mon, 03 Feb 2014 00:14:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 16626 <at> debbugs.gnu.org, Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Sun, 02 Feb 2014 19:13:15 -0500
Andreas Schwab wrote:

> Dunno, 'twas just a WAG.

It's your Wife and Girlfriend?

Anyway, moving on...

I think the normal expectation is that `make' will build anything that
`make install' needs. The Emacs build does not work like this: building
the info files is deferred to the install step.

It seems to me that the `all' target should also run the `info' rule.
I know we are supposed to cater to people without makeinfo, but I can't
see how this is a factor here.

But it does not affect releases, where the info files are premade, so no
rush to change this now.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16626; Package emacs. (Mon, 03 Feb 2014 06:36:03 GMT) Full text and rfc822 format available.

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

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16626 <at> debbugs.gnu.org
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Mon, 03 Feb 2014 07:35:13 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> Glenn Morris wrote:
>
>> What are the ownership and permissions of those files?
>>
>> Please send the entire build log as an attachment.
>
> PS it would be helpful to set your locale to English for this process.

After deleting the whole repo and recloning it from my local repo, I
could rebuild, pull some changes and boostrap without such problem, the
owner of ./info/*.info file is me with "rw" perms and other only "r".
So probably this have been fixed, don't understand how, because I have
regenerated the make file several times these last weeks.

Thanks and sorry for the noise, I will post you more info if the problem
happen again.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16626; Package emacs. (Mon, 03 Feb 2014 17:48:01 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16626 <at> debbugs.gnu.org, Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Mon, 03 Feb 2014 18:47:40 +0100
Glenn Morris <rgm <at> gnu.org> writes:

> Andreas Schwab wrote:
>
>> Dunno, 'twas just a WAG.
>
> It's your Wife and Girlfriend?

Wild Ass Guess.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16626; Package emacs. (Mon, 03 Feb 2014 19:32:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 16626 <at> debbugs.gnu.org
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Mon, 03 Feb 2014 14:31:55 -0500
The issue is this:

Plain `make' does not build the info/ files.
`make install' does.
(Confusingly, so too does `make bootstrap'.)

So when you ran
  make
  sudo make install
You ended up with the info/ files owned by root.

Then the next time you ran `make bootstrap' as a normal user, you lacked
permission to update the info/ files.


So we should change it so that `make' builds the info files.
But not right now.




Changed bug title to ''make' should run 'make info'' from '24.3.50; Unable to make bootstrap after building and installing emacs' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 03 Feb 2014 19:34:01 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 21 Mar 2014 06:51:01 GMT) Full text and rfc822 format available.

Notification sent to Thierry Volpiatto <thierry.volpiatto <at> gmail.com>:
bug acknowledged by developer. (Fri, 21 Mar 2014 06:51:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 16626-done <at> debbugs.gnu.org
Subject: Re: bug#16626: 24.3.50;
 Unable to make bootstrap after building and installing emacs
Date: Fri, 21 Mar 2014 02:50:00 -0400
Version: 24.5

Glenn Morris wrote:

> So we should change it so that `make' builds the info files.

Done in trunk.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Apr 2014 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:03 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 25.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:03 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 24.5. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 02 Nov 2014 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 185 days ago.

Previous Next


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