From mboxrd@z Thu Jan 1 00:00:00 1970 From: brettg@posteo.net Subject: bug#38261: Recent changes to emacs build system Date: Mon, 18 Nov 2019 21:28:52 +0100 Message-ID: <848bb376e0d6e171347afe53ce79bd96@posteo.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56799) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWneu-0003U1-43 for bug-guix@gnu.org; Mon, 18 Nov 2019 15:30:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWnes-0002H1-Ne for bug-guix@gnu.org; Mon, 18 Nov 2019 15:30:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37491) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWnes-0002GD-Ip for bug-guix@gnu.org; Mon, 18 Nov 2019 15:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWnes-0003Ft-E9 for bug-guix@gnu.org; Mon, 18 Nov 2019 15:30:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: 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 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) In-Reply-To: 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: Bug guix Cc: bug-Guix 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.