error: java-eclipse-aether-Api: unbound variable

  • Done
  • quality assurance status badge
Details
3 participants
  • Josselin Poiret
  • Julien Lepiller
  • Matthew James Kraai
Owner
unassigned
Submitted by
Matthew James Kraai
Severity
normal
M
M
Matthew James Kraai wrote on 21 Mar 2023 14:51
(address . bug-guix@gnu.org)
ZBm2SLCPeltuXG1F@carlo
Hi,

When I run `guix pull`, it displays the following output:

```
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 38b64d4 (48 new commits)...
Building from this channel:
substitute: updating substitutes from 'https://substitutes.nonguix.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
building /gnu/store/qmaxdq9qd8nnyig9qs55bv5ddbqss7d3-compute-guix-derivation.drv...
Computing Guix derivation for 'x86_64-linux'... |Backtrace:
In ice-9/boot-9.scm:
222:29 19 (map1 (((gnu packages java-compression)) ((gnu packages java-xml)) ((gnu packages libffi)) ((gnu # ?)) ?))
222:29 18 (map1 (((gnu packages java-xml)) ((gnu packages libffi)) ((gnu packages linux)) ((gnu packages #)) (#) ?))
222:29 17 (map1 (((gnu packages libffi)) ((gnu packages linux)) ((gnu packages maths)) ((gnu packages maven)) # ?))
222:29 16 (map1 (((gnu packages linux)) ((gnu packages maths)) ((gnu packages maven)) ((gnu packages #)) ((# ?)) ?))
222:29 15 (map1 (((gnu packages maths)) ((gnu packages maven)) ((gnu packages maven-parent-pom)) ((gnu # #)) (#) ?))
222:17 14 (map1 (((gnu packages maven)) ((gnu packages maven-parent-pom)) ((gnu packages ncurses)) ((gnu # #)) # ?))
3326:17 13 (resolve-interface (gnu packages maven) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In ice-9/threads.scm:
390:8 12 (_ _)
In ice-9/boot-9.scm:
3252:13 11 (_)
In ice-9/threads.scm:
390:8 10 (_ _)
In ice-9/boot-9.scm:
3536:20 9 (_)
2835:4 8 (save-module-excursion #<procedure 7ff1f8b574e0 at ice-9/boot-9.scm:3537:21 ()>)
3556:26 7 (_)
In unknown file:
6 (primitive-load-path "gnu/packages/maven" #<procedure 7ff1f4d886e0 at ice-9/boot-9.scm:3543:37 ()>)
In ice-9/eval.scm:
619:8 5 (_ #f)
626:19 4 (_ #<directory (gnu packages maven) 7ff1f888ae60>)
173:55 3 (_ #(#(#(#(#(#<directory (gnu packages maven) 7ff1f888ae60> "java-eclipse-aether-test-util") #) #) #) #))
159:9 2 (_ #(#(#(#(#(#<directory (gnu packages maven) 7ff1f888ae60> "java-eclipse-aether-test-util") #) #) #) #))
223:20 1 (proc #(#(#(#(#(#<directory (gnu packages maven) 7ff1f888ae60> "java-eclipse-aether-test-?") #) #) #) #))
In unknown file:
0 (%resolve-variable (7 . java-eclipse-aether-Api) #<directory (gnu packages maven) 7ff1f888ae60>)

ERROR: In procedure %resolve-variable:
error: java-eclipse-aether-Api: unbound variable
guix pull: error: You found a bug: the program '/gnu/store/3ibvvz7wnwxsayssdyb1rbyagx3zd9wh-compute-guix-derivation'
failed to compute the derivation for Guix (version: "38b64d47ed3dfaeb63b859e7a8834e477ffed3a1"; system: "x86_64-linux";
host version: "4f4e4abd3ac3552cbf8596a50b5dade8d111571f"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.
```

This has been happening for some days. Is there a way to resolve this?

