Subject: Re: bug#48305: java eclipse jetty util does not build
From: Julien Lepiller <[email-masked]>
To: "Dr. Arne Babenhauserheide" <[email-masked]>
Cc: [email-masked]
Date: Sun, 9 May 2021 03:52:22 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Le Sun, 09 May 2021 02:45:57 +0200,
"Dr. Arne Babenhauserheide" <[email-masked]> a écrit :

> I see
> 
> „check“-Phasebuilder for
> `/gnu/store/im3vs3rs3cg02qzbya8xr75g30qfraf8-java-eclipse-jetty-util-9.2.22.drv'
> failed with exit code 1 Erstellung von
> /gnu/store/im3vs3rs3cg02qzbya8xr75g30qfraf8-java-eclipse-jetty-util-9.2.22.drv
> fehlgeschlagen Das Erstellungsprotokoll kann unter
> „/var/log/guix/drvs/im/3vs3rs3cg02qzbya8xr75g30qfraf8-java-eclipse-jetty-util-9.2.22.drv.bz2“
> eingesehen werden.
> /gnu/store/7k6rv14mkd368dnmfl3iwlqh020307ba-java-kafka-clients-1.0.0.drv
> wird erstellt … cannot build derivation
> `/gnu/store/vvlj7l0yyzdz3gb09p70dyyixqxmrghb-maven-wagon-http-3.3.4.drv':
> 1 dependencies couldn't be built cannot build derivation
> `/gnu/store/7q25bsm6njn3nhq2qs75ghs9qyakzas1-maven-wagon-provider-test-3.3.4.drv':
> 1 dependencies couldn't be built cannot build derivation
> `/gnu/store/hskyf4y35hc34008zkpawfrh6gc2z225-maven-wagon-tck-http-3.3.4.drv':
> 1 dependencies couldn't be built
> /gnu/store/v6g3vn80hzm78pp0jw41m4r2lsi4ghrj-libX11-1.6.10.tar.bz2.drv
> wird erstellt … cannot build derivation
> `/gnu/store/87k46rrwrjn9m6iprsjf73hfhzs2v524-maven-3.6.1.drv': 1
> dependencies couldn't be built guix upgrade: error: build of
> `/gnu/store/87k46rrwrjn9m6iprsjf73hfhzs2v524-maven-3.6.1.drv' failed
> 
> It looks like junit is missing during build:
> /tmp/guix-build-java-eclipse-jetty-util-9.2.22.drv-0/jetty.project-jetty-9.\
> 2.22.v20170606/jetty-util/src/test/java/org/eclipse/jetty/util/MultiExceptionTest.java:\
> 26: error: package org.junit does not exist
> 
> The build log is attached.
> 
> Best wishes,
> Arne
> 

Thanks for the report! That was my fault. When updating jetty 9.4 (a
security update), I forgot to check its influence on jetty 9.2. Our
tooling is not very good at them, because "guix refresh -l" doesn't
report "dependencies" that only come from inheritance.

Hopefully, fixed with 64c1a60b117295e8bc2b2a67dae7adda48492331, and a
subsequent (and similar) failure in jetty-http-test-classes is also
fixed in the following cbb704b21eb319f4943f1e01f6c2785a8b7db349. jetty
9.2 packages should now build fine, so closing :)

It should work again after you run "guix pull".