From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#36349: 27.0.50; does not start if called as symlink Date: Mon, 24 Jun 2019 11:34:05 +0200 Message-ID: <877e9bba42.fsf@len.workgroup> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="138319"; mail-complaints-to="usenet@blaine.gmane.org" To: 36349@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 24 11:35:45 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfLO4-000ZmN-4M for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jun 2019 11:35:44 +0200 Original-Received: from localhost ([::1]:49206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfLO3-0007VB-0R for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jun 2019 05:35:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58282) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfLNg-0007Qi-Kp for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 05:35:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfLNb-0006bJ-33 for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 05:35:17 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfLNO-0006IW-Us for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 05:35:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hfLNO-0003jh-Pi for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 05:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jun 2019 09:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36349 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156136888014320 (code B ref -1); Mon, 24 Jun 2019 09:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jun 2019 09:34:40 +0000 Original-Received: from localhost ([127.0.0.1]:55580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfLN1-0003iu-FK for submit@debbugs.gnu.org; Mon, 24 Jun 2019 05:34:40 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfLMy-0003il-6z for submit@debbugs.gnu.org; Mon, 24 Jun 2019 05:34:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58118) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfLMv-0007Bi-RD for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 05:34:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfLMs-0005GO-QJ for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 05:34:33 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:41029) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfLMm-0004np-So for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2019 05:34:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1561368850; bh=teYIii+vQgYGRlwQQSJ6Z23bJ/becF8H3TblIu7t174=; h=X-UI-Sender-Class:From:To:Subject:Date; b=UP1c9nb3Vqbhztrct1CTVArnvZGKoVxjv0NPgj3swzgxSFM7pn1a9OWH4ryCCSbDb xtvBi6x7Nz0UIuFA3UGaH8ztHQInkK75rlV3a8Yky/r6pROqydOkYuWjBxObnY2dkn nW/E9z84d806VMlkDEb9wxLaYeipxadVqmPl/zms= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from len.workgroup ([46.94.151.82]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MRXVc-1i82Kw0SKW-00ShZV for ; Mon, 24 Jun 2019 11:34:10 +0200 X-Provags-ID: V03:K1:31Ace462x7VFA5eMcJ9C1kTrv+/Dv7TVlWa1ryMkG+DuhbCV6Sz GGItevQkF41cL2MrtRZ6+YKZc5urKhlDi1FnARvgcWkPpO/YtZ5Co2dYLFhDLjemSZ9+bV4 3fSiKPLAQGBM0vqIdNSFD09vgrK3ZAJSLk7R+vyQWf6tGBE3IrIVk1IZl2VEhc0O4BcQ/Nt jva7w9UeDgwXSPMxu1tZw== X-UI-Out-Filterresults: notjunk:1;V03:K0:iW/oK5+NR64=:lU+MHsDw4k46DjwUmESQd6 2GMVdK6qylWcQJWLcdBkn96F1S68lZN90DlF1InTjSHAYxRsKpVxc06QCbEBmjdBhX347a6pB lKSorumCK+I8Hw4mgmmptP4WBWACLYdCsWZm8yKpAsrQZflAQnhlUWHxGweTF60jRnJjTuw+k zwb2eFK1+IXgRBo7rWsHtVUm++D3yXYY2uqB79PtopqJHOpTojwLhXhTEa/Ey1vqFDbORYA1m Wup0r6fWpCDWepPFsuHtjNyspsdJFMrOvSEQx4sqzPA74fC0sgg+KdDDF+KstJR3qmYxoI+k2 q47p89HgbB1Q5mGGsZfpn6jiyyWD9I9VRwg9dCqcDF9VtWHgnVWKQHGYfyGpku8LfvZh7tOgz xcRfPpsFbyts8AKmaHym28YM6AzSEuH2ZgPrHMvH6vTvLbfLLgAKSqQdOwL7DDrgPpzV627LN kmhtf39McT0qFR6uxLkVJ/Vyn9UEiuvS4jDY/HaaXYjHVw61RM/vSFaZIyX/Hp/hEOJ29HiRR QgMh8vyL8kMg1Ctf9WhGdBxUKezm5z1ojSyG2U4qRELugS9NInfu7oa84jx62C0ScN3OXm3jN 8gNLGHO/z0LYu6gpp4n0GXxX9A2DsS6PIaXGNj7zjz1aOj6/OvxJGLouddKtJ+WhoZ7XwWIHz U2kFHrc/Z5DDpVwzHhn5iVvwajByt3MSpWuftF5zHjrzwEnrLrj+jnfpUp3E8nT6ulYEfGt2m uB9LwvOIJvr7+dQNEb6FjnK/M4/YXA6h0+J8HUMwThnuiHxn8c1ZQbfqQ+gtjH0rT7az4P0v X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:161200 Archived-At: 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 *%=3D) grfz@len:~/src/emacs$ hash -r 0 (master *%=3D) grfz@len:~/src/emacs$ emacs-snapshot -Q --debug-init emacs: could not resolve realpath of "(null)": No such file or directory 1 (master *%=3D) grfz@len:~/src/emacs$ src/emacs-27.0.50.1 -Q --debug-init 0 (master *%=3D) grfz@len:~/src/emacs$ type -a emacs-snapshot emacs-snapshot is /usr/bin/emacs-snapshot 0 (master *%=3D) 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 *%=3D) 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 -> /u= sr/local/bin/emacs.emacs-snapshot* 0 (master *%=3D) grfz@len:~/src/emacs$ ls -l /usr/local/bin/emacs.emacs-sn= apshot lrwxrwxrwx 1 root staff 47 Jun 24 11:01 /usr/local/bin/emacs.emacs-snapsho= t -> ../stow/emacs-snapshot/bin/emacs.emacs-snapshot* 0 (master *%=3D) grfz@len:~/src/emacs$ ls -l /usr/local/stow/emacs-snapsho= t/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 *%=3D) grfz@len:~/src/emacs$ diff -Nur src/emacs-27.0.50.1 /usr/= local/stow/emacs-snapshot/bin/emacs-27.0.50 0 (master *%=3D) grfz@len:~/src/emacs$ /usr/local/stow/emacs-snapshot/bin/= emacs-27.0.50 -Q --debug-init 0 (master *%=3D) 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: Configured using: 'configure -C --prefix=3D/usr/local/stow/emacs-snapshot --with-file-notification=3Dinotify --without-toolkit-scroll-bars --with-x-toolkit=3Dgtk3 'CFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/grfz/src/emacs=3D. -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall -fno-pie' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2 ' 'LDFLAGS=3D-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/no= tmuch-address ~/.emacs.d/elisp/grab-x-link hides /home/grfz/.emacs.d/elpa-27.0/grab-x-li= nk-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/.ema= cs.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/elp= a-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/e= lpa-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/elp= a-27.0/notmuch-20190525.1602/notmuch-mua /usr/local/share/emacs/site-lisp/notmuch-jump hides /home/grfz/.emacs.d/el= pa-27.0/notmuch-20190525.1602/notmuch-jump /usr/local/share/emacs/site-lisp/notmuch-tree hides /home/grfz/.emacs.d/el= pa-27.0/notmuch-20190525.1602/notmuch-tree /usr/local/share/emacs/site-lisp/notmuch-print hides /home/grfz/.emacs.d/e= lpa-27.0/notmuch-20190525.1602/notmuch-print /usr/local/share/emacs/site-lisp/notmuch-show hides /home/grfz/.emacs.d/el= pa-27.0/notmuch-20190525.1602/notmuch-show /usr/local/share/emacs/site-lisp/notmuch-query hides /home/grfz/.emacs.d/e= lpa-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/el= pa-27.0/notmuch-20190525.1602/notmuch-wash /usr/local/share/emacs/site-lisp/notmuch-draft hides /home/grfz/.emacs.d/e= lpa-27.0/notmuch-20190525.1602/notmuch-draft /usr/local/share/emacs/site-lisp/notmuch-lib hides /home/grfz/.emacs.d/elp= a-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))