GNU bug report logs -
#29891
[PATCH core-updates] gnu: java-classpathx-servletapi: Update to 3.0-r1244.
Previous Next
Reported by: Gábor Boskovits <boskovits <at> gmail.com>
Date: Fri, 29 Dec 2017 13:43:02 UTC
Severity: normal
Tags: patch
Done: Chris Marusich <cmmarusich <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29891 in the body.
You can then email your comments to 29891 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Fri, 29 Dec 2017 13:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gábor Boskovits <boskovits <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 29 Dec 2017 13:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0-r1244.
[source]: Change to svn-fetch from upstream. (This version is only available from there)
[arguments]: Switch to a java8 compiler, remove comment about not working with java8,
add phase chdir to compensate for the different layout of the upstream repository.
This version fixes java8 compilation by fixing a method signature which conflicts with
java8. Communication with upstream:
2017-12-18 9:38 GMT+01:00 Chris Burdess <dog <at> gnu.org>:
On 17/12/2017 20:53, Gábor Boskovits wrote:
Dear classpathx developers,
I discovered, that classpathx servletapi 3.0 does not compile with java8.
The problem is that java8 added a method to the Map interface:
boolean remove(Object,Object), which conflicts with
Object remove(Object,Object) method in:
source/javax/servlet/jsp/el/ImplicitObjectELResolver.java;
ImplicitObjectELResolver::ScopeMap::remove
how should we fix this problem?
It was a typo in the method signature. I've fixed it now.
Thank you very much!
---
gnu/packages/java.scm | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0be488dec..480d93c55 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2018,28 +2018,26 @@ debugging, etc.")
(define-public java-classpathx-servletapi
(package
(name "java-classpathx-servletapi")
- (version "3.0")
+ (version "3.0-r1244")
(source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/classpathx/servletapi/"
- "servletapi-" version ".tar.gz"))
+ (method svn-fetch)
+ (uri (svn-reference
+ (url "svn://svn.savannah.gnu.org/classpathx/trunk")
+ (revision 1244)))
(sha256
(base32
- "0y9489pk4as9q6x300sk3ycc0psqfxcd4b0xvbmf3rhgli8q1kx3"))))
+ "07ihcwhm5awdr1wj28lqvcxhd6z72w427zbyxrqh42lgga74wsh3"))))
(build-system ant-build-system)
(arguments
`(#:tests? #f ; there is no test target
#:build-target "compile"
- ;; NOTE: This package does not build with Java 8 because of a type
- ;; mismatch in
- ;; "source/javax/servlet/jsp/el/ImplicitObjectELResolver.java". It
- ;; defines the return value of ScopeMap's "remove" method to be of type
- ;; "Object", whereas Map's "remove" method returns boolean.
#:make-flags
- (list "-Dbuild.compiler=javac1.7"
+ (list "-Dbuild.compiler=javac1.8"
(string-append "-Ddist=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "servletapi") #t))
(replace 'install
(lambda* (#:key make-flags #:allow-other-keys)
(zero? (apply system* `("ant" "dist" ,@make-flags))))))))
--
2.15.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Sun, 07 Jan 2018 22:13:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 29891 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0-r1244.
[source]: Change to svn-fetch from upstream. (This version is only available from there)
[arguments]: Switch to a java8 compiler, remove comment about not working with java8,
add phase chdir to compensate for the different layout of the upstream repository.
This version fixes java8 compilation by fixing a method signature which conflicts with
java8. Communication with upstream:
2017-12-18 9:38 GMT+01:00 Chris Burdess <dog <at> gnu.org>:
On 17/12/2017 20:53, Gábor Boskovits wrote:
Dear classpathx developers,
I discovered, that classpathx servletapi 3.0 does not compile with java8.
The problem is that java8 added a method to the Map interface:
boolean remove(Object,Object), which conflicts with
Object remove(Object,Object) method in:
source/javax/servlet/jsp/el/ImplicitObjectELResolver.java;
ImplicitObjectELResolver::ScopeMap::remove
how should we fix this problem?
It was a typo in the method signature. I've fixed it now.
Thank you very much!
---
gnu/packages/java.scm | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0be488dec..b2b4c254f 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2018,28 +2018,27 @@ debugging, etc.")
(define-public java-classpathx-servletapi
(package
(name "java-classpathx-servletapi")
- (version "3.0")
+ (version "3.0-r1244")
(source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/classpathx/servletapi/"
- "servletapi-" version ".tar.gz"))
+ (method svn-fetch)
+ (uri (svn-reference
+ (url "svn://svn.savannah.gnu.org/classpathx/trunk")
+ (revision 1244)))
+ (file-name (string-append name "-" version "-checkout"))
(sha256
(base32
- "0y9489pk4as9q6x300sk3ycc0psqfxcd4b0xvbmf3rhgli8q1kx3"))))
+ "07ihcwhm5awdr1wj28lqvcxhd6z72w427zbyxrqh42lgga74wsh3"))))
(build-system ant-build-system)
(arguments
`(#:tests? #f ; there is no test target
#:build-target "compile"
- ;; NOTE: This package does not build with Java 8 because of a type
- ;; mismatch in
- ;; "source/javax/servlet/jsp/el/ImplicitObjectELResolver.java". It
- ;; defines the return value of ScopeMap's "remove" method to be of type
- ;; "Object", whereas Map's "remove" method returns boolean.
#:make-flags
- (list "-Dbuild.compiler=javac1.7"
+ (list "-Dbuild.compiler=javac1.8"
(string-append "-Ddist=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "servletapi") #t))
(replace 'install
(lambda* (#:key make-flags #:allow-other-keys)
(zero? (apply system* `("ant" "dist" ,@make-flags))))))))
--
2.15.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Sun, 07 Jan 2018 22:15:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 29891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The second version of this patch provides a good file-name.
2018-01-07 23:11 GMT+01:00 Gábor Boskovits <boskovits <at> gmail.com>:
> * gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0-r1244.
> [source]: Change to svn-fetch from upstream. (This version is only
> available from there)
> [arguments]: Switch to a java8 compiler, remove comment about not working
> with java8,
> add phase chdir to compensate for the different layout of the upstream
> repository.
>
> This version fixes java8 compilation by fixing a method signature which
> conflicts with
> java8. Communication with upstream:
>
> 2017-12-18 9:38 GMT+01:00 Chris Burdess <dog <at> gnu.org>:
> On 17/12/2017 20:53, Gábor Boskovits wrote:
> Dear classpathx developers,
>
> I discovered, that classpathx servletapi 3.0 does not compile with java8.
> The problem is that java8 added a method to the Map interface:
> boolean remove(Object,Object), which conflicts with
> Object remove(Object,Object) method in:
> source/javax/servlet/jsp/el/ImplicitObjectELResolver.java;
> ImplicitObjectELResolver::ScopeMap::remove
>
> how should we fix this problem?
>
> It was a typo in the method signature. I've fixed it now.
>
> Thank you very much!
> ---
> gnu/packages/java.scm | 21 ++++++++++-----------
> 1 file changed, 10 insertions(+), 11 deletions(-)
>
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index 0be488dec..b2b4c254f 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -2018,28 +2018,27 @@ debugging, etc.")
> (define-public java-classpathx-servletapi
> (package
> (name "java-classpathx-servletapi")
> - (version "3.0")
> + (version "3.0-r1244")
> (source (origin
> - (method url-fetch)
> - (uri (string-append "mirror://gnu/classpathx/servletapi/"
> - "servletapi-" version ".tar.gz"))
> + (method svn-fetch)
> + (uri (svn-reference
> + (url "svn://svn.savannah.gnu.org/classpathx/trunk")
> + (revision 1244)))
> + (file-name (string-append name "-" version "-checkout"))
> (sha256
> (base32
> - "0y9489pk4as9q6x300sk3ycc0psqfx
> cd4b0xvbmf3rhgli8q1kx3"))))
> + "07ihcwhm5awdr1wj28lqvcxhd6z72w
> 427zbyxrqh42lgga74wsh3"))))
> (build-system ant-build-system)
> (arguments
> `(#:tests? #f ; there is no test target
> #:build-target "compile"
> - ;; NOTE: This package does not build with Java 8 because of a type
> - ;; mismatch in
> - ;; "source/javax/servlet/jsp/el/ImplicitObjectELResolver.java".
> It
> - ;; defines the return value of ScopeMap's "remove" method to be of
> type
> - ;; "Object", whereas Map's "remove" method returns boolean.
> #:make-flags
> - (list "-Dbuild.compiler=javac1.7"
> + (list "-Dbuild.compiler=javac1.8"
> (string-append "-Ddist=" (assoc-ref %outputs "out")))
> #:phases
> (modify-phases %standard-phases
> + (add-after 'unpack 'chdir
> + (lambda _ (chdir "servletapi") #t))
> (replace 'install
> (lambda* (#:key make-flags #:allow-other-keys)
> (zero? (apply system* `("ant" "dist" ,@make-flags))))))))
> --
> 2.15.1
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Tue, 09 Jan 2018 07:26:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 29891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Gábor Boskovits <boskovits <at> gmail.com> writes:
> * gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0-r1244.
This seems correct to me. I also verified that this builds
reproducibly.
The commit message is a bit long; we could summarize it with a sentence
instead.
How difficult would it be to have upstream make a new release? It looks
like we're now using an arbitrary revision of their source code, instead
of a release. In general, I think it's better to use a release if we
can, since that implies the code has been more thoroughly tested etc.
--
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Tue, 09 Jan 2018 10:00:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 29891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Actually, I don't know. I've not asked for that. This is the only commit
since years. Maybe they are willing to make a new release.
I will ask them, and cc you.
2018-01-09 8:25 GMT+01:00 Chris Marusich <cmmarusich <at> gmail.com>:
> Gábor Boskovits <boskovits <at> gmail.com> writes:
>
> > * gnu/packages/java.scm (java-classpathx-servletapi): Update to
> 3.0-r1244.
>
> This seems correct to me. I also verified that this builds
> reproducibly.
>
> The commit message is a bit long; we could summarize it with a sentence
> instead.
>
> How difficult would it be to have upstream make a new release? It looks
> like we're now using an arbitrary revision of their source code, instead
> of a release. In general, I think it's better to use a release if we
> can, since that implies the code has been more thoroughly tested etc.
>
> --
> Chris
>
[Message part 2 (text/html, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Tue, 09 Jan 2018 10:57:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 29891 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0-r1244.
[source]: Change to svn-fetch from upstream. (This version is only available from there)
[arguments]: Switch to a java8 compiler, remove comment about not working with java8,
add phase chdir to compensate for the different layout of the upstream repository.
Fixes:
Object ImplicitObjectELResolver::ScopeMap::remove(Object,Object) in
source/javax/servlet/jsp/el/ImplicitObjectELResolver.java
conflicts with boolean remove(Object,Object) of Map in java8.
---
gnu/packages/java.scm | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 8dd635605..8bd25d361 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2018,28 +2018,27 @@ debugging, etc.")
(define-public java-classpathx-servletapi
(package
(name "java-classpathx-servletapi")
- (version "3.0")
+ (version "3.0-r1244")
(source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/classpathx/servletapi/"
- "servletapi-" version ".tar.gz"))
+ (method svn-fetch)
+ (uri (svn-reference
+ (url "svn://svn.savannah.gnu.org/classpathx/trunk")
+ (revision 1244)))
+ (file-name (string-append name "-" version "-checkout"))
(sha256
(base32
- "0y9489pk4as9q6x300sk3ycc0psqfxcd4b0xvbmf3rhgli8q1kx3"))))
+ "07ihcwhm5awdr1wj28lqvcxhd6z72w427zbyxrqh42lgga74wsh3"))))
(build-system ant-build-system)
(arguments
`(#:tests? #f ; there is no test target
#:build-target "compile"
- ;; NOTE: This package does not build with Java 8 because of a type
- ;; mismatch in
- ;; "source/javax/servlet/jsp/el/ImplicitObjectELResolver.java". It
- ;; defines the return value of ScopeMap's "remove" method to be of type
- ;; "Object", whereas Map's "remove" method returns boolean.
#:make-flags
- (list "-Dbuild.compiler=javac1.7"
+ (list "-Dbuild.compiler=javac1.8"
(string-append "-Ddist=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "servletapi") #t))
(replace 'install
(lambda* (#:key make-flags #:allow-other-keys)
(zero? (apply system* `("ant" "dist" ,@make-flags))))))))
--
2.15.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Tue, 09 Jan 2018 10:58:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 29891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Reworded commit message.
2018-01-09 11:55 GMT+01:00 Gábor Boskovits <boskovits <at> gmail.com>:
> * gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0-r1244.
> [source]: Change to svn-fetch from upstream. (This version is only
> available from there)
> [arguments]: Switch to a java8 compiler, remove comment about not working
> with java8,
> add phase chdir to compensate for the different layout of the upstream
> repository.
>
> Fixes:
> Object ImplicitObjectELResolver::ScopeMap::remove(Object,Object) in
> source/javax/servlet/jsp/el/ImplicitObjectELResolver.java
> conflicts with boolean remove(Object,Object) of Map in java8.
> ---
> gnu/packages/java.scm | 21 ++++++++++-----------
> 1 file changed, 10 insertions(+), 11 deletions(-)
>
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index 8dd635605..8bd25d361 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -2018,28 +2018,27 @@ debugging, etc.")
> (define-public java-classpathx-servletapi
> (package
> (name "java-classpathx-servletapi")
> - (version "3.0")
> + (version "3.0-r1244")
> (source (origin
> - (method url-fetch)
> - (uri (string-append "mirror://gnu/classpathx/servletapi/"
> - "servletapi-" version ".tar.gz"))
> + (method svn-fetch)
> + (uri (svn-reference
> + (url "svn://svn.savannah.gnu.org/classpathx/trunk")
> + (revision 1244)))
> + (file-name (string-append name "-" version "-checkout"))
> (sha256
> (base32
> - "0y9489pk4as9q6x300sk3ycc0psqfx
> cd4b0xvbmf3rhgli8q1kx3"))))
> + "07ihcwhm5awdr1wj28lqvcxhd6z72w
> 427zbyxrqh42lgga74wsh3"))))
> (build-system ant-build-system)
> (arguments
> `(#:tests? #f ; there is no test target
> #:build-target "compile"
> - ;; NOTE: This package does not build with Java 8 because of a type
> - ;; mismatch in
> - ;; "source/javax/servlet/jsp/el/ImplicitObjectELResolver.java".
> It
> - ;; defines the return value of ScopeMap's "remove" method to be of
> type
> - ;; "Object", whereas Map's "remove" method returns boolean.
> #:make-flags
> - (list "-Dbuild.compiler=javac1.7"
> + (list "-Dbuild.compiler=javac1.8"
> (string-append "-Ddist=" (assoc-ref %outputs "out")))
> #:phases
> (modify-phases %standard-phases
> + (add-after 'unpack 'chdir
> + (lambda _ (chdir "servletapi") #t))
> (replace 'install
> (lambda* (#:key make-flags #:allow-other-keys)
> (zero? (apply system* `("ant" "dist" ,@make-flags))))))))
> --
> 2.15.1
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Sun, 14 Jan 2018 02:26:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 29891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Gábor Boskovits <boskovits <at> gmail.com> writes:
> Reworded commit message.
>
> 2018-01-09 11:55 GMT+01:00 Gábor Boskovits <boskovits <at> gmail.com>:
>
>> * gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0-r1244.
I wasn't able to apply this patch cleanly. I tried "git am" and also
the "patch" tool, but they didn't work. ("git am" did work using your
earlier patches, though.)
By the way, I see that Chris Burdess released a new minor version of
classpathx, which we can get from:
https://ftp.gnu.org/gnu/classpathx/servletapi/servletapi-3.0.1.tar.gz
Could you attach one more patch that uses this release?
--
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Sun, 14 Jan 2018 09:08:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 29891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Yes, I'm working on it.
2018-01-14 3:25 GMT+01:00 Chris Marusich <cmmarusich <at> gmail.com>:
> Gábor Boskovits <boskovits <at> gmail.com> writes:
>
> > Reworded commit message.
> >
> > 2018-01-09 11:55 GMT+01:00 Gábor Boskovits <boskovits <at> gmail.com>:
> >
> >> * gnu/packages/java.scm (java-classpathx-servletapi): Update to
> 3.0-r1244.
>
> I wasn't able to apply this patch cleanly. I tried "git am" and also
> the "patch" tool, but they didn't work. ("git am" did work using your
> earlier patches, though.)
>
> By the way, I see that Chris Burdess released a new minor version of
> classpathx, which we can get from:
>
> https://ftp.gnu.org/gnu/classpathx/servletapi/servletapi-3.0.1.tar.gz
>
> Could you attach one more patch that uses this release?
>
> --
> Chris
>
[Message part 2 (text/html, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Sun, 14 Jan 2018 15:02:01 GMT)
Full text and
rfc822 format available.
Message #32 received at 29891 <at> debbugs.gnu.org (full text, mbox):
Gábor,
Gábor Boskovits wrote on 09/01/18 at 11:56:
> Reworded commit message.
Sorry to be a drive-by nit-picker, but this commit message is still much
longer than needed:
> 2018-01-09 11:55 GMT+01:00 Gábor Boskovits <boskovits <at> gmail.com
> <mailto:boskovits <at> gmail.com>>:
>
> * gnu/packages/java.scm (java-classpathx-servletapi): Update to
> 3.0-r1244.
> [source]: Change to svn-fetch from upstream. (This version is only
> available from there)
That parenthesis should be far more useful to future generations as a
comment in the code.
> [arguments]: Switch to a java8 compiler, remove comment about not
> working with java8,
The first half implies the second: I'd not mention the comment.
> add phase chdir to compensate for the different layout of the
> upstream repository.
Also very verbose (just “Add ‘chdir’ phase.”?) but OK :-)
Kind regards,
T G-R
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Sun, 14 Jan 2018 15:29:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 29891 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I will send an updated patch soon. Upstream released this fix as 3.0.1, so
it will be just update to 3.0.1.
I would add something like remove obsolate comment, and that will be all.
I'm a bit slow here, I had to run guix gc, so I have a lot to rebuild.
I will send an updated patch asap.
2018-01-14 16:04 GMT+01:00 Tobias Geerinckx-Rice <me <at> tobias.gr>:
> Gábor,
>
> Gábor Boskovits wrote on 09/01/18 at 11:56:
> > Reworded commit message.
>
> Sorry to be a drive-by nit-picker, but this commit message is still much
> longer than needed:
>
> > 2018-01-09 11:55 GMT+01:00 Gábor Boskovits <boskovits <at> gmail.com
> > <mailto:boskovits <at> gmail.com>>:
> >
> > * gnu/packages/java.scm (java-classpathx-servletapi): Update to
> > 3.0-r1244.
> > [source]: Change to svn-fetch from upstream. (This version is only
> > available from there)
>
> That parenthesis should be far more useful to future generations as a
> comment in the code.
>
> > [arguments]: Switch to a java8 compiler, remove comment about not
> > working with java8,
>
> The first half implies the second: I'd not mention the comment.
>
> > add phase chdir to compensate for the different layout of the
> > upstream repository.
>
> Also very verbose (just “Add ‘chdir’ phase.”?) but OK :-)
>
> Kind regards,
>
> T G-R
>
[Message part 2 (text/html, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29891
; Package
guix-patches
.
(Mon, 15 Jan 2018 08:30:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 29891 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0.1.
[arguments]: Switch to a java8 compiler, remove comment about not working with java8.
---
gnu/packages/java.scm | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index c2888b552..8431ed44b 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2019,25 +2019,20 @@ debugging, etc.")
(define-public java-classpathx-servletapi
(package
(name "java-classpathx-servletapi")
- (version "3.0")
+ (version "3.0.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/classpathx/servletapi/"
"servletapi-" version ".tar.gz"))
(sha256
(base32
- "0y9489pk4as9q6x300sk3ycc0psqfxcd4b0xvbmf3rhgli8q1kx3"))))
+ "07d8h051siga2f33fra72hk12sbq1bxa4jifjg0qj0vfazjjff0x"))))
(build-system ant-build-system)
(arguments
`(#:tests? #f ; there is no test target
#:build-target "compile"
- ;; NOTE: This package does not build with Java 8 because of a type
- ;; mismatch in
- ;; "source/javax/servlet/jsp/el/ImplicitObjectELResolver.java". It
- ;; defines the return value of ScopeMap's "remove" method to be of type
- ;; "Object", whereas Map's "remove" method returns boolean.
#:make-flags
- (list "-Dbuild.compiler=javac1.7"
+ (list "-Dbuild.compiler=javac1.8"
(string-append "-Ddist=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
--
2.15.1
Reply sent
to
Chris Marusich <cmmarusich <at> gmail.com>
:
You have taken responsibility.
(Tue, 16 Jan 2018 08:04:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Gábor Boskovits <boskovits <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 16 Jan 2018 08:04:02 GMT)
Full text and
rfc822 format available.
Message #43 received at 29891-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Gábor Boskovits <boskovits <at> gmail.com> writes:
> * gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0.1.
Thank you for taking the time to update the patch. It looks good to me,
and I've committed it as ae307724de2957bbed6b763a1d039dba0876b5a7.
--
Chris
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 13 Feb 2018 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.