unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Trying to build latest Icedtea / Java 6 [security update]
@ 2016-05-30  4:59 Leo Famulari
  2016-05-31 19:13 ` Ricardo Wurmus
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2016-05-30  4:59 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

Icedtea 1.13.11 was released, which fixes a number of security bugs:

http://blog.fuseyism.com/index.php/2016/05/04/security-icedtea-1-13-11-for-openjdk-6-released/

I tried to build it with the attached patch, but it fails for me. I've
attached the tail of the build log. Any advice?

[-- Attachment #2: icedtea@1.13.11-tail.log --]
[-- Type: text/plain, Size: 4581 bytes --]

# Running javac:
/tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/bootstrap/jdk1.6.0/bin/javac -J-XX:ThreadStackSize=2048 -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -g -source 1.5 -target 5 -encoding ascii -Xbootclasspath:/tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk.build-ecj/classes -sourcepath /tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/generated.build:../../../src/solaris/classes:../../../src/share/classes -d /tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk.build-ecj/classes @/tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk.build-ecj/tmp/java/java.lang.management/management/.classes.list
----------
1. ERROR in /tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj/jdk/src/share/classes/javax/management/remote/rmi/RMIJRMPServerImpl.java (at line 231)
        public String getVersion() throws RemoteException {
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method getVersion() of type RMIJRMPServerImpl.ExportedWrapper must override a superclass method
----------
2. ERROR in /tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj/jdk/src/share/classes/javax/management/remote/rmi/RMIJRMPServerImpl.java (at line 236)
        public RMIConnection newClient(Object credentials) throws IOException {
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method newClient(Object) of type RMIJRMPServerImpl.ExportedWrapper must override a superclass method
----------
3. ERROR in /tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj/jdk/src/share/classes/javax/management/remote/rmi/RMIJRMPServerImpl.java (at line 241)
        public void check(Method method, ObjectStreamClass descriptor,
                int paramIndex, int callID) {
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method check(Method, ObjectStreamClass, int, int) of type RMIJRMPServerImpl.ExportedWrapper must override a superclass method
----------
4. ERROR in /tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj/jdk/src/share/classes/javax/management/remote/rmi/RMIJRMPServerImpl.java (at line 251)
        public void checkProxyClass(Method method, String[] ifaces,
                int paramIndex, int callID) {
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method checkProxyClass(Method, String[], int, int) of type RMIJRMPServerImpl.ExportedWrapper must override a superclass method
----------
5. ERROR in /tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj/jdk/src/share/classes/javax/management/remote/rmi/RMIJRMPServerImpl.java (at line 263)
        public void end(int callID) {
                    ^^^^^^^^^^^^^^^
The method end(int) of type RMIJRMPServerImpl.ExportedWrapper must override a superclass method
----------
5 problems (5 errors)/tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj/jdk/make/common/Rules.gmk:233: recipe for target '.compile.classlist' failed
make[5]: *** [.compile.classlist] Error 255
make[5]: Leaving directory '/tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj/jdk/make/java/management'
Makefile:57: recipe for target 'all' failed
make[4]: *** [all] Error 1
make[4]: Leaving directory '/tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj/jdk/make/java'
Makefile:251: recipe for target 'all' failed
make[3]: *** [all] Error 1
make[3]: Leaving directory '/tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj/jdk/make'
make/jdk-rules.gmk:107: recipe for target 'jdk-build' failed
make[2]: *** [jdk-build] Error 2
make[2]: Leaving directory '/tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj'
Makefile:198: recipe for target 'build_product_image' failed
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory '/tmp/guix-build-icedtea-1.13.11.drv-0/icedtea6-1.13.11/openjdk-ecj'
Makefile:2578: recipe for target 'stamps/icedtea-ecj.stamp' failed
make: *** [stamps/icedtea-ecj.stamp] Error 2
phase `build' failed after 716.3 seconds
builder for `/gnu/store/ppcxalk78wlhb3yycj8pmsm67iapac1h-icedtea-1.13.11.drv' failed with exit code 1
@ build-failed /gnu/store/ppcxalk78wlhb3yycj8pmsm67iapac1h-icedtea-1.13.11.drv - 1 builder for `/gnu/store/ppcxalk78wlhb3yycj8pmsm67iapac1h-icedtea-1.13.11.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/ppcxalk78wlhb3yycj8pmsm67iapac1h-icedtea-1.13.11.drv' failed

[-- Attachment #3: 0001-gnu-icedtea-Update-to-1.13.11.patch --]
[-- Type: text/x-diff, Size: 2217 bytes --]

From 2bc70a72cd33e02ef65aabb78c20e27a7fed9018 Mon Sep 17 00:00:00 2001
From: Leo Famulari <leo@famulari.name>
Date: Fri, 27 May 2016 23:50:51 -0400
Subject: [PATCH] gnu: icedtea: Update to 1.13.11.

Fixes CVE-2016-{0686, 0687, 0695, 3425, 3427}.

* gnu/packages/java.scm (icedtea): Update to 1.13.11.
[inputs]: Add libxcomposite.
---
 gnu/packages/java.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index ff785ef..23a5232 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -181,7 +181,7 @@ build process and its dependencies, whereas Make uses Makefile format.")
 (define-public icedtea-6
   (package
     (name "icedtea")
-    (version "1.13.10")
+    (version "1.13.11")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -189,7 +189,7 @@ build process and its dependencies, whereas Make uses Makefile format.")
                     version ".tar.xz"))
               (sha256
                (base32
-                "1mq08sfyfjlfw0c1czjs47303zv4h91s1jc0nhdlra4rbbx0g2d0"))
+                "1grki39a4rf8n74zc0iglcggxxbpniyfh1gk1lb10p63zvvcsvjj"))
               (modules '((guix build utils)))
               (snippet
                '(substitute* "Makefile.in"
@@ -539,6 +539,7 @@ build process and its dependencies, whereas Make uses Makefile format.")
        ("mit-krb5" ,mit-krb5)
        ("nss" ,nss)
        ("libx11" ,libx11)
+       ("libxcomposite" ,libxcomposite)
        ("libxt" ,libxt)
        ("libxtst" ,libxtst)
        ("libxi" ,libxi)
@@ -552,10 +553,10 @@ build process and its dependencies, whereas Make uses Makefile format.")
        ("openjdk6-src"
         ,(origin
            (method url-fetch)
-           (uri "https://java.net/downloads/openjdk6/openjdk-6-src-b38-20_jan_2016.tar.gz")
+           (uri "https://java.net/downloads/openjdk6/openjdk-6-src-b39-03_may_2016.tar.gz")
            (sha256
             (base32
-             "1fapj9w4ahzf5nwvdgi1dsxjyh9dqbcvf9638r60h1by13wjqk5p"))))
+             "1brxbsgwcj4js26y5lk6capc3pvghgjidvv9cavw6z8n7c7aw8af"))))
        ("lcms" ,lcms)
        ("zlib" ,zlib)
        ("gtk" ,gtk+-2)
-- 
2.8.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-20 22:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-30  4:59 Trying to build latest Icedtea / Java 6 [security update] Leo Famulari
2016-05-31 19:13 ` Ricardo Wurmus
2016-05-31 22:52   ` Leo Famulari
2016-06-01  6:07     ` Ricardo Wurmus
2016-06-01  6:29       ` Leo Famulari
2016-06-16  2:02         ` Danny Milosavljevic
2016-06-16  6:55           ` Ricardo Wurmus
2016-07-20 22:13             ` IcedTea Java 8 font problems Danny Milosavljevic

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).