GNU bug report logs -
#79129
[PATCH] build-system: emacs: Fix getting package dependencies.
Previous Next
To reply to this bug, email your comments to 79129 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#79129
; Package
guix-patches
.
(Wed, 30 Jul 2025 15:31:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ilya Chernyshov <ichernyshovvv <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 30 Jul 2025 15:31:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi. `ensure-package-description' procedure from emacs-build-system.scm
contains an undefined elisp function `package--prepare-dependencies'. It
was replaced with `lm--prepare-package-dependencies' after 29.1 release.
You can see the changes here:
https://cgit.git.savannah.gnu.org/cgit/emacs.git/commit/?id=bb5399e3cd75450db6db9b3c5829f7bd87ca1308
[Message part 2 (text/html, inline)]
[0001-build-system-emacs-Fix-getting-package-dependencies.patch (text/x-patch, attachment)]
Reply sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
You have taken responsibility.
(Thu, 31 Jul 2025 15:42:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ilya Chernyshov <ichernyshovvv <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 31 Jul 2025 15:42:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 79129-done <at> debbugs.gnu.org (full text, mbox):
I think this is already fixed on the emacs-team branch:
https://codeberg.org/guix/guix/commit/b87a7905495d2d3fe88af76fa45bd18837f40524
The issue is that indeed we probably need to do something to get it
merged quicker, because it's fixes rather than updates.
@Enge could we for instance drop the reproducibility patch on
emacs-team (which I can build locally without issues, but CI doesn't
seem to like it too much), and take precedence over "update" branches.
I feel it's very bad for user experience to have those errors hanging,
and emacs packages are mostly light and not that numerous, so it
shouldn't be too high of a cost on CI. I don't support selfishness of
one team, but we'll keep having these reports until we fix what's
broken.
Errors are : #603 ; #736 ; #1309 ; #997 ;
And most likely too : #993 ; #836 ; #1035 ;
@lilyp, WDYT?
Best regards,
Nicolas
On 2025-07-30 15:30, Ilya Chernyshov wrote:
> Hi. `ensure-package-description' procedure from emacs-build-system.scm
> contains an undefined elisp function `package--prepare-dependencies'. It
> was replaced with `lm--prepare-package-dependencies' after 29.1 release.
> You can see the changes here:
> https://cgit.git.savannah.gnu.org/cgit/emacs.git/commit/?id=bb5399e3cd75450db6db9b3c5829f7bd87ca1308
> From 91d5af8e8883a15601f2a6c1e7c21fba704d1cef Mon Sep 17 00:00:00 2001
> From: Ilya Chernyshov <ichernyshovvv <at> gmail.com>
> Date: Wed, 30 Jul 2025 19:45:32 +0500
> Subject: [PATCH] build-system: emacs: Fix getting package dependencies.
>
> * guix/build/emacs-build-system (ensure-package-description): Use
> lm-package-requires to get package dependencies.
> ---
> guix/build/emacs-build-system.scm | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm
> index ffa6d3cbb0..b7f31c7fee 100644
> --- a/guix/build/emacs-build-system.scm
> +++ b/guix/build/emacs-build-system.scm
> @@ -193,11 +193,7 @@ (define %write-pkg-file-form
> (and (re-search-forward ,summary-regexp nil t)
> (match-string-no-properties 1)))
> package--default-summary)
> - (let ((require-lines (lm-header-multiline "package-requires")))
> - (and require-lines
> - (package--prepare-dependencies
> - (package-read-from-string
> - (mapconcat 'identity require-lines " ")))))
> + (lm-package-requires)
> :kind 'single
> :url (lm-homepage)
> :keywords (lm-keywords-list)
--
Best regards,
Nicolas Graves
Information forwarded
to
guix-patches <at> gnu.org
:
bug#79129
; Package
guix-patches
.
(Fri, 01 Aug 2025 15:35:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 79129 <at> debbugs.gnu.org (full text, mbox):
Hello,
Am Thu, Jul 31, 2025 at 05:41:04PM +0200 schrieb Nicolas Graves:
> @Enge could we for instance drop the reproducibility patch on
> emacs-team (which I can build locally without issues, but CI doesn't
> seem to like it too much), and take precedence over "update" branches.
> I feel it's very bad for user experience to have those errors hanging,
> and emacs packages are mostly light and not that numerous, so it
> shouldn't be too high of a cost on CI.
one solution would be to somehow extract fixes out of the emacs-team
branch and to apply them to master. I do not know whether this is
possible depending on the scope of the changes.
Andreas
Information forwarded
to
guix-patches <at> gnu.org
:
bug#79129
; Package
guix-patches
.
(Mon, 04 Aug 2025 06:35:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 79129 <at> debbugs.gnu.org (full text, mbox):
On 2025-08-01 17:34, Andreas Enge wrote:
> Hello,
>
> Am Thu, Jul 31, 2025 at 05:41:04PM +0200 schrieb Nicolas Graves:
>> @Enge could we for instance drop the reproducibility patch on
>> emacs-team (which I can build locally without issues, but CI doesn't
>> seem to like it too much), and take precedence over "update" branches.
>> I feel it's very bad for user experience to have those errors hanging,
>> and emacs packages are mostly light and not that numerous, so it
>> shouldn't be too high of a cost on CI.
>
> one solution would be to somehow extract fixes out of the emacs-team
> branch and to apply them to master. I do not know whether this is
> possible depending on the scope of the changes.
There are very little patches, a couple of them only. The scope of
affected packages is: 1673 for emacs-minimal, 38 for emacs-no-x, 98 for
emacs.
The scope is big for a master push, but most of these packages are
light, it has nothing to do with pushing such changes with heavy C/C++
packages.
--
Best regards,
Nicolas Graves
This bug report was last modified 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.