GNU bug report logs - #58078
[PATCH 0/2] Fix two emacs packages with native compilation.

Previous Next

Package: guix-patches;

Reported by: John Kehayias <john.kehayias <at> protonmail.com>

Date: Sun, 25 Sep 2022 16:27:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58078 in the body.
You can then email your comments to 58078 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58078; Package guix-patches. (Sun, 25 Sep 2022 16:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Kehayias <john.kehayias <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 25 Sep 2022 16:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Guix-patches <guix-patches <at> gnu.org>
Subject: [PATCH 0/2] Fix two emacs packages with native compilation.
Date: Sun, 25 Sep 2022 16:25:56 +0000
Hi,

I noticed that emacs-pdf-tools was failing if trying to native compile at build with --with-input=emacs-minimal=emacs as noted in the recent native compilation news. The error was just an exit status of 255, but I diagnosed by running the given compilation command in emacs to find the problem. The culprit is missing the phase that adds the install directory to the native load path (where emacs will try to write the compiled files) for this package as it manually pulls in the emacs build phases. Simply adding this missing phase (new with native compilation) fixes the problem.

While I was at it, I checked for any other packages with a similar problem, with a quick search through emacs-xyz. I found only emacs-libgit and fixed it similarly. I may have missed others or in other modules, but pdf-tools was the only one so far from my emacs packages.

I checked that both packages build normally and with native compilation, and checked that those that depend on emacs-libgit built fine too.

Thanks!
John





Information forwarded to guix-patches <at> gnu.org:
bug#58078; Package guix-patches. (Sun, 25 Sep 2022 16:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 58078 <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: 58078 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: emacs-pdf-tools: Fix build with native compilation.
Date: Sun, 25 Sep 2022 16:28:39 +0000
[Message part 1 (text/plain, inline)]
Empty Message
[0001-gnu-emacs-pdf-tools-Fix-build-with-native-compilatio.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#58078; Package guix-patches. (Sun, 25 Sep 2022 16:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 58078 <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: 58078 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: emacs-libgit: Fix build with native compilation.
Date: Sun, 25 Sep 2022 16:29:27 +0000
[Message part 1 (text/plain, inline)]
Empty Message
[0002-gnu-emacs-libgit-Fix-build-with-native-compilation.patch (text/x-patch, attachment)]

Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sun, 25 Sep 2022 17:31:02 GMT) Full text and rfc822 format available.

Notification sent to John Kehayias <john.kehayias <at> protonmail.com>:
bug acknowledged by developer. (Sun, 25 Sep 2022 17:31:02 GMT) Full text and rfc822 format available.

Message #16 received at 58078-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: John Kehayias <john.kehayias <at> protonmail.com>, 58078-done <at> debbugs.gnu.org
Subject: Re: [PATCH 2/2] gnu: emacs-libgit: Fix build with native compilation.
Date: Sun, 25 Sep 2022 19:30:19 +0200
Pushed both to master.

Thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Oct 2022 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.