From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Apr 2018 03:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 31118@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15233294101492 (code B ref -1); Tue, 10 Apr 2018 03:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Apr 2018 03:03:30 +0000 Received: from localhost ([127.0.0.1]:44421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f5jZC-0000O0-7t for submit@debbugs.gnu.org; Mon, 09 Apr 2018 23:03:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f5jZA-0000Nj-BC for submit@debbugs.gnu.org; Mon, 09 Apr 2018 23:03:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5jZ4-0000Nt-Cd for submit@debbugs.gnu.org; Mon, 09 Apr 2018 23:03:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57846) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f5jZ4-0000Nm-9H for submit@debbugs.gnu.org; Mon, 09 Apr 2018 23:03:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5jZ3-0005Fg-2L for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 23:03:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5jZ0-0000Kn-0Y for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 23:03:21 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:32982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5jYz-0000IS-PF for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 23:03:17 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w3A33D1n000935 for ; Mon, 9 Apr 2018 23:03:13 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 5A3E2663A2; Mon, 9 Apr 2018 23:03:13 -0400 (EDT) From: Stefan Monnier Date: Mon, 09 Apr 2018 23:03:13 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.9 X-NAI-Spam-Rules: 5 Rules triggered BEC_TRC1=0.4, BEC_TRC1_W_GEN_SPAM_FEATRE=0.4, GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6260=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6260> : inlines <6554> : streams <1783581> : uri <2622857> 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Package: Emacs Version: 27.0.50 The websocket package available from GNU ELPA can't be used in a 32bit build of master any more because of the #xffffffff constant in its code: (defun websocket-to-bytes (val nbytes) "Encode the integer VAL in NBYTES of data. NBYTES much be a power of 2, up to 8. This supports encoding values up to 536870911 bytes (2^29 - 1), approximately 537M long." (when (and (< nbytes 8) (> val (expt 2 (* 8 nbytes)))) ;; not a user-facing error, this must be caused from an error in ;; this library (error "websocket-to-bytes: Value %d could not be expressed in %d bytes" val nbytes)) (if (= nbytes 8) (progn (let ((hi-32bits (lsh val -32)) ;; Test for systems that don't have > 32 bits, and ;; for those systems just return the value. (low-32bits (if (= 0 (expt 2 32)) val (logand #xffffffff val)))) (when (or (> hi-32bits 0) (> (lsh low-32bits -29) 0)) (signal 'websocket-frame-too-large val)) (bindat-pack `((:val vec 2 u32)) `((:val . [,hi-32bits ,low-32bits]))))) (bindat-pack `((:val ,(cond ((= nbytes 1) 'u8) ((= nbytes 2) 'u16) ((= nbytes 4) 'u32) ;; Library error, not system error (t (error "websocket-to-bytes: Unknown NBYTES: %S" nbytes))))) `((:val . ,val))))) The code used to compile&run correctly before both on 32bit and 64bit systems (but admittedly, it failed to run correctly on 64bit systems after having been compiled on a 32bit system). Stefan From unknown Fri Jun 13 11:27:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Stefan Monnier Subject: bug#31118: closed (Re: 27.0.50; Can't load/compile websocket in 32bit master) Message-ID: References: X-Gnu-PR-Message: they-closed 31118 X-Gnu-PR-Package: emacs Reply-To: 31118@debbugs.gnu.org Date: Tue, 10 Apr 2018 22:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1523400122-19878-1" This is a multi-part message in MIME format... ------------=_1523400122-19878-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #31118: 27.0.50; Can't load/compile websocket in 32bit master 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 31118@debbugs.gnu.org. --=20 31118: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31118 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1523400122-19878-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 31118-done) by debbugs.gnu.org; 10 Apr 2018 22:41:29 +0000 Received: from localhost ([127.0.0.1]:45507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f61xB-00059s-34 for submit@debbugs.gnu.org; Tue, 10 Apr 2018 18:41:29 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:51276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f61x9-00059f-KQ for 31118-done@debbugs.gnu.org; Tue, 10 Apr 2018 18:41:28 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AD69516161E; Tue, 10 Apr 2018 15:41:21 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 6t1hXNJLhCYI; Tue, 10 Apr 2018 15:41:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CE2A71616EF; Tue, 10 Apr 2018 15:41:20 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id L80WhkPfqa4P; Tue, 10 Apr 2018 15:41:20 -0700 (PDT) Received: from [192.168.1.9] (unknown [47.154.30.119]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id AAC9F16161E; Tue, 10 Apr 2018 15:41:20 -0700 (PDT) To: Stefan Monnier From: Paul Eggert Subject: Re: 27.0.50; Can't load/compile websocket in 32bit master Organization: UCLA Computer Science Department Message-ID: Date: Tue, 10 Apr 2018 15:41:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------C5B54F22A6FA2A584517E3B3" Content-Language: en-US X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 31118-done Cc: 31118-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------C5B54F22A6FA2A584517E3B3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable I fixed that by installing the attached into ELPA. I can't build ELPA from scratch on master now, for other reasons. The bui= ld=20 fails as follows: In toplevel form: packages/counsel-ebdb/counsel-ebdb.el:29:1:Error: Cannot open load file: = No such=20 file or directory, ebdb make: *** [GNUmakefile:171: packages/counsel-ebdb/counsel-ebdb.elc] Error= 1 Is anybody building ELPA regularly? It looks like not. --------------C5B54F22A6FA2A584517E3B3 Content-Type: text/x-patch; name="0001-Port-websocket-to-bleeding-edge-32-bit-Emacs.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-Port-websocket-to-bleeding-edge-32-bit-Emacs.patch" =46rom 76ee35ef60079bb6053e82e280274204a1b9fc70 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 10 Apr 2018 15:34:09 -0700 Subject: [PATCH] Port websocket to bleeding-edge 32-bit Emacs Problem reported by Stefan Monnier (Bug#31118). * packages/websocket/websocket.el (websocket-to-bytes): Do not assume that #xffffffff is a valid fixnum. --- packages/websocket/websocket.el | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/websocket/websocket.el b/packages/websocket/websock= et.el index 39a31c359..0533fb378 100644 --- a/packages/websocket/websocket.el +++ b/packages/websocket/websocket.el @@ -234,12 +234,9 @@ approximately 537M long." val nbytes)) (if (=3D nbytes 8) (progn - (let ((hi-32bits (lsh val -32)) - ;; Test for systems that don't have > 32 bits, and - ;; for those systems just return the value. - (low-32bits (if (=3D 0 (expt 2 32)) - val - (logand #xffffffff val)))) + (let* ((hi-32bits (lsh val -32)) + ;; This is just VAL on systems that don't have >=3D 32 bits. + (low-32bits (- val (lsh hi-32bits 32)))) (when (or (> hi-32bits 0) (> (lsh low-32bits -29) 0)) (signal 'websocket-frame-too-large val)) (bindat-pack `((:val vec 2 u32)) --=20 2.14.3 --------------C5B54F22A6FA2A584517E3B3-- ------------=_1523400122-19878-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Apr 2018 03:03:30 +0000 Received: from localhost ([127.0.0.1]:44421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f5jZC-0000O0-7t for submit@debbugs.gnu.org; Mon, 09 Apr 2018 23:03:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f5jZA-0000Nj-BC for submit@debbugs.gnu.org; Mon, 09 Apr 2018 23:03:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5jZ4-0000Nt-Cd for submit@debbugs.gnu.org; Mon, 09 Apr 2018 23:03:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57846) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f5jZ4-0000Nm-9H for submit@debbugs.gnu.org; Mon, 09 Apr 2018 23:03:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5jZ3-0005Fg-2L for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 23:03:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5jZ0-0000Kn-0Y for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 23:03:21 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:32982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5jYz-0000IS-PF for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2018 23:03:17 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w3A33D1n000935 for ; Mon, 9 Apr 2018 23:03:13 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 5A3E2663A2; Mon, 9 Apr 2018 23:03:13 -0400 (EDT) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: 27.0.50; Can't load/compile websocket in 32bit master Date: Mon, 09 Apr 2018 23:03:13 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.9 X-NAI-Spam-Rules: 5 Rules triggered BEC_TRC1=0.4, BEC_TRC1_W_GEN_SPAM_FEATRE=0.4, GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6260=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6260> : inlines <6554> : streams <1783581> : uri <2622857> 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Package: Emacs Version: 27.0.50 The websocket package available from GNU ELPA can't be used in a 32bit build of master any more because of the #xffffffff constant in its code: (defun websocket-to-bytes (val nbytes) "Encode the integer VAL in NBYTES of data. NBYTES much be a power of 2, up to 8. This supports encoding values up to 536870911 bytes (2^29 - 1), approximately 537M long." (when (and (< nbytes 8) (> val (expt 2 (* 8 nbytes)))) ;; not a user-facing error, this must be caused from an error in ;; this library (error "websocket-to-bytes: Value %d could not be expressed in %d bytes" val nbytes)) (if (= nbytes 8) (progn (let ((hi-32bits (lsh val -32)) ;; Test for systems that don't have > 32 bits, and ;; for those systems just return the value. (low-32bits (if (= 0 (expt 2 32)) val (logand #xffffffff val)))) (when (or (> hi-32bits 0) (> (lsh low-32bits -29) 0)) (signal 'websocket-frame-too-large val)) (bindat-pack `((:val vec 2 u32)) `((:val . [,hi-32bits ,low-32bits]))))) (bindat-pack `((:val ,(cond ((= nbytes 1) 'u8) ((= nbytes 2) 'u16) ((= nbytes 4) 'u32) ;; Library error, not system error (t (error "websocket-to-bytes: Unknown NBYTES: %S" nbytes))))) `((:val . ,val))))) The code used to compile&run correctly before both on 32bit and 64bit systems (but admittedly, it failed to run correctly on 64bit systems after having been compiled on a 32bit system). Stefan ------------=_1523400122-19878-1-- From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 01:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.15234117784298 (code B ref 31118); Wed, 11 Apr 2018 01:57:01 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 01:56:18 +0000 Received: from localhost ([127.0.0.1]:45553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f64zi-00017G-HS for submit@debbugs.gnu.org; Tue, 10 Apr 2018 21:56:18 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:39255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f64zg-000178-Gv for 31118@debbugs.gnu.org; Tue, 10 Apr 2018 21:56:17 -0400 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w3B1u5pj022084; Tue, 10 Apr 2018 21:56:05 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 0C058AE789; Tue, 10 Apr 2018 21:56:05 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Tue, 10 Apr 2018 21:56:04 -0400 In-Reply-To: (Paul Eggert's message of "Tue, 10 Apr 2018 15:41:17 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6261=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6261> : inlines <6557> : streams <1783672> : uri <2623430> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > I fixed that by installing the attached into ELPA. > > I can't build ELPA from scratch on master now, for other reasons. The build > fails as follows: > > In toplevel form: > packages/counsel-ebdb/counsel-ebdb.el:29:1:Error: Cannot open load file: No > such file or directory, ebdb > make: *** [GNUmakefile:171: packages/counsel-ebdb/counsel-ebdb.elc] Error 1 > > Is anybody building ELPA regularly? Yes, I do. Not sure why you can't find ebdb since it's in elpa.git. Have you added the .../elpa/packages to your package-directory-list? But I can tell you that the build fails a bit later because grep '#xffffffff' elpa/**/*.el still finds other cases. Stefan From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 08:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.15234340435019 (code B ref 31118); Wed, 11 Apr 2018 08:08:02 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 08:07:23 +0000 Received: from localhost ([127.0.0.1]:45665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Amp-0001It-FH for submit@debbugs.gnu.org; Wed, 11 Apr 2018 04:07:23 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Amn-0001Id-4p for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 04:07:21 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4502316173A; Wed, 11 Apr 2018 01:07:15 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JinoDECzewAj; Wed, 11 Apr 2018 01:07:14 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3BF1616173C; Wed, 11 Apr 2018 01:07:14 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id px_6fM3NdYSZ; Wed, 11 Apr 2018 01:07:14 -0700 (PDT) Received: from [192.168.1.9] (unknown [47.154.30.119]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 1C3A316173A; Wed, 11 Apr 2018 01:07:14 -0700 (PDT) References: From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Wed, 11 Apr 2018 01:07:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Monnier wrote: >> I fixed that by installing the attached into ELPA. >> >> I can't build ELPA from scratch on master now, for other reasons. The = build >> fails as follows: >> >> In toplevel form: >> packages/counsel-ebdb/counsel-ebdb.el:29:1:Error: Cannot open load fil= e: No >> such file or directory, ebdb >> make: *** [GNUmakefile:171: packages/counsel-ebdb/counsel-ebdb.elc] Er= ror 1 >> >> Is anybody building ELPA regularly? >=20 > Yes, I do. Not sure why you can't find ebdb since it's in elpa.git. > Have you added the .../elpa/packages to your package-directory-list? No, I tried to follow the instructions in README=20 . They say t= hat to=20 install all the packages "in place" (which I assume is the simplest way t= o build=20 ELPA) one should run "make externals" first. This fails from a fresh elpa= =20 checkout as follows: $ make externals emacs --batch -l admin/archive-contents.el \ -f archive-add/remove/update-externals No "emacs" subdir: will skip :core packages Cloning branch auctex: fatal: Not a valid object name: 'origin/externals/auctex'. ... Cloning branch ebdb: fatal: Not a valid object name: 'origin/externals/ebdb'. ... and no doubt this explains the problem. I charged ahead and typed plain '= make'=20 which failed as I mentioned earlier. What am I doing wrong? Should the RE= ADME be=20 updated? (As you can probably tell I've never used ELPA, and I must say t= hat the=20 startup overhead is offputting.) > But I can tell you that the build fails a bit later because >=20 > grep '#xffffffff' elpa/**/*.el >=20 > still finds other cases. That command doesn't work for me: $ grep '#xffffffff' elpa/**/*.el grep: elpa/**/*.el: No such file or directory And this one doesn't find anything for me, in the elpa directory: grep -r '#xffffffff' . Are we talking about the same repository? I'm using the Savannah ELPA rep= ository=20 under the emacs tree, as in the abovementioned URL. From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 08:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: 31118@debbugs.gnu.org, Stefan Monnier Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.15234349886427 (code B ref 31118); Wed, 11 Apr 2018 08:24:01 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 08:23:08 +0000 Received: from localhost ([127.0.0.1]:45671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6B21-0001fX-V4 for submit@debbugs.gnu.org; Wed, 11 Apr 2018 04:23:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:54780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6B20-0001em-6z for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 04:23:04 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 51A85AF52; Wed, 11 Apr 2018 08:22:58 +0000 (UTC) From: Andreas Schwab References: X-Yow: You can't hurt me!! I have an ASSUMABLE MORTGAGE!! Date: Wed, 11 Apr 2018 10:22:56 +0200 In-Reply-To: (Paul Eggert's message of "Wed, 11 Apr 2018 01:07:13 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Apr 11 2018, Paul Eggert wrote: > $ make externals > emacs --batch -l admin/archive-contents.el \ > -f archive-add/remove/update-externals > No "emacs" subdir: will skip :core packages > Cloning branch auctex: > fatal: Not a valid object name: 'origin/externals/auctex'. > ... > Cloning branch ebdb: > fatal: Not a valid object name: 'origin/externals/ebdb'. > ... How did you clone the repository? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 08:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Schwab Cc: 31118@debbugs.gnu.org, Stefan Monnier Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.15234357507661 (code B ref 31118); Wed, 11 Apr 2018 08:36:02 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 08:35:50 +0000 Received: from localhost ([127.0.0.1]:45690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6BEM-0001zV-53 for submit@debbugs.gnu.org; Wed, 11 Apr 2018 04:35:50 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:36150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6BEJ-0001zD-Qq for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 04:35:48 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5489916173A; Wed, 11 Apr 2018 01:35:42 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id oGhv92SED3sT; Wed, 11 Apr 2018 01:35:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 24158161740; Wed, 11 Apr 2018 01:35:41 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TFH8bZmpSOWJ; Wed, 11 Apr 2018 01:35:41 -0700 (PDT) Received: from [192.168.1.9] (unknown [47.154.30.119]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id F36AD16173A; Wed, 11 Apr 2018 01:35:40 -0700 (PDT) References: From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <2eb4d074-d2ea-0081-c1c8-3a7615eb147b@cs.ucla.edu> Date: Wed, 11 Apr 2018 01:35:40 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas Schwab wrote: > How did you clone the repository? I followed my usual practice: git clone eggert@git.sv.gnu.org:/srv/git/emacs/elpa.git elpa-savannah git clone elpa-savannah elpa I do this so that I have a relatively-pristine repository (elpa-savannah)= and a=20 dirtier working one (elpa). Hmm, I now see that this practice does not wo= rk with=20 ELPA for some reason. Too bad. I guess I'll not bother with the=20 relatively-pristine repository for ELPA. Thanks for the help. From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 12:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.15234491833151 (code B ref 31118); Wed, 11 Apr 2018 12:20:01 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 12:19:43 +0000 Received: from localhost ([127.0.0.1]:45787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Ej1-0000ol-6k for submit@debbugs.gnu.org; Wed, 11 Apr 2018 08:19:43 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:51842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Eiz-0000oc-Kh for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 08:19:42 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w3BCJa0B027547; Wed, 11 Apr 2018 08:19:36 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6453669FAF; Wed, 11 Apr 2018 08:19:36 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Wed, 11 Apr 2018 08:19:36 -0400 In-Reply-To: (Paul Eggert's message of "Wed, 11 Apr 2018 01:07:13 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6262=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6262> : inlines <6557> : streams <1783714> : uri <2623691> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > $ make externals > emacs --batch -l admin/archive-contents.el \ > -f archive-add/remove/update-externals > No "emacs" subdir: will skip :core packages > Cloning branch auctex: > fatal: Not a valid object name: 'origin/externals/auctex'. > ... > Cloning branch ebdb: > fatal: Not a valid object name: 'origin/externals/ebdb'. > ... Indeed, "make externals" assumes that the other branches are in your repository, in the remote called "origin". For some reason your local repository doesn't seem to be setup this way. > That command doesn't work for me: > > $ grep '#xffffffff' elpa/**/*.el > grep: elpa/**/*.el: No such file or directory The "**/" glob is a zsh extension (supported also by Eshell, AFAIK), whose meaning is clear enough. > And this one doesn't find anything for me, in the elpa directory: > grep -r '#xffffffff' . This is because of the above error (the other matches are in exwm, i.e. in the origin/externals/exwm branch). Stefan From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 12:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org, Paul Eggert Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.15234508675661 (code B ref 31118); Wed, 11 Apr 2018 12:48:02 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 12:47:47 +0000 Received: from localhost ([127.0.0.1]:45803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6FAA-0001TF-Pz for submit@debbugs.gnu.org; Wed, 11 Apr 2018 08:47:46 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:41123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6FA8-0001T2-H1 for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 08:47:45 -0400 Received: by mail-wr0-f177.google.com with SMTP id s12so1651486wrc.8 for <31118@debbugs.gnu.org>; Wed, 11 Apr 2018 05:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=KOSUIz5s3Aouo/MQBqCieiQ64Hqk+VlEYctmXCcJ8QA=; b=bcgw4gzMvwAqentgihqyMZhm2PMAnUipT0MqP5bt+33nWvAu97k3B2ibU/fzfg52NS i2+dlB4k/FxvprNoXsaa6K33BQ6sA5/nJloUwrqAnFx3K479WwZ9/e/4nKILxQWRxJlq G49/3UxD2/pP27rnH+Xh5L40D57wVrCyRHk1k5bAWhJdhnxQiL5HT3uZ7XJEZEM1e97O oa6QnFLWGnq9Wfi4oYsChZzFvj324SHbMWKBlIlzqVo//KdGJl1oZ0RC1r+ClJMROr8g lB2rfecGne/gQrrcUxU3hOVqHATAgxWnyfhRKD41QaG4mq7WfZDWOiP4Bjk2/QBas2gq RZNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=KOSUIz5s3Aouo/MQBqCieiQ64Hqk+VlEYctmXCcJ8QA=; b=Hc2X13Gru83DLh4kj66gYES7djAqAnRGtU77xahMqldzdYuSE5/u0vptfi3tGmE1UF n691EIEtt2JSCrzma0OvPUbcXikP/f3HUVINJbYBX7M3UYbtIhVO9xI2g+7UPafAo07d yr/DSnITjGpF0xwhtgEglRfEM3KTLlSg45F+lD08QH0N/tl9LokFCJX+U8wScVllRh6b io8iEc3bHdjNGazn6Uit1k9C6FSldeGSSrq6TPou7rvYH52XDZvDgBB8PXhLBn8ZHRRi OV0un1hPts5opxN186cdzk1lNRjyrLtznlI5lNffuRtD9prV+JEYKRR4KwnNLrSVhcu7 OxVQ== X-Gm-Message-State: ALQs6tAKm5VVtRyMFj/T/oHmJ2UpjLkN8jrNqYcG7TiGP6CDZv4E3E3x pzewxwl6NOhjKOVAYN2yia36Tg== X-Google-Smtp-Source: AIpwx48MMop2QbBXtGBFwUb6qIojKKtSVeoZTOdYktngLdwgYbWAsk0kTAx0nBmWKkKytQk5pmqtzw== X-Received: by 10.223.176.171 with SMTP id i40mr3198877wra.246.1523450858604; Wed, 11 Apr 2018 05:47:38 -0700 (PDT) Received: from localhost ([178.62.40.52]) by smtp.gmail.com with ESMTPSA id m62sm2458624wmc.25.2018.04.11.05.47.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Apr 2018 05:47:37 -0700 (PDT) From: "Basil L. Contovounesios" References: Date: Wed, 11 Apr 2018 13:47:28 +0100 In-Reply-To: (Stefan Monnier's message of "Wed, 11 Apr 2018 08:19:36 -0400") Message-ID: <871sflewpr.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Monnier writes: >> That command doesn't work for me: >> >> $ grep '#xffffffff' elpa/**/*.el >> grep: elpa/**/*.el: No such file or directory > > The "**/" glob is a zsh extension (supported also by Eshell, AFAIK), > whose meaning is clear enough. FWIW, Bash 4.0 can also interpret "**" recursively via the globstar shell option; see https://stackoverflow.com/a/28199633/3084001. -- Basil From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 16:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.1523463782898 (code B ref 31118); Wed, 11 Apr 2018 16:24:01 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 16:23:02 +0000 Received: from localhost ([127.0.0.1]:46381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6IWT-0000EQ-SC for submit@debbugs.gnu.org; Wed, 11 Apr 2018 12:23:02 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6IWS-0000Dg-2g for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 12:23:00 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1AE851616E4; Wed, 11 Apr 2018 09:22:54 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Ik1W7p0hrOgL; Wed, 11 Apr 2018 09:22:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D4C94161642; Wed, 11 Apr 2018 09:22:52 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5degjLLPWkim; Wed, 11 Apr 2018 09:22:52 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id B8EB516133D; Wed, 11 Apr 2018 09:22:52 -0700 (PDT) References: From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> Date: Wed, 11 Apr 2018 09:22:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------86ACD1B8417E77CC8B268EB0" Content-Language: en-US X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------86ACD1B8417E77CC8B268EB0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 04/11/2018 05:19 AM, Stefan Monnier wrote: > "make externals" assumes that the other branches are in your > repository, in the remote called "origin". For some reason your > local repository doesn't seem to be setup this way. Yes, Andreas put me on the right track. I installed the attached to help=20 others who might have a similar problem. However, even when I clone directly from Savannah so that 'make=20 externals' works, the resulting 'make' still fails from a fresh=20 checkout. Here's the output of redoing the 'make'. (I can resend the log=20 of the full 'make -j5' if you like, but it's 11,000 lines long....) Are=20 the people doing periodic builds starting from a clean sheet, or is=20 there some other mysterious thing that I am doing "wrong"? $ make Byte compiling packages/hyperbole/hinit.el Unable to activate package =E2=80=98helm-ebdb=E2=80=99. Required package =E2=80=98helm-1.0=E2=80=99 is unavailable Unable to activate package =E2=80=98ebdb-i18n-chn=E2=80=99. Required package =E2=80=98pyim-1.6.0=E2=80=99 is unavailable Loading /home/eggert/src/gnu/elpa/packages/hyperbole/hui-window.el=20 (source)... In toplevel form: packages/hyperbole/hinit.el:26:1:Error: "hui-window.el": =E2=80=98hmouse-= alist=E2=80=99=20 must be defined before loading this. make: *** [GNUmakefile:171: packages/hyperbole/hinit.elc] Error 1 Compilation exited abnormally with code 2 at Wed Apr 11 08:56:13 --------------86ACD1B8417E77CC8B268EB0 Content-Type: text/x-patch; name="0001-README-Don-t-clone-a-clone.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-README-Don-t-clone-a-clone.patch" >From ed3aa83d0d4791d4a36085a9e8cd8ea41c18b014 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 11 Apr 2018 09:09:25 -0700 Subject: [PATCH] * README: Don't clone a clone. --- README | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README b/README index bc74eddd9..067f4c769 100644 --- a/README +++ b/README @@ -10,6 +10,14 @@ and how to deploy the archive (either on elpa.gnu.org, or a local copy for testing purposes). +* GETTING THE SOURCE + +Start with source that is cloned directly from Savannah. See: + +https://savannah.gnu.org/git/?group=emacs + +and look for "ELPA". Using a clone of a clone does not work. + * DIRECTORY LAYOUT ** admin/ -- scripts for administering the package archive. -- 2.14.3 --------------86ACD1B8417E77CC8B268EB0-- From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org, eggert@cs.ucla.edu Reply-To: Eli Zaretskii Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.15234648702484 (code B ref 31118); Wed, 11 Apr 2018 16:42:02 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 16:41:10 +0000 Received: from localhost ([127.0.0.1]:46387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Io2-0000dz-KR for submit@debbugs.gnu.org; Wed, 11 Apr 2018 12:41:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Io1-0000dn-Bb for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 12:41:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6Ins-00054B-5j for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 12:41:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6Ins-000543-1x; Wed, 11 Apr 2018 12:41:00 -0400 Received: from [176.228.60.248] (port=2498 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f6Inr-0005Cp-Gp; Wed, 11 Apr 2018 12:40:59 -0400 Date: Wed, 11 Apr 2018 19:41:10 +0300 Message-Id: <83fu413dcp.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Stefan Monnier on Wed, 11 Apr 2018 08:19:36 -0400) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Stefan Monnier > Date: Wed, 11 Apr 2018 08:19:36 -0400 > Cc: 31118@debbugs.gnu.org > > > $ make externals > > emacs --batch -l admin/archive-contents.el \ > > -f archive-add/remove/update-externals > > No "emacs" subdir: will skip :core packages > > Cloning branch auctex: Btw, this part of archive-contents.el: (setq archive--use-worktree (list (ignore-errors (zerop (call-process "git" nil nil nil "worktree" "--help")))))) is sub-optimal: on MS-Windows, Git help commands invoke the system Web browser to show the HTML version of the docs, so the browser suddenly pops up when this code runs. I actually don't understand why --help is the best idea here; is there something wrong with running "worktree list" instead? I tested that with Git v2.3.5, which doesn't support worktrees, and it exited with non-zero code. From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.152347184112873 (code B ref 31118); Wed, 11 Apr 2018 18:38:02 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 18:37:21 +0000 Received: from localhost ([127.0.0.1]:46466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6KcS-0003LY-PL for submit@debbugs.gnu.org; Wed, 11 Apr 2018 14:37:20 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6KcQ-0003LP-4o for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 14:37:19 -0400 Received: from lechazo.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w3BIbE9G003215; Wed, 11 Apr 2018 14:37:14 -0400 Received: by lechazo.home (Postfix, from userid 20848) id 23E3C601D0; Wed, 11 Apr 2018 14:37:14 -0400 (EDT) From: Stefan Monnier Message-ID: References: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> Date: Wed, 11 Apr 2018 14:37:14 -0400 In-Reply-To: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> (Paul Eggert's message of "Wed, 11 Apr 2018 09:22:48 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6262=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6262> : inlines <6558> : streams <1783738> : uri <2623845> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > if you like, but it's 11,000 lines long....) Are the people doing periodic > builds starting from a clean sheet, or is there some other mysterious thing > that I am doing "wrong"? I don't re-compile everything all the time, no. It would be good to have such a thing in a CI somewhere, ideally with some way to automatically send the build failure notices to the right package maintainer. Stefan From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 18:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 31118@debbugs.gnu.org, eggert@cs.ucla.edu Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.152347193513002 (code B ref 31118); Wed, 11 Apr 2018 18:39:01 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 18:38:55 +0000 Received: from localhost ([127.0.0.1]:46470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Kdz-0003Ne-7d for submit@debbugs.gnu.org; Wed, 11 Apr 2018 14:38:55 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:36498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Kdx-0003NW-1O for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 14:38:53 -0400 Received: from lechazo.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w3BIcltJ014514; Wed, 11 Apr 2018 14:38:47 -0400 Received: by lechazo.home (Postfix, from userid 20848) id 0D69C601D0; Wed, 11 Apr 2018 14:38:45 -0400 (EDT) From: Stefan Monnier Message-ID: References: <83fu413dcp.fsf@gnu.org> Date: Wed, 11 Apr 2018 14:38:45 -0400 In-Reply-To: <83fu413dcp.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 11 Apr 2018 19:41:10 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV6262=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6262> : inlines <6558> : streams <1783739> : uri <2623847> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > I actually don't understand why --help is the best idea here; is there > something wrong with running "worktree list" instead? I use "--help" because I tried it and it worked for me. Feel free to replace it with "list". Stefan From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Apr 2018 19:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org, Paul Eggert Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.152347608919326 (code B ref 31118); Wed, 11 Apr 2018 19:49:01 +0000 Received: (at 31118) by debbugs.gnu.org; 11 Apr 2018 19:48:09 +0000 Received: from localhost ([127.0.0.1]:46521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Liy-00051e-QU for submit@debbugs.gnu.org; Wed, 11 Apr 2018 15:48:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6Liv-000519-2s for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 15:48:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6Lip-0007d9-1x for 31118@debbugs.gnu.org; Wed, 11 Apr 2018 15:47:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6Lif-0007Vh-K2; Wed, 11 Apr 2018 15:47:49 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1f6Lif-0007Bn-7j; Wed, 11 Apr 2018 15:47:49 -0400 From: Glenn Morris References: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> X-Spook: anthrax Tijuana USCOI Tornado Al Jazeera event security X-Ran: Ka?mGyX9@'&!dnwN%tZ~V>ht4rTYHRY{4Zb8ek;4-0RK"t`"T=d-7dc.6i@uW,X*Q/K/5S X-Hue: cyan X-Attribution: GM Date: Wed, 11 Apr 2018 15:47:49 -0400 In-Reply-To: (Stefan Monnier's message of "Wed, 11 Apr 2018 14:37:14 -0400") Message-ID: <8hpo35y17e.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Stefan Monnier wrote: > I don't re-compile everything all the time, no. It would be good to > have such a thing in a CI somewhere, ideally with some way to > automatically send the build failure notices to the right package maintainer. Such a setup was posted once: http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00305.html From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Apr 2018 12:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org, eggert@cs.ucla.edu Reply-To: Eli Zaretskii Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.152353742117739 (code B ref 31118); Thu, 12 Apr 2018 12:51:01 +0000 Received: (at 31118) by debbugs.gnu.org; 12 Apr 2018 12:50:21 +0000 Received: from localhost ([127.0.0.1]:47204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6bgC-0004c2-Mb for submit@debbugs.gnu.org; Thu, 12 Apr 2018 08:50:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6bgB-0004bq-Cn for 31118@debbugs.gnu.org; Thu, 12 Apr 2018 08:50:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6bg3-0005Vf-3t for 31118@debbugs.gnu.org; Thu, 12 Apr 2018 08:50:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6bg3-0005VW-1S; Thu, 12 Apr 2018 08:50:11 -0400 Received: from [176.228.60.248] (port=3691 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f6bg1-000287-PU; Thu, 12 Apr 2018 08:50:10 -0400 Date: Thu, 12 Apr 2018 15:50:23 +0300 Message-Id: <83tvsg1tdc.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Stefan Monnier on Wed, 11 Apr 2018 14:38:45 -0400) References: <83fu413dcp.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Stefan Monnier > Cc: eggert@cs.ucla.edu, 31118@debbugs.gnu.org > Date: Wed, 11 Apr 2018 14:38:45 -0400 > > > I actually don't understand why --help is the best idea here; is there > > something wrong with running "worktree list" instead? > > I use "--help" because I tried it and it worked for me. > Feel free to replace it with "list". Done. From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Apr 2018 22:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.152383032613111 (code B ref 31118); Sun, 15 Apr 2018 22:13:02 +0000 Received: (at 31118) by debbugs.gnu.org; 15 Apr 2018 22:12:06 +0000 Received: from localhost ([127.0.0.1]:54673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7psU-0003PO-BA for submit@debbugs.gnu.org; Sun, 15 Apr 2018 18:12:06 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7psQ-0003Oq-QU for 31118@debbugs.gnu.org; Sun, 15 Apr 2018 18:12:03 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id F2641161291; Sun, 15 Apr 2018 15:11:56 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id teh2QQCSVSuI; Sun, 15 Apr 2018 15:11:55 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D69CA161684; Sun, 15 Apr 2018 15:11:55 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XXtN1sHw55bD; Sun, 15 Apr 2018 15:11:55 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id B303D161291; Sun, 15 Apr 2018 15:11:55 -0700 (PDT) References: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <80fbbf82-c20f-6a01-b257-45caa4a87fdf@cs.ucla.edu> Date: Sun, 15 Apr 2018 15:11:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------4D22D1063BA8914B6A9376E1" Content-Language: en-US X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------4D22D1063BA8914B6A9376E1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Although I still can't build ELPA (see Bug#31118#31), I took a shot at making ELPA build for 32-bit Emacs on master by installing the attached patches into the xelb and exwm packages, respectively. As I understand it, some parts of ELPA still assume 64-bit Emacs, but that's lower priority as it's not a regression. Also, one still cannot reliably build ELPA on 64-bit Emacs and run it on 32-bit Emacs (or vice versa), but people don't do that much and I suspect it wasn't really working either. --------------4D22D1063BA8914B6A9376E1 Content-Type: text/x-patch; name="0001-Port-to-32-bit-Emacs-master.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Port-to-32-bit-Emacs-master.patch" >From 0a46cc62a3a82dcaa1d1bf0929a5207260f635e3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 15 Apr 2018 15:00:09 -0700 Subject: [PATCH] Port to 32-bit Emacs master Rewrite #xFFFFFFFF to 4294967295. and similarly for other hex constants intended to be floating-point on 32-bit Emacs. * el_client.el (xelb-parse-enum): Omit enums that do not fit in 32-bit Emacs. * xcb-xinput.el (xcb:xinput:ModifierMask:Any): * xcb-xkb.el (xcb:xkb:Control:IgnoreLockMods) (xcb:xkb:Control:PerKeyRepeat, xcb:xkb:Control:ControlsEnabled): Remove. --- el_client.el | 8 +++++++- xcb-cursor.el | 2 +- xcb-icccm.el | 2 +- xcb-types.el | 28 ++++++++++++++-------------- xcb-xinput.el | 2 -- xcb-xkb.el | 3 --- 6 files changed, 23 insertions(+), 22 deletions(-) diff --git a/el_client.el b/el_client.el index 9b7077f98..393745ef0 100644 --- a/el_client.el +++ b/el_client.el @@ -351,7 +351,13 @@ an `xelb-auto-padding' attribute." (if expression (setq value (xelb-parse-expression expression)) (setq value (1+ value))) - `(defconst ,name ,value)))) + ;; Omit the rare enums that do not fit in a fixnum in + ;; 32-bit Emacs, so that the resulting .el and .elc + ;; files are portable to 32-bit Emacs. Admittedly + ;; this is a kludge. + (unless (and ((integerp value) + (not (<= -536870912 value 536870911)))) + `(defconst ,name ,value))))) items)))) (defun xelb-parse-typedef (node) diff --git a/xcb-cursor.el b/xcb-cursor.el index 12bbf27ac..71842a383 100644 --- a/xcb-cursor.el +++ b/xcb-cursor.el @@ -230,7 +230,7 @@ (defconst xcb:cursor:-file-chunk-image-header 36 "Header value of image-type chunk in Xcursor file.") -(defconst xcb:cursor:-file-chunk-image-type #xFFFD0002 +(defconst xcb:cursor:-file-chunk-image-type 4294770690. "Type of image-type chunk in Xcursor file.") (defconst xcb:cursor:-file-chunk-image-version 1 "Version of image-type chunk in Xcursor file.") diff --git a/xcb-icccm.el b/xcb-icccm.el index 613bed187..4599a7dbf 100644 --- a/xcb-icccm.el +++ b/xcb-icccm.el @@ -119,7 +119,7 @@ A valid timestamp (rather than `xcb:Time:CurrentTime') must be supplied.") (defclass xcb:icccm:-GetProperty (xcb:GetProperty) ((delete :initform 0) (long-offset :initform 0) - (long-length :initform 1000000000)) ;as long as possible + (long-length :initform 1000000000.)) ;as long as possible :documentation "Get an ICCCM property (request part).") (defclass xcb:icccm:-GetProperty~reply (xcb:GetProperty~reply) diff --git a/xcb-types.el b/xcb-types.el index f5c1a3c13..0c172b64d 100644 --- a/xcb-types.el +++ b/xcb-types.el @@ -155,8 +155,8 @@ (logand (lsh value -16) #xFF) (logand (lsh value -8) #xFF) (logand value #xFF)) - (let* ((msdw (min #xFFFFFFFF (truncate value #x100000000))) - (lsdw (min #xFFFFFFFF + (let* ((msdw (min 4294967295. (truncate value 4294967296.))) + (lsdw (min 4294967295. (truncate (- value (* msdw 4294967296.0)))))) (vector (logand (lsh msdw -24) #xFF) (logand (lsh msdw -16) #xFF) (logand (lsh msdw -8) #xFF) (logand msdw #xFF) @@ -173,8 +173,8 @@ (logand (lsh value -40) #xFF) (logand (lsh value -48) #xFF) (logand (lsh value -56) #xFF)) - (let* ((msdw (min #xFFFFFFFF (truncate value #x100000000))) - (lsdw (min #xFFFFFFFF + (let* ((msdw (min 4294967295. (truncate value 4294967296.))) + (lsdw (min 4294967295. (truncate (- value (* msdw 4294967296.0)))))) (vector (logand lsdw #xFF) (logand (lsh lsdw -8) #xFF) (logand (lsh lsdw -16) #xFF) (logand (lsh lsdw -24) #xFF) @@ -207,11 +207,11 @@ (vector 0 0 0 0 (logand (lsh value -24) #xFF) (logand (lsh value -16) #xFF) (logand (lsh value -8) #xFF) (logand value #xFF)) - (let* ((msw (min #xFFFF (truncate value #x1000000000000))) + (let* ((msw (min #xFFFF (truncate value 281474976710656.))) (w1 (min #xFFFF (truncate (setq value (- value (* msw 281474976710656.0))) - #x100000000))) + 4294967296.))) (w2 (min #xFFFF (truncate (setq value (- value (* w1 4294967296.0))) #x10000))) @@ -226,11 +226,11 @@ (vector (logand value #xFF) (logand (lsh value -8) #xFF) (logand (lsh value -16) #xFF) (logand (lsh value -24) #xFF) 0 0 0 0) - (let* ((msw (min #xFFFF (truncate value #x1000000000000))) + (let* ((msw (min #xFFFF (truncate value 281474976710656.))) (w1 (min #xFFFF (truncate (setq value (- value (* msw 281474976710656.0))) - #x100000000))) + 4294967296.))) (w2 (min #xFFFF (truncate (setq value (- value (* w1 4294967296.0))) #x10000))) @@ -244,13 +244,13 @@ "4 bytes signed integer => byte array (MSB first)." (xcb:-pack-u4 (if (>= value 0) value - (+ value #x100000000)))) ;treated as float for 32-bit + (+ value 4294967296.)))) ;treated as float for 32-bit (defsubst xcb:-pack-i4-lsb (value) "4 bytes signed integer => byte array (LSB first)." (xcb:-pack-u4-lsb (if (>= value 0) value - (+ value #x100000000)))) ;treated as float for 32-bit + (+ value 4294967296.)))) ;treated as float for 32-bit (defsubst xcb:-unpack-u1 (data offset) "Byte array => 1 byte unsigned integer." @@ -361,16 +361,16 @@ (defsubst xcb:-unpack-i4 (data offset) "Byte array => 4 bytes signed integer (MSB first)." (let ((value (xcb:-unpack-u4 data offset))) - (if (< value #x80000000) ;treated as float for 32-bit + (if (< value 2147483648.) ;treated as float for 32-bit value - (- value #x100000000)))) ;treated as float for 32-bit + (- value 4294967296.)))) ;treated as float for 32-bit (defsubst xcb:-unpack-i4-lsb (data offset) "Byte array => 4 bytes signed integer (LSB first)." (let ((value (xcb:-unpack-u4-lsb data offset))) - (if (< value #x80000000) ;treated as float for 32-bit + (if (< value 2147483648.) ;treated as float for 32-bit value - (- value #x100000000)))) ;treated as float for 32-bit + (- value 4294967296.)))) ;treated as float for 32-bit (defmacro xcb:-fieldref (field) "Evaluate a field." diff --git a/xcb-xinput.el b/xcb-xinput.el index b2ef72b8c..f4da64e37 100644 --- a/xcb-xinput.el +++ b/xcb-xinput.el @@ -1862,8 +1862,6 @@ (defconst xcb:xinput:GrabType:FocusIn 3) (defconst xcb:xinput:GrabType:TouchBegin 4) -(defconst xcb:xinput:ModifierMask:Any 2147483648) - (defclass xcb:xinput:GrabModifierInfo (xcb:-struct) ((modifiers :initarg :modifiers :type xcb:CARD32) diff --git a/xcb-xkb.el b/xcb-xkb.el index 881f4df0f..1f26deb68 100644 --- a/xcb-xkb.el +++ b/xcb-xkb.el @@ -105,9 +105,6 @@ (defconst xcb:xkb:Control:GroupsWrap 134217728) (defconst xcb:xkb:Control:InternalMods 268435456) -(defconst xcb:xkb:Control:IgnoreLockMods 536870912) -(defconst xcb:xkb:Control:PerKeyRepeat 1073741824) -(defconst xcb:xkb:Control:ControlsEnabled 2147483648) (defconst xcb:xkb:AXOption:SKPressFB 1) (defconst xcb:xkb:AXOption:SKAcceptFB 2) -- 2.14.3 --------------4D22D1063BA8914B6A9376E1 Content-Type: text/x-patch; name="0001-Port-to-32-bit-Emacs-on-master-branch.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Port-to-32-bit-Emacs-on-master-branch.patch" >From ff4ae82fd7ca9101da92f21c7f46f991da99a30e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 15 Apr 2018 14:52:39 -0700 Subject: [PATCH] Port to 32-bit Emacs on master branch --- exwm-layout.el | 2 +- exwm.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exwm-layout.el b/exwm-layout.el index b74f512a4..764259870 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -117,7 +117,7 @@ (with-current-buffer (exwm--id->buffer id) (unless (or (exwm-layout--iconic-state-p) (and exwm--floating-frame - (eq #xffffffff exwm--desktop))) + (eq 4294967295. exwm--desktop))) (exwm--log "Hide #x%x" id) (when exwm--floating-frame (let* ((container (frame-parameter exwm--floating-frame diff --git a/exwm.el b/exwm.el index 195ca7b80..17f73d8ca 100644 --- a/exwm.el +++ b/exwm.el @@ -154,7 +154,7 @@ (when reply (setq desktop (slot-value reply 'value)) (cond - ((eq desktop #xffffffff) + ((eq desktop 4294967295.) (unless (or (not exwm--floating-frame) (eq exwm--frame exwm-workspace--current) (and exwm--desktop -- 2.14.3 --------------4D22D1063BA8914B6A9376E1-- From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Apr 2018 01:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.152384203020457 (code B ref 31118); Mon, 16 Apr 2018 01:28:02 +0000 Received: (at 31118) by debbugs.gnu.org; 16 Apr 2018 01:27:10 +0000 Received: from localhost ([127.0.0.1]:54763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7svG-0005Jt-Hy for submit@debbugs.gnu.org; Sun, 15 Apr 2018 21:27:10 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:36290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7svE-0005Ji-2X for 31118@debbugs.gnu.org; Sun, 15 Apr 2018 21:27:09 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w3G1Qx1F026232; Sun, 15 Apr 2018 21:27:00 -0400 Received: by pastel.home (Postfix, from userid 20848) id AB5026A13B; Sun, 15 Apr 2018 21:26:54 -0400 (EDT) From: Stefan Monnier Message-ID: References: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> <80fbbf82-c20f-6a01-b257-45caa4a87fdf@cs.ucla.edu> Date: Sun, 15 Apr 2018 21:26:54 -0400 In-Reply-To: <80fbbf82-c20f-6a01-b257-45caa4a87fdf@cs.ucla.edu> (Paul Eggert's message of "Sun, 15 Apr 2018 15:11:50 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6264=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6264> : inlines <6562> : streams <1784147> : uri <2626162> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Although I still can't build ELPA (see Bug#31118#31), I took a shot at > making ELPA build for 32-bit Emacs on master by installing the attached > patches into the xelb and exwm packages, respectively. I think a major problem remains: these problems in GNU ELPA packages probably also affect other packages that we can't patch so easily. So I think we should reconsider whether reading something like #xffffffff in a 32bit build should signal an error. More specifically, I think we should first make it emit a warning, while keeping the old broken behavior. Then in a later release we can make it signal an error. Stefan From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Apr 2018 07:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.152395146710124 (code B ref 31118); Tue, 17 Apr 2018 07:52:01 +0000 Received: (at 31118) by debbugs.gnu.org; 17 Apr 2018 07:51:07 +0000 Received: from localhost ([127.0.0.1]:56635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8LON-0002dD-J2 for submit@debbugs.gnu.org; Tue, 17 Apr 2018 03:51:07 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8LOJ-0002ch-Vv for 31118@debbugs.gnu.org; Tue, 17 Apr 2018 03:51:04 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4F750161244; Tue, 17 Apr 2018 00:50:58 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id QAqoO0N8oy_T; Tue, 17 Apr 2018 00:50:57 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9EEAF1616D8; Tue, 17 Apr 2018 00:50:57 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TT4zY1T7I1gv; Tue, 17 Apr 2018 00:50:57 -0700 (PDT) Received: from [192.168.1.9] (unknown [47.154.30.119]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7C0D5161244; Tue, 17 Apr 2018 00:50:57 -0700 (PDT) From: Paul Eggert References: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> <80fbbf82-c20f-6a01-b257-45caa4a87fdf@cs.ucla.edu> Organization: UCLA Computer Science Department Message-ID: <100a3631-afa6-ef69-5fa1-6ae95df20c35@cs.ucla.edu> Date: Tue, 17 Apr 2018 00:50:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 04/15/2018 06:26 PM, Stefan Monnier wrote: > I think we should first make it emit a warning, while > keeping the old broken behavior. Do you mean 'read' should call 'display-warning' for now? I suppose we co= uld=20 make read-integer-overflow-as-float be a three-state variable: either (1)= signal=20 an error, or (2) call display-warning and yield a float, or (3) silently = yield a=20 float, and have (2) be the default for now. However, I worry that (2) mig= ht lead=20 to further problems, e.g., display-warning is Lisp code that might in tur= n call=20 'read' and loop recursively. The code we're talking about had nonportable code like (eq desktop #xffff= ffff)=20 that doesn't work on platforms with 30-bit fixnums anyway. If the goal is= to=20 make Elisp code safer on 32-bit platforms, --with-wide-int is a simpler a= nd more=20 reliable way to get there (of course bignums would be better but that's a= much=20 bigger project). Most Emacs development occurs on 64-bit platforms now, a= nd it's=20 becoming more and more of a pain to insist that programmers must hack on = code to=20 make it portable to platforms with 30-bit fixnums. Admittedly --with-wide-hit is a ~30% CPU performance hit on my circa-2010= AMD=20 desktop. If defaulting to --with-wide-int is too drastic, I hope that the= =20 already-existing read-integer-overflow-as-float flag is enough backstop f= or=20 people who want to run nonportable code on platforms with 30-bit fixnums.= From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Apr 2018 12:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.152396753424588 (code B ref 31118); Tue, 17 Apr 2018 12:19:02 +0000 Received: (at 31118) by debbugs.gnu.org; 17 Apr 2018 12:18:54 +0000 Received: from localhost ([127.0.0.1]:56820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8PZW-0006OW-KY for submit@debbugs.gnu.org; Tue, 17 Apr 2018 08:18:54 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:55924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8PZU-0006OO-O3 for 31118@debbugs.gnu.org; Tue, 17 Apr 2018 08:18:53 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w3HCIjPh014902; Tue, 17 Apr 2018 08:18:46 -0400 Received: by pastel.home (Postfix, from userid 20848) id C92BB6A197; Tue, 17 Apr 2018 08:18:40 -0400 (EDT) From: Stefan Monnier Message-ID: References: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> <80fbbf82-c20f-6a01-b257-45caa4a87fdf@cs.ucla.edu> <100a3631-afa6-ef69-5fa1-6ae95df20c35@cs.ucla.edu> Date: Tue, 17 Apr 2018 08:18:40 -0400 In-Reply-To: <100a3631-afa6-ef69-5fa1-6ae95df20c35@cs.ucla.edu> (Paul Eggert's message of "Tue, 17 Apr 2018 00:50:57 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6266=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6266> : inlines <6565> : streams <1784285> : uri <2627011> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Do you mean 'read' should call 'display-warning' for now? I suppose we could > make read-integer-overflow-as-float be a three-state variable: either (1) > signal an error, or (2) call display-warning and yield a float, or (3) > silently yield a float, and have (2) be the default for now. However, > I worry that (2) might lead to further problems, e.g., display-warning is > Lisp code that might in turn call 'read' and loop recursively. We already solved this problem for old-style backquotes: don't emit the warning directly, instead set a variable and let the caller check the value of the variable to emit a warning if needed. > The code we're talking about had nonportable code like (eq desktop > #xffffffff) that doesn't work on platforms with 30-bit fixnums anyway. I don't disagree with your change. But the problems encountered with code in GNU ELPA makes me think that we want to do it in two steps to reduce the backward compatibility pain. > Admittedly --with-wide-hit is a ~30% CPU performance hit on my circa-2010 > AMD desktop. 4 out of 5 of my machines predate your AMD desktop, and I use a 32bit build on them. > If defaulting to --with-wide-int is too drastic, I hope that the > already-existing read-integer-overflow-as-float flag is enough > backstop for people who want to run nonportable code on platforms with > 30-bit fixnums. If we want to signal an error by default, then I think it's important for this error to give clear steps to set read-integer-overflow-as-float (and in a message that's not too prone to disappear before the user gets to see and act on it). Stefan From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Apr 2018 23:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.152400922125572 (code B ref 31118); Tue, 17 Apr 2018 23:54:02 +0000 Received: (at 31118) by debbugs.gnu.org; 17 Apr 2018 23:53:41 +0000 Received: from localhost ([127.0.0.1]:58229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8aPt-0006eN-Jl for submit@debbugs.gnu.org; Tue, 17 Apr 2018 19:53:41 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8aPs-0006eA-0Q for 31118@debbugs.gnu.org; Tue, 17 Apr 2018 19:53:40 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9F5EA161611; Tue, 17 Apr 2018 16:53:33 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id s7RNLdsIrqYc; Tue, 17 Apr 2018 16:53:33 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E767416161F; Tue, 17 Apr 2018 16:53:32 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q8yUmZ6vhpK9; Tue, 17 Apr 2018 16:53:32 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id CEB5B161611; Tue, 17 Apr 2018 16:53:32 -0700 (PDT) References: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> <80fbbf82-c20f-6a01-b257-45caa4a87fdf@cs.ucla.edu> <100a3631-afa6-ef69-5fa1-6ae95df20c35@cs.ucla.edu> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Tue, 17 Apr 2018 16:53:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------92A635E9FBC29890A5BCABD4" Content-Language: en-US X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------92A635E9FBC29890A5BCABD4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 04/17/2018 05:18 AM, Stefan Monnier wrote: > If we want to signal an error by default, then I think it's important > for this error to give clear steps to set read-integer-overflow-as-float Something like the attached patch, perhaps? --------------92A635E9FBC29890A5BCABD4 Content-Type: text/x-patch; name="0001-Tell-user-about-read-integer-overflow-as-float.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Tell-user-about-read-integer-overflow-as-float.patch" >From eb2fa1a00c5c85aced40900b59183dc03d822958 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 17 Apr 2018 16:52:04 -0700 Subject: [PATCH] Tell user about read-integer-overflow-as-float * src/lread.c (string_to_number): Suggest read-integer-overflow-as-float in signal message. Suggested by Stefan Monnier (Bug#31118#58). --- src/lread.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lread.c b/src/lread.c index 6eda740540..16e34aff0c 100644 --- a/src/lread.c +++ b/src/lread.c @@ -3797,7 +3797,12 @@ string_to_number (char const *string, int base, int flags) value = n; if (! (state & DOT_CHAR) && ! (flags & S2N_OVERFLOW_TO_FLOAT)) - xsignal1 (Qoverflow_error, build_string (string)); + { + AUTO_STRING (fmt, ("%s is out of fixnum range; " + "maybe set `read-integer-overflow-as-float'?")); + xsignal1 (Qoverflow_error, + CALLN (Fformat_message, fmt, build_string (string))); + } } /* Either the number uses float syntax, or it does not fit into a fixnum. -- 2.14.3 --------------92A635E9FBC29890A5BCABD4-- From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Apr 2018 12:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.15240541832108 (code B ref 31118); Wed, 18 Apr 2018 12:24:02 +0000 Received: (at 31118) by debbugs.gnu.org; 18 Apr 2018 12:23:03 +0000 Received: from localhost ([127.0.0.1]:58553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8m75-0000Xw-AV for submit@debbugs.gnu.org; Wed, 18 Apr 2018 08:23:03 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:43741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8m72-0000XJ-Kl for 31118@debbugs.gnu.org; Wed, 18 Apr 2018 08:23:01 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w3ICMtRl031718; Wed, 18 Apr 2018 08:22:55 -0400 Received: by pastel.home (Postfix, from userid 20848) id 375836A0EB; Wed, 18 Apr 2018 08:22:50 -0400 (EDT) From: Stefan Monnier Message-ID: References: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> <80fbbf82-c20f-6a01-b257-45caa4a87fdf@cs.ucla.edu> <100a3631-afa6-ef69-5fa1-6ae95df20c35@cs.ucla.edu> Date: Wed, 18 Apr 2018 08:22:50 -0400 In-Reply-To: (Paul Eggert's message of "Tue, 17 Apr 2018 16:53:32 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6267=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6267> : inlines <6570> : streams <1784381> : uri <2627544> X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Something like the attached patch, perhaps? That might be good enough. Stefan > From eb2fa1a00c5c85aced40900b59183dc03d822958 Mon Sep 17 00:00:00 2001 > From: Paul Eggert > Date: Tue, 17 Apr 2018 16:52:04 -0700 > Subject: [PATCH] Tell user about read-integer-overflow-as-float > > * src/lread.c (string_to_number): Suggest > read-integer-overflow-as-float in signal message. > Suggested by Stefan Monnier (Bug#31118#58). > --- > src/lread.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/src/lread.c b/src/lread.c > index 6eda740540..16e34aff0c 100644 > --- a/src/lread.c > +++ b/src/lread.c > @@ -3797,7 +3797,12 @@ string_to_number (char const *string, int base, int flags) > value = n; > > if (! (state & DOT_CHAR) && ! (flags & S2N_OVERFLOW_TO_FLOAT)) > - xsignal1 (Qoverflow_error, build_string (string)); > + { > + AUTO_STRING (fmt, ("%s is out of fixnum range; " > + "maybe set `read-integer-overflow-as-float'?")); > + xsignal1 (Qoverflow_error, > + CALLN (Fformat_message, fmt, build_string (string))); > + } > } > > /* Either the number uses float syntax, or it does not fit into a fixnum. From unknown Fri Jun 13 11:27:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31118: 27.0.50; Can't load/compile websocket in 32bit master Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Apr 2018 19:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31118@debbugs.gnu.org Received: via spool by 31118-submit@debbugs.gnu.org id=B31118.15240810237613 (code B ref 31118); Wed, 18 Apr 2018 19:51:01 +0000 Received: (at 31118) by debbugs.gnu.org; 18 Apr 2018 19:50:23 +0000 Received: from localhost ([127.0.0.1]:59664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8t5z-0001yj-1c for submit@debbugs.gnu.org; Wed, 18 Apr 2018 15:50:23 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8t5x-0001yU-H5 for 31118@debbugs.gnu.org; Wed, 18 Apr 2018 15:50:21 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id DD6BC1615E8; Wed, 18 Apr 2018 12:50:15 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 3DXztZN3U20f; Wed, 18 Apr 2018 12:50:15 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 363071615FB; Wed, 18 Apr 2018 12:50:15 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id nlf-1ytkdAZw; Wed, 18 Apr 2018 12:50:15 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 1AE751615E8; Wed, 18 Apr 2018 12:50:15 -0700 (PDT) References: <6deb652e-7bd1-f003-ac84-0f4c6a18de99@cs.ucla.edu> <80fbbf82-c20f-6a01-b257-45caa4a87fdf@cs.ucla.edu> <100a3631-afa6-ef69-5fa1-6ae95df20c35@cs.ucla.edu> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Wed, 18 Apr 2018 12:50:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------20DE85EDECABA3C5A2B05654" Content-Language: en-US X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------20DE85EDECABA3C5A2B05654 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 04/18/2018 05:22 AM, Stefan Monnier wrote: > That might be good enough. OK, I installed the attached, which is slightly improved from what I sent earlier. --------------20DE85EDECABA3C5A2B05654 Content-Type: text/x-patch; name="0001-Tell-user-about-read-integer-overflow-as-float.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Tell-user-about-read-integer-overflow-as-float.patch" >From edb67abcd778cde39c6d65e95c4b68d2b2e3505e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 18 Apr 2018 12:38:19 -0700 Subject: [PATCH] Tell user about read-integer-overflow-as-float * src/lread.c (string_to_number): Suggest read-integer-overflow-as-float in signal message. Suggested by Stefan Monnier (Bug#31118#58). --- src/lread.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lread.c b/src/lread.c index 6eda740540..9ddd8d5a7f 100644 --- a/src/lread.c +++ b/src/lread.c @@ -3797,7 +3797,12 @@ string_to_number (char const *string, int base, int flags) value = n; if (! (state & DOT_CHAR) && ! (flags & S2N_OVERFLOW_TO_FLOAT)) - xsignal1 (Qoverflow_error, build_string (string)); + { + AUTO_STRING (fmt, ("%s is out of fixnum range; " + "maybe set `read-integer-overflow-as-float'?")); + AUTO_STRING_WITH_LEN (arg, string, cp - string); + xsignal1 (Qoverflow_error, CALLN (Fformat_message, fmt, arg)); + } } /* Either the number uses float syntax, or it does not fit into a fixnum. -- 2.14.3 --------------20DE85EDECABA3C5A2B05654--