From: Fredrik Salomonsson <plattfot@posteo.net>
To: Maxime Devos <maximedevos@telenet.be>, 55421@debbugs.gnu.org
Subject: [bug#55421] [PATCH 1/1] gnu: Add emacs-bfuture.
Date: Sun, 15 May 2022 19:05:56 +0000 [thread overview]
Message-ID: <874k1qzkdn.fsf@posteo.net> (raw)
In-Reply-To: <b3a4b715e3120e40f842b4e94641ecc0eabf5238.camel@telenet.be>
Maxime Devos <maximedevos@telenet.be> writes:
> Fredrik Salomonsson schreef op za 14-05-2022 om 23:54 [+0000]:
>> + (arguments
>> + `(#:tests? #t
>> + #:test-command '("ert-runner")))
>
> Tests cannot be run when cross-compiling(*), try
>
> (arguments
> (list #:tests? (not (%current-target-system))
> #:test-command #~'("ert-runner")))
>
> instead.
>
> (*) unfortunately emacs-build-system does not support cross-compilation
> yet, so this cannot yet be tested for emacs packages.
>
Got it, thanks.
This is probably some sort of user error. But when I apply that patch
and run:
./pre-inst-env guix build emacs-bfuture
I get the following error:
---8<---------------------------------------------------------------------------
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/8bgw51gsyya5a84bvqj02l6i3g5nk6k1-emacs-bfuture-1.0.1.drv
building /gnu/store/8bgw51gsyya5a84bvqj02l6i3g5nk6k1-emacs-bfuture-1.0.1.drv...
Backtrace:
9 (primitive-load "/gnu/store/scwqnvkmyxiq5v8dlh4wy2132p5?")
In ice-9/eval.scm:
214:21 8 (_ #f)
217:50 7 (lp (#<procedure 7ffff0037480 at ice-9/eval.scm:282:?> ?))
217:50 6 (lp (#<procedure 7ffff0037460 at ice-9/eval.scm:282:?> ?))
217:50 5 (lp (#<procedure 7ffff0037440 at ice-9/eval.scm:282:?> ?))
217:50 4 (lp (#<procedure 7ffff0037420 at ice-9/eval.scm:282:?> ?))
217:33 3 (lp (#<procedure 7ffff0037300 at ice-9/eval.scm:191:?> ?))
191:27 2 (_ #f)
223:20 1 (proc #<directory (guile-user) 7fffeffcfc80>)
In unknown file:
0 (%resolve-variable (7 . gexp) #<directory (guile-user) ?>)
ERROR: In procedure %resolve-variable:
Unbound variable: gexp
builder for `/gnu/store/8bgw51gsyya5a84bvqj02l6i3g5nk6k1-emacs-bfuture-1.0.1.drv' failed with exit code 1
build of /gnu/store/8bgw51gsyya5a84bvqj02l6i3g5nk6k1-emacs-bfuture-1.0.1.drv failed
View build log at '/var/log/guix/drvs/8b/gw51gsyya5a84bvqj02l6i3g5nk6k1-emacs-bfuture-1.0.1.drv.gz'.
guix build: error: build of `/gnu/store/8bgw51gsyya5a84bvqj02l6i3g5nk6k1-emacs-bfuture-1.0.1.drv' failed
--------------------------------------------------------------------------->8---
I'm using the following steps to setup my environment:
guix shell -D guix -- sh -c './bootstrap && ./configure --localstatedir=/var && make -j16'
guix shell -D guix --pure -E LANG
./pre-inst-env guix build emacs-bfuture
This is what guix describe --format=channels outputs:
---8<---------------------------------------------------------------------------
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"ebb43029506d994bee0c2b890881fd61a0b0c202")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))
(channel
(name 'flat)
(url "https://github.com/flatwhatson/guix-channel.git")
(branch "master")
(commit
"094746c1e2e90f2df1e598ab1fd0abb4d75ce84d")
(introduction
(make-channel-introduction
"33f86a4b48205c0dc19d7c036c85393f0766f806"
(openpgp-fingerprint
"736A C00E 1254 378B A982 7AF6 9DBE 8265 81B6 4490"))))
(channel
(name 'plt)
(url "https://git.sr.ht/~plattfot/plt")
(branch "master")
(commit
"926c6155b5dc64daad68e02c4620ff60e9de44bd")))
--------------------------------------------------------------------------->8---
>> + (propagated-inputs `())
>> + (native-inputs (list emacs-ert-runner))
>> + (inputs `())
>
> If there are no inputs or native-inputs, these fields can be ommitted.
>
> (Only a partial review, I did not look at anything else)
>
Thank you for taking the time to review it.
--
s/Fred[re]+i[ck]+/Fredrik/g
next prev parent reply other threads:[~2022-05-15 19:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-14 23:52 [bug#55421] [PATCH 0/1] Add emacs-bfuture Fredrik Salomonsson
2022-05-14 23:54 ` [bug#55421] [PATCH 1/1] gnu: " Fredrik Salomonsson
2022-05-15 8:41 ` Maxime Devos
2022-05-15 19:05 ` Fredrik Salomonsson [this message]
2022-05-15 19:38 ` Maxime Devos
2022-05-15 19:43 ` Fredrik Salomonsson
2022-05-15 19:41 ` [bug#55421] [PATCH v1] " Fredrik Salomonsson
2022-06-01 20:43 ` bug#55421: [PATCH 0/1] " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874k1qzkdn.fsf@posteo.net \
--to=plattfot@posteo.net \
--cc=55421@debbugs.gnu.org \
--cc=maximedevos@telenet.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.