--
Matt
J
J
Julien Lepiller wrote on 21 Mar 2023 18:03
E6A2C689-1889-4BA6-9D0B-A879E779CBF2@lepiller.eu
How weird, I don't see it spelled like that in the repository (latest master). I don't see any recent change in the file either.

Maybe there's an issue with your local checkout.
Guix has a checkout of the repository in one of the directories of ~/.cache/guix/checkouts. You should be able to locate it from its contents. What's the output of "git status" and "git diff"?

If there's tome change, you could try "git checkout ." to reset the repo to its original state.

Le 21 mars 2023 14:51:04 GMT+01:00, Matthew James Kraai <kraai@ftbfs.org> a écrit :
Toggle quote (53 lines)
>Hi,
>
>When I run `guix pull`, it displays the following output:
>
>```
>Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
>Authenticating channel 'guix', commits 9edb3f6 to 38b64d4 (48 new commits)...
>Building from this channel:
> guix https://git.savannah.gnu.org/git/guix.git 38b64d4
>substitute: updating substitutes from 'https://substitutes.nonguix.org'... 100.0%
>substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
>substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
>building /gnu/store/qmaxdq9qd8nnyig9qs55bv5ddbqss7d3-compute-guix-derivation.drv...
>Computing Guix derivation for 'x86_64-linux'... |Backtrace:
>In ice-9/boot-9.scm:
> 222:29 19 (map1 (((gnu packages java-compression)) ((gnu packages java-xml)) ((gnu packages libffi)) ((gnu # ?)) ?))
> 222:29 18 (map1 (((gnu packages java-xml)) ((gnu packages libffi)) ((gnu packages linux)) ((gnu packages #)) (#) ?))
> 222:29 17 (map1 (((gnu packages libffi)) ((gnu packages linux)) ((gnu packages maths)) ((gnu packages maven)) # ?))
> 222:29 16 (map1 (((gnu packages linux)) ((gnu packages maths)) ((gnu packages maven)) ((gnu packages #)) ((# ?)) ?))
> 222:29 15 (map1 (((gnu packages maths)) ((gnu packages maven)) ((gnu packages maven-parent-pom)) ((gnu # #)) (#) ?))
> 222:17 14 (map1 (((gnu packages maven)) ((gnu packages maven-parent-pom)) ((gnu packages ncurses)) ((gnu # #)) # ?))
> 3326:17 13 (resolve-interface (gnu packages maven) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
>In ice-9/threads.scm:
> 390:8 12 (_ _)
>In ice-9/boot-9.scm:
> 3252:13 11 (_)
>In ice-9/threads.scm:
> 390:8 10 (_ _)
>In ice-9/boot-9.scm:
> 3536:20 9 (_)
> 2835:4 8 (save-module-excursion #<procedure 7ff1f8b574e0 at ice-9/boot-9.scm:3537:21 ()>)
> 3556:26 7 (_)
>In unknown file:
> 6 (primitive-load-path "gnu/packages/maven" #<procedure 7ff1f4d886e0 at ice-9/boot-9.scm:3543:37 ()>)
>In ice-9/eval.scm:
> 619:8 5 (_ #f)
> 626:19 4 (_ #<directory (gnu packages maven) 7ff1f888ae60>)
> 173:55 3 (_ #(#(#(#(#(#<directory (gnu packages maven) 7ff1f888ae60> "java-eclipse-aether-test-util") #) #) #) #))
> 159:9 2 (_ #(#(#(#(#(#<directory (gnu packages maven) 7ff1f888ae60> "java-eclipse-aether-test-util") #) #) #) #))
> 223:20 1 (proc #(#(#(#(#(#<directory (gnu packages maven) 7ff1f888ae60> "java-eclipse-aether-test-?") #) #) #) #))
>In unknown file:
> 0 (%resolve-variable (7 . java-eclipse-aether-Api) #<directory (gnu packages maven) 7ff1f888ae60>)
>
>ERROR: In procedure %resolve-variable:
>error: java-eclipse-aether-Api: unbound variable
>guix pull: error: You found a bug: the program '/gnu/store/3ibvvz7wnwxsayssdyb1rbyagx3zd9wh-compute-guix-derivation'
>failed to compute the derivation for Guix (version: "38b64d47ed3dfaeb63b859e7a8834e477ffed3a1"; system: "x86_64-linux";
>host version: "4f4e4abd3ac3552cbf8596a50b5dade8d111571f"; pull-version: 1).
>Please report the COMPLETE output above by email to <bug-guix@gnu.org>.
>```
>
>This has been happening for some days. Is there a way to resolve this?
>
J
J
Josselin Poiret wrote on 21 Mar 2023 19:54
87sfdyq6jn.fsf@jpoiret.xyz
Hi everyone,

