From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Gilio Subject: bug#38613: 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 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41433) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igGke-0000SV-BI for bug-guix@gnu.org; Sat, 14 Dec 2019 18:23:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igGkc-0002a3-NX for bug-guix@gnu.org; Sat, 14 Dec 2019 18:23:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58119) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igGkc-0002PA-6C for bug-guix@gnu.org; Sat, 14 Dec 2019 18:23:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1igEZ4-0002br-0w for bug-guix@gnu.org; Sat, 14 Dec 2019 16:03:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: 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 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) 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) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38613@debbugs.gnu.org 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/