Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881183 - app-emacs/ebuild-run-mode: Debugger entered--Lisp error: (native-compiler-error (lambda (arg0 &rest arg1) (let ((f #'message)) (apply f arg0 arg1))) "Compiling /var/tmp/portage/app-emacs/ebuild-run-mo...")
Summary: app-emacs/ebuild-run-mode: Debugger entered--Lisp error: (native-compiler-err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2022-11-13 13:09 UTC by Pascal Jäger
Modified: 2022-11-16 04:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (ebuild-run-mode-emerge-info,9.08 KB, text/plain)
2022-11-13 13:09 UTC, Pascal Jäger
Details
emerge -pqv (emerg-pqv-ebuild-run-mode,112 bytes, text/plain)
2022-11-13 13:10 UTC, Pascal Jäger
Details
build.log (ebuild-run-mode-buildlog,4.34 KB, application/octet-stream)
2022-11-13 13:11 UTC, Pascal Jäger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Jäger 2022-11-13 13:09:03 UTC
Created attachment 832217 [details]
emerge info

Can not emerge ebuild-run-mode, I guess due to native compilation.
Comment 1 Pascal Jäger 2022-11-13 13:10:00 UTC
Created attachment 832219 [details]
emerge -pqv
Comment 2 Pascal Jäger 2022-11-13 13:11:14 UTC
Created attachment 832221 [details]
build.log
Comment 3 Ulrich Müller gentoo-dev 2022-11-15 09:47:52 UTC
Also report this upstream, please.
Comment 4 akater 2022-11-15 10:01:01 UTC
Native compirer does indeed behave strangely.  I wasn't able to disable it when it's not needed.  I'll push the workaround soon.

Didn't do it in advance because I hoped to find a more civilized soluhion before someone takes interest in thi package.
Comment 5 Pascal Jäger 2022-11-15 18:47:25 UTC
Well I just wanted to test it out. Your documentation is a bit sparse, but what this does is running ebuilds from emacs and going to the failure in /var/temp/portage… directly if the is one, right?

I actually was thinking about improving making ebuilds in emacs. For example having kind of a pkgcommit in magit would be cool, also making some keybindings for common shell commands like pkgdev manifest etc.

I was hoping to learn a bit more elisp with that. I am kind of a noob.
Comment 6 akater 2022-11-16 03:10:58 UTC
Pushed tag v20221116; it's merely a version bump for the ebuild.  The old version can be dropped.
Build succeeds on my Emacs 29 with native compilation enabled.

Pascal,

> Your documentation is a bit sparse, but what this does is running ebuilds from emacs and going to the failure in /var/temp/portage… directly if the is one, right?

“Running ebuilds from Emacs” is done by ebuild-mode; ebuild-run-mode fixes goto-error in corresponding buffers and makes minor visual improvements, such as some highlighting which indicates success or failure.

> I actually was thinking about improving making ebuilds in emacs. For example having kind of a pkgcommit in magit would be cool, also making some keybindings for common shell commands like pkgdev manifest etc.

We better talk about this somewhere else but I'm interested in that too and I did some work on this.  You may be interested in my packages
- ebuild-tools https://gitlab.com/akater/emacs-ebuild-tools/-/blob/master/ebuild-tools.org
- portage https://gitlab.com/akater/emacs-portage/
- magentoo https://framagit.org/akater/emacs-magentoo/-/blob/master/magentoo.org

They are available in my ebuild repository: eselect repository enable akater — however, emacs[jit] will choke again, and I'm not going for workarounds here.  It may end up being fixed in the coming weeks, though.

The way I write and package Elisp is non-conventional so I'm not submitting these packages to the main tree.

I don't know about pkgcommit and pkgdev and I'm interested in your suggestions.  Please use email, or visit Matrix room #emacs:matrix.org , or Telegram group @emacs_en . Emacs community is very active.
Comment 7 Ulrich Müller gentoo-dev 2022-11-16 04:10:31 UTC
(In reply to akater from comment #6)
> Pushed tag v20221116; it's merely a version bump for the ebuild.  The old
> version can be dropped.
> Build succeeds on my Emacs 29 with native compilation enabled.

Thanks, I'll do the version bump soon.

I have added bug 881449 for supporting pkgdev and pkgcheck commands.
Comment 8 Larry the Git Cow gentoo-dev 2022-11-16 04:14:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68bb343439c653e32631b3829f38323be4e501bf

commit 68bb343439c653e32631b3829f38323be4e501bf
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-11-16 04:10:46 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-11-16 04:12:22 +0000

    app-emacs/ebuild-run-mode: add 20221116
    
    Closes: https://bugs.gentoo.org/881183
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-emacs/ebuild-run-mode/Manifest                 |  1 +
 .../ebuild-run-mode-20221116.ebuild                | 26 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)