GNU bug report logs -
#36349
27.0.50; does not start if called as symlink
Previous Next
Reported by: Gregor Zattler <telegraph <at> gmx.net>
Date: Mon, 24 Jun 2019 09:35:02 UTC
Severity: normal
Tags: fixed
Found in version 27.0.50
Fixed in version 27.1
Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>
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 36349 in the body.
You can then email your comments to 36349 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36349
; Package
emacs
.
(Mon, 24 Jun 2019 09:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gregor Zattler <telegraph <at> gmx.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 24 Jun 2019 09:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Dear emacs developers,
I did a fresh git co -f from emacs master branch (at
157fced053601c993734c61078c42d7905389828). Emacs was built and
installed just fine. But Emacs does not start if called as a
symlink.
See this terminal session (numbers at the beginning of a line are
return values from last command):
0 (master *%=) grfz <at> len:~/src/emacs$ hash -r
0 (master *%=) grfz <at> len:~/src/emacs$ emacs-snapshot -Q --debug-init
emacs: could not resolve realpath of "(null)": No such file or directory
1 (master *%=) grfz <at> len:~/src/emacs$ src/emacs-27.0.50.1 -Q --debug-init
0 (master *%=) grfz <at> len:~/src/emacs$ type -a emacs-snapshot
emacs-snapshot is /usr/bin/emacs-snapshot
0 (master *%=) grfz <at> len:~/src/emacs$ ls -l /usr/bin/emacs-snapshot
lrwxrwxrwx 1 root root 29 Jun 24 11:01 /usr/bin/emacs-snapshot -> /usr/bin/emacs.emacs-snapshot*
0 (master *%=) grfz <at> len:~/src/emacs$ ls -l /usr/bin/emacs.emacs-snapshot
lrwxrwxrwx 1 root root 35 Jun 24 11:01 /usr/bin/emacs.emacs-snapshot -> /usr/local/bin/emacs.emacs-snapshot*
0 (master *%=) grfz <at> len:~/src/emacs$ ls -l /usr/local/bin/emacs.emacs-snapshot
lrwxrwxrwx 1 root staff 47 Jun 24 11:01 /usr/local/bin/emacs.emacs-snapshot -> ../stow/emacs-snapshot/bin/emacs.emacs-snapshot*
0 (master *%=) grfz <at> len:~/src/emacs$ ls -l /usr/local/stow/emacs-snapshot/bin/emacs.emacs-snapshot
lrwxrwxrwx 1 root grfz 13 Jun 24 11:01 /usr/local/stow/emacs-snapshot/bin/emacs.emacs-snapshot -> emacs-27.0.50*
0 (master *%=) grfz <at> len:~/src/emacs$ diff -Nur src/emacs-27.0.50.1 /usr/local/stow/emacs-snapshot/bin/emacs-27.0.50
0 (master *%=) grfz <at> len:~/src/emacs$ /usr/local/stow/emacs-snapshot/bin/emacs-27.0.50 -Q --debug-init
0 (master *%=) grfz <at> len:~/src/emacs$
I do use non-standard configure flags (see below).
Any help would be very much appreciated.
Thanks for Emacs and your attention, Gregor
In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
of 2019-06-24 built on len
Repository revision: 157fced053601c993734c61078c42d7905389828
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description: Debian GNU/Linux 9 (stretch)
Recent messages:
<snip>
Configured using:
'configure -C --prefix=/usr/local/stow/emacs-snapshot
--with-file-notification=inotify --without-toolkit-scroll-bars
--with-x-toolkit=gtk3 'CFLAGS=-g -O2
-fdebug-prefix-map=/home/grfz/src/emacs=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -fno-pie'
'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 '
'LDFLAGS=-Wl,-z,relro -no-pie''
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT
LIBOTF XFT ZLIB GTK3 X11 XDBE XIM THREADS PDUMPER GMP
Important settings:
value of $LC_ALL:
value of $LC_COLLATE: de_DE.utf8
value of $LC_CTYPE: de_DE.utf8
value of $LC_MESSAGES: POSIX
value of $LC_MONETARY: de_DE.utf8
value of $LC_NUMERIC: de_DE.utf8
value of $LC_TIME: de_DE.utf8
value of $LANG: de_DE.utf8
locale-coding-system: utf-8-unix
Major mode: notmuch-search
Minor modes in effect:
winner-mode: t
helm-descbinds-mode: t
helm-adaptive-mode: t
helm-mode: t
which-key-mode: t
ws-butler-global-mode: t
ws-butler-mode: t
xterm-mouse-mode: t
global-hl-line-mode: t
hl-line-mode: t
which-function-mode: t
override-global-mode: t
shell-dirtrack-mode: t
show-paren-mode: t
savehist-mode: t
minibuffer-line-mode: t
display-battery-mode: t
delete-selection-mode: t
cua-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-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
buffer-read-only: t
size-indication-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
/usr/local/share/emacs/site-lisp/notmuch-address hides ~/.emacs.d/elisp/notmuch-address
~/.emacs.d/elisp/grab-x-link hides /home/grfz/.emacs.d/elpa-27.0/grab-x-link-20180205.1146/grab-x-link
/usr/local/share/emacs/site-lisp/notmuch-company hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-company
/usr/local/share/emacs/site-lisp/notmuch-maildir-fcc hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-maildir-fcc
/usr/local/share/emacs/site-lisp/notmuch-message hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-message
/usr/local/share/emacs/site-lisp/coolj hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/coolj
/usr/local/share/emacs/site-lisp/notmuch-tag hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-tag
/usr/local/share/emacs/site-lisp/notmuch-compat hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-compat
/usr/local/share/emacs/site-lisp/notmuch-hello hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-hello
/usr/local/share/emacs/site-lisp/notmuch-crypto hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-crypto
/usr/local/share/emacs/site-lisp/notmuch-mua hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-mua
/usr/local/share/emacs/site-lisp/notmuch-jump hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-jump
/usr/local/share/emacs/site-lisp/notmuch-tree hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-tree
/usr/local/share/emacs/site-lisp/notmuch-print hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-print
/usr/local/share/emacs/site-lisp/notmuch-show hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-show
/usr/local/share/emacs/site-lisp/notmuch-query hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-query
/usr/local/share/emacs/site-lisp/notmuch hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch
/usr/local/share/emacs/site-lisp/notmuch-address hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-address
/usr/local/share/emacs/site-lisp/notmuch-wash hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-wash
/usr/local/share/emacs/site-lisp/notmuch-draft hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-draft
/usr/local/share/emacs/site-lisp/notmuch-lib hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-lib
/usr/local/share/emacs/site-lisp/notmuch-parser hides /home/grfz/.emacs.d/elpa-27.0/notmuch-20190525.1602/notmuch-parser
Features:
(shadow emacsbug helm-command kill-or-bury-alive sort
bbdb-message mail-extr ecomplete ido shr-color color shr svg
gnus-alias fullframe notmuch notmuch-hello notmuch-tree
notmuch-show notmuch-print notmuch-crypto notmuch-mua
notmuch-message notmuch-draft notmuch-maildir-fcc notmuch-address
notmuch-company notmuch-parser notmuch-wash diff-mode coolj
notmuch-query goto-addr notmuch-tag crm notmuch-lib
notmuch-version notmuch-compat mm-view mml-smime smime dig
face-remap autorevert filenotify executable time-stamp org-track
org-registry org-learn org-invoice org-expiry org-collector
org-annotate-file org-tempo tempo org-toc org-secretary
org-screenshot org-screen term disp-table ehelp ol-notmuch
org-notify ol-man org-mairix org-eval org-eval-light
org-elisp-symbol ol-elisp-symbol org-depend org-choose
org-checklist ol-bookmark ol-eshell esh-mode eshell org-mouse
org-inlinetask ol-info org-id org-habit ol-eww ol-docview
doc-view org-ctags ol-bbdb rainbow-delimiters elec-pair winner
helm-descbinds helm-eshell helm-elisp helm-eval edebug backtrace
helm-info helm-adaptive helm-mode helm-files image-dired dired-x
dired-aux ffap thingatpt helm-buffers helm-occur helm-tags
helm-locate helm-grep helm-regexp helm-utils helm-help helm-types
helm helm-source eieio-compat helm-multi-match helm-lib wdired
async which-key calfw-ical icalendar diary-lib diary-loaddefs
calfw-cal calfw-org org-capture org-element avl-tree generator
org-agenda calfw holidays hol-loaddefs sr-speedbar speedbar
sb-image ezimage dframe org-pdfview pdf-tools compile pdf-view
bookmark pp jka-compr pdf-cache pdf-info tq pdf-util image-mode
org-crypt org-protocol org-clock ssh-deploy ws-butler cl
wcheck-mode hyperbole hinit hibtypes hib-doc-id hsys-www klink
hib-kbd hib-social hib-debbugs debbugs-gnu add-log debbugs
soap-client url-http url-auth url-gw nsm url url-proxy
url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap warnings rng-xsd rng-dt rng-util
xsd-regexp xml hsys-org hactypes hui-mini hui hui-mouse
hmouse-key hargs hui-menu hyrolo-menu hyrolo hmail hui-jmenu
hmouse-sh hmouse-drv hypb locate hui-window pulse hycontrol
hsettings hui-em-but hbut hact hpath hhist hbdata htz cal-julian
hbmap hmoccur hui-select sgml-mode dom hvar set browse-url
hversion hload-path em-tramp esh-cmd esh-ext esh-opt esh-module
esh-groups esh-proc esh-io esh-arg esh-util dired-quick-sort
hydra lv ls-lisp xt-mouse hl-line windmove which-func imenu
cus-edit bbdb bbdb-site timezone use-package-chords bind-chord
key-chord org ob ob-ref ob-lob ob-table ob-exp org-macro
org-footnote org-pcomplete org-list org-faces org-entities
noutline outline org-fixup autoload radix-tree lisp-mnt
ob-emacs-lisp org-table find-func cal-menu calendar cal-loaddefs
gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message
sendmail rmc puny dired dired-loaddefs rfc822 mml mml-sec epa epg
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search
time-date mail-utils mm-util mail-prsvr wid-edit ob-tangle ol rx
cl-extra help-mode org-src org-keys edmacro kmacro ob-comint
ob-core org-compat advice ob-eval org-macs pcase org-install
use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key
use-package-core derived tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat shell pcomplete comint
ansi-color ring parse-time format-spec paren savehist avoid
minibuffer-line easy-mmode battery delsel cua-base cus-start
cus-load finder-inf fix-word kotl-autoloads slime-autoloads info
package easymenu epg-config url-handlers url-parse auth-source
cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache
json subr-x map url-vars seq byte-opt gv bytecomp byte-compile
cconv cl-loaddefs cl-lib mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win
x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev
obarray minibuffer cl-preloaded 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 threads dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 1160628 1417430)
(symbols 48 46401 88)
(strings 32 218579 88073)
(string-bytes 1 9666390)
(vectors 16 48639)
(vector-slots 8 1250182 652092)
(floats 8 710 1135)
(intervals 56 10999 8945)
(buffers 992 21))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36349
; Package
emacs
.
(Mon, 24 Jun 2019 14:48:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 36349 <at> debbugs.gnu.org (full text, mbox):
Gregor Zattler <telegraph <at> gmx.net> writes:
> I did a fresh git co -f from emacs master branch (at
> 157fced053601c993734c61078c42d7905389828). Emacs was built and
> installed just fine. But Emacs does not start if called as a
> symlink.
>
> See this terminal session (numbers at the beginning of a line are
> return values from last command):
>
> 0 (master *%=) grfz <at> len:~/src/emacs$ hash -r
> 0 (master *%=) grfz <at> len:~/src/emacs$ emacs-snapshot -Q --debug-init
> emacs: could not resolve realpath of "(null)": No such file or directory
This error was introduced in [1] and attempted to be fixed in [2].
Do you still encounter problems with latest master?
See also the following emacs-devel threads:
https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00902.html
https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00907.html
[1: b9ac4f815e]: Fix locating pdump by symlink
2019-06-23 18:19:08 -0700
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b9ac4f815ebaa1acb0d045fe9583f665efa6f628
[2: 65d45def8d]: Fix pdumper executable-finding code
2019-06-24 06:53:30 -0700
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=65d45def8d71e50d111adf1141011a5d30a27447
Thanks,
--
Basil
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36349
; Package
emacs
.
(Mon, 24 Jun 2019 23:00:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 36349 <at> debbugs.gnu.org (full text, mbox):
Hi Basil,
* "Basil L. Contovounesios" <contovob <at> tcd.ie> [2019-06-24; 15:47]:
> Gregor Zattler <telegraph <at> gmx.net> writes:ยด
>> I did a fresh git co -f from emacs master branch (at
>> 157fced053601c993734c61078c42d7905389828). Emacs was built and
>> installed just fine. But Emacs does not start if called as a
>> symlink.
>>
>> See this terminal session (numbers at the beginning of a line are
>> return values from last command):
>>
>> 0 (master *%=) grfz <at> len:~/src/emacs$ hash -r
>> 0 (master *%=) grfz <at> len:~/src/emacs$ emacs-snapshot -Q --debug-init
>> emacs: could not resolve realpath of "(null)": No such file or directory
>
> This error was introduced in [1] and attempted to be fixed in [2].
> Do you still encounter problems with latest master?
no.
I built emacs from master as of
6e2708694140cd3b4ff6aeb39534c4704d6d4e23 which includes
65d45def8d71e50d111adf1141011a5d30a27447.
Now everything works fine again. Thanks for your answer and
Daniels fix.
Ciao; Gregor
> See also the following emacs-devel threads:
>
> https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00902.html
> https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00907.html
>
> [1: b9ac4f815e]: Fix locating pdump by symlink
> 2019-06-23 18:19:08 -0700
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b9ac4f815ebaa1acb0d045fe9583f665efa6f628
>
> [2: 65d45def8d]: Fix pdumper executable-finding code
> 2019-06-24 06:53:30 -0700
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=65d45def8d71e50d111adf1141011a5d30a27447
Added tag(s) fixed.
Request was from
"Basil L. Contovounesios" <contovob <at> tcd.ie>
to
control <at> debbugs.gnu.org
.
(Tue, 25 Jun 2019 13:49:01 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 27.1, send any further explanations to
36349 <at> debbugs.gnu.org and Gregor Zattler <telegraph <at> gmx.net>
Request was from
"Basil L. Contovounesios" <contovob <at> tcd.ie>
to
control <at> debbugs.gnu.org
.
(Tue, 25 Jun 2019 13:49:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36349
; Package
emacs
.
(Tue, 25 Jun 2019 13:49:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 36349-done <at> debbugs.gnu.org (full text, mbox):
tags 36349 fixed
close 36349 27.1
quit
Gregor Zattler <telegraph <at> gmx.net> writes:
> Now everything works fine again. Thanks for your answer and
> Daniels fix.
Thanks for confirming. I'm therefore closing this report.
--
Basil
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 24 Jul 2019 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 336 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.