From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 18 14:01:41 2019 Received: (at submit) by debbugs.gnu.org; 18 Nov 2019 19:01:41 +0000 Received: from localhost ([127.0.0.1]:46265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWmHM-00010s-Lt for submit@debbugs.gnu.org; Mon, 18 Nov 2019 14:01:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:34360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWmHJ-00010j-7o for submit@debbugs.gnu.org; Mon, 18 Nov 2019 14:01:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43138) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWmHH-000145-Mt for Bug-guix@gnu.org; Mon, 18 Nov 2019 14:01:37 -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 1iWmHG-0006gs-6u for Bug-guix@gnu.org; Mon, 18 Nov 2019 14:01:35 -0500 Received: from mout02.posteo.de ([185.67.36.66]:54693) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iWmHF-0006ff-OR for Bug-guix@gnu.org; Mon, 18 Nov 2019 14:01:34 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 4810A2400FC for ; Mon, 18 Nov 2019 20:01:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1574103690; bh=6t4EH0crAEIuYsmJlbCrFzwe1rYJVercVNqEsRLGi7U=; h=Date:From:To:Subject:From; b=OR8qLheI3MHW7oSYmqaMeBi91CWnEfxg+8HS+p5aonl+w+dNBuzTb8KhT7ccYFSJe KuEIndtepw2TLZSQJJwIFCCPxQksmJp1yqZtvT3EjisATzyD57a4l+FfJK+pA+/Xxx mjV1HE+heWx8wYUCvN/b/s3ulBecEomOErPQ/aveANgCwkrwTYm9hBw4lgDSszODaY 3j1aOmN++yp4LubJTrn5g2Q+6WMmgHUch4BKR35jRv1bRTIiAiEndT0FSDi0TBEJfN Wv6WWC5yoNLQ/n34qIUo+OhZfVwaSUv9QjzuqmZrI4bdolggmh72nDqSqfGf4oec9C AuZvdnnx1ziCA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47Gywn2v4Xz9rxL for ; Mon, 18 Nov 2019 20:01:29 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Nov 2019 20:01:29 +0100 From: brettg@posteo.net To: Bug guix Subject: Recent changes to emacs build system Message-ID: X-Sender: brettg@posteo.net User-Agent: Posteo Webmail 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, the recent changes to the emacs build system result in a few=20 broken packages like emacs-pdf-tools, or basically anything that uses a=20 phase for emacs-set-emacs-load-path. For example, I borrowed the technique used by emacs-pdf-tools to package=20 emacs-telega, resulting in both packages failing to build: Here is the code for emacs-telega: https://git.sr.ht/~brettgilio/cfg/tree/master/channel/non-gnu/packages/emac= s-xyz.scm#L99 The issue is in this phase for both emacs-pdf-tools and my channel=20 package: (add-after 'compress-documentation 'emacs-set-emacs-load-path (assoc-ref emacs:%standard-phases 'set-emacs-load-path)) Resulting in: starting phase `emacs-set-emacs-load-path' Backtrace: 5 (primitive-load "/gnu/store/5b1p1gsvfyi4fbx4s42rhab2dns=E2=80= =A6") In ice-9/eval.scm: 191:35 4 (_ _) In ice-9/boot-9.scm: 829:9 3 (catch _ _ # =E2=80=A6) In srfi/srfi-1.scm: 863:16 2 (every1 # =E2=80=A6) In=20 /gnu/store/zmkgrvvhmrix2b1z7id6zrg9bb7qxzdl-module-import/guix/build/gnu-bu= ild-system.scm: 839:30 1 (_ _) In unknown file: 0 (_ #:source "/gnu/store/qw8xbmk6ryl9a2jrp0gip3yffmsdix=E2=80= =A6" =E2=80=A6) ERROR: Wrong type to apply: #f If we suspect that changes are going to be non-backwards compatible=20 could we use the news system to pass along that message? Much=20 appreciated. Thanks. Brett Gilio From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 18 15:29:01 2019 Received: (at submit) by debbugs.gnu.org; 18 Nov 2019 20:29:02 +0000 Received: from localhost ([127.0.0.1]:46309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWndt-0003DZ-JT for submit@debbugs.gnu.org; Mon, 18 Nov 2019 15:29:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:38476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWnds-0003DL-6e for submit@debbugs.gnu.org; Mon, 18 Nov 2019 15:29:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56656) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWndq-0003QI-Lc for Bug-guix@gnu.org; Mon, 18 Nov 2019 15:29:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,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 1iWndp-0007au-4f for Bug-guix@gnu.org; Mon, 18 Nov 2019 15:28:58 -0500 Received: from mout02.posteo.de ([185.67.36.66]:39871) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iWndn-0007Sg-TC for Bug-guix@gnu.org; Mon, 18 Nov 2019 15:28:56 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id BFC7F2400FD for ; Mon, 18 Nov 2019 21:28:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1574108933; bh=wJiKQbJRTYbTdZXaHPhkvhIoSgtgkKhQZF2ERL/Cgsc=; h=Date:From:To:Cc:Subject:From; b=IOHxta3Wh0CxFVhxjWnFfTGnY59erSjvKYqWz05EHL0RYmAQ/uebQuMUnaV1Dw1b5 FYYYG4uG2yT9N9bIxgn6cP3lUh4MKvppg6N896u5kfxZeJ24fISnQMvZ4JTdNm0/yt AFUUDmiov8e8m49kO4Xa7vGXvir9TTPKImR7wFW0cmB1HQ/oUavZPAGFidOs67nRel fnOjULDRQVFRjp3YAlHTwjA5zm7T1JS+MsVBl2TNhlcKAanGXTjzZfrNSf99wyQixR R/doiANpWFJsqHYJWgKJE32No6bXcXH7eM7Ct8DPzuTOC+pQPoqkW6lEA3Q4vImt9x JMgM73bP1Wc8A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47H0sc6hdpz9rxS; Mon, 18 Nov 2019 21:28:52 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Nov 2019 21:28:52 +0100 From: brettg@posteo.net To: Bug guix Subject: Re: bug#38261: Recent changes to emacs build system In-Reply-To: References: Message-ID: <848bb376e0d6e171347afe53ce79bd96@posteo.net> X-Sender: brettg@posteo.net User-Agent: Posteo Webmail 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 Cc: bug-Guix 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 (--) On 18.11.2019 20:01, brettg@posteo.net wrote: > Hey all, the recent changes to the emacs build system result in a few > broken packages like emacs-pdf-tools, or basically anything that uses > a phase for emacs-set-emacs-load-path. >=20 > For example, I borrowed the technique used by emacs-pdf-tools to > package emacs-telega, resulting in both packages failing to build: >=20 > Here is the code for emacs-telega: >=20 > https://git.sr.ht/~brettgilio/cfg/tree/master/channel/non-gnu/packages/em= acs-xyz.scm#L99 >=20 > The issue is in this phase for both emacs-pdf-tools and my channel=20 > package: >=20 > (add-after 'compress-documentation 'emacs-set-emacs-load-path > (assoc-ref emacs:%standard-phases 'set-emacs-load-path)) >=20 > Resulting in: >=20 > starting phase `emacs-set-emacs-load-path' > Backtrace: > 5 (primitive-load "/gnu/store/5b1p1gsvfyi4fbx4s42rhab2dns=E2= =80=A6") > In ice-9/eval.scm: > 191:35 4 (_ _) > In ice-9/boot-9.scm: > 829:9 3 (catch _ _ #=20 > =E2=80=A6) > In srfi/srfi-1.scm: > 863:16 2 (every1 #=20 > =E2=80=A6) > In > /gnu/store/zmkgrvvhmrix2b1z7id6zrg9bb7qxzdl-module-import/guix/build/gnu-= build-system.scm: > 839:30 1 (_ _) > In unknown file: > 0 (_ #:source "/gnu/store/qw8xbmk6ryl9a2jrp0gip3yffmsdix=E2=80= =A6"=20 > =E2=80=A6) >=20 > ERROR: Wrong type to apply: #f >=20 > If we suspect that changes are going to be non-backwards compatible > could we use the news system to pass along that message? Much > appreciated. Thanks. >=20 > Brett Gilio I applied a hotfix to the package by replacing 'set-emacs-load-path with=20 'add-source-to-load-path. I believe this fix would work for all other=20 affected packages. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 18 15:33:47 2019 Received: (at submit) by debbugs.gnu.org; 18 Nov 2019 20:33:47 +0000 Received: from localhost ([127.0.0.1]:46322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWniV-0003MX-3j for submit@debbugs.gnu.org; Mon, 18 Nov 2019 15:33:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:48521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWniT-0003MP-To for submit@debbugs.gnu.org; Mon, 18 Nov 2019 15:33:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57316) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWniS-0004da-KV for Bug-guix@gnu.org; Mon, 18 Nov 2019 15:33:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,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 1iWniR-0004Sc-D4 for Bug-guix@gnu.org; Mon, 18 Nov 2019 15:33:44 -0500 Received: from mout02.posteo.de ([185.67.36.66]:50285) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iWniR-0004Pr-6Q for Bug-guix@gnu.org; Mon, 18 Nov 2019 15:33:43 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0EAE72400FB for ; Mon, 18 Nov 2019 21:33:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1574109222; bh=kp4yu2lApEdXlgreVn/QUKwH/M2/dPbqYvd9p5yqIfQ=; h=Date:From:To:Cc:Subject:From; b=rnm6UAqQIu1Nlf6lZ11hdGPBQ3mGtN4opjyaD3UmAY+ECT+/PHkxPC0P4hITbNs5O JlYZlO3qCQd3GKJIV2yYmJz3JhjtUtYuJUbQFbSAbtwoKL9mvBjVmi9jd+FY7hFe5d Tu73i5+wlNbNv5W57UuazkPqYTM8Cho8URzdngZjCrYEVwKie/PbmhrkLCFowodnMq jBf8T1+5Hq3aiq03J/PU+AX3kAtjP5h9DAjKV08gkyFAEKl8o/q2EEaqoSreeq3SxM EAD+gbsAlI6fhtoOcHBeB3ZLnHSIbLMzqkF+GMoccSOk2afRhofriTARFc1EYWyTK4 ESzdk8FpdFhLg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47H0z92jYWz9rxX; Mon, 18 Nov 2019 21:33:41 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Nov 2019 21:33:41 +0100 From: brettg@posteo.net To: Bug guix Subject: Re: bug#38261: Recent changes to emacs build system In-Reply-To: <848bb376e0d6e171347afe53ce79bd96@posteo.net> References: <848bb376e0d6e171347afe53ce79bd96@posteo.net> Message-ID: <421db4d1a206488fa1883e40666846c5@posteo.net> X-Sender: brettg@posteo.net User-Agent: Posteo Webmail 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 Cc: bug-Guix 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 (--) On 18.11.2019 21:28, brettg@posteo.net wrote: > On 18.11.2019 20:01, brettg@posteo.net wrote: >> Hey all, the recent changes to the emacs build system result in a few >> broken packages like emacs-pdf-tools, or basically anything that uses >> a phase for emacs-set-emacs-load-path. >>=20 >> For example, I borrowed the technique used by emacs-pdf-tools to >> package emacs-telega, resulting in both packages failing to build: >>=20 >> Here is the code for emacs-telega: >>=20 >> https://git.sr.ht/~brettgilio/cfg/tree/master/channel/non-gnu/packages/e= macs-xyz.scm#L99 >>=20 >> The issue is in this phase for both emacs-pdf-tools and my channel=20 >> package: >>=20 >> (add-after 'compress-documentation 'emacs-set-emacs-load-path >> (assoc-ref emacs:%standard-phases 'set-emacs-load-path)) >>=20 >> Resulting in: >>=20 >> starting phase `emacs-set-emacs-load-path' >> Backtrace: >> 5 (primitive-load=20 >> "/gnu/store/5b1p1gsvfyi4fbx4s42rhab2dns=E2=80=A6") >> In ice-9/eval.scm: >> 191:35 4 (_ _) >> In ice-9/boot-9.scm: >> 829:9 3 (catch _ _ #=20 >> =E2=80=A6) >> In srfi/srfi-1.scm: >> 863:16 2 (every1 #=20 >> =E2=80=A6) >> In >> /gnu/store/zmkgrvvhmrix2b1z7id6zrg9bb7qxzdl-module-import/guix/build/gnu= -build-system.scm: >> 839:30 1 (_ _) >> In unknown file: >> 0 (_ #:source "/gnu/store/qw8xbmk6ryl9a2jrp0gip3yffmsdix=E2= =80=A6"=20 >> =E2=80=A6) >>=20 >> ERROR: Wrong type to apply: #f >>=20 >> If we suspect that changes are going to be non-backwards compatible >> could we use the news system to pass along that message? Much >> appreciated. Thanks. >>=20 >> Brett Gilio >=20 > I applied a hotfix to the package by replacing 'set-emacs-load-path > with 'add-source-to-load-path. I believe this fix would work for all > other affected packages. https://git.sr.ht/~brettgilio/cfg/commit/c24a6db9d25151c487e9db675bd74e4bb3= 912173 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 18 16:34:39 2019 Received: (at submit) by debbugs.gnu.org; 18 Nov 2019 21:34:39 +0000 Received: from localhost ([127.0.0.1]:46351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWofK-0004pW-TX for submit@debbugs.gnu.org; Mon, 18 Nov 2019 16:34:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:54454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWofI-0004pO-GF for submit@debbugs.gnu.org; Mon, 18 Nov 2019 16:34:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38414) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWofH-0008Np-3H for Bug-guix@gnu.org; Mon, 18 Nov 2019 16:34:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,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 1iWofD-0000m6-Id for Bug-guix@gnu.org; Mon, 18 Nov 2019 16:34:31 -0500 Received: from mout01.posteo.de ([185.67.36.65]:53679) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iWofB-0000ip-RX for Bug-guix@gnu.org; Mon, 18 Nov 2019 16:34:27 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 285BF16005E for ; Mon, 18 Nov 2019 22:34:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1574112863; bh=Qy4z/8tEHPK23E0rYkgyRTD2m6AIU5OugEOdamm2WFg=; h=Date:From:To:Cc:Subject:From; b=a3ZodHp8njRmaiLv//54RAap/EY/k+M8ImAxwNOp7fs/17LK1ZTkOEIv7ipF5SDRf D9JXtmnAmsJgaFSn98MpZoPPNraPDnkpXOqtPUzUVTjtknslBdIQ/ASfMDJ0k8e2a/ y/iK1PSY/IELflxIi4558YNdQOar+06puorbYW5PNIqeuai7HtaA3aKoJlx975pAiA +cErGnDE+Ux0UkXglJoJeFRi3WQ60fxqyk0+xoIwrkzw+zXQBGok0nEwmxZJjtZcWj Qqsvq8OfpTtQWagEi+2LrQrrdEYRdeeq4pncbpmC9P527JwXqqg1zEwx2rU5CZJCPi xBEp9Qpgo413g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47H2K95Hbtz6tm5; Mon, 18 Nov 2019 22:34:21 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Mon, 18 Nov 2019 22:34:21 +0100 From: brettg@posteo.net To: Bug guix , Ricardo Wurmus Subject: Re: bug#38261: Recent changes to emacs build system In-Reply-To: <421db4d1a206488fa1883e40666846c5@posteo.net> References: <848bb376e0d6e171347afe53ce79bd96@posteo.net> <421db4d1a206488fa1883e40666846c5@posteo.net> Message-ID: <805ec3dde9328f427bc34126c36735d3@posteo.net> X-Sender: brettg@posteo.net User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-Guix 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 (--) On 18.11.2019 21:33, brettg@posteo.net wrote: > On 18.11.2019 21:28, brettg@posteo.net wrote: >> On 18.11.2019 20:01, brettg@posteo.net wrote: >>> Hey all, the recent changes to the emacs build system result in a few >>> broken packages like emacs-pdf-tools, or basically anything that uses >>> a phase for emacs-set-emacs-load-path. >>>=20 >>> For example, I borrowed the technique used by emacs-pdf-tools to >>> package emacs-telega, resulting in both packages failing to build: >>>=20 >>> Here is the code for emacs-telega: >>>=20 >>> https://git.sr.ht/~brettgilio/cfg/tree/master/channel/non-gnu/packages/= emacs-xyz.scm#L99 >>>=20 >>> The issue is in this phase for both emacs-pdf-tools and my channel=20 >>> package: >>>=20 >>> (add-after 'compress-documentation 'emacs-set-emacs-load-path >>> (assoc-ref emacs:%standard-phases 'set-emacs-load-path)) >>>=20 >>> Resulting in: >>>=20 >>> starting phase `emacs-set-emacs-load-path' >>> Backtrace: >>> 5 (primitive-load=20 >>> "/gnu/store/5b1p1gsvfyi4fbx4s42rhab2dns=E2=80=A6") >>> In ice-9/eval.scm: >>> 191:35 4 (_ _) >>> In ice-9/boot-9.scm: >>> 829:9 3 (catch _ _ #=20 >>> =E2=80=A6) >>> In srfi/srfi-1.scm: >>> 863:16 2 (every1 #=20 >>> =E2=80=A6) >>> In >>> /gnu/store/zmkgrvvhmrix2b1z7id6zrg9bb7qxzdl-module-import/guix/build/gn= u-build-system.scm: >>> 839:30 1 (_ _) >>> In unknown file: >>> 0 (_ #:source "/gnu/store/qw8xbmk6ryl9a2jrp0gip3yffmsdix=E2= =80=A6"=20 >>> =E2=80=A6) >>>=20 >>> ERROR: Wrong type to apply: #f >>>=20 >>> If we suspect that changes are going to be non-backwards compatible >>> could we use the news system to pass along that message? Much >>> appreciated. Thanks. >>>=20 >>> Brett Gilio >>=20 >> I applied a hotfix to the package by replacing 'set-emacs-load-path >> with 'add-source-to-load-path. I believe this fix would work for all >> other affected packages. >=20 > https://git.sr.ht/~brettgilio/cfg/commit/c24a6db9d25151c487e9db675bd74e4b= b3912173 Ricardo, just wanted to make you aware that this emacs-build-system=20 change does break your guile-studio. I discovered this because I adopted=20 some of your ideas of autoloading in the generated emacs lisp from=20 guile-studio when creating my own emacs configuration dependent on guix,=20 which resulted in progn: Wrong number of arguments: (lambda nil "Autoload Emacs packages=20 found in EMACSLOADPATH. 'Autoload' means to load the 'autoloads' files matching `guix-emacs-autoloads-regexp'." (interactive) (let* ((emacs-load-path=20 (getenv "EMACSLOADPATH")) (emacs-non-core-load-path-directories=20 (seq-filter (function (lambda (dir) (string-match-p=20 "/share/emacs/site-lisp" dir))) (split-string emacs-load-path ":")))=20 (autoloads (mapcan (function guix-emacs-find-autoloads)=20 emacs-non-core-load-path-directories))) (mapc (function (lambda (f)=20 (load f (quote noerror)))) autoloads))), 78 I'll let you know if I can find any fix for this when I get some time.=20 But just wanted to pass the message along. Brett From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 18 19:27:48 2019 Received: (at submit) by debbugs.gnu.org; 19 Nov 2019 00:27:49 +0000 Received: from localhost ([127.0.0.1]:46449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWrMy-0000VF-Gy for submit@debbugs.gnu.org; Mon, 18 Nov 2019 19:27:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:36003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWrMx-0000V7-FO for submit@debbugs.gnu.org; Mon, 18 Nov 2019 19:27:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56637) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWrMv-0005N2-G0 for Bug-guix@gnu.org; Mon, 18 Nov 2019 19:27:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,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 1iWrMt-0003l6-K1 for Bug-guix@gnu.org; Mon, 18 Nov 2019 19:27:44 -0500 Received: from mout01.posteo.de ([185.67.36.65]:37810) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iWrMs-0003jv-Vc for Bug-guix@gnu.org; Mon, 18 Nov 2019 19:27:43 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 02A0A16005C for ; Tue, 19 Nov 2019 01:27:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1574123261; bh=2i4sSQ0aI+Hk9X2cynHKSHiQL1+Fq4kpys1RsfXE+0A=; h=Date:From:To:Cc:Subject:From; b=hynLq2uyQJhX+bRKpSVDxaYbnzMJAnjHFHCShqCxZnN99OCwkexRrodYPGCAEicjc jGfZ2iqqXcETahpN6vtPfsYjg+HwVVwHq6NaitzY/ExrJD1iIF6tZDWwUJHVlDiRY3 Nv+uGQWIkKAKsNLybK5B1e5lMZKun8bLlC7vxeriOrfLCPqomD8sMOu+yE/uMD7Q5l mU0nRgBQsKEOnGWO9Xqrd2tGTu+ZJGqmAuRQpbVIZG5WEgHz2ix3TNRvPy/ExIKX3w Cijlyilh4TsNapvc1xAe4i87oMXEuDWneUV0298yb9AojfBdeuTxNGlBSCH21VvLDV 0uZqdexGnXAJQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47H6973jsbz6tm8; Tue, 19 Nov 2019 01:27:39 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Nov 2019 01:27:39 +0100 From: brettg@posteo.net To: Bug guix , Ricardo Wurmus Subject: Re: bug#38261: Recent changes to emacs build system In-Reply-To: <805ec3dde9328f427bc34126c36735d3@posteo.net> References: <848bb376e0d6e171347afe53ce79bd96@posteo.net> <421db4d1a206488fa1883e40666846c5@posteo.net> <805ec3dde9328f427bc34126c36735d3@posteo.net> Message-ID: <70112f45226b44a1234a4d41aa7ac610@posteo.net> X-Sender: brettg@posteo.net User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-Guix 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 (--) On 18.11.2019 22:34, brettg@posteo.net wrote: > On 18.11.2019 21:33, brettg@posteo.net wrote: >> On 18.11.2019 21:28, brettg@posteo.net wrote: >>> On 18.11.2019 20:01, brettg@posteo.net wrote: >>>> Hey all, the recent changes to the emacs build system result in a=20 >>>> few >>>> broken packages like emacs-pdf-tools, or basically anything that=20 >>>> uses >>>> a phase for emacs-set-emacs-load-path. >>>>=20 >>>> For example, I borrowed the technique used by emacs-pdf-tools to >>>> package emacs-telega, resulting in both packages failing to build: >>>>=20 >>>> Here is the code for emacs-telega: >>>>=20 >>>> https://git.sr.ht/~brettgilio/cfg/tree/master/channel/non-gnu/packages= /emacs-xyz.scm#L99 >>>>=20 >>>> The issue is in this phase for both emacs-pdf-tools and my channel=20 >>>> package: >>>>=20 >>>> (add-after 'compress-documentation 'emacs-set-emacs-load-path >>>> (assoc-ref emacs:%standard-phases 'set-emacs-load-path)) >>>>=20 >>>> Resulting in: >>>>=20 >>>> starting phase `emacs-set-emacs-load-path' >>>> Backtrace: >>>> 5 (primitive-load=20 >>>> "/gnu/store/5b1p1gsvfyi4fbx4s42rhab2dns=E2=80=A6") >>>> In ice-9/eval.scm: >>>> 191:35 4 (_ _) >>>> In ice-9/boot-9.scm: >>>> 829:9 3 (catch _ _ #>>> /gnu/store/zmkg=E2=80=A6> =E2=80=A6) >>>> In srfi/srfi-1.scm: >>>> 863:16 2 (every1 #>>> /gnu/store/zmkgrvv=E2=80=A6> =E2=80=A6) >>>> In >>>> /gnu/store/zmkgrvvhmrix2b1z7id6zrg9bb7qxzdl-module-import/guix/build/g= nu-build-system.scm: >>>> 839:30 1 (_ _) >>>> In unknown file: >>>> 0 (_ #:source=20 >>>> "/gnu/store/qw8xbmk6ryl9a2jrp0gip3yffmsdix=E2=80=A6" =E2=80=A6) >>>>=20 >>>> ERROR: Wrong type to apply: #f >>>>=20 >>>> If we suspect that changes are going to be non-backwards compatible >>>> could we use the news system to pass along that message? Much >>>> appreciated. Thanks. >>>>=20 >>>> Brett Gilio >>>=20 >>> I applied a hotfix to the package by replacing 'set-emacs-load-path >>> with 'add-source-to-load-path. I believe this fix would work for all >>> other affected packages. >>=20 >> https://git.sr.ht/~brettgilio/cfg/commit/c24a6db9d25151c487e9db675bd74e4= bb3912173 >=20 > Ricardo, just wanted to make you aware that this emacs-build-system > change does break your guile-studio. I discovered this because I > adopted some of your ideas of autoloading in the generated emacs lisp > from guile-studio when creating my own emacs configuration dependent > on guix, which resulted in >=20 > progn: Wrong number of arguments: (lambda nil "Autoload Emacs packages > found in EMACSLOADPATH. >=20 > 'Autoload' means to load the 'autoloads' files matching > `guix-emacs-autoloads-regexp'." (interactive) (let* ((emacs-load-path > (getenv "EMACSLOADPATH")) (emacs-non-core-load-path-directories > (seq-filter (function (lambda (dir) (string-match-p > "/share/emacs/site-lisp" dir))) (split-string emacs-load-path ":"))) > (autoloads (mapcan (function guix-emacs-find-autoloads) > emacs-non-core-load-path-directories))) (mapc (function (lambda (f) > (load f (quote noerror)))) autoloads))), 78 >=20 > I'll let you know if I can find any fix for this when I get some time. > But just wanted to pass the message along. >=20 > Brett I tried removing the arguments passed to `guix-emacs-autoload-packages'=20 as the updated version=20 (http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/aux-files/emac= s/guix-emacs.el?id=3D47b3b4c2aa49e21f4cc32c97ff7bbbd069bb849c)=20 does not carry arguments anymore, instead depending on a variable=20 EMACSLOADPATH. However, whenever that is done it returns split-string: Wrong type argument: stringp, nil possibly because my system is not finding EMACSLOADPATH. I will keep investigating. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 18 19:32:14 2019 Received: (at submit) by debbugs.gnu.org; 19 Nov 2019 00:32:14 +0000 Received: from localhost ([127.0.0.1]:46455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWrRG-0000cx-7z for submit@debbugs.gnu.org; Mon, 18 Nov 2019 19:32:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:39841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWrRD-0000cn-RF for submit@debbugs.gnu.org; Mon, 18 Nov 2019 19:32:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57331) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWrRC-0006UE-Ce for Bug-guix@gnu.org; Mon, 18 Nov 2019 19:32:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,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 1iWrRB-000800-1m for Bug-guix@gnu.org; Mon, 18 Nov 2019 19:32:10 -0500 Received: from mout01.posteo.de ([185.67.36.65]:56382) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iWrRA-0007zE-P9 for Bug-guix@gnu.org; Mon, 18 Nov 2019 19:32:08 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6C0EA16005E for ; Tue, 19 Nov 2019 01:32:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1574123527; bh=NBnMuG28Z01Jz3MDK3v8lUlPO8Z7CWARI+B70JAEEO8=; h=Date:From:To:Cc:Subject:From; b=Dk6RbBjdlry4gmEu+cGKxsoeHG17lc6F1BXzU5JIDLoc7qnXA2yySEQLxqpFkLt/T HlvqT4lMQdnZKwQQ4Qf4tYtb8/M5efgQIr64syxEshfL48ECN0PbkOH/upg0R9F59O x1HuJACI17QizOE8+xCy0LwXJhJo3FvkIof9mC0FjS4DO0O8mH31/+xdekQsPao2au 1FavHTK08A8/TJU+kpyNErFHNBZRP7WGIeUe3wZkcreQ/h4Q6Iw//XI7OzwMaPq6K4 zB6DEGjjCbJmOGSH/E6zF1sZjTg2S3jhqI1yn+sGJhYqrIzlCRhiAT3uAc8PlzIJRg hdzAJbXa/LIog== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47H6GG3NZkz6tm5; Tue, 19 Nov 2019 01:32:06 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Nov 2019 01:32:06 +0100 From: brettg@posteo.net To: Bug guix , Ricardo Wurmus Subject: Re: bug#38261: Recent changes to emacs build system In-Reply-To: <70112f45226b44a1234a4d41aa7ac610@posteo.net> References: <848bb376e0d6e171347afe53ce79bd96@posteo.net> <421db4d1a206488fa1883e40666846c5@posteo.net> <805ec3dde9328f427bc34126c36735d3@posteo.net> <70112f45226b44a1234a4d41aa7ac610@posteo.net> Message-ID: <26711cb3bba8555dea8ac4e9f8220726@posteo.net> X-Sender: brettg@posteo.net User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-Guix 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 (--) On 19.11.2019 01:27, brettg@posteo.net wrote: > On 18.11.2019 22:34, brettg@posteo.net wrote: >> On 18.11.2019 21:33, brettg@posteo.net wrote: >>> On 18.11.2019 21:28, brettg@posteo.net wrote: >>>> On 18.11.2019 20:01, brettg@posteo.net wrote: >>>>> Hey all, the recent changes to the emacs build system result in a=20 >>>>> few >>>>> broken packages like emacs-pdf-tools, or basically anything that=20 >>>>> uses >>>>> a phase for emacs-set-emacs-load-path. >>>>>=20 >>>>> For example, I borrowed the technique used by emacs-pdf-tools to >>>>> package emacs-telega, resulting in both packages failing to build: >>>>>=20 >>>>> Here is the code for emacs-telega: >>>>>=20 >>>>> https://git.sr.ht/~brettgilio/cfg/tree/master/channel/non-gnu/package= s/emacs-xyz.scm#L99 >>>>>=20 >>>>> The issue is in this phase for both emacs-pdf-tools and my channel=20 >>>>> package: >>>>>=20 >>>>> (add-after 'compress-documentation 'emacs-set-emacs-load-path >>>>> (assoc-ref emacs:%standard-phases 'set-emacs-load-path)) >>>>>=20 >>>>> Resulting in: >>>>>=20 >>>>> starting phase `emacs-set-emacs-load-path' >>>>> Backtrace: >>>>> 5 (primitive-load=20 >>>>> "/gnu/store/5b1p1gsvfyi4fbx4s42rhab2dns=E2=80=A6") >>>>> In ice-9/eval.scm: >>>>> 191:35 4 (_ _) >>>>> In ice-9/boot-9.scm: >>>>> 829:9 3 (catch _ _ #>>>> /gnu/store/zmkg=E2=80=A6> =E2=80=A6) >>>>> In srfi/srfi-1.scm: >>>>> 863:16 2 (every1 #>>>> /gnu/store/zmkgrvv=E2=80=A6> =E2=80=A6) >>>>> In >>>>> /gnu/store/zmkgrvvhmrix2b1z7id6zrg9bb7qxzdl-module-import/guix/build/= gnu-build-system.scm: >>>>> 839:30 1 (_ _) >>>>> In unknown file: >>>>> 0 (_ #:source=20 >>>>> "/gnu/store/qw8xbmk6ryl9a2jrp0gip3yffmsdix=E2=80=A6" =E2=80=A6) >>>>>=20 >>>>> ERROR: Wrong type to apply: #f >>>>>=20 >>>>> If we suspect that changes are going to be non-backwards compatible >>>>> could we use the news system to pass along that message? Much >>>>> appreciated. Thanks. >>>>>=20 >>>>> Brett Gilio >>>>=20 >>>> I applied a hotfix to the package by replacing 'set-emacs-load-path >>>> with 'add-source-to-load-path. I believe this fix would work for all >>>> other affected packages. >>>=20 >>> https://git.sr.ht/~brettgilio/cfg/commit/c24a6db9d25151c487e9db675bd74e= 4bb3912173 >>=20 >> Ricardo, just wanted to make you aware that this emacs-build-system >> change does break your guile-studio. I discovered this because I >> adopted some of your ideas of autoloading in the generated emacs lisp >> from guile-studio when creating my own emacs configuration dependent >> on guix, which resulted in >>=20 >> progn: Wrong number of arguments: (lambda nil "Autoload Emacs packages >> found in EMACSLOADPATH. >>=20 >> 'Autoload' means to load the 'autoloads' files matching >> `guix-emacs-autoloads-regexp'." (interactive) (let* ((emacs-load-path >> (getenv "EMACSLOADPATH")) (emacs-non-core-load-path-directories >> (seq-filter (function (lambda (dir) (string-match-p >> "/share/emacs/site-lisp" dir))) (split-string emacs-load-path ":"))) >> (autoloads (mapcan (function guix-emacs-find-autoloads) >> emacs-non-core-load-path-directories))) (mapc (function (lambda (f) >> (load f (quote noerror)))) autoloads))), 78 >>=20 >> I'll let you know if I can find any fix for this when I get some time. >> But just wanted to pass the message along. >>=20 >> Brett >=20 > I tried removing the arguments passed to > `guix-emacs-autoload-packages' as the updated version > (http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/aux-files/em= acs/guix-emacs.el?id=3D47b3b4c2aa49e21f4cc32c97ff7bbbd069bb849c) > does not carry arguments anymore, instead depending on a variable > EMACSLOADPATH. However, whenever that is done it returns >=20 > split-string: Wrong type argument: stringp, nil >=20 > possibly because my system is not finding EMACSLOADPATH. >=20 > I will keep investigating. I can confirm, when running something analogous to `guix environment=20 --ad-hoc emacs-dashboard` no changes are being made to the=20 $GUIX_ENVIRONMENT/etc/profile to resemble EMACSLOADPATH. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 18 20:58:45 2019 Received: (at submit) by debbugs.gnu.org; 19 Nov 2019 01:58:45 +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 1iWsmy-0002bK-Ms for submit@debbugs.gnu.org; Mon, 18 Nov 2019 20:58:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:49498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWsmw-0002bB-Me for submit@debbugs.gnu.org; Mon, 18 Nov 2019 20:58:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37396) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWsmu-0001Xc-G7 for Bug-guix@gnu.org; Mon, 18 Nov 2019 20:58:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,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 1iWsms-00018G-6d for Bug-guix@gnu.org; Mon, 18 Nov 2019 20:58:40 -0500 Received: from mout01.posteo.de ([185.67.36.65]:35416) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iWsmr-00015t-Jw for Bug-guix@gnu.org; Mon, 18 Nov 2019 20:58:38 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A701916005F for ; Tue, 19 Nov 2019 02:58:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1574128715; bh=9pRC6vxENACfwle/ADLCopEJuecO2jkCjptPFTXu3sg=; h=Date:From:To:Cc:Subject:From; b=B8W7WwKkEV0urvpos0eW8LxtRDTUQwWxLW9L5Lpe+0nTtTIX4G8ptd6ceUZlfNeYf xnUOt8pLEYSkzPXDkqiqWPjAYLsT7zjS1fjDb8y3nD+odxjuCLFpIDH7GYoxyDkh4k Ffo1mCyfi+E5U8fAyOXLKzR+3GW5fzgtK9rfPt4nYgBUMy5t0P97ulkjrkvN/jGRew nhUGwWzYh/emavWzi/3zAKl7Ug8/bSTnhPGJDGJw7beyWoh96rhH5CIyCg3ZA/0Z3Q 3e93eei7EB6sBGWrNjStezb8yNmJzWXxFLeluFawEk4kEaKW3Qrg81lYQdOH6Zgbia WCbE5nqGnXyOw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47H8B20WVWz6tmF; Tue, 19 Nov 2019 02:58:33 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Nov 2019 02:58:33 +0100 From: brettg@posteo.net To: Bug guix , Ricardo Wurmus Subject: Re: bug#38261: Recent changes to emacs build system In-Reply-To: <26711cb3bba8555dea8ac4e9f8220726@posteo.net> References: <848bb376e0d6e171347afe53ce79bd96@posteo.net> <421db4d1a206488fa1883e40666846c5@posteo.net> <805ec3dde9328f427bc34126c36735d3@posteo.net> <70112f45226b44a1234a4d41aa7ac610@posteo.net> <26711cb3bba8555dea8ac4e9f8220726@posteo.net> Message-ID: <57dee66c6531e9c8afbc5a22518d9917@posteo.net> X-Sender: brettg@posteo.net User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-Guix 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 (--) On 19.11.2019 01:32, brettg@posteo.net wrote: > On 19.11.2019 01:27, brettg@posteo.net wrote: >> On 18.11.2019 22:34, brettg@posteo.net wrote: >>> On 18.11.2019 21:33, brettg@posteo.net wrote: >>>> On 18.11.2019 21:28, brettg@posteo.net wrote: >>>>> On 18.11.2019 20:01, brettg@posteo.net wrote: >>>>>> Hey all, the recent changes to the emacs build system result in a=20 >>>>>> few >>>>>> broken packages like emacs-pdf-tools, or basically anything that=20 >>>>>> uses >>>>>> a phase for emacs-set-emacs-load-path. >>>>>>=20 >>>>>> For example, I borrowed the technique used by emacs-pdf-tools to >>>>>> package emacs-telega, resulting in both packages failing to build: >>>>>>=20 >>>>>> Here is the code for emacs-telega: >>>>>>=20 >>>>>> https://git.sr.ht/~brettgilio/cfg/tree/master/channel/non-gnu/packag= es/emacs-xyz.scm#L99 >>>>>>=20 >>>>>> The issue is in this phase for both emacs-pdf-tools and my channel= =20 >>>>>> package: >>>>>>=20 >>>>>> (add-after 'compress-documentation 'emacs-set-emacs-load-path >>>>>> (assoc-ref emacs:%standard-phases 'set-emacs-load-path)) >>>>>>=20 >>>>>> Resulting in: >>>>>>=20 >>>>>> starting phase `emacs-set-emacs-load-path' >>>>>> Backtrace: >>>>>> 5 (primitive-load=20 >>>>>> "/gnu/store/5b1p1gsvfyi4fbx4s42rhab2dns=E2=80=A6") >>>>>> In ice-9/eval.scm: >>>>>> 191:35 4 (_ _) >>>>>> In ice-9/boot-9.scm: >>>>>> 829:9 3 (catch _ _ #>>>>> /gnu/store/zmkg=E2=80=A6> =E2=80=A6) >>>>>> In srfi/srfi-1.scm: >>>>>> 863:16 2 (every1 #>>>>> /gnu/store/zmkgrvv=E2=80=A6> =E2=80=A6) >>>>>> In >>>>>> /gnu/store/zmkgrvvhmrix2b1z7id6zrg9bb7qxzdl-module-import/guix/build= /gnu-build-system.scm: >>>>>> 839:30 1 (_ _) >>>>>> In unknown file: >>>>>> 0 (_ #:source=20 >>>>>> "/gnu/store/qw8xbmk6ryl9a2jrp0gip3yffmsdix=E2=80=A6" =E2=80=A6) >>>>>>=20 >>>>>> ERROR: Wrong type to apply: #f >>>>>>=20 >>>>>> If we suspect that changes are going to be non-backwards=20 >>>>>> compatible >>>>>> could we use the news system to pass along that message? Much >>>>>> appreciated. Thanks. >>>>>>=20 >>>>>> Brett Gilio >>>>>=20 >>>>> I applied a hotfix to the package by replacing 'set-emacs-load-path >>>>> with 'add-source-to-load-path. I believe this fix would work for=20 >>>>> all >>>>> other affected packages. >>>>=20 >>>> https://git.sr.ht/~brettgilio/cfg/commit/c24a6db9d25151c487e9db675bd74= e4bb3912173 >>>=20 >>> Ricardo, just wanted to make you aware that this emacs-build-system >>> change does break your guile-studio. I discovered this because I >>> adopted some of your ideas of autoloading in the generated emacs lisp >>> from guile-studio when creating my own emacs configuration dependent >>> on guix, which resulted in >>>=20 >>> progn: Wrong number of arguments: (lambda nil "Autoload Emacs=20 >>> packages >>> found in EMACSLOADPATH. >>>=20 >>> 'Autoload' means to load the 'autoloads' files matching >>> `guix-emacs-autoloads-regexp'." (interactive) (let* ((emacs-load-path >>> (getenv "EMACSLOADPATH")) (emacs-non-core-load-path-directories >>> (seq-filter (function (lambda (dir) (string-match-p >>> "/share/emacs/site-lisp" dir))) (split-string emacs-load-path ":"))) >>> (autoloads (mapcan (function guix-emacs-find-autoloads) >>> emacs-non-core-load-path-directories))) (mapc (function (lambda (f) >>> (load f (quote noerror)))) autoloads))), 78 >>>=20 >>> I'll let you know if I can find any fix for this when I get some=20 >>> time. >>> But just wanted to pass the message along. >>>=20 >>> Brett >>=20 >> I tried removing the arguments passed to >> `guix-emacs-autoload-packages' as the updated version >> (http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/aux-files/e= macs/guix-emacs.el?id=3D47b3b4c2aa49e21f4cc32c97ff7bbbd069bb849c) >> does not carry arguments anymore, instead depending on a variable >> EMACSLOADPATH. However, whenever that is done it returns >>=20 >> split-string: Wrong type argument: stringp, nil >>=20 >> possibly because my system is not finding EMACSLOADPATH. >>=20 >> I will keep investigating. >=20 > I can confirm, when running something analogous to `guix environment > --ad-hoc emacs-dashboard` no changes are being made to the > $GUIX_ENVIRONMENT/etc/profile to resemble EMACSLOADPATH. So I have investigated the issue with EMACSLOADPATH: Similar to=20 Ricardo's guile-studio, my package enlign was using the autoload function from guix-emacs.el to=20 propagate a list of packages called from inputs to be loaded with the start of emacs. I have since revised this to just call the autoload function directly,=20 no longer passing any arguments, and had to modify my enlign package to=20 respect the EMACSLOADPATH variable. This is only possible if all of the=20 packages are passed as propagated-inputs though, which is less than=20 desirable in my opinion (though I am willing to be convinced.) This additionally leads to having to require emacs as a propagated input=20 as well, as leading it native or regular input leads to an error with=20 emacs not recognizing simple.el or mule-util. Overall, I am not sure if I like the recent change to guix-emacs.el. I=20 understand where the incentive is to do this, but ultimately it seems to=20 lead to more headache when creating packages around emacs. https://git.sr.ht/~brettgilio/cfg/commit/47bc9ae544ba10c0cacef1435625dcb011= 4e8cf5 Anyways, If there is no other comment, this issue really just needs to fix=20 emacs-pdf-tools and other affected packages from the recent string of=20 changes. Best, Brett Gilio From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 19 16:15:07 2019 Received: (at submit) by debbugs.gnu.org; 19 Nov 2019 21:15:07 +0000 Received: from localhost ([127.0.0.1]:48618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXApw-000169-Sz for submit@debbugs.gnu.org; Tue, 19 Nov 2019 16:15:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:53616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXAps-00015z-U5 for submit@debbugs.gnu.org; Tue, 19 Nov 2019 16:14:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57899) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXApr-0000Xc-9d for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:14:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, 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 1iXApp-0000lp-LB for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:14:55 -0500 Received: from mail-qv1-xf44.google.com ([2607:f8b0:4864:20::f44]:44305) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXApm-0000kD-3i; Tue, 19 Nov 2019 16:14:50 -0500 Received: by mail-qv1-xf44.google.com with SMTP id d3so8788578qvs.11; Tue, 19 Nov 2019 13:14:49 -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:content-transfer-encoding; bh=ybkIW67IuJGxO1vuGpQo8BC5lM0QMpQaK2LKM8I1NnU=; b=EVLoz0HrGUVtSSsyOd2QVyfK3wlvPGLg9X4bbARS6yuGsnbnJL/BG91a5jEVGWk4d3 xRim8l2L0To33XFweU1lLh+9XUyxRGL1u3SMZch1OO/vSXJEZ7UA5Q2oUrSv3SeaTh3n Xv71tf//D7GBu5bJnoJs5bNKvK4IXXfIRJWZulaDUw93YvjgAgqVXecEqs1KNHow3Ukh e9kYS/lAD5R6ULuWTMgzj6kLu02PbKIIjmB6Dkhdwn7gzuzsbGDWUBnL7AiuirI6Rr78 Bk2vkoG5KshFvE8zOPDY8UaJy3p9VSsVlUnqVK+Qe82eZSgnGQ2RTgzYYIiCyWQCK1k5 2g+g== 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:content-transfer-encoding; bh=ybkIW67IuJGxO1vuGpQo8BC5lM0QMpQaK2LKM8I1NnU=; b=cQ7La1Vm+wPSXshq9lLYm3ILEysL0Snc9c1FJsI3/dp1EY0GSZLSouUwWAvRTBopPW StS7Os20zwDW0f4C8BuGDCbEHn3rOX04OWcMkWoFR3UAprFASQHLAkTLGDuBflsqsdm4 EziELSI7mO8F/6b3Xu5Lz470GaI88Dx+fF+JPmJSv3KRbwNZmT8HNlFO6LFKoJ1yvhpa kFk3prLCc1XnwI95JiqON91M9VIIdr63GG1UcSBFi10gfMyY3llDGBrgaRm4EoLR/cDP 4ig4//iXu4ozFVc91fVG7Vj/SQAh7Cmi2X+PKrUlHfntsR22o4lvtGJgrmMKLfw/qIz/ YPmg== X-Gm-Message-State: APjAAAV6n1WaQ4GRXj3icVFtc0fEdW5YLap6EWiv1hWOqSLuulOvq/Ef BxTluSj9tJfCuuUEgZ6RRhN6xZ1H X-Google-Smtp-Source: APXvYqwMv1UP3Tdvz440x0BMvvwkgWPTraRRCgmtPW1UqlHf1WaekcxHh7eGtS/tZ05hMDoJpcN/mw== X-Received: by 2002:ad4:494b:: with SMTP id o11mr23979759qvy.82.1574198088680; Tue, 19 Nov 2019 13:14:48 -0800 (PST) Received: from x200 ([75.98.135.194]) by smtp.gmail.com with ESMTPSA id c23sm13212684qte.66.2019.11.19.13.14.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Nov 2019 13:14:47 -0800 (PST) From: Maxim Cournoyer To: brettg@posteo.net Subject: Re: bug#38261: Recent changes to emacs build system References: <848bb376e0d6e171347afe53ce79bd96@posteo.net> <421db4d1a206488fa1883e40666846c5@posteo.net> <805ec3dde9328f427bc34126c36735d3@posteo.net> <70112f45226b44a1234a4d41aa7ac610@posteo.net> <26711cb3bba8555dea8ac4e9f8220726@posteo.net> <57dee66c6531e9c8afbc5a22518d9917@posteo.net> Date: Wed, 20 Nov 2019 06:14:46 +0900 In-Reply-To: <57dee66c6531e9c8afbc5a22518d9917@posteo.net> (brettg@posteo.net's message of "Tue, 19 Nov 2019 02:58:33 +0100") Message-ID: <87ftijwou1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f44 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus , bug-Guix , Bug guix 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 (--) Hello Brett, Thank you for the heads-up concerning the latest changes to the way Emacs find its libraries and the adjustments done to the emacs-build-system. brettg@posteo.net writes: > On 19.11.2019 01:32, brettg@posteo.net wrote: >> On 19.11.2019 01:27, brettg@posteo.net wrote: >>> On 18.11.2019 22:34, brettg@posteo.net wrote: >>>> On 18.11.2019 21:33, brettg@posteo.net wrote: >>>>> On 18.11.2019 21:28, brettg@posteo.net wrote: >>>>>> On 18.11.2019 20:01, brettg@posteo.net wrote: >>>>>>> Hey all, the recent changes to the emacs build system result in >>>>>>> a few >>>>>>> broken packages like emacs-pdf-tools, or basically anything >>>>>>> that uses >>>>>>> a phase for emacs-set-emacs-load-path. >>>>>>> >>>>>>> For example, I borrowed the technique used by emacs-pdf-tools to >>>>>>> package emacs-telega, resulting in both packages failing to build: >>>>>>> >>>>>>> Here is the code for emacs-telega: >>>>>>> >>>>>>> https://git.sr.ht/~brettgilio/cfg/tree/master/channel/non-gnu/packa= ges/emacs-xyz.scm#L99 >>>>>>> >>>>>>> The issue is in this phase for both emacs-pdf-tools and my >>>>>>> channel package: >>>>>>> >>>>>>> (add-after 'compress-documentation 'emacs-set-emacs-load-path >>>>>>> (assoc-ref emacs:%standard-phases 'set-emacs-load-path)) >>>>>>> >>>>>>> Resulting in: >>>>>>> >>>>>>> starting phase `emacs-set-emacs-load-path' >>>>>>> Backtrace: >>>>>>> 5 (primitive-load >>>>>>> "/gnu/store/5b1p1gsvfyi4fbx4s42rhab2dns=E2=80=A6") >>>>>>> In ice-9/eval.scm: >>>>>>> 191:35 4 (_ _) >>>>>>> In ice-9/boot-9.scm: >>>>>>> 829:9 3 (catch _ _ #>>>>>> /gnu/store/zmkg=E2=80=A6> =E2=80=A6) >>>>>>> In srfi/srfi-1.scm: >>>>>>> 863:16 2 (every1 #>>>>>> /gnu/store/zmkgrvv=E2=80=A6> =E2=80=A6) >>>>>>> In >>>>>>> /gnu/store/zmkgrvvhmrix2b1z7id6zrg9bb7qxzdl-module-import/guix/buil= d/gnu-build-system.scm: >>>>>>> 839:30 1 (_ _) >>>>>>> In unknown file: >>>>>>> 0 (_ #:source >>>>>>> "/gnu/store/qw8xbmk6ryl9a2jrp0gip3yffmsdix=E2=80=A6" =E2=80=A6) >>>>>>> >>>>>>> ERROR: Wrong type to apply: #f Sorry for failing to foresee this problem. I've fixed the couple packages that were impacted on master now. You can have a look at the fixes (they are fairly simple). >>>>>>> If we suspect that changes are going to be non-backwards >>>>>>> compatible >>>>>>> could we use the news system to pass along that message? Much >>>>>>> appreciated. Thanks. >>>>>>> >>>>>>> Brett Gilio >>>>>> >>>>>> I applied a hotfix to the package by replacing 'set-emacs-load-path >>>>>> with 'add-source-to-load-path. I believe this fix would work for >>>>>> all >>>>>> other affected packages. >>>>> >>>>> https://git.sr.ht/~brettgilio/cfg/commit/c24a6db9d25151c487e9db675bd7= 4e4bb3912173 Indeed! >>>> Ricardo, just wanted to make you aware that this emacs-build-system >>>> change does break your guile-studio. I discovered this because I >>>> adopted some of your ideas of autoloading in the generated emacs lisp >>>> from guile-studio when creating my own emacs configuration dependent >>>> on guix, which resulted in >>>> >>>> progn: Wrong number of arguments: (lambda nil "Autoload Emacs >>>> packages >>>> found in EMACSLOADPATH. >>>> >>>> 'Autoload' means to load the 'autoloads' files matching >>>> `guix-emacs-autoloads-regexp'." (interactive) (let* ((emacs-load-path >>>> (getenv "EMACSLOADPATH")) (emacs-non-core-load-path-directories >>>> (seq-filter (function (lambda (dir) (string-match-p >>>> "/share/emacs/site-lisp" dir))) (split-string emacs-load-path ":"))) >>>> (autoloads (mapcan (function guix-emacs-find-autoloads) >>>> emacs-non-core-load-path-directories))) (mapc (function (lambda (f) >>>> (load f (quote noerror)))) autoloads))), 78 >>>> >>>> I'll let you know if I can find any fix for this when I get some >>>> time. >>>> But just wanted to pass the message along. >>>> >>>> Brett >>> >>> I tried removing the arguments passed to >>> `guix-emacs-autoload-packages' as the updated version >>> (http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/aux-files/= emacs/guix-emacs.el?id=3D47b3b4c2aa49e21f4cc32c97ff7bbbd069bb849c) >>> does not carry arguments anymore, instead depending on a variable >>> EMACSLOADPATH. However, whenever that is done it returns >>> >>> split-string: Wrong type argument: stringp, nil >>> >>> possibly because my system is not finding EMACSLOADPATH. Yes, that's the reason. Perhaps it could be worthwhile to give a better message in this condition, but it's unclear to me why this condition would arise at all. Would you mind giving some more background to how you got into that situation? I'll try building guile-studio and see if I could get a hint or two. >>> I will keep investigating. >> >> I can confirm, when running something analogous to `guix environment >> --ad-hoc emacs-dashboard` no changes are being made to the >> $GUIX_ENVIRONMENT/etc/profile to resemble EMACSLOADPATH. > > So I have investigated the issue with EMACSLOADPATH: Similar to > Ricardo's guile-studio, > my package enlign was using the autoload function from guix-emacs.el > to propagate a list > of packages called from inputs to be loaded with the start of emacs. > > I have since revised this to just call the autoload function directly, > no longer passing any arguments, and had to modify my enlign package > to respect the EMACSLOADPATH variable. This is only possible if all of > the packages are passed as propagated-inputs though, which is less > than desirable in my opinion (though I am willing to be convinced.) Is your package an Emacs library/package? If so, just defining the other Elisp dependencies of this package as propagated inputs would be the correct solution. For other cases (I can't think of how that would work exactly), perhaps wrapping the package's script with the computed EMACSLOADPATH environment variable could do? > This additionally leads to having to require emacs as a propagated > input as well, as leading it native or regular input leads to an error > with emacs not recognizing simple.el or mule-util. Do you mean, that your package somehow uses Emacs without having Emacs installed in the profile (not being propagated)? If this is the case, wrapping your program with EMACSLOADPATH (and patching its reference to Emacs) should work, without having to propagate anything. > Overall, I am not sure if I like the recent change to guix-emacs.el. I > understand where the incentive is to do this, but ultimately it seems > to lead to more headache when creating packages around emacs. > > https://git.sr.ht/~brettgilio/cfg/commit/47bc9ae544ba10c0cacef1435625dcb0= 114e8cf5 > > Anyways, > > If there is no other comment, this issue really just needs to fix > emacs-pdf-tools and other affected packages from the recent string of > changes. I'm sorry you've had some problems with this recent change! Thanks for bringing them out. Please do continue, I'm interested to know about any remaining issues you might find. Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 19 16:16:55 2019 Received: (at submit) by debbugs.gnu.org; 19 Nov 2019 21:16:55 +0000 Received: from localhost ([127.0.0.1]:48623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXArm-00019X-8w for submit@debbugs.gnu.org; Tue, 19 Nov 2019 16:16:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:52520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXArj-00019P-RR for submit@debbugs.gnu.org; Tue, 19 Nov 2019 16:16:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58122) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXArh-0001hw-SV for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:16:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,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 1iXArg-0001gg-0T for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:16:49 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41913) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iXArf-0001fj-6c for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:16:47 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 0CFD0160063 for ; Tue, 19 Nov 2019 22:16:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1574198205; bh=n1pyLlPQ9djuHUueFhB+Jyy4iEb8kZVPE2Qj3/pEf2s=; h=Date:From:To:Cc:Subject:From; b=d1yja8fWFlX3coZsl6eyM7cbuMDnSFe2nJhVTtHhFf3cNxjBUOK+I6jgftBI1tuS5 ByQsBGLB9XRKKZyOkgZ9xowNEEwrcVaSK4ds9w8Hc05iaa14NMnsjq7Z2sFGgqoH8U phUsCan99c7IwZkqutzYG1+WxD5XMKr8YgOobPVmi+mHRA0pmw4dwUeW9g0H7qr+f3 4Pddb59SwMdKlaN3n6AAwCEYWjvv6gDbw4J/3PkNsB0It5hUl9w+cvW+GvDa/PYHlD ifWjrf3TjFJMq4JonWcdYY3J81onbCsTkN2yg0nNphtFwiIxS0fZSzvi2kg5XHZR3n bXTk5/lbq++vA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47HdtM4BRHz6tmH; Tue, 19 Nov 2019 22:16:43 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Nov 2019 22:16:43 +0100 From: brettg@posteo.net To: Maxim Cournoyer Subject: Re: bug#38261: Recent changes to emacs build system In-Reply-To: <87ftijwou1.fsf@gmail.com> References: <848bb376e0d6e171347afe53ce79bd96@posteo.net> <421db4d1a206488fa1883e40666846c5@posteo.net> <805ec3dde9328f427bc34126c36735d3@posteo.net> <70112f45226b44a1234a4d41aa7ac610@posteo.net> <26711cb3bba8555dea8ac4e9f8220726@posteo.net> <57dee66c6531e9c8afbc5a22518d9917@posteo.net> <87ftijwou1.fsf@gmail.com> Message-ID: X-Sender: brettg@posteo.net User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus , bug-Guix , Bug guix 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 (--) On 19.11.2019 22:14, Maxim Cournoyer wrote: > Hello Brett, >=20 > Thank you for the heads-up concerning the latest changes to the way > Emacs find its libraries and the adjustments done to the > emacs-build-system. >=20 > brettg@posteo.net writes: >=20 >> On 19.11.2019 01:32, brettg@posteo.net wrote: >>> On 19.11.2019 01:27, brettg@posteo.net wrote: >>>> On 18.11.2019 22:34, brettg@posteo.net wrote: >>>>> On 18.11.2019 21:33, brettg@posteo.net wrote: >>>>>> On 18.11.2019 21:28, brettg@posteo.net wrote: >>>>>>> On 18.11.2019 20:01, brettg@posteo.net wrote: >>>>>>>> Hey all, the recent changes to the emacs build system result in >>>>>>>> a few >>>>>>>> broken packages like emacs-pdf-tools, or basically anything >>>>>>>> that uses >>>>>>>> a phase for emacs-set-emacs-load-path. >>>>>>>>=20 >>>>>>>> For example, I borrowed the technique used by emacs-pdf-tools to >>>>>>>> package emacs-telega, resulting in both packages failing to=20 >>>>>>>> build: >>>>>>>>=20 >>>>>>>> Here is the code for emacs-telega: >>>>>>>>=20 >>>>>>>> https://git.sr.ht/~brettgilio/cfg/tree/master/channel/non-gnu/pack= ages/emacs-xyz.scm#L99 >>>>>>>>=20 >>>>>>>> The issue is in this phase for both emacs-pdf-tools and my >>>>>>>> channel package: >>>>>>>>=20 >>>>>>>> (add-after 'compress-documentation 'emacs-set-emacs-load-path >>>>>>>> (assoc-ref emacs:%standard-phases 'set-emacs-load-path)) >>>>>>>>=20 >>>>>>>> Resulting in: >>>>>>>>=20 >>>>>>>> starting phase `emacs-set-emacs-load-path' >>>>>>>> Backtrace: >>>>>>>> 5 (primitive-load >>>>>>>> "/gnu/store/5b1p1gsvfyi4fbx4s42rhab2dns=E2=80=A6") >>>>>>>> In ice-9/eval.scm: >>>>>>>> 191:35 4 (_ _) >>>>>>>> In ice-9/boot-9.scm: >>>>>>>> 829:9 3 (catch _ _ #>>>>>>> /gnu/store/zmkg=E2=80=A6> =E2=80=A6) >>>>>>>> In srfi/srfi-1.scm: >>>>>>>> 863:16 2 (every1 #>>>>>>> /gnu/store/zmkgrvv=E2=80=A6> =E2=80=A6) >>>>>>>> In >>>>>>>> /gnu/store/zmkgrvvhmrix2b1z7id6zrg9bb7qxzdl-module-import/guix/bui= ld/gnu-build-system.scm: >>>>>>>> 839:30 1 (_ _) >>>>>>>> In unknown file: >>>>>>>> 0 (_ #:source >>>>>>>> "/gnu/store/qw8xbmk6ryl9a2jrp0gip3yffmsdix=E2=80=A6" =E2=80=A6) >>>>>>>>=20 >>>>>>>> ERROR: Wrong type to apply: #f >=20 > Sorry for failing to foresee this problem. I've fixed the couple > packages that were impacted on master now. You can have a look at the > fixes (they are fairly simple). >=20 >>>>>>>> If we suspect that changes are going to be non-backwards >>>>>>>> compatible >>>>>>>> could we use the news system to pass along that message? Much >>>>>>>> appreciated. Thanks. >>>>>>>>=20 >>>>>>>> Brett Gilio >>>>>>>=20 >>>>>>> I applied a hotfix to the package by replacing=20 >>>>>>> 'set-emacs-load-path >>>>>>> with 'add-source-to-load-path. I believe this fix would work for >>>>>>> all >>>>>>> other affected packages. >>>>>>=20 >>>>>> https://git.sr.ht/~brettgilio/cfg/commit/c24a6db9d25151c487e9db675bd= 74e4bb3912173 >=20 > Indeed! >=20 >>>>> Ricardo, just wanted to make you aware that this emacs-build-system >>>>> change does break your guile-studio. I discovered this because I >>>>> adopted some of your ideas of autoloading in the generated emacs=20 >>>>> lisp >>>>> from guile-studio when creating my own emacs configuration=20 >>>>> dependent >>>>> on guix, which resulted in >>>>>=20 >>>>> progn: Wrong number of arguments: (lambda nil "Autoload Emacs >>>>> packages >>>>> found in EMACSLOADPATH. >>>>>=20 >>>>> 'Autoload' means to load the 'autoloads' files matching >>>>> `guix-emacs-autoloads-regexp'." (interactive) (let*=20 >>>>> ((emacs-load-path >>>>> (getenv "EMACSLOADPATH")) (emacs-non-core-load-path-directories >>>>> (seq-filter (function (lambda (dir) (string-match-p >>>>> "/share/emacs/site-lisp" dir))) (split-string emacs-load-path=20 >>>>> ":"))) >>>>> (autoloads (mapcan (function guix-emacs-find-autoloads) >>>>> emacs-non-core-load-path-directories))) (mapc (function (lambda (f) >>>>> (load f (quote noerror)))) autoloads))), 78 >>>>>=20 >>>>> I'll let you know if I can find any fix for this when I get some >>>>> time. >>>>> But just wanted to pass the message along. >>>>>=20 >>>>> Brett >>>>=20 >>>> I tried removing the arguments passed to >>>> `guix-emacs-autoload-packages' as the updated version >>>> (http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/aux-files= /emacs/guix-emacs.el?id=3D47b3b4c2aa49e21f4cc32c97ff7bbbd069bb849c) >>>> does not carry arguments anymore, instead depending on a variable >>>> EMACSLOADPATH. However, whenever that is done it returns >>>>=20 >>>> split-string: Wrong type argument: stringp, nil >>>>=20 >>>> possibly because my system is not finding EMACSLOADPATH. >=20 > Yes, that's the reason. Perhaps it could be worthwhile to give a=20 > better > message in this condition, but it's unclear to me why this condition > would arise at all. Would you mind giving some more background to how > you got into that situation? I'll try building guile-studio and see if > I could get a hint or two. >=20 >>>> I will keep investigating. >>>=20 >>> I can confirm, when running something analogous to `guix environment >>> --ad-hoc emacs-dashboard` no changes are being made to the >>> $GUIX_ENVIRONMENT/etc/profile to resemble EMACSLOADPATH. >>=20 >> So I have investigated the issue with EMACSLOADPATH: Similar to >> Ricardo's guile-studio, >> my package enlign was using the autoload function from guix-emacs.el >> to propagate a list >> of packages called from inputs to be loaded with the start of emacs. >>=20 >> I have since revised this to just call the autoload function directly, >> no longer passing any arguments, and had to modify my enlign package >> to respect the EMACSLOADPATH variable. This is only possible if all of >> the packages are passed as propagated-inputs though, which is less >> than desirable in my opinion (though I am willing to be convinced.) >=20 > Is your package an Emacs library/package? If so, just defining the=20 > other > Elisp dependencies of this package as propagated inputs would be the > correct solution. >=20 > For other cases (I can't think of how that would work exactly), perhaps > wrapping the package's script with the computed EMACSLOADPATH > environment variable could do? >=20 >> This additionally leads to having to require emacs as a propagated >> input as well, as leading it native or regular input leads to an error >> with emacs not recognizing simple.el or mule-util. >=20 > Do you mean, that your package somehow uses Emacs without having Emacs > installed in the profile (not being propagated)? If this is the case, > wrapping your program with EMACSLOADPATH (and patching its reference to > Emacs) should work, without having to propagate anything. >=20 >> Overall, I am not sure if I like the recent change to guix-emacs.el. I >> understand where the incentive is to do this, but ultimately it seems >> to lead to more headache when creating packages around emacs. >>=20 >> https://git.sr.ht/~brettgilio/cfg/commit/47bc9ae544ba10c0cacef1435625dcb= 0114e8cf5 >>=20 >> Anyways, >>=20 >> If there is no other comment, this issue really just needs to fix >> emacs-pdf-tools and other affected packages from the recent string of >> changes. >=20 > I'm sorry you've had some problems with this recent change! Thanks for > bringing them out. Please do continue, I'm interested to know about=20 > any > remaining issues you might find. >=20 > Maxim Thank you for your work Maxim, I think most of them are resolved now. I=20 do wonder about what prompted the change, though. Perhaps you might=20 share? Brett From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 19 16:29:17 2019 Received: (at submit) by debbugs.gnu.org; 19 Nov 2019 21:29:17 +0000 Received: from localhost ([127.0.0.1]:48638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXB3l-0001TJ-1b for submit@debbugs.gnu.org; Tue, 19 Nov 2019 16:29:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:38413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXB3j-0001TC-9s for submit@debbugs.gnu.org; Tue, 19 Nov 2019 16:29:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59593) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXB3i-0006gf-2m for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:29:15 -0500 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,FREEMAIL_FROM, 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 1iXB3h-0000Qr-3k for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:29:14 -0500 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:38846) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXB3c-0000M9-Uu; Tue, 19 Nov 2019 16:29:10 -0500 Received: by mail-qt1-x836.google.com with SMTP id p20so26407246qtq.5; Tue, 19 Nov 2019 13:29:07 -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=RnrdMedtAL73YTmO/Pe3mU/9TVhGKYCRzuGunBSZVLs=; b=QYkGMoiSq/SJe/wVk28vN9Rp8dzgYb1nF7HVdc8VqHN9Xe3Jtg2R+YEKtEzDhT0OS6 yAwhfY0kUb4HqUX2XUP2HAdbleZ9+wl0aSYGSoEfGNA4Wfu4oJF3DSzkoL9kocH/ZsNT 68mXRGD8yF9AY0D4H0K93Lp1ao7Kd8rfRwElJsRKqK/QVWiJ0N+xN5OjZCFVVHfucm2B qh0dz/bzkkDIwfJ3jcf/MeMp6MGwWXwczDfvKjyCKIIINpQGhj55K/bEccVrEnQRElxP dUNTe3fsDzdDXGbmbLbM2qjmq1HoC8jJZv8+Y35Z5MXUUwMkAT25ApAR2xXOG7gTQegc IpzA== 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=RnrdMedtAL73YTmO/Pe3mU/9TVhGKYCRzuGunBSZVLs=; b=Oig5HZLo90iieaknlqQQGU1O1+4PM1qeypYm9xqLpHPXmqFjJ4PNH8hYalxygJWHSt 1BTgUWLKy7WsQaeTcie2fwsACgWESU43+2LrpYeGH9nOkwo4py6HY8Z8SoAqwXIFYXN8 Ls0hX70Y8tv2251FBPOJrn9IwGxnlInh8USTsIfnOJxJfcjjPsrGFsgXbvY/YozB1X5n NdvNk5DHBAALpWYSZhs1iS/6eKZV3VvkQHWu9jwR134MjD4ektQvMtiDJ+wft3LhGB+F WGzxFSeedu2PkhKqBxZHZS5pruiJux4FieRSLGy6BfWuCb+VTznqN55AWNExYmgL891C 85Aw== X-Gm-Message-State: APjAAAXCH5F7ZnPhRcPt+X8dS6fVbKPkPImVuq2s2FieVANJV0BPuh4a Krdbi9hiwBJpkrZBwsu2M2UGgsf1 X-Google-Smtp-Source: APXvYqyat8ED4E/BW+F/VtQ1b6YJH5VOePqksgGEKRf8jGdUHl+8+3/CN3Hvy4OwzYFHHRfPFMyLWA== X-Received: by 2002:aed:3b6c:: with SMTP id q41mr34821524qte.11.1574198946535; Tue, 19 Nov 2019 13:29:06 -0800 (PST) Received: from x200 ([75.98.135.194]) by smtp.gmail.com with ESMTPSA id l124sm10935866qkf.122.2019.11.19.13.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Nov 2019 13:29:06 -0800 (PST) From: Maxim Cournoyer To: brettg@posteo.net Subject: Re: bug#38261: Recent changes to emacs build system References: <848bb376e0d6e171347afe53ce79bd96@posteo.net> <421db4d1a206488fa1883e40666846c5@posteo.net> <805ec3dde9328f427bc34126c36735d3@posteo.net> <70112f45226b44a1234a4d41aa7ac610@posteo.net> <26711cb3bba8555dea8ac4e9f8220726@posteo.net> <57dee66c6531e9c8afbc5a22518d9917@posteo.net> <87ftijwou1.fsf@gmail.com> Date: Wed, 20 Nov 2019 06:29:05 +0900 In-Reply-To: (brettg@posteo.net's message of "Tue, 19 Nov 2019 22:16:43 +0100") Message-ID: <874kyzwo66.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-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::836 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus , bug-Guix , Bug guix 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 (--) brettg@posteo.net writes: [...] > Thank you for your work Maxim, I think most of them are resolved > now. I do wonder about what prompted the change, though. Perhaps you > might share? > > Brett The main motivation was to gain the ability to install Emacs in a given profile and have it use the Elisp libraries installed in said profile (and only from that profile). Using a search path specification is the native Guix mechanism to find libraries for systems that mostly rely on the FHS and means it work consistently across profiles, environments, or other features supported by Guix. There was a discussion here about this change and some feedback in the two weeks it was published preceding its merge: https://lists.gnu.org/archive/html/help-guix/2019-11/msg00000.html. HTH! Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 19 16:32:43 2019 Received: (at submit) by debbugs.gnu.org; 19 Nov 2019 21:32:43 +0000 Received: from localhost ([127.0.0.1]:48645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXB74-0001a9-Ib for submit@debbugs.gnu.org; Tue, 19 Nov 2019 16:32:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:50116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXB72-0001Zw-RY for submit@debbugs.gnu.org; Tue, 19 Nov 2019 16:32:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60084) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXB71-0007LZ-49 for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:32:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,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 1iXB6y-0002Sn-St for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:32:38 -0500 Received: from mout01.posteo.de ([185.67.36.65]:50548) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iXB6v-0002Op-Bb for Bug-guix@gnu.org; Tue, 19 Nov 2019 16:32:36 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 09941160063 for ; Tue, 19 Nov 2019 22:32:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1574199151; bh=tsRHBL38fj5v8gYOZgZMujjz9nhrsh6POYL77e0bgg8=; h=Date:From:To:Cc:Subject:From; b=WbYS/hlaDFJWS3vWFQGCd28FzXS9PgtABRhEr/5yv4oMojDE4g6DZ+loBXUyBZUr6 nHYSt5h5t0UekItPQRjLICeXXL5pxDk28pJ6enF4HgMf4whw6iWA1P/WiCaNu9hBDx 35GZwKqP6wiupr9XIktJmNtvzjz7vSV2khEwLkTEIo3QslJWWRWE9jyw4oi/nB/Lle o+FKccycij7KpsYQOOPsIgImXugPdrQeBkSvCYcZywwIvEXwy4ztQ5e3x6LGdnHRyG oXtTXovvCtG5lDhM4eWiRSjEggmhEvvloe81Nx6sID521l7C2gjk+JOvGhEF+FDmpF YHiQljNk0oaew== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47HfDY6xNvz6tmD; Tue, 19 Nov 2019 22:32:29 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 19 Nov 2019 22:32:29 +0100 From: brettg@posteo.net To: Maxim Cournoyer Subject: Re: bug#38261: Recent changes to emacs build system In-Reply-To: <874kyzwo66.fsf@gmail.com> References: <848bb376e0d6e171347afe53ce79bd96@posteo.net> <421db4d1a206488fa1883e40666846c5@posteo.net> <805ec3dde9328f427bc34126c36735d3@posteo.net> <70112f45226b44a1234a4d41aa7ac610@posteo.net> <26711cb3bba8555dea8ac4e9f8220726@posteo.net> <57dee66c6531e9c8afbc5a22518d9917@posteo.net> <87ftijwou1.fsf@gmail.com> <874kyzwo66.fsf@gmail.com> Message-ID: <3bb8ddae57a7890e08438eda424bad34@posteo.net> X-Sender: brettg@posteo.net User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus , bug-Guix , Bug guix 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 (--) On 19.11.2019 22:29, Maxim Cournoyer wrote: > brettg@posteo.net writes: > > [...] > >> Thank you for your work Maxim, I think most of them are resolved >> now. I do wonder about what prompted the change, though. Perhaps you >> might share? >> >> Brett > > The main motivation was to gain the ability to install Emacs in a given > profile and have it use the Elisp libraries installed in said profile > (and only from that profile). Using a search path specification is the > native Guix mechanism to find libraries for systems that mostly rely on > the FHS and means it work consistently across profiles, environments, > or > other features supported by Guix. > > There was a discussion here about this change and some feedback in the > two weeks it was published preceding its merge: > https://lists.gnu.org/archive/html/help-guix/2019-11/msg00000.html. > > HTH! > > Maxim Maxim, indeed it does! I guess I was out of the loop on that conversation and it just took me by surprise! Thanks for your efforts. Best, Brett From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 28 00:21:51 2019 Received: (at control) by debbugs.gnu.org; 28 Nov 2019 05:21:51 +0000 Received: from localhost ([127.0.0.1]:56506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaCFT-0004Z8-CH for submit@debbugs.gnu.org; Thu, 28 Nov 2019 00:21:51 -0500 Received: from mail-qt1-f178.google.com ([209.85.160.178]:38786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaCFR-0004Yv-TQ for control@debbugs.gnu.org; Thu, 28 Nov 2019 00:21:50 -0500 Received: by mail-qt1-f178.google.com with SMTP id 14so27911735qtf.5 for ; Wed, 27 Nov 2019 21:21:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:from:subject; bh=f2bnQfY04ckbbTBSzZo6RsvlSgaWX7vC4ymUIJwacRw=; b=pGQ8vkQmEFXwDlqncUysK6RGJWu5BjrYOs43YLj9cAvd534KUe8vCS5j3oN10UjeAG d9iOxeQcKnzTagWYZX+gRYCh86MirCUTgxxpCpYVgZo0hElmYSI/mGw/s3EzeYqNkQN0 vqFNhwutCoquaPxS/IBpOZCN6RQZ3UsdO6g6IexVyIlvqqjE5asp0EBbH+5JmgREIx6A IMGZeEk5LjnoUyd+mpsD0uv0kAEArXHGi+/zO8L5sffADvy6+ghUvrlLPaQozCwWZm0A jYATKXD/ipSWsIGGcxcU92Ru5B5zdbwDI2BIVA1dVoPr3aaWN7WHO+veSSrsa+bcH2Du +/tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:from:subject; bh=f2bnQfY04ckbbTBSzZo6RsvlSgaWX7vC4ymUIJwacRw=; b=HsdCfsB/nOB+tlHivoxGtbECkRuqkWib8g9poNXkmgbbsKM+IsoqX30BpzPUF+ylPo jXj/9KJN5wz6xXYnXoTxDWHv3JP8BkKflpbRKz3C1dzwigyWl0f6UhlW7ii1X0Wec3Co 1IcjftJiNBmdCopD+b2sjCc3qalqLLpYv+dqCZrUjnL2VSknxmxz3UtNAerlq3iuJuNp 6/X2tLocIXxOIUSgGFBiUKjyU0AIFofdxkz3iy6kf8EIPTjj59tPGT5CykGC5NwkDkUi yDpAVrnRdrlJT2/8ja6nc4ory2H6Kk/3d2EkKOzl1m1Y5fHmOFyzPsWH71gv4W6nzpeQ cuJg== X-Gm-Message-State: APjAAAWWP6loa9nqxQTuB+5u06wBnEXUNAZVM9llfWc+H7H1avn64vKT MsynIIr8LxB/tqrHxBgDfeqbmMfx X-Google-Smtp-Source: APXvYqzVjCmlRXAJSVGoXKyCvrHBPAZNObNN4fucxk4F/hjieVHbebztf57mm/GITEhvxDen+0KUNQ== X-Received: by 2002:ac8:4901:: with SMTP id e1mr32897418qtq.280.1574918503370; Wed, 27 Nov 2019 21:21:43 -0800 (PST) Received: from x200 ([206.55.91.146]) by smtp.gmail.com with ESMTPSA id c37sm9175273qta.56.2019.11.27.21.21.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2019 21:21:42 -0800 (PST) Date: Thu, 28 Nov 2019 14:21:41 +0900 Message-Id: <877e3ktw2i.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #38261 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) tags 38261 fixed close 38261 quit From unknown Fri Aug 15 15:36:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 26 Dec 2019 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator