[PATCH] gnu: java-xstream: Update to 1.4.15.

  • Done
  • quality assurance status badge
Details
4 participants
  • Björn Höfling
  • Julien Lepiller
  • Leo Famulari
  • Vincent Legoll
Owner
unassigned
Submitted by
Vincent Legoll
Severity
normal

Debbugs page

Vincent Legoll wrote 4 years ago
(address . guix-patches@gnu.org)(name . Vincent Legoll)(address . vincent.legoll@gmail.com)
20201229120130.27222-1-vincent.legoll@gmail.com
* gnu/packages/xml.scm (java-xstream): Update to 1.4.15.
---
gnu/packages/xml.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
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"
--
2.29.2
Leo Famulari wrote 4 years ago
(name . Vincent Legoll)(address . vincent.legoll@gmail.com)(address . 45530@debbugs.gnu.org)
X+zs+h3qTX5rPyHy@jasmine.lan
On Tue, Dec 29, 2020 at 01:01:30PM +0100, Vincent Legoll wrote:
Toggle quote (2 lines)
> * 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 wrote 4 years ago
(name . Leo Famulari)(address . leo@famulari.name)(address . 45530@debbugs.gnu.org)
CAEwRq=rfm0e1oHEWZmzWM-2rXJ3Tx3CgfC+Skp53vdExKqgFfA@mail.gmail.com
Hello,

On Wed, Dec 30, 2020 at 10:11 PM Leo Famulari <leo@famulari.name> wrote:
Toggle quote (2 lines)
> 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
Leo Famulari wrote 4 years ago
(name . Vincent Legoll)(address . vincent.legoll@gmail.com)
X+4eA+3DaaI3PJAj@jasmine.lan
Pinging the Maven expert!

On Thu, Dec 31, 2020 at 03:00:39PM +0100, Vincent Legoll wrote:
Toggle quote (34 lines)
> 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 wrote 4 years ago
(name . Leo Famulari)(address . leo@famulari.name)
20210101003635.769fa0cc@tachikoma.lepiller.eu
Le Thu, 31 Dec 2020 13:52:51 -0500,
Leo Famulari <leo@famulari.name> a écrit :

Toggle quote (40 lines)
> 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!
Closed
Björn Höfling wrote 4 years ago
Re: bug#45530: [PATCH] gnu: java-xstream: Update to 1.4.15.
(name . Julien Lepiller)(address . julien@lepiller.eu)
20210105210611.27d9d16c@alma-ubu.fritz.box
On Fri, 1 Jan 2021 00:36:35 +0100
Julien Lepiller <julien@lepiller.eu> wrote:

Toggle quote (11 lines)
> 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
> > >

[..]

Toggle quote (7 lines)
> 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
-----BEGIN PGP SIGNATURE-----

iF0EAREKAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCX/TGswAKCRC/KGy2WT5f
/RdNAJ9+95p85PURASRdWDvJXVm428V4GgCguAOEzSo9H8DPAZzt4huqXbZfqEs=
=g1Ap
-----END PGP SIGNATURE-----


Closed
?
Your comment

This issue is archived.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 45530
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
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help