diff mbox series

[bug#45530] gnu: java-xstream: Update to 1.4.15.

Message ID 20201229120130.27222-1-vincent.legoll@gmail.com
State Accepted
Headers show
Series [bug#45530] gnu: java-xstream: Update to 1.4.15. | expand

Checks

Context Check Description
cbaines/submitting builds success
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Vincent Legoll Dec. 29, 2020, 12:01 p.m. UTC
* gnu/packages/xml.scm (java-xstream): Update to 1.4.15.
---
 gnu/packages/xml.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Leo Famulari Dec. 30, 2020, 9:11 p.m. UTC | #1
On Tue, Dec 29, 2020 at 01:01:30PM +0100, Vincent Legoll wrote:
> * gnu/packages/xml.scm (java-xstream): Update to 1.4.15.

I tested the affected packages:

------
$ guix refresh -l java-xstream   
Building the following 1 package would ensure 31 dependent packages are rebuilt: maven@3.6.1
$ ./pre-inst-env guix build --no-grafts maven
[...]
BUILD FAILED
/tmp/guix-build-java-kafka-clients-1.0.0.drv-0/kafka-1.0.0-src/build.xml:1: Test org.apache.kafka.common.network.SslTransportLayerTest failed

Total time: 3 minutes 5 seconds
command "ant" "check" failed with status 1
builder for `/gnu/store/yls4mcjskj4c95hls51naj056685zqq6-java-kafka-clients-1.0.0.drv' failed with exit code 1
build of /gnu/store/yls4mcjskj4c95hls51naj056685zqq6-java-kafka-clients-1.0.0.drv failed
------

java-kafka-clients does not depend on java-xstream:

------
$ guix graph java-kafka-clients | grep xstream
$
------

But I'd like to be sure before pushing the update.

Are you able to build maven with the java-xstream update?
Vincent Legoll Dec. 31, 2020, 2 p.m. UTC | #2
Hello,

On Wed, Dec 30, 2020 at 10:11 PM Leo Famulari <leo@famulari.name> wrote:
> Are you able to build maven with the java-xstream update?

I tried:

./pre-inst-env guix build --no-grafts maven

which failed with:

BUILD FAILED
/tmp/guix-build-maven-wagon-http-3.3.4.drv-0/wagon-3.3.4/build.xml:1:
Test org.apache.maven.wagon.providers.http.HttpWagonErrorTest failed

Total time: 1 second
command "ant" "check" failed with status 1
builder for `/gnu/store/pwmh9xclfmmacrw2ni989ha802fjmxqh-maven-wagon-http-3.3.4.drv'
failed with exit code 1
build of /gnu/store/pwmh9xclfmmacrw2ni989ha802fjmxqh-maven-wagon-http-3.3.4.drv
failed
View build log at
'/var/log/guix/drvs/pw/mh9xclfmmacrw2ni989ha802fjmxqh-maven-wagon-http-3.3.4.drv.bz2'.
cannot build derivation
`/gnu/store/9g3i7s3fyravk1q6mrdmqhi0dnszn5x7-maven-3.6.1.drv': 1
dependencies couldn't be built
guix build: error: build of
`/gnu/store/9g3i7s3fyravk1q6mrdmqhi0dnszn5x7-maven-3.6.1.drv' failed
vince@guix ~/dev/repo/guix [env]$ guix graph maven-wagon-http | grep xstream

So I don't know what to conclude.
Leo Famulari Dec. 31, 2020, 6:52 p.m. UTC | #3
Pinging the Maven expert!

On Thu, Dec 31, 2020 at 03:00:39PM +0100, Vincent Legoll wrote:
> Hello,
> 
> On Wed, Dec 30, 2020 at 10:11 PM Leo Famulari <leo@famulari.name> wrote:
> > Are you able to build maven with the java-xstream update?
> 
> I tried:
> 
> ./pre-inst-env guix build --no-grafts maven
> 
> which failed with:
> 
> BUILD FAILED
> /tmp/guix-build-maven-wagon-http-3.3.4.drv-0/wagon-3.3.4/build.xml:1:
> Test org.apache.maven.wagon.providers.http.HttpWagonErrorTest failed
> 
> Total time: 1 second
> command "ant" "check" failed with status 1
> builder for `/gnu/store/pwmh9xclfmmacrw2ni989ha802fjmxqh-maven-wagon-http-3.3.4.drv'
> failed with exit code 1
> build of /gnu/store/pwmh9xclfmmacrw2ni989ha802fjmxqh-maven-wagon-http-3.3.4.drv
> failed
> View build log at
> '/var/log/guix/drvs/pw/mh9xclfmmacrw2ni989ha802fjmxqh-maven-wagon-http-3.3.4.drv.bz2'.
> cannot build derivation
> `/gnu/store/9g3i7s3fyravk1q6mrdmqhi0dnszn5x7-maven-3.6.1.drv': 1
> dependencies couldn't be built
> guix build: error: build of
> `/gnu/store/9g3i7s3fyravk1q6mrdmqhi0dnszn5x7-maven-3.6.1.drv' failed
> vince@guix ~/dev/repo/guix [env]$ guix graph maven-wagon-http | grep xstream
> 
> So I don't know what to conclude.
> 
> -- 
> Vincent Legoll
Julien Lepiller Dec. 31, 2020, 11:36 p.m. UTC | #4
Le Thu, 31 Dec 2020 13:52:51 -0500,
Leo Famulari <leo@famulari.name> a écrit :

> Pinging the Maven expert!
> 
> On Thu, Dec 31, 2020 at 03:00:39PM +0100, Vincent Legoll wrote:
> > Hello,
> > 
> > On Wed, Dec 30, 2020 at 10:11 PM Leo Famulari <leo@famulari.name>
> > wrote:  
> > > Are you able to build maven with the java-xstream update?  
> > 
> > I tried:
> > 
> > ./pre-inst-env guix build --no-grafts maven
> > 
> > which failed with:
> > 
> > BUILD FAILED
> > /tmp/guix-build-maven-wagon-http-3.3.4.drv-0/wagon-3.3.4/build.xml:1:
> > Test org.apache.maven.wagon.providers.http.HttpWagonErrorTest failed
> > 
> > Total time: 1 second
> > command "ant" "check" failed with status 1
> > builder for
> > `/gnu/store/pwmh9xclfmmacrw2ni989ha802fjmxqh-maven-wagon-http-3.3.4.drv'
> > failed with exit code 1 build of
> > /gnu/store/pwmh9xclfmmacrw2ni989ha802fjmxqh-maven-wagon-http-3.3.4.drv
> > failed View build log at
> > '/var/log/guix/drvs/pw/mh9xclfmmacrw2ni989ha802fjmxqh-maven-wagon-http-3.3.4.drv.bz2'.
> > cannot build derivation
> > `/gnu/store/9g3i7s3fyravk1q6mrdmqhi0dnszn5x7-maven-3.6.1.drv': 1
> > dependencies couldn't be built
> > guix build: error: build of
> > `/gnu/store/9g3i7s3fyravk1q6mrdmqhi0dnszn5x7-maven-3.6.1.drv' failed
> > vince@guix ~/dev/repo/guix [env]$ guix graph maven-wagon-http |
> > grep xstream
> > 
> > So I don't know what to conclude.
> > 
> > -- 
> > Vincent Legoll  

Weird, I'm able to build maven from master, and after that
maven-wagon-http is indeed not in the path from xstream to maven.

Since it does not create any new failure (I was able to build maven
with this patch), I pushed it as
fdf7095e856c3c13a54baee5d942d14e96f7fb4d.

Thank you!
Björn Höfling Jan. 5, 2021, 8:06 p.m. UTC | #5
On Fri, 1 Jan 2021 00:36:35 +0100
Julien Lepiller <julien@lepiller.eu> wrote:

> Le Thu, 31 Dec 2020 13:52:51 -0500,
> Leo Famulari <leo@famulari.name> a écrit :
> 
> > Pinging the Maven expert!

> > > BUILD FAILED
> > > /tmp/guix-build-maven-wagon-http-3.3.4.drv-0/wagon-3.3.4/build.xml:1:
> > > Test org.apache.maven.wagon.providers.http.HttpWagonErrorTest
> > > failed
> > > 

[..]

> Weird, I'm able to build maven from master, and after that
> maven-wagon-http is indeed not in the path from xstream to maven.
> 
> Since it does not create any new failure (I was able to build maven
> with this patch), I pushed it as
> fdf7095e856c3c13a54baee5d942d14e96f7fb4d.

Recently I noticed that maven-wagon-http has indeterministic test
failures. I opened a report under 45677.

Björn
diff mbox series

Patch

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 9dc37addf4..2c7b2901a0 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -2132,7 +2132,7 @@  outputting XML data from Java code.")
 (define-public java-xstream
   (package
     (name "java-xstream")
-    (version "1.4.10")
+    (version "1.4.15")
     (source
      (origin
        (method git-fetch)
@@ -2144,7 +2144,7 @@  outputting XML data from Java code.")
                                   version)))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "12m2bw8bapdc1w0pni9wl5hh2y8jfdgcvxd464jl9917dsp3ai2n"))))
+        (base32 "1178qryrjwjp44439pi5dxzd32896r5zs429z1qhlc09951r7mi9"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "xstream.jar"