* URISyntaxException building openjdk@10
@ 2023-07-20 15:32 Greg Hogan
2023-07-24 8:17 ` Andreas Enge
0 siblings, 1 reply; 4+ messages in thread
From: Greg Hogan @ 2023-07-20 15:32 UTC (permalink / raw)
To: Guix Help
[-- Attachment #1: Type: text/plain, Size: 2725 bytes --]
Hi Guix,
I have tried everything I could think of but have been unable to build
openjdk@10 since the final core-updates merge. Am simply running `guix
build openjdk` from a recent `guix pull`.
`/tmp` is mounted `tmpfs` but I have also tried keeping tmp on the
root filesystem (AWS Linux 2023 defaults to xfs, have also tried the
same with Amazon Linux 2). Same result with an ARM instance.
Has anyone else come across this issue? Or have any ideas to try?
--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 3 Jul 11 2023 19:36:46 (current)
guix 15f9870
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 15f9870eb36e688fac2af37828971779b6c56916
--8<---------------cut here---------------end--------------->8---
Build log attached. The end of the log file:
--8<---------------cut here---------------start------------->8---
Compiling 4 files for BUILD_JIGSAW_TOOLS
Error occurred during initialization of boot layer
java.lang.AssertionError: java.net.URISyntaxException:
Ill^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@enj^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@e/j^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@management/
Caused by: java.net.URISyntaxException: Illegal character in path at
index 32: file:///tmp/guix-build-openjdk-1^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@6_64-normal-server-release/jdk/modules/jdk.internal.vm.compiler.management/
make[3]: *** [ExplodedImageOptimize.gmk:41:
/tmp/guix-build-openjdk-10.46.drv-0/source/build/linux-x86_64-normal-server-release/jdk/_packages_attribute.done]
Error 1
make[2]: *** [make/Main.gmk:361: exploded-image-optimize] Error 2
ERROR: Build failed for target 'all' in configuration
'linux-x86_64-normal-server-release' (exit code 2)
Stopping sjavac server
No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.
make[1]: *** [/tmp/guix-build-openjdk-10.46.drv-0/source/make/Init.gmk:296:
main] Error 2
make: *** [/tmp/guix-build-openjdk-10.46.drv-0/source/make/Init.gmk:186:
all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("JOBS=2" "all")
exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 1189.8 seconds
command "make" "JOBS=2" "all" failed with status 2
--8<---------------cut here---------------end--------------->8---
Greg
[-- Attachment #2: av90lwnifaajapw65zcg95aqw0daga-openjdk-10.46.drv.gz --]
[-- Type: application/gzip, Size: 687186 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: URISyntaxException building openjdk@10
2023-07-20 15:32 URISyntaxException building openjdk@10 Greg Hogan
@ 2023-07-24 8:17 ` Andreas Enge
2023-07-24 8:52 ` Julien Lepiller
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2023-07-24 8:17 UTC (permalink / raw)
To: Greg Hogan; +Cc: Guix Help
Hello Greg,
Am Thu, Jul 20, 2023 at 11:32:40AM -0400 schrieb Greg Hogan:
> I have tried everything I could think of but have been unable to build
> openjdk@10 since the final core-updates merge. Am simply running `guix
> build openjdk` from a recent `guix pull`.
openjdk and openjdk@10 are both available as substitutes. Maybe authorising
the substitute servers will solve your problem?
Also I have been rebuilding openjdk a few times before the core-updates
merge since they required patches, and definitely it worked in the end.
Andreas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: URISyntaxException building openjdk@10
2023-07-24 8:17 ` Andreas Enge
@ 2023-07-24 8:52 ` Julien Lepiller
2023-10-31 17:40 ` Greg Hogan
0 siblings, 1 reply; 4+ messages in thread
From: Julien Lepiller @ 2023-07-24 8:52 UTC (permalink / raw)
To: help-guix, Andreas Enge, Greg Hogan; +Cc: Guix Help
Which architecture are you building on, and which filesystem is your store on? This looks like something got corrupted, maybe check your filesystem or try and rebuild openjdk@9 (with --check --no-grafts). As Andreas mentions, it works on the build farm.
Le 24 juillet 2023 10:17:54 GMT+02:00, Andreas Enge <andreas@enge.fr> a écrit :
>Hello Greg,
>
>Am Thu, Jul 20, 2023 at 11:32:40AM -0400 schrieb Greg Hogan:
>> I have tried everything I could think of but have been unable to build
>> openjdk@10 since the final core-updates merge. Am simply running `guix
>> build openjdk` from a recent `guix pull`.
>
>openjdk and openjdk@10 are both available as substitutes. Maybe authorising
>the substitute servers will solve your problem?
>
>Also I have been rebuilding openjdk a few times before the core-updates
>merge since they required patches, and definitely it worked in the end.
>
>Andreas
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: URISyntaxException building openjdk@10
2023-07-24 8:52 ` Julien Lepiller
@ 2023-10-31 17:40 ` Greg Hogan
0 siblings, 0 replies; 4+ messages in thread
From: Greg Hogan @ 2023-10-31 17:40 UTC (permalink / raw)
To: Julien Lepiller; +Cc: help-guix, Andreas Enge
On Mon, Jul 24, 2023 at 4:53 AM Julien Lepiller <julien@lepiller.eu> wrote:
>
> Which architecture are you building on, and which filesystem is your store on? This looks like something got corrupted, maybe check your filesystem or try and rebuild openjdk@9 (with --check --no-grafts). As Andreas mentions, it works on the build farm.
>
> Le 24 juillet 2023 10:17:54 GMT+02:00, Andreas Enge <andreas@enge.fr> a écrit :
> >Hello Greg,
> >
> >Am Thu, Jul 20, 2023 at 11:32:40AM -0400 schrieb Greg Hogan:
> >> I have tried everything I could think of but have been unable to build
> >> openjdk@10 since the final core-updates merge. Am simply running `guix
> >> build openjdk` from a recent `guix pull`.
> >
> >openjdk and openjdk@10 are both available as substitutes. Maybe authorising
> >the substitute servers will solve your problem?
> >
> >Also I have been rebuilding openjdk a few times before the core-updates
> >merge since they required patches, and definitely it worked in the end.
> >
> >Andreas
I am on AWS and recently switched from an r6i (Intel) instance to r7a
(AMD) and openjdk now builds successfully. ¯\_(ツ)_/¯
I would rule out filesystem corruption as /gnu/store and /var/guix are
on an attached volume which I moved to and continued to use on the new
instance.
Greg
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-31 17:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20 15:32 URISyntaxException building openjdk@10 Greg Hogan
2023-07-24 8:17 ` Andreas Enge
2023-07-24 8:52 ` Julien Lepiller
2023-10-31 17:40 ` Greg Hogan
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.