Julien Lepiller <julien@lepiller.eu> writes:

Toggle quote (7 lines)
> How weird, I don't see it spelled like that in the repository (latest master). I don't see any recent change in the file either.
>
> Maybe there's an issue with your local checkout.
> Guix has a checkout of the repository in one of the directories of ~/.cache/guix/checkouts. You should be able to locate it from its contents. What's the output of "git status" and "git diff"?
>
> If there's tome change, you could try "git checkout ." to reset the repo to its original state.

A stronger `git clean -dfv .` might be necessary to remove any stray
files as well.

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQZ/VwQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaiuQKC/9j7tvs7y8+d53u8ux3izG+uzKO5oA8gJ1r
0fWkISEyokGufuaFFzaqTWuwj46tFSNkaaRstARWiRi6p/zVLJzl/5uyE31u0o7x
VVARg0lDkV8Q2SYEtAfAe+EBPi1zaaTlvos7t6reyTP3uHjPBOBwviYPHqxao0DO
hZHT+L1i5s5Vi3Akps6ndcqe7YTBQpq1pasFAnsGKbIlIyLACdmjBjS9383SULp0
IKHwiC+x5cPeBkBcNjo0ji4x44BAHdB/DwCTr+IYxyzLjEpUY6zosTBqfeCjrTuT
hYX9s4J3ar4IriI/jJdzmVMo8v2JcUAET5lub96EAGTsB1kyJ27kDdHlnCSSdk0F
AccjwRkIMqPC8BsHOhOfsF1p8YZkjRz4RuNjLZpbeyFtP3BpTljoFf4zt8EwDM7A
a+/c6PmyC/BKF1R7Fq+r6jEtZCl2hDWl60N0WOinmDy5Qq+jijn+hWrhmnG9Dw1k
qhXSQHNkJlx7oZTmu9j3IaZDkTuWb/o=
=yIsi
-----END PGP SIGNATURE-----

M
M
Matthew James Kraai wrote on 22 Mar 2023 13:19
(name . Josselin Poiret)(address . dev@jpoiret.xyz)
ZBryT2wBeYXb9aVE@carlo
Hi,

On Tue, Mar 21, 2023 at 07:54:20PM +0100, Josselin Poiret wrote:
Toggle quote (12 lines)
> Julien Lepiller <julien@lepiller.eu> writes:
>
> > How weird, I don't see it spelled like that in the repository (latest master). I don't see any recent change in the file either.
> >
> > Maybe there's an issue with your local checkout.
> > Guix has a checkout of the repository in one of the directories of ~/.cache/guix/checkouts. You should be able to locate it from its contents. What's the output of "git status" and "git diff"?
> >
> > If there's tome change, you could try "git checkout ." to reset the repo to its original state.
>
> A stronger `git clean -dfv .` might be necessary to remove any stray
> files as well.

Thank you both for the suggestions. The Guix checkout on my system is

~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq

`git status` output

```
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
```

`git diff` didn't output anything.

`git clean -dfv .` said that `error: unknown switch `v'`, but after I
ran `git clean -dfx .`, `guix pull` succeeded!

--
Matt
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 62332@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 62332
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch