From unknown Mon Jun 23 00:35:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38613: Disabling bytecompilation on a list of files. Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 14 Dec 2019 21:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38613 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 38613@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15763573399958 (code B ref -1); Sat, 14 Dec 2019 21:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Dec 2019 21:02:19 +0000 Received: from localhost ([127.0.0.1]:35814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igEYN-0002aY-ID for submit@debbugs.gnu.org; Sat, 14 Dec 2019 16:02:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:43245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igEYL-0002aQ-OK for submit@debbugs.gnu.org; Sat, 14 Dec 2019 16:02:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40052) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igEYJ-0002t6-Pw for bug-guix@gnu.org; Sat, 14 Dec 2019 16:02:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igEYI-000860-8e for bug-guix@gnu.org; Sat, 14 Dec 2019 16:02:15 -0500 Received: from mout02.posteo.de ([185.67.36.66]:33659) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igEYH-0007xd-Og for bug-guix@gnu.org; Sat, 14 Dec 2019 16:02:14 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C793F2400FC for ; Sat, 14 Dec 2019 20:45:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1576352717; bh=HiGBOj7qASrfTlXEXkjuNqX9TsoQ5TD7UtO4F4vxC0w=; h=From:To:Subject:Date:From; b=UUKSrewdk8nOVoJ4XQs5alPLPK+pvmEqs+5IB5iXG2/W/Aj410b4DMN2kC/vFZ57y c5Hdp5kkndBZZF0ZDL85BnGAo2/W2hqvU4hRWlbECZ6E+56zpLCjukLoF/0JTr4o1w jB/+Lo/sFRMQtKRzi6qwKmKnMVs0a7UFPZhirBzoGie+ZvZY4uJTnWlY3v9av17BtS ek19jh/ScQ6BlxDsCblCNbgJJfng2nHU4QampEVnlNlo7D+uihUY16SArX5wKoDfOH 0ptwloRTc7c0MziuKmxU35MGblwEcOXuDpThYjVC1b/32SC5pA73T9zcMUk9u6f1tc 0LsgEpbmWLRfw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47ZygH6V5sz9rxT for ; Sat, 14 Dec 2019 20:45:15 +0100 (CET) From: Brett Gilio Date: Sat, 14 Dec 2019 13:45:10 -0600 Message-ID: <87tv62itdl.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 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 (--) Hey all. Just forwarding along an idea discussed between Leo Prikler, Tobias, and I on IRC. Recently I was trying to update our emacs-doom-themes package to a fresher commit since it offers numerous new functionalities but there is not a marked stable release of the package. In the process I found an issue where some files have a bytecode compilation overflow issue during the build phase. My sloppy work around as shown in e9d8dee6c3d6e2ddff74841a3ab3a2ba2816bf27 was as such: --8<---------------cut here---------------start------------->8--- ;; XXX: There is a byte-code overflow issue in the latest ;; checkout which affects byte-compilation for several theme ;; files. The easiest way to work around this is to disable ;; byte-compilation until the issue is resolved. ;; (delete 'build) --8<---------------cut here---------------end--------------->8--- Obviously just outright deleting the phase responsible for bytecompilation is not the _best_ solution. So what Leo and I proposed was adding a #:no-bytecomp which takes a list of REGEXP or files that will be excluded from the in-place byte-compilation. I wanted to float this idea by those of us who use the emacs-build-system regularly. Thanks! -- Brett M. Gilio Homepage -- https://scm.pw/ GNU Guix -- https://guix.gnu.org/ From unknown Mon Jun 23 00:35:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38613: Disabling bytecompilation on a list of files. References: <87tv62itdl.fsf@posteo.net> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Dec 2019 00:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38613 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: brettg@posteo.net Cc: 38613@debbugs.gnu.org Received: via spool by 38613-submit@debbugs.gnu.org id=B38613.15763701294023 (code B ref 38613); Sun, 15 Dec 2019 00:36:01 +0000 Received: (at 38613) by debbugs.gnu.org; 15 Dec 2019 00:35:29 +0000 Received: from localhost ([127.0.0.1]:35900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igHsf-00012p-9g for submit@debbugs.gnu.org; Sat, 14 Dec 2019 19:35:29 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:58205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igHsc-00012c-ME for 38613@debbugs.gnu.org; Sat, 14 Dec 2019 19:35:27 -0500 Received: from nijino.local (213-240-64-42.hdsl.highway.telekom.at [213.240.64.42]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47b5625m5dz3wXv; Sun, 15 Dec 2019 01:35:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1576370123; bh=Vqex/hbU9msuCQkxO9S4mpzoWznce8XPw3Lr5Ffusf0=; h=Subject:From:To:Cc:Date:In-Reply-To; b=kvF4tzcHvjccwCyck2igOl8HNw67JOLZyOMTZnoVvItWe4lL86G0fykXgKs9vIM+n 2ro9IZ1wkQ7R9PWBZT4ckHz9J3mlyuXiIkMnhvd5JjkPkhl97/drrIpf5bh/zYUosD l2zbWE72l8y7d8qWQ/jV34mkuwC5512xj3eJmrE8= Message-ID: From: Leo Prikler Date: Sun, 15 Dec 2019 01:35:27 +0100 In-Reply-To: 87tv62itdl.fsf@posteo.net Content-Type: multipart/mixed; boundary="=-CvGK59/GcDXiE7sr+QzE" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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 (---) --=-CvGK59/GcDXiE7sr+QzE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hey Brett. Am Dienstag, den 14.12.2019, 13:45 -0600 schrieb Brett Gilio: > Just forwarding along an idea discussed between Leo Prikler, Tobias, > and I on IRC. Thanks for the mention ;) > Obviously just outright deleting the phase responsible for > bytecompilation is not the _best_ solution. So what Leo and I > proposed > was adding a #:no-bytecomp which takes a list of REGEXP or files that > will be excluded from the in-place byte-compilation. > > I wanted to float this idea by those of us who use the > emacs-build-system regularly. I actually came up with an alternative solution, that I already hinted at in IRC. 0001 implements a function to disable byte compilation for a single file, 0002 applies this to the package in question. I'm not quite sure why the files are not writable and wonder, whether the chmod should be added into 0001, but keeping it out of it should hopefully prevent abuse. It's rather late and this is just a proof of concept. I haven't fully evaluated the impact this will have on Guix (specifically in the amount of rebuilds it will cause). Also beware of my somewhat ill-formed commit messages. After painfully checking each of the themes for this bug however (on my machine, YMMV), I did update the comment for what it's worth. Regards, Leo --=-CvGK59/GcDXiE7sr+QzE Content-Disposition: attachment; filename*0=0001-guix-emacs-utils-Add-emacs-batch-disable-compilation.pat; filename*1=ch Content-Type: text/x-patch; name="0001-guix-emacs-utils-Add-emacs-batch-disable-compilation.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSAzNjVmNWMwMjg3NmI1MWNmNTY2MjI0ZjYwY2Q2ZDRjNmI3MDIzZDY2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMZW8gUHJpa2xlciA8bGVvLnByaWtsZXJAc3R1ZGVudC50dWdy YXouYXQ+CkRhdGU6IFN1biwgMTUgRGVjIDIwMTkgMDA6NDU6MDggKzAxMDAKU3ViamVjdDogW1BB VENIIDEvM10gZ3VpeDogZW1hY3MtdXRpbHM6IEFkZCBlbWFjcy1iYXRjaC1kaXNhYmxlLWNvbXBp bGF0aW9uLgoKKiBndWl4L2J1aWxkL2VtYWNzLXV0aWxzLnNjbSAoZW1hY3MtYmF0Y2gtZGlzYWJs ZS1jb21waWxhdGlvbik6Ck5ldyBwcm9jZWR1cmUuCi0tLQogZ3VpeC9idWlsZC9lbWFjcy11dGls cy5zY20gfCA3ICsrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA3IGluc2VydGlvbnMoKykKCmRpZmYg LS1naXQgYS9ndWl4L2J1aWxkL2VtYWNzLXV0aWxzLnNjbSBiL2d1aXgvYnVpbGQvZW1hY3MtdXRp bHMuc2NtCmluZGV4IGZkYWNkMzBkZDYuLjJhYTYzYzMzNjMgMTAwNjQ0Ci0tLSBhL2d1aXgvYnVp bGQvZW1hY3MtdXRpbHMuc2NtCisrKyBiL2d1aXgvYnVpbGQvZW1hY3MtdXRpbHMuc2NtCkBAIC0y Myw2ICsyMyw3IEBACiAgICM6ZXhwb3J0ICglZW1hY3MKICAgICAgICAgICAgIGVtYWNzLWJhdGNo LWV2YWwKICAgICAgICAgICAgIGVtYWNzLWJhdGNoLWVkaXQtZmlsZQorICAgICAgICAgICAgZW1h Y3MtYmF0Y2gtZGlzYWJsZS1jb21waWxhdGlvbgogICAgICAgICAgICAgZW1hY3MtZ2VuZXJhdGUt YXV0b2xvYWRzCiAgICAgICAgICAgICBlbWFjcy1ieXRlLWNvbXBpbGUtZGlyZWN0b3J5CiAgICAg ICAgICAgICBlbWFjcy1zdWJzdGl0dXRlLXNleHBzCkBAIC01MCw2ICs1MSwxMiBAQAogICAgICAg ICAgIChzdHJpbmctYXBwZW5kICItLXZpc2l0PSIgZmlsZSkKICAgICAgICAgICAoZm9ybWF0ICNm ICItLWV2YWw9flMiIGV4cHIpKSkKIAorKGRlZmluZSAoZW1hY3MtYmF0Y2gtZGlzYWJsZS1jb21w aWxhdGlvbiBmaWxlKQorICAoZW1hY3MtYmF0Y2gtZWRpdC1maWxlIGZpbGUKKyAgICAnKHByb2du CisgICAgICAoYWRkLWZpbGUtbG9jYWwtdmFyaWFibGUgJ25vLWJ5dGUtY29tcGlsZSB0KQorICAg ICAgKGJhc2ljLXNhdmUtYnVmZmVyKSkpKQorCiAoZGVmaW5lIChlbWFjcy1nZW5lcmF0ZS1hdXRv bG9hZHMgbmFtZSBkaXJlY3RvcnkpCiAgICJHZW5lcmF0ZSBhdXRvbG9hZHMgZm9yIEVtYWNzIHBh Y2thZ2UgTkFNRSBwbGFjZWQgaW4gRElSRUNUT1JZLiIKICAgKGxldCogKChmaWxlIChzdHJpbmct YXBwZW5kIGRpcmVjdG9yeSAiLyIgbmFtZSAiLWF1dG9sb2Fkcy5lbCIpKQotLSAKMi4yNC4wCgo= --=-CvGK59/GcDXiE7sr+QzE Content-Disposition: attachment; filename*0=0002-gnu-emacs-doom-themes-Only-disable-breaking-compilat.pat; filename*1=ch Content-Type: text/x-patch; name="0002-gnu-emacs-doom-themes-Only-disable-breaking-compilat.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSAzZjM3NjgyOGQ4OTcwYzA3NTFiODZhZWYwYjQ5ZTI1NmVlMDkyODdlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMZW8gUHJpa2xlciA8bGVvLnByaWtsZXJAc3R1ZGVudC50dWdy YXouYXQ+CkRhdGU6IFN1biwgMTUgRGVjIDIwMTkgMDA6NDk6MjYgKzAxMDAKU3ViamVjdDogW1BB VENIIDIvM10gZ251OiBlbWFjcy1kb29tLXRoZW1lczogT25seSBkaXNhYmxlIGJyZWFraW5nCiBj b21waWxhdGlvbnMuCgoqIGdudS9wYWNrYWdlcy9lbWFjcy14eXouc2NtIChlbWFjcy1kb29tLXRo ZW1lcykgW3BoYXNlc106CjxidWlsZD46IFVuZGVsZXRlIGl0Lgo8ZGlzYWJsZS1icmVha2luZy1j b21waWxhdGlvbj46IE5ldyBwaGFzZS4KLS0tCiBnbnUvcGFja2FnZXMvZW1hY3MteHl6LnNjbSB8 IDIzICsrKysrKysrKysrKysrKysrKy0tLS0tCiAxIGZpbGUgY2hhbmdlZCwgMTggaW5zZXJ0aW9u cygrKSwgNSBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9nbnUvcGFja2FnZXMvZW1hY3MteHl6 LnNjbSBiL2dudS9wYWNrYWdlcy9lbWFjcy14eXouc2NtCmluZGV4IDUwNTU5NGFhMGQuLjFjMDZh OTEyMmQgMTAwNjQ0Ci0tLSBhL2dudS9wYWNrYWdlcy9lbWFjcy14eXouc2NtCisrKyBiL2dudS9w YWNrYWdlcy9lbWFjcy14eXouc2NtCkBAIC0xOTgwMyw2ICsxOTgwMywxMCBAQCBjb250cmFzdCBh bmQgZmV3IGNvbG9ycy4iKQogICAgICAgKGFyZ3VtZW50cwogICAgICAgIGAoIzp0ZXN0cz8gI3QK ICAgICAgICAgICM6dGVzdC1jb21tYW5kICcoImVydC1ydW5uZXIiKQorICAgICAgICAgIzptb2R1 bGVzICgoZ3VpeCBidWlsZCBlbWFjcy1idWlsZC1zeXN0ZW0pCisgICAgICAgICAgICAgICAgICAg IChndWl4IGJ1aWxkIHV0aWxzKQorICAgICAgICAgICAgICAgICAgICAoZ3VpeCBidWlsZCBlbWFj cy11dGlscykKKyAgICAgICAgICAgICAgICAgICAgKHNyZmkgc3JmaS0xKSkKICAgICAgICAgICM6 cGhhc2VzCiAgICAgICAgICAobW9kaWZ5LXBoYXNlcyAlc3RhbmRhcmQtcGhhc2VzCiAgICAgICAg ICAgIChhZGQtYWZ0ZXIgJ3VucGFjayAnbW92ZS10aGVtZXMKQEAgLTE5ODEzLDEyICsxOTgxNywy MSBAQCBjb250cmFzdCBhbmQgZmV3IGNvbG9ycy4iKQogICAgICAgICAgICAgICAgICAgICAgICAg ICAgKHJlbmFtZS1maWxlIGYgKGJhc2VuYW1lIGYpKSkKICAgICAgICAgICAgICAgICAgICAgICAg ICAoZmluZC1maWxlcyAiLi90aGVtZXMiICIuKlxcLmVsJCIpKQogICAgICAgICAgICAgICAgI3Qp KQotICAgICAgICAgICA7OyBYWFg6IFRoZXJlIGlzIGEgYnl0ZS1jb2RlIG92ZXJmbG93IGlzc3Vl IGluIHRoZSBsYXRlc3QKLSAgICAgICAgICAgOzsgY2hlY2tvdXQgd2hpY2ggYWZmZWN0cyBieXRl LWNvbXBpbGF0aW9uIGZvciBzZXZlcmFsIHRoZW1lCi0gICAgICAgICAgIDs7IGZpbGVzLiBUaGUg ZWFzaWVzdCB3YXkgdG8gd29yayBhcm91bmQgdGhpcyBpcyB0byBkaXNhYmxlCi0gICAgICAgICAg IDs7IGJ5dGUtY29tcGlsYXRpb24gdW50aWwgdGhlIGlzc3VlIGlzIHJlc29sdmVkLgorICAgICAg ICAgICA7OyBUaGVyZSBpcyBhIGJ5dGUtY29kZSBvdmVyZmxvdyBpc3N1ZSBpbiB0aGUgbGF0ZXN0 IGNoZWNrb3V0CisgICAgICAgICAgIDs7IHdoaWNoIGFmZmVjdHMgYnl0ZS1jb21waWxhdGlvbiBm b3Igc2V2ZXJhbCAocmVhZCBgbW9zdCcpIHRoZW1lCisgICAgICAgICAgIDs7IGZpbGVzLiAgSW4g b3JkZXIgdG8gY29wZSB3aXRoIHRoaXMgaXNzdWUsIHdlIGRpc2FibGUKKyAgICAgICAgICAgOzsg Ynl0ZS1jb21waWxhdGlvbiB1bnRpbCBpdCBpcyByZXNvbHZlZC4KICAgICAgICAgICAgOzsgPGh0 dHBzOi8vZ2l0aHViLmNvbS9obGlzc25lci9lbWFjcy1kb29tLXRoZW1lcy9pc3N1ZXMvMzE0Pgot ICAgICAgICAgICAoZGVsZXRlICdidWlsZCkpKSkKKyAgICAgICAgICAgKGFkZC1hZnRlciAnbW92 ZS10aGVtZXMgJ2Rpc2FibGUtYnJlYWtpbmctY29tcGlsYXRpb24KKyAgICAgICAgICAgICAobGFt YmRhIF8KKyAgICAgICAgICAgICAgIChmb3ItZWFjaCAobGFtYmRhIChmaWxlKQorICAgICAgICAg ICAgICAgICAgICAgICAgICAgKGNobW9kIGZpbGUgI282MDApCisgICAgICAgICAgICAgICAgICAg ICAgICAgICAoZW1hY3MtYmF0Y2gtZGlzYWJsZS1jb21waWxhdGlvbiBmaWxlKSkKKyAgICAgICAg ICAgICAgICAgICAgICAgICAoY29ucyAiZG9vbS10aGVtZXMtZXh0LW5lb3RyZWUuZWwiCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxzZXQtZGlmZmVyZW5jZSBzdHJpbmctY29udGFp bnMKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmaW5k LWZpbGVzICIuIiAiLiotdGhlbWUuZWwiKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgJygic25henp5IiAidG9tb3Jyb3ctZGF5IikpKSkKKyAgICAgICAg ICAgICAgICN0KSkpKSkKICAgICAgIChzeW5vcHNpcyAiV2lkZSBjb2xsZWN0aW9uIG9mIGNvbG9y IHRoZW1lcyBmb3IgRW1hY3MiKQogICAgICAgKGRlc2NyaXB0aW9uICJFbWFjcy1kb29tLXRoZW1l cyBjb250YWlucyBudW1lcm91cyBwb3B1bGFyIGNvbG9yIHRoZW1lcyBmb3IKIEVtYWNzIHRoYXQg aW50ZWdyYXRlIHdpdGggbWFqb3IgbW9kZXMgbGlrZSBPcmctbW9kZS4iKQotLSAKMi4yNC4wCgo= --=-CvGK59/GcDXiE7sr+QzE-- From unknown Mon Jun 23 00:35:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38613: Disabling bytecompilation on a list of files. Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Dec 2019 22:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38613 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Prikler Cc: 38613@debbugs.gnu.org Received: via spool by 38613-submit@debbugs.gnu.org id=B38613.15764487789643 (code B ref 38613); Sun, 15 Dec 2019 22:27:02 +0000 Received: (at 38613) by debbugs.gnu.org; 15 Dec 2019 22:26:18 +0000 Received: from localhost ([127.0.0.1]:37366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igcLC-0002VS-Cs for submit@debbugs.gnu.org; Sun, 15 Dec 2019 17:26:18 -0500 Received: from mout02.posteo.de ([185.67.36.66]:50093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igcL9-0002Ut-US for 38613@debbugs.gnu.org; Sun, 15 Dec 2019 17:26:17 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 6A248240105 for <38613@debbugs.gnu.org>; Sun, 15 Dec 2019 23:26:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1576448769; bh=KFIhlP6SWENDzqZ9iGlnVT/ROT7qyw8AFd6oMTUYzT4=; h=From:To:Cc:Subject:Date:From; b=I4fGm6uXtGnuc3Cz54tFeHnhoobo4ypQrKDVfh2dm+OyUIZifvIIYKDzYrrb7W2fN 2zkNRt7/wh/A7jwAyg5c2uSHURW8J42k1vIhyl/6hcIbfob/OwRZTcqiOsAlL9RL6L 7qr7dbQ18amoQCt6YRLNn00Jfi/KRPQtw5AWw4CRzxku+J3PyejGeaNY4x1PyvKuQQ O7Y8MBIsSnxz4RBJ9BgpTsVit0EzgmTob7wAxLFeFQM0SGlea3Df5vkG7gcVj9oXEU lmEWxesH8y3ioROEvt4z2YU58yyvGcd9qiI3RiIaI6Fskv7T7UzlNl7P3gbCfqPoY+ OW0piq+zy9cag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47bfBR5kHZz9rxS; Sun, 15 Dec 2019 23:26:07 +0100 (CET) From: Brett Gilio References: Date: Sun, 15 Dec 2019 16:26:09 -0600 In-Reply-To: (Leo Prikler's message of "Sun, 15 Dec 2019 01:35:27 +0100") Message-ID: <8736dl5ipq.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (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 (---) Leo Prikler writes: > Hey Brett. > > Am Dienstag, den 14.12.2019, 13:45 -0600 schrieb Brett Gilio: >> Just forwarding along an idea discussed between Leo Prikler, Tobias, >> and I on IRC. > Thanks for the mention ;) Any time! :) > >> Obviously just outright deleting the phase responsible for >> bytecompilation is not the _best_ solution. So what Leo and I >> proposed >> was adding a #:no-bytecomp which takes a list of REGEXP or files that >> will be excluded from the in-place byte-compilation. >> >> I wanted to float this idea by those of us who use the >> emacs-build-system regularly. > I actually came up with an alternative solution, that I already hinted > at in IRC. 0001 implements a function to disable byte compilation for > a single file, 0002 applies this to the package in question. I'm not > quite sure why the files are not writable and wonder, whether the chmod > should be added into 0001, but keeping it out of it should hopefully > prevent abuse. I am not sure why the file permissions are needing to be set either. On a git checkout it looks to me like they are the same as the others. I wonder if it might have something to do with the rename-file method moving the themes? Idk. > > It's rather late and this is just a proof of concept. I haven't fully > evaluated the impact this will have on Guix (specifically in the amount > of rebuilds it will cause). Also beware of my somewhat ill-formed > commit messages. After painfully checking each of the themes for this > bug however (on my machine, YMMV), I did update the comment for what > it's worth. > > Regards, > Leo > > From 365f5c02876b51cf566224f60cd6d4c6b7023d66 Mon Sep 17 00:00:00 2001 > From: Leo Prikler > Date: Sun, 15 Dec 2019 00:45:08 +0100 > Subject: [PATCH 1/3] guix: emacs-utils: Add emacs-batch-disable-compilation. > > * guix/build/emacs-utils.scm (emacs-batch-disable-compilation): > New procedure. > --- > guix/build/emacs-utils.scm | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs-utils.scm > index fdacd30dd6..2aa63c3363 100644 > --- a/guix/build/emacs-utils.scm > +++ b/guix/build/emacs-utils.scm > @@ -23,6 +23,7 @@ > #:export (%emacs > emacs-batch-eval > emacs-batch-edit-file > + emacs-batch-disable-compilation > emacs-generate-autoloads > emacs-byte-compile-directory > emacs-substitute-sexps > @@ -50,6 +51,12 @@ > (string-append "--visit=" file) > (format #f "--eval=~S" expr))) > > +(define (emacs-batch-disable-compilation file) > + (emacs-batch-edit-file file > + '(progn > + (add-file-local-variable 'no-byte-compile t) > + (basic-save-buffer)))) > + > (define (emacs-generate-autoloads name directory) > "Generate autoloads for Emacs package NAME placed in DIRECTORY." > (let* ((file (string-append directory "/" name "-autoloads.el")) > -- > 2.24.0 > > > From 3f376828d8970c0751b86aef0b49e256ee09287e Mon Sep 17 00:00:00 2001 > From: Leo Prikler > Date: Sun, 15 Dec 2019 00:49:26 +0100 > Subject: [PATCH 2/3] gnu: emacs-doom-themes: Only disable breaking > compilations. > > * gnu/packages/emacs-xyz.scm (emacs-doom-themes) [phases]: > : Undelete it. > : New phase. > --- > gnu/packages/emacs-xyz.scm | 23 ++++++++++++++++++----- > 1 file changed, 18 insertions(+), 5 deletions(-) > > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm > index 505594aa0d..1c06a9122d 100644 > --- a/gnu/packages/emacs-xyz.scm > +++ b/gnu/packages/emacs-xyz.scm > @@ -19803,6 +19803,10 @@ contrast and few colors.") > (arguments > `(#:tests? #t > #:test-command '("ert-runner") > + #:modules ((guix build emacs-build-system) > + (guix build utils) > + (guix build emacs-utils) > + (srfi srfi-1)) > #:phases > (modify-phases %standard-phases > (add-after 'unpack 'move-themes > @@ -19813,12 +19817,21 @@ contrast and few colors.") > (rename-file f (basename f))) > (find-files "./themes" ".*\\.el$")) > #t)) > - ;; XXX: There is a byte-code overflow issue in the latest > - ;; checkout which affects byte-compilation for several theme > - ;; files. The easiest way to work around this is to disable > - ;; byte-compilation until the issue is resolved. > + ;; There is a byte-code overflow issue in the latest checkout > + ;; which affects byte-compilation for several (read `most') theme > + ;; files. In order to cope with this issue, we disable > + ;; byte-compilation until it is resolved. > ;; > - (delete 'build)))) > + (add-after 'move-themes 'disable-breaking-compilation > + (lambda _ > + (for-each (lambda (file) > + (chmod file #o600) > + (emacs-batch-disable-compilation file)) > + (cons "doom-themes-ext-neotree.el" > + (lset-difference string-contains > + (find-files "." ".*-theme.el") > + '("snazzy" "tomorrow-day")))) > + #t))))) > (synopsis "Wide collection of color themes for Emacs") > (description "Emacs-doom-themes contains numerous popular color themes for > Emacs that integrate with major modes like Org-mode.") Honestly, it looks fine enough to me. At least for a draft. Does anybody have any objections or feel an urge for a need for addition of something else? I think this feature is going to be useful, especially for allowing workarounds in cases like this which will certainly pop up again in the future. -- Brett M. Gilio Homepage -- https://scm.pw/ GNU Guix -- https://guix.gnu.org/ From unknown Mon Jun 23 00:35:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38613: Disabling bytecompilation on a list of files. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Dec 2019 23:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38613 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Brett Gilio Cc: maxim.cournoyer@gmail.com, 38613@debbugs.gnu.org Received: via spool by 38613-submit@debbugs.gnu.org id=B38613.157645089714325 (code B ref 38613); Sun, 15 Dec 2019 23:02:01 +0000 Received: (at 38613) by debbugs.gnu.org; 15 Dec 2019 23:01:37 +0000 Received: from localhost ([127.0.0.1]:37476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igctM-0003iy-VL for submit@debbugs.gnu.org; Sun, 15 Dec 2019 18:01:37 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:28453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igctK-0003ip-Fk for 38613@debbugs.gnu.org; Sun, 15 Dec 2019 18:01:35 -0500 Received: from nijino.local (213-240-64-42.hdsl.highway.telekom.at [213.240.64.42]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47bfzG5Kl9z3wbm; Mon, 16 Dec 2019 00:01:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1576450891; bh=ZNi3X3RR6W0gUsw2YAcAVQ5f9RnH/km/8z+AUbM8lGw=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=WV9PdIK7ti2h+9KWDqr8e+t0A/bXVKnQexi1tufbjMGeEY87UvTiABSL+sFjHA7GM AseQvAj8oN1KMSuq2CQ33gyk93KfsDEbCOdlMNeKMsniLwE1Qtps6ujoxpDCS5XRw/ /x7Yl75vnAlTizQ4poxmcO+vfb+tdTG5Y69Q+Wnk= Message-ID: <0b47c65b310b0a0c9e5821070d5e4a888a8c4a58.camel@student.tugraz.at> From: Leo Prikler Date: Mon, 16 Dec 2019 00:01:36 +0100 In-Reply-To: <8736dl5ipq.fsf@posteo.net> References: <8736dl5ipq.fsf@posteo.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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 (---) Am Sonntag, den 15.12.2019, 16:26 -0600 schrieb Brett Gilio: > [...] > I am not sure why the file permissions are needing to be set either. > On > a git checkout it looks to me like they are the same as the others. I > wonder if it might have something to do with the rename-file method > moving the themes? Idk. Interesting. I wonder what would happen if we patched the files before moving them elsewhere, given that files often are not moved in such a manner. > Honestly, it looks fine enough to me. At least for a draft. Does > anybody > have any objections or feel an urge for a need for addition of > something > else? I think this feature is going to be useful, especially for > allowing workarounds in cases like this which will certainly pop up > again in the future. Regarding the impact, I think it should be fine if we commit this closely before or after #38619, since that probably forces all Elisp libraries to be rebuilt anyways (also CC'd Maxim to have a look at this). Hopefully at least the doom-theme autoloads compile correctly. WDYT? Leo From unknown Mon Jun 23 00:35:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38613: Disabling bytecompilation on a list of files. Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Dec 2019 23:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38613 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Prikler Cc: maxim.cournoyer@gmail.com, 38613@debbugs.gnu.org Received: via spool by 38613-submit@debbugs.gnu.org id=B38613.157645191715988 (code B ref 38613); Sun, 15 Dec 2019 23:19:02 +0000 Received: (at 38613) by debbugs.gnu.org; 15 Dec 2019 23:18:37 +0000 Received: from localhost ([127.0.0.1]:37499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igd9o-00049o-KJ for submit@debbugs.gnu.org; Sun, 15 Dec 2019 18:18:36 -0500 Received: from mout01.posteo.de ([185.67.36.65]:54398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igd9m-00049V-04 for 38613@debbugs.gnu.org; Sun, 15 Dec 2019 18:18:35 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 857AB16005F for <38613@debbugs.gnu.org>; Mon, 16 Dec 2019 00:18:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1576451907; bh=I1ybWFGvaD2s+WcD8A2AHsx15FM2kWVfQe2TKXChDts=; h=From:To:Cc:Subject:Date:From; b=Inv6QRNjiF0Ezv/hKJPDK4Hez81hMp/s2Jkfime22qR8+0F9TRbn1D5vKKdr2/1aT +YF73R8pKShkxdzu9uRjdslo3K8ooZRPypl3Bwsl/kNaFmNwF/K5/i2u3/1mEd1UP2 X35QK/cJ/JfiU+H6x3yDMZCU0a0lJQVT0DAP3mHZ1fuZP2uuk8YbkVl5IBaQI/nQoS su6/Y1wFMMDg6I3oB6CartAC8HMRTcCLvlGdR6hjAOPvg7HqgKzqSQExHI2OXtILQ0 eWQSDhuXOkHbcaSLf//hlhddPHh5BnBzXL3LaE50cy8Cyyvwy0E2XGYRLVjh2lR/Ko DkDjsYn+Fqwhw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47bgLn5XG7z6tm6; Mon, 16 Dec 2019 00:18:25 +0100 (CET) From: Brett Gilio References: <8736dl5ipq.fsf@posteo.net> <0b47c65b310b0a0c9e5821070d5e4a888a8c4a58.camel@student.tugraz.at> Date: Sun, 15 Dec 2019 17:18:27 -0600 In-Reply-To: <0b47c65b310b0a0c9e5821070d5e4a888a8c4a58.camel@student.tugraz.at> (Leo Prikler's message of "Mon, 16 Dec 2019 00:01:36 +0100") Message-ID: <87pngp41q4.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (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 (---) Leo Prikler writes: > Regarding the impact, I think it should be fine if we commit this > closely before or after #38619, since that probably forces all Elisp > libraries to be rebuilt anyways (also CC'd Maxim to have a look at > this). Hopefully at least the doom-theme autoloads compile correctly. > WDYT? > > Leo > I am in agreement. Maxim, the ball is in your court. :) -- Brett M. Gilio Homepage -- https://scm.pw/ GNU Guix -- https://guix.gnu.org/ From unknown Mon Jun 23 00:35:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38613: Disabling bytecompilation on a list of files. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 17 Dec 2019 05:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38613 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Prikler Cc: Brett Gilio , 38613@debbugs.gnu.org Received: via spool by 38613-submit@debbugs.gnu.org id=B38613.15765590228810 (code B ref 38613); Tue, 17 Dec 2019 05:04:01 +0000 Received: (at 38613) by debbugs.gnu.org; 17 Dec 2019 05:03:42 +0000 Received: from localhost ([127.0.0.1]:40615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ih51J-0002I2-Kw for submit@debbugs.gnu.org; Tue, 17 Dec 2019 00:03:41 -0500 Received: from mail-qt1-f172.google.com ([209.85.160.172]:39667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ih51G-0002Hn-V9 for 38613@debbugs.gnu.org; Tue, 17 Dec 2019 00:03:40 -0500 Received: by mail-qt1-f172.google.com with SMTP id e5so6486077qtm.6 for <38613@debbugs.gnu.org>; Mon, 16 Dec 2019 21:03:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=6dCKtM9MB1zC9RkZEz/HpeJOMJ04JTnppgGic03B3TI=; b=rGij/odeV2bZfYVI5roNWMYf3xmHsBS5lqrg2RJkwfHUSkICcGgtZ39u8mjcrQyXVq prwu3nei+vRBLVIyEHf4HmdmDLLSN288rl/siBXLF4aMAlbyrQV5Glsr2HQvn9h6IJCS 4ttIhhdcwDVs2wVCr68pCacIJ3UBzc+C3NNQ1szLE1wKP4VMgtrPRZU3Zs/ILAi1XALI V9jy6I2AQFJOCoH1N/Xr3w1lwK0agDTh1kr02Y022jan/fvkraARpdskOoB5UV7+HK4k 8U5cJPXXM80dOrtEAp8JPXYLFysjfqKRufLPkqGBpvvruPmGOnB0jgh+ZTVZdHm5AIZ1 6iNA== 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=6dCKtM9MB1zC9RkZEz/HpeJOMJ04JTnppgGic03B3TI=; b=axdCemRcChpUA4Vodq5RcjH8smysqELe/U2iiVxQ5R4CxiAA7MfRN/SQ/Yh8PWGFGE P0qPGs2xJ4SaQat/Fl5LjwrG648gK+zP0V+lxZ5Zk90KpYbfEt9kNTiP6W9Kzf6wyf2l kIRy50VDMBAOftd8nAneJbnUoGaDhTEt1NcPgb4dwfvHhB0OKE1MKqEq4nacOQSzJ0Pp xgPsypkErbZQfKPxsbXm6KSTjOGF2dV71YNNgIuUmecPf+w9aMb55OzRmhYCzDco2im5 MyM/EZTwRizbXbqEyFnpr24D08Mx380mwi/Nod/FTG8xqimPqSustjooySTRCTNpl1ZI nfdg== X-Gm-Message-State: APjAAAVzo+/dGWNo9dwINvO4PI4ejeNjai+QQjO5eQMRZnaMNr5C/gUg J5adcqz9d/wiDyA2j8QUqXcw9N2u X-Google-Smtp-Source: APXvYqzQkx/Oe1cvwbTAQOpEhuasRGzHHKa+DrlpUIH2H+ZquIzhEe0HQoqyEtfgkiuTNTVOsvau/w== X-Received: by 2002:aed:2584:: with SMTP id x4mr2966351qtc.343.1576559013154; Mon, 16 Dec 2019 21:03:33 -0800 (PST) Received: from x200 ([206.55.91.146]) by smtp.gmail.com with ESMTPSA id o6sm6658820qkk.53.2019.12.16.21.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2019 21:03:32 -0800 (PST) From: Maxim Cournoyer References: <8736dl5ipq.fsf@posteo.net> <0b47c65b310b0a0c9e5821070d5e4a888a8c4a58.camel@student.tugraz.at> Date: Tue, 17 Dec 2019 14:03:29 +0900 In-Reply-To: <0b47c65b310b0a0c9e5821070d5e4a888a8c4a58.camel@student.tugraz.at> (Leo Prikler's message of "Mon, 16 Dec 2019 00:01:36 +0100") Message-ID: <875zifmtlq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (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 (-) Hello, Leo Prikler [...] > Regarding the impact, I think it should be fine if we commit this > closely before or after #38619, since that probably forces all Elisp > libraries to be rebuilt anyways (also CC'd Maxim to have a look at > this). Hopefully at least the doom-theme autoloads compile correctly. > WDYT? > > Leo IIRC, emacs{-minimal} have about ~300 non-Elisp dependents, which IMO is OK for master (Elisp packages are very cheap to build, so I don't count them). I've just verified this with the following script: --8<---------------cut here---------------start------------->8--- (use-modules (gnu packages) (guix graph) (guix monads) (guix packages) (guix store) (guix scripts graph) (guix scripts refresh) (gnu packages emacs) (srfi srfi-1) (srfi srfi-26)) (define (all-packages) "Return the list of all the distro's packages." (fold-packages (lambda (package result) ;; Ignore deprecated packages. (if (package-superseded package) result (cons package result))) '() #:select? (const #t))) (define (packages->dependents packages) (define (full-name package) (string-append (package-name package) "@" (package-version package))) (with-store store (run-with-store store (mlet %store-monad ((edges (node-back-edges %bag-node-type (package-closure (all-packages))))) (let ((dependents (node-transitive-edges packages edges))) (return (map full-name dependents))))))) (define (compute-results) (let* ((dependents (packages->dependents (list emacs emacs-minimal))) (non-emacs (remove (cut string-prefix? "emacs-" <>) dependents))) (format #t "Emacs{-minimal} have ~d dependents, ~d of which are not pure \ Emacs libraries: ~a~%" (length dependents) (length non-emacs) non-emacs))) (compute-results) --8<---------------cut here---------------end--------------->8--- Which outputs: Emacs{-minimal} have 973 dependents, 274 of which are not pure Emacs libraries: (faust@2.5.23 cedille@1.1.1 cflow@1.6 translate-shell@0.9.6.11 kicad@5.1.4 lepton-eda@1.9.5-20180820 quadrapassel@3.31.3 eog-plugins@3.26.4 workrave@1.10.34 emacsy@0.4.1 guile-gi@0.2.0 nomad@0.1.1-alpha emacsy-minimal@v0.4.1-19.f3bf0db evisum@0.2.6 enlightenment-wayland@0.23.1 terminology@1.5.0 ephoto@1.5 enlightenment@0.23.1 econnman@1.1 python-efl@1.23.0 lekha@0.2.1 python2-efl@1.23.0 edi@0.6.0 rage@0.3.1 dbus-c++@0.9.0 [...] HTH, Maxim From unknown Mon Jun 23 00:35:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38613: Disabling bytecompilation on a list of files. Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 24 Dec 2019 00:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38613 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: Leo Prikler , Brett Gilio , 38613@debbugs.gnu.org Received: via spool by 38613-submit@debbugs.gnu.org id=B38613.15771474692289 (code B ref 38613); Tue, 24 Dec 2019 00:32:02 +0000 Received: (at 38613) by debbugs.gnu.org; 24 Dec 2019 00:31:09 +0000 Received: from localhost ([127.0.0.1]:51811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ijY6P-0000ar-3e for submit@debbugs.gnu.org; Mon, 23 Dec 2019 19:31:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ijY6M-0000aK-Bq for 38613@debbugs.gnu.org; Mon, 23 Dec 2019 19:31:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ijY6E-0003mp-RG; Mon, 23 Dec 2019 19:30:58 -0500 Received: from [2605:6000:1a0d:6320::6a8] (port=36662 helo=oryx) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ijY6E-0005f8-5P; Mon, 23 Dec 2019 19:30:58 -0500 From: Brett Gilio References: <8736dl5ipq.fsf@posteo.net> <0b47c65b310b0a0c9e5821070d5e4a888a8c4a58.camel@student.tugraz.at> <875zifmtlq.fsf@gmail.com> Date: Mon, 23 Dec 2019 18:31:05 -0600 In-Reply-To: <875zifmtlq.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 17 Dec 2019 14:03:29 +0900") Message-ID: <87sglak1iu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) 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-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 (---) Maxim Cournoyer writes: > Hello, > > Leo Prikler > > [...] > >> Regarding the impact, I think it should be fine if we commit this >> closely before or after #38619, since that probably forces all Elisp >> libraries to be rebuilt anyways (also CC'd Maxim to have a look at >> this). Hopefully at least the doom-theme autoloads compile correctly. >> WDYT? >> >> Leo > > IIRC, emacs{-minimal} have about ~300 non-Elisp dependents, which IMO is > OK for master (Elisp packages are very cheap to build, so I don't count > them). > > I've just verified this with the following script: > > (use-modules (gnu packages) > (guix graph) > (guix monads) > (guix packages) > (guix store) > (guix scripts graph) > (guix scripts refresh) > (gnu packages emacs) > (srfi srfi-1) > (srfi srfi-26)) > > (define (all-packages) > "Return the list of all the distro's packages." > (fold-packages (lambda (package result) > ;; Ignore deprecated packages. > (if (package-superseded package) > result > (cons package result))) > '() > #:select? (const #t))) > > (define (packages->dependents packages) > > (define (full-name package) > (string-append (package-name package) "@" > (package-version package))) > > (with-store store > (run-with-store store > (mlet %store-monad ((edges (node-back-edges > %bag-node-type > (package-closure (all-packages))))) > (let ((dependents (node-transitive-edges packages edges))) > (return (map full-name dependents))))))) > > (define (compute-results) > (let* ((dependents (packages->dependents (list emacs emacs-minimal))) > (non-emacs (remove (cut string-prefix? "emacs-" <>) dependents))) > (format #t "Emacs{-minimal} have ~d dependents, ~d of which are not pure \ > Emacs libraries: ~a~%" (length dependents) (length non-emacs) non-emacs))) > > (compute-results) > > Which outputs: > > Emacs{-minimal} have 973 dependents, 274 of which are not pure Emacs > libraries: (faust@2.5.23 cedille@1.1.1 cflow@1.6 > translate-shell@0.9.6.11 kicad@5.1.4 lepton-eda@1.9.5-20180820 > quadrapassel@3.31.3 eog-plugins@3.26.4 workrave@1.10.34 emacsy@0.4.1 > guile-gi@0.2.0 nomad@0.1.1-alpha emacsy-minimal@v0.4.1-19.f3bf0db > evisum@0.2.6 enlightenment-wayland@0.23.1 terminology@1.5.0 ephoto@1.5 > enlightenment@0.23.1 econnman@1.1 python-efl@1.23.0 lekha@0.2.1 > python2-efl@1.23.0 edi@0.6.0 rage@0.3.1 dbus-c++@0.9.0 > [...] > > HTH, > > Maxim > > > > Leo and Maxim, Do you think this feature addition to the emacs-build-system is good to be pushed, then? I think it looks quite fine but I want to double check before potentially doing something dumb. That said, we should probably also document this. -- Brett M. Gilio GNU Guix, Contributor | GNU Project, Webmaster [DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE] From unknown Mon Jun 23 00:35:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38613: Disabling bytecompilation on a list of files. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 27 Dec 2019 05:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38613 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Brett Gilio Cc: Leo Prikler , Brett Gilio , 38613@debbugs.gnu.org Received: via spool by 38613-submit@debbugs.gnu.org id=B38613.157742319729476 (code B ref 38613); Fri, 27 Dec 2019 05:07:01 +0000 Received: (at 38613) by debbugs.gnu.org; 27 Dec 2019 05:06:37 +0000 Received: from localhost ([127.0.0.1]:56407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikhpd-0007fM-7p for submit@debbugs.gnu.org; Fri, 27 Dec 2019 00:06:37 -0500 Received: from mail-qv1-f52.google.com ([209.85.219.52]:39521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikhpb-0007f7-Gq for 38613@debbugs.gnu.org; Fri, 27 Dec 2019 00:06:36 -0500 Received: by mail-qv1-f52.google.com with SMTP id y8so9704995qvk.6 for <38613@debbugs.gnu.org>; Thu, 26 Dec 2019 21:06:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=AIPXeDrHaYh4rfSjx4v6RYLWpocgZIpqGjN3+mPCcws=; b=gOg57xui51CH9Xg3zjq6rJvZANOM6Q/zjl/wi5HVQMn9URb5W4wVa4r0BoddAhWBps /N85FZPLcehhQSPX1nFBOibgAyibIgcGndi8ga++0pOzYFBMnsJQULu7D0ja7mmIN+dW 8+iNEXivq2sOu2XCJH33wxsG6ce9BqlHBZqr5SsXHFs5yznEWst710Q1MDfjGikBu3zI NPHi7vluERwpLyE35Jo6R6ybhzZARNiKnY8P/Xq/kKMZBCLWnDAMBxYmwWtbpLRLMXsV N2UcYipIcAZ20HNsiRB9gveGFsvWoaIWP9QUbJHNk+/fMHbvI70CUq0ONqlwoZVJcQHI ZOMA== 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=AIPXeDrHaYh4rfSjx4v6RYLWpocgZIpqGjN3+mPCcws=; b=LKM5M3ufBWQt1MBc9XbNnlhmD4dJWsqhlJmH01DoiWpVZZUknUK9tMztuNONPFIXGu TNdff66xzUIdQHUAyPE7RPZo8/M1JBJ1IWYkBhvAPSK1LGZbgnx1irfFI5V2OcSq06tB PdKzLMJoQybDhUkxk3xCRTaNSSpaSe/XKoU7QXW8vXK58LbbahGbRIOAFaUG50/ZccFl FNOBl1YftWdvULFYRGwHcSxs2Zmw437I4PSLBv/X4+Prph0+cbdKKCDO/idfG/9PVs8+ 0w5H96a/Kv4CW0SHb6I8tNtay9tKI0xn+ChZcwmw+SdLJR709aA4aIZ4sNIzQ1EB4c+b bk3w== X-Gm-Message-State: APjAAAXVhtyvLW9EgY1lwf3n0F0cQs1W1pswgdJI2ynjSqFePk0XDIck S/v4+f7NwNaXC16mXZgV/BML0R5W X-Google-Smtp-Source: APXvYqz6ZwnYNXV5R3Cta18v68ioB0HDSSA7HKa+74wQkvBZ10amSKRM+/KmLRvJo2jdIEkA56dLyA== X-Received: by 2002:ad4:4d91:: with SMTP id cv17mr29028542qvb.101.1577423189872; Thu, 26 Dec 2019 21:06:29 -0800 (PST) Received: from apteryx (dsl-151-236.b2b2c.ca. [66.158.151.236]) by smtp.gmail.com with ESMTPSA id h34sm10322998qtc.62.2019.12.26.21.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2019 21:06:29 -0800 (PST) From: Maxim Cournoyer References: <8736dl5ipq.fsf@posteo.net> <0b47c65b310b0a0c9e5821070d5e4a888a8c4a58.camel@student.tugraz.at> <875zifmtlq.fsf@gmail.com> <87sglak1iu.fsf@gnu.org> Date: Fri, 27 Dec 2019 00:06:28 -0500 In-Reply-To: <87sglak1iu.fsf@gnu.org> (Brett Gilio's message of "Mon, 23 Dec 2019 18:31:05 -0600") Message-ID: <87v9q2e4rv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (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 (-) Brett Gilio writes: [...] > Leo and Maxim, > > Do you think this feature addition to the emacs-build-system is good to > be pushed, then? I think it looks quite fine but I want to double check > before potentially doing something dumb. LGTM! Thank you! Maxim From unknown Mon Jun 23 00:35:12 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: Brett Gilio Subject: bug#38613: closed (Re: bug#38613: Disabling bytecompilation on a list of files.) Message-ID: References: <87r20ps6zq.fsf@gnu.org> <87tv62itdl.fsf@posteo.net> X-Gnu-PR-Message: they-closed 38613 X-Gnu-PR-Package: guix Reply-To: 38613@debbugs.gnu.org Date: Fri, 27 Dec 2019 23:08:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1577488082-27084-1" This is a multi-part message in MIME format... ------------=_1577488082-27084-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38613: Disabling bytecompilation on a list of files. which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38613@debbugs.gnu.org. --=20 38613: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38613 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1577488082-27084-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38613-done) by debbugs.gnu.org; 27 Dec 2019 23:07:09 +0000 Received: from localhost ([127.0.0.1]:57849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikyhI-00071M-KG for submit@debbugs.gnu.org; Fri, 27 Dec 2019 18:07:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ikyhH-000719-4Y for 38613-done@debbugs.gnu.org; Fri, 27 Dec 2019 18:07:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ikyhA-0008SK-Sw; Fri, 27 Dec 2019 18:07:00 -0500 Received: from [2605:6000:1a0d:6320::6a8] (port=57636 helo=oryx) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ikyh9-0008FD-K5; Fri, 27 Dec 2019 18:07:00 -0500 From: Brett Gilio To: Maxim Cournoyer Subject: Re: bug#38613: Disabling bytecompilation on a list of files. References: <8736dl5ipq.fsf@posteo.net> <0b47c65b310b0a0c9e5821070d5e4a888a8c4a58.camel@student.tugraz.at> <875zifmtlq.fsf@gmail.com> <87sglak1iu.fsf@gnu.org> <87v9q2e4rv.fsf@gmail.com> Date: Fri, 27 Dec 2019 17:07:05 -0600 In-Reply-To: <87v9q2e4rv.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 27 Dec 2019 00:06:28 -0500") Message-ID: <87r20ps6zq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38613-done Cc: Leo Prikler , Brett Gilio , 38613-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 (---) Maxim Cournoyer writes: > Brett Gilio writes: > > > [...] > >> Leo and Maxim, >> >> Do you think this feature addition to the emacs-build-system is good to >> be pushed, then? I think it looks quite fine but I want to double check >> before potentially doing something dumb. > > LGTM! > > Thank you! > > Maxim > Done! Thank you Leo and Maxim. -- Brett M. Gilio GNU Guix, Contributor | GNU Project, Webmaster [DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE] ------------=_1577488082-27084-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Dec 2019 21:02:19 +0000 Received: from localhost ([127.0.0.1]:35814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igEYN-0002aY-ID for submit@debbugs.gnu.org; Sat, 14 Dec 2019 16:02:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:43245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igEYL-0002aQ-OK for submit@debbugs.gnu.org; Sat, 14 Dec 2019 16:02:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40052) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igEYJ-0002t6-Pw for bug-guix@gnu.org; Sat, 14 Dec 2019 16:02:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igEYI-000860-8e for bug-guix@gnu.org; Sat, 14 Dec 2019 16:02:15 -0500 Received: from mout02.posteo.de ([185.67.36.66]:33659) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igEYH-0007xd-Og for bug-guix@gnu.org; Sat, 14 Dec 2019 16:02:14 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C793F2400FC for ; Sat, 14 Dec 2019 20:45:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1576352717; bh=HiGBOj7qASrfTlXEXkjuNqX9TsoQ5TD7UtO4F4vxC0w=; h=From:To:Subject:Date:From; b=UUKSrewdk8nOVoJ4XQs5alPLPK+pvmEqs+5IB5iXG2/W/Aj410b4DMN2kC/vFZ57y c5Hdp5kkndBZZF0ZDL85BnGAo2/W2hqvU4hRWlbECZ6E+56zpLCjukLoF/0JTr4o1w jB/+Lo/sFRMQtKRzi6qwKmKnMVs0a7UFPZhirBzoGie+ZvZY4uJTnWlY3v9av17BtS ek19jh/ScQ6BlxDsCblCNbgJJfng2nHU4QampEVnlNlo7D+uihUY16SArX5wKoDfOH 0ptwloRTc7c0MziuKmxU35MGblwEcOXuDpThYjVC1b/32SC5pA73T9zcMUk9u6f1tc 0LsgEpbmWLRfw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47ZygH6V5sz9rxT for ; Sat, 14 Dec 2019 20:45:15 +0100 (CET) From: Brett Gilio To: bug-guix@gnu.org Subject: Disabling bytecompilation on a list of files. Date: Sat, 14 Dec 2019 13:45:10 -0600 Message-ID: <87tv62itdl.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-Spam-Score: -1.3 (-) 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: -2.3 (--) Hey all. Just forwarding along an idea discussed between Leo Prikler, Tobias, and I on IRC. Recently I was trying to update our emacs-doom-themes package to a fresher commit since it offers numerous new functionalities but there is not a marked stable release of the package. In the process I found an issue where some files have a bytecode compilation overflow issue during the build phase. My sloppy work around as shown in e9d8dee6c3d6e2ddff74841a3ab3a2ba2816bf27 was as such: --8<---------------cut here---------------start------------->8--- ;; XXX: There is a byte-code overflow issue in the latest ;; checkout which affects byte-compilation for several theme ;; files. The easiest way to work around this is to disable ;; byte-compilation until the issue is resolved. ;; (delete 'build) --8<---------------cut here---------------end--------------->8--- Obviously just outright deleting the phase responsible for bytecompilation is not the _best_ solution. So what Leo and I proposed was adding a #:no-bytecomp which takes a list of REGEXP or files that will be excluded from the in-place byte-compilation. I wanted to float this idea by those of us who use the emacs-build-system regularly. Thanks! -- Brett M. Gilio Homepage -- https://scm.pw/ GNU Guix -- https://guix.gnu.org/ ------------=_1577488082-27084-1--