GNU bug report logs - #34707
Failure to find the associated pdump file

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sat, 2 Mar 2019 03:29:02 UTC

Severity: normal

Tags: confirmed

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: rms <at> gnu.org
Subject: bug#34707: closed (Re: bug#34707: Failure to find the associated
 pdump file)
Date: Fri, 28 Jun 2019 06:43:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#34707: Failure to find the associated pdump file

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 34707 <at> debbugs.gnu.org.

-- 
34707: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34707
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: 34707-done <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: Re: bug#34707: Failure to find the associated pdump file
Date: Fri, 28 Jun 2019 09:42:16 +0300
This bug was fixed by Daniel in commit b9ac4f8.  Closing.

[Message part 3 (message/rfc822, inline)]
From: Richard Stallman <rms <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Failure to find the associated pdump file
Date: Fri, 01 Mar 2019 22:27:54 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

I have a symlink from bin/emacs to emacs-git/build-feb-24/src/emacs.
It contains master from Feb 24, built.

When I run that by typing `emacs', with some other directory current,
it crashes: it gets error and exits when it tries to run
tty-set-up-initial-frame-faces, from init_display.
That is supposed to have been set up by associated Lisp files
which have not been run.

I think the cause is that Emacs failed to find the pdump file.

    Apparently that failure gives no error message!
    It must give an error message, since you can't get anything
    like what you want if you don't get the pdump file.

There is an annoying secondary problem: it exits leaving the tty set
up for Emacs (no echo).  It ought to restore the outside-Emacs
terminal settings before exiting.

The reason it fails to find the pdump file
is that it fails to implement this case

    If the executable file is a symbolic link, the program can find the
    link target and use its containing directory instead of the link's
    containing directory.

which is implemented for associated Lisp files in this code in emacs.c

	  /* If the Emacs executable is actually a link,
	     next try the dir that the link points into.  */
	  tem = Ffile_symlink_p (name);
	  if (!NILP (tem))
	    {
	      name = Fexpand_file_name (tem, dir);
	      dir = Ffile_name_directory (name);
	    }
	  else
	    break;

but that is not implemented for pdump files.


-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





This bug report was last modified 5 years and 326 days ago.

Previous Next


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