From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Trying to build latest Icedtea / Java 6 [security update] Date: Mon, 30 May 2016 00:59:37 -0400 Message-ID: <20160530045937.GA32652@jasmine> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="qMm9M+Fa2AknHoGS" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7lo6-0003hA-Su for guix-devel@gnu.org; Tue, 31 May 2016 11:42:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7lo1-00071G-DL for guix-devel@gnu.org; Tue, 31 May 2016 11:42:14 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:37402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7lny-0006ys-Qq for guix-devel@gnu.org; Tue, 31 May 2016 11:42:09 -0400 Received: from localhost (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id B72E8CCD2E for ; Tue, 31 May 2016 11:41:57 -0400 (EDT) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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? --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="icedtea@1.13.11-tail.log" # 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 --qMm9M+Fa2AknHoGS Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-icedtea-Update-to-1.13.11.patch" >From 2bc70a72cd33e02ef65aabb78c20e27a7fed9018 Mon Sep 17 00:00:00 2001 From: Leo Famulari 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 --qMm9M+Fa2AknHoGS--