all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#36349: 27.0.50; does not start if called as symlink
@ 2019-06-24  9:34 Gregor Zattler
  2019-06-24 14:47 ` Basil L. Contovounesios
  0 siblings, 1 reply; 4+ messages in thread
From: Gregor Zattler @ 2019-06-24  9:34 UTC (permalink / raw)
  To: 36349

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@len:~/src/emacs$ hash -r
0 (master *%=) grfz@len:~/src/emacs$ emacs-snapshot -Q --debug-init
emacs: could not resolve realpath of "(null)": No such file or directory
1 (master *%=) grfz@len:~/src/emacs$ src/emacs-27.0.50.1 -Q --debug-init
0 (master *%=) grfz@len:~/src/emacs$ type -a emacs-snapshot
emacs-snapshot is /usr/bin/emacs-snapshot
0 (master *%=) grfz@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@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@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@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@len:~/src/emacs$ diff -Nur src/emacs-27.0.50.1 /usr/local/stow/emacs-snapshot/bin/emacs-27.0.50
0 (master *%=) grfz@len:~/src/emacs$ /usr/local/stow/emacs-snapshot/bin/emacs-27.0.50 -Q --debug-init
0 (master *%=) grfz@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))






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#36349: 27.0.50; does not start if called as symlink
  2019-06-24  9:34 bug#36349: 27.0.50; does not start if called as symlink Gregor Zattler
@ 2019-06-24 14:47 ` Basil L. Contovounesios
  2019-06-24 22:54   ` Gregor Zattler
  0 siblings, 1 reply; 4+ messages in thread
From: Basil L. Contovounesios @ 2019-06-24 14:47 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: 36349

Gregor Zattler <telegraph@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@len:~/src/emacs$ hash -r
> 0 (master *%=) grfz@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#36349: 27.0.50; does not start if called as symlink
  2019-06-24 14:47 ` Basil L. Contovounesios
@ 2019-06-24 22:54   ` Gregor Zattler
  2019-06-25 13:48     ` Basil L. Contovounesios
  0 siblings, 1 reply; 4+ messages in thread
From: Gregor Zattler @ 2019-06-24 22:54 UTC (permalink / raw)
  To: Basil L. Contovounesios; +Cc: 36349

Hi Basil,
* "Basil L. Contovounesios" <contovob@tcd.ie> [2019-06-24; 15:47]:
> Gregor Zattler <telegraph@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@len:~/src/emacs$ hash -r
>> 0 (master *%=) grfz@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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#36349: 27.0.50; does not start if called as symlink
  2019-06-24 22:54   ` Gregor Zattler
@ 2019-06-25 13:48     ` Basil L. Contovounesios
  0 siblings, 0 replies; 4+ messages in thread
From: Basil L. Contovounesios @ 2019-06-25 13:48 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: 36349-done

tags 36349 fixed
close 36349 27.1
quit

Gregor Zattler <telegraph@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-25 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-24  9:34 bug#36349: 27.0.50; does not start if called as symlink Gregor Zattler
2019-06-24 14:47 ` Basil L. Contovounesios
2019-06-24 22:54   ` Gregor Zattler
2019-06-25 13:48     ` Basil L. Contovounesios

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.