From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#48342: native-comp emacs gets into an infinite loop at startup if no .el files are available Date: Tue, 11 May 2021 10:57:03 -0700 Message-ID: <87tun9yx00.fsf@secretsauce.net> References: <878s4l1zlt.fsf@secretsauce.net> <875yzp1wz0.fsf@secretsauce.net> <834kf95u1z.fsf@gnu.org> <87zgx1yya7.fsf@secretsauce.net> <83r1id414v.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4987"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.15; emacs 28.0.50 Cc: 48342@debbugs.gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 11 19:57:45 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lgWdd-0001Cr-GE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 19:57:45 +0200 Original-Received: from localhost ([::1]:35458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgWdc-0003Ni-IG for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 13:57:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgWcw-00034z-G0 for bug-gnu-emacs@gnu.org; Tue, 11 May 2021 13:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgWcw-0005Jm-6d for bug-gnu-emacs@gnu.org; Tue, 11 May 2021 13:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgWcw-0007nj-4J for bug-gnu-emacs@gnu.org; Tue, 11 May 2021 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 May 2021 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48342 X-GNU-PR-Package: emacs Original-Received: via spool by 48342-submit@debbugs.gnu.org id=B48342.162075581829978 (code B ref 48342); Tue, 11 May 2021 17:57:02 +0000 Original-Received: (at 48342) by debbugs.gnu.org; 11 May 2021 17:56:58 +0000 Original-Received: from localhost ([127.0.0.1]:37322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgWcs-0007nQ-87 for submit@debbugs.gnu.org; Tue, 11 May 2021 13:56:58 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:38903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgWcq-0007nC-20 for 48342@debbugs.gnu.org; Tue, 11 May 2021 13:56:56 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 37DA51656; Tue, 11 May 2021 13:56:50 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 11 May 2021 13:56:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secretsauce.net; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm3; bh=KbZiTeXWflsZGzhMRf4B6pxIgk etc7EJ1HgZmVx5dVE=; b=ZcjHLM5OX25ze/E8NxZzMT8FcQRqjsbiuSRwk1N/d/ qnOwCBWgRrp+jiVGEADFOG5pF5IyjFvW5DeTSC3NdYy4C9KcSRtI5LWZu+rJZcvt I7C/xG4nTvq+6GjCSz/lg8OV012pcw8038VQmIooVyK7M51w3ny435MZfbgV/2aR WfHLt7RFlEN2A/xwSC0tocPVG6xvYwNpP81BaJ1vQuEup9dFJ+FSP0ZJtsMorkZD 65SeIqPCujNFy9jm84ZN+TUZkdbf5Lcm4fcwQfFWl35bn9EqzoAIn6RQ4m9VNZr2 PhzO4091Kh5Z39xRfAIAsv3J97wYC6h2AxGryHYKePjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=KbZiTe XWflsZGzhMRf4B6pxIgketc7EJ1HgZmVx5dVE=; b=e9DsAvfg2f0w9JeNmEHS4x t2uIJJBHcwDg8bMBtVzfTB6jVS2SNu9hffXwYRsFI8hIE854qaIKWjWuyFaqS0+L maFXo2SRaN1pKHrMjwybsEgdftW9Be9oSoqClOno+TCVebkMrr9wGN+9YKvnfQsu A5pqSJjLar/vw4K7q4k7sInWSXtPh8E3gvAXkiktCwK12776aBhjPNOS+BVoDYAt Y0xPYlhkP24tK8+ZG6+LdCQvQTp1EGTe6nYW5QWYLZHclN2lO0ToTVtfKdJRQCOq n+WsnYMB632c7ojQk/nA6emjlfj5dPPhXlBo9+WmGTWIeIJSKWgTbgeZfZzpL9/Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehtddguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffujgffkfggtgesthdtredttdertdenucfhrhhomhepffhimhgr ucfmohhgrghnuceoughimhgrsehsvggtrhgvthhsrghutggvrdhnvghtqeenucggtffrrg htthgvrhhnpeefveefgfettdefvdetgfekvddtffevhfevleelhfejheelgfduffdtiedu ueekheenucfkphepuddtjedrvddutddrvddufedrvdegfeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeguihhmrgesshgvtghrvghtshgruhgt vgdrnhgvth X-ME-Proxy: Original-Received: from localhost (107-210-213-243.lightspeed.irvnca.sbcglobal.net [107.210.213.243]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 May 2021 13:56:49 -0400 (EDT) In-reply-to: <83r1id414v.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206268 Archived-At: Eli Zaretskii writes: >> > Note that if you will be distributing the *.eln files, I think the GPL >> > requires you to make the *.el files available. In fact, this is so >> > even with the *.elc files. So I'm not sure I understand how you could >> > distribute only the *.elc files until now: isn't that contrary to GPL? >> >> The .el files are available, but the user doesn't have to install them. >> Just like the .c sources are available, but the user can install just >> the pre-built binaries if they want to. > > That's a problematic interpretation of the GPL, IME: this way, how can > the user be sure he/she will be able to obtain at a later date the > sources of the exact binary he/she is running? And the same question > for Lisp files and the corresponding *.elc/*.eln. The only way to > make sure is to have them together. Debian (an every other distro I'm guessing) has been doing it like this for a really long time. Everything is versioned. When the distributor makes packages, they build and ship all the packages together: sources, binaries, .el, .elc, and so on. When a user installs the packages at a later time, they don't have to download and install the whole set. A user installs "emacs" version "abc". The version string includes the upstream version that select a specific emacs release AND the packaging version. At any later point in time the user can install "emacs-el" version "abc" or get the sources for emacs, again at version "abc". The identical version numbers guarantee that they're downloading packages the distributor built at the same time as the "emacs" package the user has already. It works.