From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.bugs Subject: bug#27760: 26.0.50; mac os build doesn't work with CANNOT_DUMP Date: Tue, 18 Jul 2017 18:51:23 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1500418345 21353 195.159.176.226 (18 Jul 2017 22:52:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2017 22:52:25 +0000 (UTC) To: 27760@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 19 00:52:17 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXbLf-0004l9-68 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jul 2017 00:52:11 +0200 Original-Received: from localhost ([::1]:58976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXbLj-0002aq-5S for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jul 2017 18:52:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXbLb-0002ag-VP for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 18:52:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXbLW-0007GY-V7 for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 18:52:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXbLW-0007GO-RG for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 18:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dXbLW-0002JM-HD for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 18:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Raeburn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2017 22:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27760 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.15004183028856 (code B ref -1); Tue, 18 Jul 2017 22:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jul 2017 22:51:42 +0000 Original-Received: from localhost ([127.0.0.1]:46996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXbLB-0002Im-Nl for submit@debbugs.gnu.org; Tue, 18 Jul 2017 18:51:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXbLA-0002Ib-9W for submit@debbugs.gnu.org; Tue, 18 Jul 2017 18:51:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXbL3-00070d-IB for submit@debbugs.gnu.org; Tue, 18 Jul 2017 18:51:34 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39995) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dXbL3-00070X-EU for submit@debbugs.gnu.org; Tue, 18 Jul 2017 18:51:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXbL1-0002ZB-OT for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 18:51:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXbKw-0006xz-Pr for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 18:51:31 -0400 Original-Received: from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]:36225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXbKw-0006xO-HE for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 18:51:26 -0400 Original-Received: by mail-qt0-x232.google.com with SMTP id 21so28061283qtx.3 for ; Tue, 18 Jul 2017 15:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raeburn-org.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:date:subject:to:message-id :mime-version; bh=OtwS+NGZh4KofRg/w4w7LpJF0OqbNOdeDOK1wp4ZQ6s=; b=sMBQ6dcpkrd4Su3pvfIBjIvGXv8wUChDUVMNR4oC8mSx0MF499YzhJc+tM7OqgBY5W Or66MQlyGIvmQXxS1guF3zBbuN4YIdbak/lj6zVtl3qO8ekISN5o42HNaRVCxY8tidHa 1LX3T/jK/ZOlforWaWWK5GHncCSk9MXFIUrtw62l1D1Qar+5U0Od3KGmujfwqefHUSnX swPWzvO2Jh9o2L9PVQkXtB6/ogTVpzGwEsVOJCb7Cq4h+aZO9xg8ypzWPwlp7HppS49/ gyc6pWs+sO6qagQ2nPNlQ0sxg4W2Od9T6JpszsFw7OxL2FH1xgEpq8BdePGDLgtstxPk zv/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:date:subject:to :message-id:mime-version; bh=OtwS+NGZh4KofRg/w4w7LpJF0OqbNOdeDOK1wp4ZQ6s=; b=L5y6FDpV1p148AZ8vUrUX16stlH+LbYlRj5D1zR+bnX4vTvXomvUZP7H6OOdG/9s4z 4ugCqAYJ86iNeqJWfhSvojUyzHiN3zwc8SAuzVxN4d83HwwRcgMaII7ulCcDVGVOilRb 0ksH4/Ku7M0gYDt7i0U54kFgVowJl1hpboI06GaTn6rKQr/svuCGt8Dt/igRWowrfAhp iMDTBrBXuje/GadNFsy+u8pLMOd8fj53AFh+TIj4rrj6N3ByltDiN9ka2G5RX/hEGbP8 QlkL6lJvBMf42WiWW2MCJdIXZqWRxEa43nqjMsXDepYugQelVXmPiPCz1Y3gK8+bjG7p Irvw== X-Gm-Message-State: AIVw112/UnKg4BQOUOZAASMA/Yu8Xvjltt58vWgbCKRtM57lazK8yGM/ OJZQwI1qKmJWqRB2F2LGPg== X-Received: by 10.237.40.35 with SMTP id r32mr5035995qtd.212.1500418285273; Tue, 18 Jul 2017 15:51:25 -0700 (PDT) Original-Received: from [192.168.23.52] (c-73-253-167-23.hsd1.ma.comcast.net. [73.253.167.23]) by smtp.gmail.com with ESMTPSA id n69sm2728764qke.52.2017.07.18.15.51.24 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Jul 2017 15:51:24 -0700 (PDT) X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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:134732 Archived-At: Configure Emacs with =E2=80=9C./configure CANNOT_DUMP=3Dyes=E2=80=9D on = Mac OS. Build normally with =E2=80=9Cgmake && gmake install=E2=80=9D. = Aside from the CANNOT_DUMP spec, this is the normal way to build the = standalone, relocatable Emacs app. Try to launch it from the command line: $ open nextstep/Emacs.app/ LSOpenURLsWithRole() failed with error -10810 for the file = /Users/raeburn/dev/emacs/emacs/mac2/nextstep/Emacs.app. $ Try running the executable directly: $ ./nextstep/Emacs.app/Contents/MacOS/Emacs=20 Loading loadup.el (source)... Using load-path = (/Users/raeburn/dev/emacs/emacs/mac2/nextstep/Emacs.app/Contents/Resources= /site-lisp = /Users/raeburn/dev/emacs/emacs/mac2/nextstep/Emacs.app/Contents/Resources/= site-lisp/emacs-lisp = /Users/raeburn/dev/emacs/emacs/mac2/nextstep/Emacs.app/Contents/Resources/= site-lisp/language = /Users/raeburn/dev/emacs/emacs/mac2/nextstep/Emacs.app/Contents/Resources/= site-lisp/international = /Users/raeburn/dev/emacs/emacs/mac2/nextstep/Emacs.app/Contents/Resources/= site-lisp/textmodes = /Users/raeburn/dev/emacs/emacs/mac2/nextstep/Emacs.app/Contents/Resources/= site-lisp/vc) Cannot open load file: No such file or directory, emacs-lisp/byte-run $ Clearly there=E2=80=99s some problem setting the load path here, as = it=E2=80=99s using all the normal subdirectories, but trying to find = them under site-lisp. As a quick hack, I tried making site-lisp a symlink to the real lisp = directory so the files could be found, and the app was able to start up. = However, as an experiment I tried to use =E2=80=9CM-x = report-emacs-bug=E2=80=9D and it gave me an error: =E2=80=9CWrong type = argument: stringp, small-temporary-file-directory=E2=80=9D. So = there=E2=80=99s probably something more than just the load-path setup = problem. In GNU Emacs 26.0.50 (build 2, x86_64-apple-darwin15.6.0, NS = appkit-1404.47 Version 10.11.6 (Build 15G1217)) of 2017-07-18 built on bang.local Repository revision: 0083123499cc29e301c197218d3809b225675e57 Windowing system distributor 'Apple', version 10.3.1404 Recent messages: Loading ~/lib/elisp/sue.elc...done Loading desktop...done Warning: desktop file appears to be in use by PID 83193. Using it may cause conflicts. Use it anyway? (y or n) n Desktop file in use; not loaded. For information about GNU Emacs and the GNU system, type C-h C-a. Configured features: RSVG IMAGEMAGICK DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: desktop-save-mode: t global-hi-lock-mode: t hi-lock-mode: t which-function-mode: t icomplete-mode: t shell-dirtrack-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t 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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr warnings emacsbug message subr-x puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader add-log desktop frameset cus-start cus-load kr-defs hi-lock which-func imenu icomplete iso-transl smart-quotes easy-mmode tramp tramp-compat tramp-loaddefs trampver shell pcomplete comint ansi-color ring parse-time format-spec advice cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs server time sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils finder-inf package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 dbusbind kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 261205 10768) (symbols 48 26239 2) (miscs 40 57 241) (strings 32 47062 2197) (string-bytes 1 1447937) (vectors 16 42658) (vector-slots 8 784892 11755) (floats 8 70 46) (intervals 56 241 1) (buffers 992 12))