Your message dated Mon, 31 Mar 2014 11:58:01 +0000
with message-id <e1wuaqn-0006dl...@franck.debian.org>
and subject line Bug#740289: fixed in openjdk-6 6b30-1.13.2-1
has caused the Debian Bug report #740289,
regarding openjdk-6: [PATCH] fixes for backport releases
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
740289: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740289
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: openjdk-6
Version: 6b30-1.13.1-1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

In preparing security updates for older releases of Ubuntu, I found a number of
issues with the current openjdk-6 package:
 * configure and acinclude.m4 were patched directly rather than using a patch
   system resulting in aclocal being run on every build. IcedTead 1.13.1 now
   requires autotools 1.14, but this is not available on Ubuntu 13.10 and
   earlier.
 * debian/patches/java-access-bridge-security.patch was malformed and would
   not apply on Ubuntu 10.04 LTS
 * the previous security update introduced LP: #1283828 (upstream 8017173)

The attached patch was applied to Ubuntu to achieve the following:

  * pull out changes to configure and acinclude.m4 from diff.gz and
    conditionally apply to Debian and Ubuntu releases that have arm64 and/or
    automake-1.14. IcedTea 1.13 requires automake 1.14 now and the change to
    diff.gz caused a FTBFS on backport builds
    - add debian/patches/autotools-aarch64.diff
    - debian/rules:
      + add PRECONFIGURE_DEBIAN_PATCHES which is empty on releases where we
        don't have automake-1.14, otherwise add autotools-aarch64.diff
      + add preconfigure-distribution-patches.stamp target and have
        stamps/icedtea-configure depend on it
      + adjust debian-clean to unapply PRECONFIGURE_DEBIAN_PATCHES
  * debian/patches/8017173.diff: XMLCipher with RSA_OAEP Key Transport
    algorithm can't be instantiated (LP: #1283828)
  * debian/patches/java-access-bridge-security.patch: fix malformed patch

Ubuntu also did the following as part of the security update:
  * debian/rules: disable system lcms2 for releases that don't have lcms2 2.5
    or higher

but after further investigation, it seems this was not actually required, so I
removed this from the patch I am submitting to you now.

debian/patches/8017173.diff adds a test case, but it is not run in the build. I
didn't investigate why, but it can be run manually with:
$ javac -XDignore.symbol.file GetInstance.java
$ java GetInstance

A patched openjdk will exit with '0' while unpatched will throw the exception
in the bug. This regression was introduced due to a partial backport from
openjdk8 to openjdk7 which IcedTea picked up. They then pulled back this
partial backport for the 1.x releases. Incidentally, this issue affects
openjdk-7 7u51-2.4.5-1ubuntu1, so it should be applied to the openjdk-7 package
in sid as well. I filed this bug with upstream for the regression:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1688

Thanks for considering the patch.


-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-8-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
reverted:
--- openjdk-6-6b30-1.13.1/acinclude.m4
+++ openjdk-6-6b30-1.13.1.orig/acinclude.m4
@@ -22,12 +22,6 @@
       JRE_ARCH_DIR=alpha
       CROSS_TARGET_ARCH=alpha
       ;;
-    arm64|aarch64)
-      BUILD_ARCH_DIR=aarch64
-      INSTALL_ARCH_DIR=aarch64
-      JRE_ARCH_DIR=aarch64
-      ARCHFLAG="-D_LITTLE_ENDIAN"
-      ;;
     arm*)
       BUILD_ARCH_DIR=arm
       INSTALL_ARCH_DIR=arm
@@ -1559,7 +1553,7 @@
   AC_MSG_RESULT(${ENABLE_SYSTEM_LCMS})
   if test x"${ENABLE_SYSTEM_LCMS}" = "xyes"; then
     dnl Check for LCMS2 headers and libraries.
+    PKG_CHECK_MODULES(LCMS2, lcms2 >= 2.5,[LCMS2_FOUND=yes],[LCMS2_FOUND=no])
-    PKG_CHECK_MODULES(LCMS2, lcms2,[LCMS2_FOUND=yes],[LCMS2_FOUND=no])
     if test "x${LCMS2_FOUND}" = xno
     then
       AC_MSG_ERROR([Could not find LCMS >= 2.5; install it or build with --disable-system-lcms to use the in-tree copy.])
reverted:
--- openjdk-6-6b30-1.13.1/configure
+++ openjdk-6-6b30-1.13.1.orig/configure
@@ -7216,12 +7216,6 @@
       JRE_ARCH_DIR=alpha
       CROSS_TARGET_ARCH=alpha
       ;;
-    arm64|aarch64)
-      BUILD_ARCH_DIR=aarch64
-      INSTALL_ARCH_DIR=aarch64
-      JRE_ARCH_DIR=aarch64
-      ARCHFLAG="-D_LITTLE_ENDIAN"
-      ;;
     arm*)
       BUILD_ARCH_DIR=arm
       INSTALL_ARCH_DIR=arm
@@ -9484,7 +9478,7 @@
   mkdir tmp.$$
   cd tmp.$$
   cat << \EOF > $CLASS
+/* [#]line 9481 "configure" */
-/* [#]line 9487 "configure" */
 
 public class Test
 {
@@ -9526,7 +9520,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 9523 "configure" */
-/* [#]line 9529 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -9593,7 +9587,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 9590 "configure" */
-/* [#]line 9596 "configure" */
 public class Test
 {
   public static void main(String[] args)
@@ -9641,7 +9635,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 9638 "configure" */
-/* [#]line 9644 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -9708,7 +9702,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 9705 "configure" */
-/* [#]line 9711 "configure" */
 import java.lang.reflect.Constructor;
 
 public class Test
@@ -9777,7 +9771,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 9774 "configure" */
-/* [#]line 9780 "configure" */
 import java.lang.reflect.Constructor;
 
 public class Test
@@ -9847,7 +9841,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 9844 "configure" */
-/* [#]line 9850 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -9913,7 +9907,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 9910 "configure" */
-/* [#]line 9916 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -9979,7 +9973,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 9976 "configure" */
-/* [#]line 9982 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -10045,7 +10039,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10042 "configure" */
-/* [#]line 10048 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -10111,7 +10105,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10108 "configure" */
-/* [#]line 10114 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -10177,7 +10171,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10174 "configure" */
-/* [#]line 10180 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -10244,7 +10238,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10241 "configure" */
-/* [#]line 10247 "configure" */
 import java.lang.reflect.Field;
 
 public class Test
@@ -10306,7 +10300,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10303 "configure" */
-/* [#]line 10309 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -10372,7 +10366,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10369 "configure" */
-/* [#]line 10375 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -10440,7 +10434,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10437 "configure" */
-/* [#]line 10443 "configure" */
 import java.lang.reflect.Constructor;
 
 public class Test
@@ -10510,7 +10504,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10507 "configure" */
-/* [#]line 10513 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -10577,7 +10571,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10574 "configure" */
-/* [#]line 10580 "configure" */
 import java.lang.reflect.Method;
 
 public class Test
@@ -10644,7 +10638,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10641 "configure" */
-/* [#]line 10647 "configure" */
 import java.lang.reflect.Constructor;
 
 public class Test
@@ -10713,7 +10707,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10710 "configure" */
-/* [#]line 10716 "configure" */
 import java.lang.reflect.Constructor;
 
 public class Test
@@ -10782,7 +10776,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10779 "configure" */
-/* [#]line 10785 "configure" */
 import java.lang.reflect.Constructor;
 
 public class Test
@@ -10851,7 +10845,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $CLASS
+/* [#]line 10848 "configure" */
-/* [#]line 10854 "configure" */
 import java.lang.reflect.Constructor;
 
 public class Test
@@ -11170,12 +11164,6 @@
       JRE_ARCH_DIR=alpha
       CROSS_TARGET_ARCH=alpha
       ;;
-    arm64|aarch64)
-      BUILD_ARCH_DIR=aarch64
-      INSTALL_ARCH_DIR=aarch64
-      JRE_ARCH_DIR=aarch64
-      ARCHFLAG="-D_LITTLE_ENDIAN"
-      ;;
     arm*)
       BUILD_ARCH_DIR=arm
       INSTALL_ARCH_DIR=arm
@@ -12074,7 +12062,7 @@
   mkdir tmp.$$
   cd tmp.$$
   cat << \EOF > $CLASS
+/* [#]line 12065 "configure" */
-/* [#]line 12077 "configure" */
 
 public class Test
 {
@@ -12697,7 +12685,7 @@
   mkdir tmp.$$
   cd tmp.$$
   cat << \EOF > $CLASS
+/* [#]line 12688 "configure" */
-/* [#]line 12700 "configure" */
 import javax.xml.namespace.QName;
 import javax.xml.stream.Location;
 import javax.xml.stream.events.Attribute;
@@ -12787,7 +12775,7 @@
 mkdir tmp.$$
 cd tmp.$$
 cat << \EOF > $SUPERCLASS
+/* #line 12778 "configure" */
-/* #line 12790 "configure" */
 public class Test
 {
   public static final int POTATO = 0;
@@ -12795,7 +12783,7 @@
 }
 EOF
 cat << \EOF > $SUBCLASS
+/* #line 12786 "configure" */
-/* #line 12798 "configure" */
 public class TestImpl
   extends Test
 {
@@ -13518,12 +13506,12 @@
     pkg_cv_LCMS2_CFLAGS="$LCMS2_CFLAGS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.5\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.5") 2>&5
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "lcms2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
+  pkg_cv_LCMS2_CFLAGS=`$PKG_CONFIG --cflags "lcms2 >= 2.5" 2>/dev/null`
-  pkg_cv_LCMS2_CFLAGS=`$PKG_CONFIG --cflags "lcms2" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -13535,12 +13523,12 @@
     pkg_cv_LCMS2_LIBS="$LCMS2_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.5\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.5") 2>&5
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "lcms2") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
+  pkg_cv_LCMS2_LIBS=`$PKG_CONFIG --libs "lcms2 >= 2.5" 2>/dev/null`
-  pkg_cv_LCMS2_LIBS=`$PKG_CONFIG --libs "lcms2" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -13561,9 +13549,9 @@
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
+	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2 >= 2.5" 2>&1`
-	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2" 2>&1`
         else
+	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2 >= 2.5" 2>&1`
-	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2" 2>&1`
         fi
 	# Put the nasty error message in config.log where it belongs
 	echo "$LCMS2_PKG_ERRORS" >&5
diff -u openjdk-6-6b30-1.13.1/debian/changelog openjdk-6-6b30-1.13.1/debian/changelog
diff -u openjdk-6-6b30-1.13.1/debian/patches/java-access-bridge-security.patch openjdk-6-6b30-1.13.1/debian/patches/java-access-bridge-security.patch
--- openjdk-6-6b30-1.13.1/debian/patches/java-access-bridge-security.patch
+++ openjdk-6-6b30-1.13.1/debian/patches/java-access-bridge-security.patch
@@ -1,6 +1,6 @@
 --- openjdk/jdk/src/share/lib/security/java.security-linux
 +++ openjdk/jdk/src/share/lib/security/java.security-linux
-@@ -128,6 +128,7 @@
+@@ -128,6 +128,8 @@
  # corresponding RuntimePermission ("accessClassInPackage."+package) has
  # been granted.
  package.access=sun.,\
diff -u openjdk-6-6b30-1.13.1/debian/rules openjdk-6-6b30-1.13.1/debian/rules
--- openjdk-6-6b30-1.13.1/debian/rules
+++ openjdk-6-6b30-1.13.1/debian/rules
@@ -437,6 +437,9 @@
 	debian/patches/alpha-float-const.diff
 endif
 
+DISTRIBUTION_PATCHES += \
+	debian/patches/8017173.diff
+
 export DISTRIBUTION_PATCHES DISTRIBUTION_ECJ_PATCHES
 
 ifeq ($(STAGE1_JAVA),gcj)
@@ -955,6 +961,21 @@
           exit 1; \
 	fi
 
+# add any distro-specific patches here that should be applied before
+# icedtea-configure
+PRECONFIGURE_DEBIAN_PATCHES :=
+
+ifeq (,$(filter $(distrel),lenny squeeze wheezy saucy raring quantal precise oneiric natty maverick lucid karmic jaunty intrepid hardy))
+    PRECONFIGURE_DEBIAN_PATCHES += debian/patches/autotools-aarch64.diff
+endif
+
+preconfigure-distribution-patches: preconfigure-distribution-patches.stamp
+preconfigure-distribution-patches.stamp:
+	for p in $(PRECONFIGURE_DEBIAN_PATCHES) ; do \
+		cat "$$p" | patch -p1 ; \
+	done
+	touch $@
+
 packaging-files:
 	for f in debian/*.in debian/patches/*.in; do \
 	  case "$$f" in debian/control.in) continue; esac; \
@@ -994,7 +1015,7 @@
 endif
 
 icedtea-configure: stamps/icedtea-configure
-stamps/icedtea-configure:
+stamps/icedtea-configure: preconfigure-distribution-patches
 	-cat /etc/hosts
 
 	mkdir -p bin
@@ -1399,6 +1420,12 @@
 	  rm -f $$f2; \
 	done
 	rm -f debian/*.install debian/*.links debian/*.debhelper.log
+	if [ -e preconfigure-distribution-patches.stamp ]; then \
+	  for p in $(PRECONFIGURE_DEBIAN_PATCHES) ; do \
+	    cat "$$p" | patch -p1 -R ; \
+	  done ; \
+	  rm -f preconfigure-distribution-patches.stamp ; \
+	fi
 
 lib_ext_dirs = common $(sort $(foreach arch,$(arch_map),$(firstword $(subst =,$(SPACE),$(arch)))))
 ifeq ($(distribution),Ubuntu)
only in patch2:
unchanged:
--- openjdk-6-6b30-1.13.1.orig/debian/patches/8017173.diff
+++ openjdk-6-6b30-1.13.1/debian/patches/8017173.diff
@@ -0,0 +1,68 @@
+
+# HG changeset patch
+# User mullan
+# Date 1373562821 14400
+# Node ID c5d869453212ac971258f818de8b158dc22b6e8c
+# Parent 3119569301137347116bc045e4010f477bbc7a72
+8017173: XMLCipher with RSA_OAEP Key Transport algorithm can't be instantiated
+Reviewed-by: xuelei, vinnie
+
+--- openjdk/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/JCEMapper.java	Thu Jul 11 12:41:19 2013 +0400
++++ openjdk/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/JCEMapper.java	Thu Jul 11 13:13:41 2013 -0400
+@@ -160,7 +160,7 @@ public class JCEMapper {
+         );
+         algorithmsMap.put(
+             XMLCipher.RSA_OAEP,
+-            new Algorithm("RSA", "RSA/ECB/OAEPPadding", "KeyTransport")
++            new Algorithm("RSA", "RSA/ECB/OAEPWithSHA1AndMGF1Padding", "KeyTransport")
+         );
+         algorithmsMap.put(
+             XMLCipher.DIFFIE_HELLMAN,
+--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
++++ openjdk/jdk/test/com/sun/org/apache/xml/internal/security/encryption/XMLCipher/GetInstance.java	Thu Jul 11 13:13:41 2013 -0400
+@@ -0,0 +1,44 @@
++/*
++ * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * This code is free software; you can redistribute it and/or modify it
++ * under the terms of the GNU General Public License version 2 only, as
++ * published by the Free Software Foundation.
++ *
++ * This code is distributed in the hope that it will be useful, but WITHOUT
++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
++ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
++ * version 2 for more details (a copy is included in the LICENSE file that
++ * accompanied this code).
++ *
++ * You should have received a copy of the GNU General Public License version
++ * 2 along with this work; if not, write to the Free Software Foundation,
++ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
++ *
++ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
++ * or visit www.oracle.com if you need additional information or have any
++ * questions.
++ */
++
++/*
++ * @test
++ * @bug 8017173
++ * @summary Check that an XMLCipher with RSA_OAEP Key Transport algorithm can
++ *    be instantiated
++ * @compile -XDignore.symbol.file GetInstance.java
++ * @run main GetInstance
++ */
++import com.sun.org.apache.xml.internal.security.Init;
++import com.sun.org.apache.xml.internal.security.encryption.XMLCipher;
++
++public class GetInstance {
++
++    private static final String RSA_OAEP =
++        "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p";;
++
++    public static void main(String[] args) throws Exception {
++        Init.init();
++        XMLCipher.getInstance(RSA_OAEP);
++    }
++}
+
only in patch2:
unchanged:
--- openjdk-6-6b30-1.13.1.orig/debian/patches/autotools-aarch64.diff
+++ openjdk-6-6b30-1.13.1/debian/patches/autotools-aarch64.diff
@@ -0,0 +1,330 @@
+--- openjdk-6-6b30-1.13.1.orig/acinclude.m4
++++ openjdk-6-6b30-1.13.1/acinclude.m4
+@@ -22,6 +22,12 @@
+       JRE_ARCH_DIR=alpha
+       CROSS_TARGET_ARCH=alpha
+       ;;
++    arm64|aarch64)
++      BUILD_ARCH_DIR=aarch64
++      INSTALL_ARCH_DIR=aarch64
++      JRE_ARCH_DIR=aarch64
++      ARCHFLAG="-D_LITTLE_ENDIAN"
++      ;;
+     arm*)
+       BUILD_ARCH_DIR=arm
+       INSTALL_ARCH_DIR=arm
+@@ -1553,7 +1559,7 @@
+   AC_MSG_RESULT(${ENABLE_SYSTEM_LCMS})
+   if test x"${ENABLE_SYSTEM_LCMS}" = "xyes"; then
+     dnl Check for LCMS2 headers and libraries.
+-    PKG_CHECK_MODULES(LCMS2, lcms2 >= 2.5,[LCMS2_FOUND=yes],[LCMS2_FOUND=no])
++    PKG_CHECK_MODULES(LCMS2, lcms2,[LCMS2_FOUND=yes],[LCMS2_FOUND=no])
+     if test "x${LCMS2_FOUND}" = xno
+     then
+       AC_MSG_ERROR([Could not find LCMS >= 2.5; install it or build with --disable-system-lcms to use the in-tree copy.])
+--- openjdk-6-6b30-1.13.1.orig/configure
++++ openjdk-6-6b30-1.13.1/configure
+@@ -7216,6 +7216,12 @@
+       JRE_ARCH_DIR=alpha
+       CROSS_TARGET_ARCH=alpha
+       ;;
++    arm64|aarch64)
++      BUILD_ARCH_DIR=aarch64
++      INSTALL_ARCH_DIR=aarch64
++      JRE_ARCH_DIR=aarch64
++      ARCHFLAG="-D_LITTLE_ENDIAN"
++      ;;
+     arm*)
+       BUILD_ARCH_DIR=arm
+       INSTALL_ARCH_DIR=arm
+@@ -9478,7 +9484,7 @@
+   mkdir tmp.$$
+   cd tmp.$$
+   cat << \EOF > $CLASS
+-/* [#]line 9481 "configure" */
++/* [#]line 9487 "configure" */
+ 
+ public class Test
+ {
+@@ -9520,7 +9526,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 9523 "configure" */
++/* [#]line 9529 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -9587,7 +9593,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 9590 "configure" */
++/* [#]line 9596 "configure" */
+ public class Test
+ {
+   public static void main(String[] args)
+@@ -9635,7 +9641,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 9638 "configure" */
++/* [#]line 9644 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -9702,7 +9708,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 9705 "configure" */
++/* [#]line 9711 "configure" */
+ import java.lang.reflect.Constructor;
+ 
+ public class Test
+@@ -9771,7 +9777,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 9774 "configure" */
++/* [#]line 9780 "configure" */
+ import java.lang.reflect.Constructor;
+ 
+ public class Test
+@@ -9841,7 +9847,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 9844 "configure" */
++/* [#]line 9850 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -9907,7 +9913,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 9910 "configure" */
++/* [#]line 9916 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -9973,7 +9979,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 9976 "configure" */
++/* [#]line 9982 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -10039,7 +10045,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10042 "configure" */
++/* [#]line 10048 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -10105,7 +10111,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10108 "configure" */
++/* [#]line 10114 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -10171,7 +10177,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10174 "configure" */
++/* [#]line 10180 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -10238,7 +10244,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10241 "configure" */
++/* [#]line 10247 "configure" */
+ import java.lang.reflect.Field;
+ 
+ public class Test
+@@ -10300,7 +10306,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10303 "configure" */
++/* [#]line 10309 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -10366,7 +10372,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10369 "configure" */
++/* [#]line 10375 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -10434,7 +10440,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10437 "configure" */
++/* [#]line 10443 "configure" */
+ import java.lang.reflect.Constructor;
+ 
+ public class Test
+@@ -10504,7 +10510,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10507 "configure" */
++/* [#]line 10513 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -10571,7 +10577,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10574 "configure" */
++/* [#]line 10580 "configure" */
+ import java.lang.reflect.Method;
+ 
+ public class Test
+@@ -10638,7 +10644,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10641 "configure" */
++/* [#]line 10647 "configure" */
+ import java.lang.reflect.Constructor;
+ 
+ public class Test
+@@ -10707,7 +10713,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10710 "configure" */
++/* [#]line 10716 "configure" */
+ import java.lang.reflect.Constructor;
+ 
+ public class Test
+@@ -10776,7 +10782,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10779 "configure" */
++/* [#]line 10785 "configure" */
+ import java.lang.reflect.Constructor;
+ 
+ public class Test
+@@ -10845,7 +10851,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $CLASS
+-/* [#]line 10848 "configure" */
++/* [#]line 10854 "configure" */
+ import java.lang.reflect.Constructor;
+ 
+ public class Test
+@@ -11164,6 +11170,12 @@
+       JRE_ARCH_DIR=alpha
+       CROSS_TARGET_ARCH=alpha
+       ;;
++    arm64|aarch64)
++      BUILD_ARCH_DIR=aarch64
++      INSTALL_ARCH_DIR=aarch64
++      JRE_ARCH_DIR=aarch64
++      ARCHFLAG="-D_LITTLE_ENDIAN"
++      ;;
+     arm*)
+       BUILD_ARCH_DIR=arm
+       INSTALL_ARCH_DIR=arm
+@@ -12062,7 +12074,7 @@
+   mkdir tmp.$$
+   cd tmp.$$
+   cat << \EOF > $CLASS
+-/* [#]line 12065 "configure" */
++/* [#]line 12077 "configure" */
+ 
+ public class Test
+ {
+@@ -12685,7 +12697,7 @@
+   mkdir tmp.$$
+   cd tmp.$$
+   cat << \EOF > $CLASS
+-/* [#]line 12688 "configure" */
++/* [#]line 12700 "configure" */
+ import javax.xml.namespace.QName;
+ import javax.xml.stream.Location;
+ import javax.xml.stream.events.Attribute;
+@@ -12775,7 +12787,7 @@
+ mkdir tmp.$$
+ cd tmp.$$
+ cat << \EOF > $SUPERCLASS
+-/* #line 12778 "configure" */
++/* #line 12790 "configure" */
+ public class Test
+ {
+   public static final int POTATO = 0;
+@@ -12783,7 +12795,7 @@
+ }
+ EOF
+ cat << \EOF > $SUBCLASS
+-/* #line 12786 "configure" */
++/* #line 12798 "configure" */
+ public class TestImpl
+   extends Test
+ {
+@@ -13506,12 +13518,12 @@
+     pkg_cv_LCMS2_CFLAGS="$LCMS2_CFLAGS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.5\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.5") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "lcms2") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_LCMS2_CFLAGS=`$PKG_CONFIG --cflags "lcms2 >= 2.5" 2>/dev/null`
++  pkg_cv_LCMS2_CFLAGS=`$PKG_CONFIG --cflags "lcms2" 2>/dev/null`
+ 		      test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -13523,12 +13535,12 @@
+     pkg_cv_LCMS2_LIBS="$LCMS2_LIBS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.5\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.5") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "lcms2") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_LCMS2_LIBS=`$PKG_CONFIG --libs "lcms2 >= 2.5" 2>/dev/null`
++  pkg_cv_LCMS2_LIBS=`$PKG_CONFIG --libs "lcms2" 2>/dev/null`
+ 		      test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -13549,9 +13561,9 @@
+         _pkg_short_errors_supported=no
+ fi
+         if test $_pkg_short_errors_supported = yes; then
+-	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2 >= 2.5" 2>&1`
++	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2" 2>&1`
+         else
+-	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2 >= 2.5" 2>&1`
++	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2" 2>&1`
+         fi
+ 	# Put the nasty error message in config.log where it belongs
+ 	echo "$LCMS2_PKG_ERRORS" >&5

--- End Message ---
--- Begin Message ---
Source: openjdk-6
Source-Version: 6b30-1.13.2-1

We believe that the bug you reported is fixed in the latest version of
openjdk-6, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 740...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@ubuntu.com> (supplier of updated openjdk-6 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 31 Mar 2014 08:43:25 +0100
Source: openjdk-6
Binary: openjdk-6-jdk openjdk-6-jre-headless openjdk-6-jre openjdk-6-jre-lib 
openjdk-6-demo openjdk-6-source openjdk-6-doc openjdk-6-dbg icedtea-6-jre-cacao 
icedtea-6-jre-jamvm openjdk-6-jre-zero
Architecture: source amd64 all
Version: 6b30-1.13.2-1
Distribution: unstable
Urgency: medium
Maintainer: OpenJDK Team <open...@lists.launchpad.net>
Changed-By: Matthias Klose <d...@ubuntu.com>
Description: 
 icedtea-6-jre-cacao - Alternative JVM for OpenJDK, using Cacao
 icedtea-6-jre-jamvm - Alternative JVM for OpenJDK, using JamVM
 openjdk-6-dbg - Java runtime based on OpenJDK (debugging symbols)
 openjdk-6-demo - Java runtime based on OpenJDK (demos and examples)
 openjdk-6-doc - OpenJDK Development Kit (JDK) documentation
 openjdk-6-jdk - OpenJDK Development Kit (JDK)
 openjdk-6-jre - OpenJDK Java runtime, using ${vm:Name}
 openjdk-6-jre-headless - OpenJDK Java runtime, using ${vm:Name} (headless)
 openjdk-6-jre-lib - OpenJDK Java runtime (architecture independent libraries)
 openjdk-6-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
 openjdk-6-source - OpenJDK Development Kit (JDK) source files
Closes: 740289
Changes: 
 openjdk-6 (6b30-1.13.2-1) unstable; urgency=medium
 .
   * IcedTea 1.13.2 release.
 .
   [ Jamie Strandboge ]
   * debian/rules: disable system lcms2 for releases that don't have lcms2 2.5
     or higher.
   * debian/patches/8017173.diff: XMLCipher with RSA_OAEP Key Transport
     algorithm can't be instantiated (LP: #1283828)
   * debian/patches/java-access-bridge-security.patch: fix malformed patch
 .
   [ Matthias Klose ]
   * Re-enable the system lcms2 on releases which have an earlier lcms2
     with the security fixes included in 2.5.
   * Explicitly use AC_MAINTAINER_MODE and automake-1.11 to create the
     debian .orig tarball. Closes: #740289.
Checksums-Sha1: 
 32c4a285157f3cc7e0a114e54de1b515df403809 2877 openjdk-6_6b30-1.13.2-1.dsc
 3628cbad69033997e907024f856899e40ab8ff8a 64072322 
openjdk-6_6b30-1.13.2.orig.tar.gz
 5968b92a0c2d0b7e8370c8d9abfe38833768c8fe 156031 openjdk-6_6b30-1.13.2-1.diff.gz
 97fb337b4e0f22dfae60c3d6e4cbca154110d045 15053952 
openjdk-6-jdk_6b30-1.13.2-1_amd64.deb
 ddc21d8d7d81773a003877c04698ae587ecdcb11 30799170 
openjdk-6-jre-headless_6b30-1.13.2-1_amd64.deb
 60ff6f51eb122910fed7b1fc290cb61b38399c74 191738 
openjdk-6-jre_6b30-1.13.2-1_amd64.deb
 8505b0ba761d6bf1288bb5730861172cdca44762 1983486 
openjdk-6-demo_6b30-1.13.2-1_amd64.deb
 b0603367afd662410a3be14d3d02f1d3c7c7f600 76598628 
openjdk-6-dbg_6b30-1.13.2-1_amd64.deb
 1ddadb9ab26e5147aa623e038f519fd104ac24b7 364110 
icedtea-6-jre-cacao_6b30-1.13.2-1_amd64.deb
 34ca3a87408e0f792467204d0ff919ae0c4e8401 417754 
icedtea-6-jre-jamvm_6b30-1.13.2-1_amd64.deb
 49483704503889ea49ed17f2da8d119802191f63 1843572 
openjdk-6-jre-zero_6b30-1.13.2-1_amd64.deb
 daa6887360464381f73067f28f8d6e61c94d8c50 5957560 
openjdk-6-jre-lib_6b30-1.13.2-1_all.deb
 ea8f974abd4e9070b656455dc456fbca1eac91e2 39698952 
openjdk-6-source_6b30-1.13.2-1_all.deb
 a1487dd45f8a9074e01b66d40dd08d1f04cf00fe 10129584 
openjdk-6-doc_6b30-1.13.2-1_all.deb
Checksums-Sha256: 
 a09782e723ef37d5c9666bb4d00e95b68972ef6fd6e4b82058a119ef4a8e3bbf 2877 
openjdk-6_6b30-1.13.2-1.dsc
 59f4432727bf656f7ed3f1a032659bee440d3bff95f5fd13cedf71c05a3d14f3 64072322 
openjdk-6_6b30-1.13.2.orig.tar.gz
 b2927f26fc77df29ad94d3d5f95f8cc873452249432712b9cec839d62c7165d3 156031 
openjdk-6_6b30-1.13.2-1.diff.gz
 489ff2ed9dc1844c529583248d50881ecab0bdedfe46a879e2063761f376ee99 15053952 
openjdk-6-jdk_6b30-1.13.2-1_amd64.deb
 e23b987a146f5862ef7489e8130bd5f1e94addb8ef5bcd1830062fec264852fc 30799170 
openjdk-6-jre-headless_6b30-1.13.2-1_amd64.deb
 67a9cb15b4d6d91712557f068792c647936f69344a6fcbf167e069acac8bc09e 191738 
openjdk-6-jre_6b30-1.13.2-1_amd64.deb
 374082c3f9a263ef49f3373197addcf8ba0f6fab4d8167b8944411f8e32a7cc4 1983486 
openjdk-6-demo_6b30-1.13.2-1_amd64.deb
 f38500df4ab68e7a86cc87a540d97d9a343c8a4f44cb0c5572a0c2fd585e1f0d 76598628 
openjdk-6-dbg_6b30-1.13.2-1_amd64.deb
 7cf338eecbcb2cf586c5eeb72442f42878918cbdf7c4fbfd4c4552a3630ea71b 364110 
icedtea-6-jre-cacao_6b30-1.13.2-1_amd64.deb
 99d3db15f834378b5bad581613f0087e11d43967ab903ab2cb850bd6271b3dd9 417754 
icedtea-6-jre-jamvm_6b30-1.13.2-1_amd64.deb
 79a407cdeedfbd930921b1747d8f2fd57e5e6d5432e89f7fe08a497ba1fd7836 1843572 
openjdk-6-jre-zero_6b30-1.13.2-1_amd64.deb
 95fc3b16d28c59039a1e37e7c0fd98d10a360ac3c74276ec1f5a63c65cc12f97 5957560 
openjdk-6-jre-lib_6b30-1.13.2-1_all.deb
 f95cc06abdb903a13ef4dedd7e35c3d172e79546957d7d23b4d1a469b70487c2 39698952 
openjdk-6-source_6b30-1.13.2-1_all.deb
 c87e5f4e8fbed28dfd4ffd1da0fd5df394d41ba38fc7ef4aa5327c17cda913c8 10129584 
openjdk-6-doc_6b30-1.13.2-1_all.deb
Files: 
 16a4cdce64bca9593e5a67ff8ead4404 2877 java optional openjdk-6_6b30-1.13.2-1.dsc
 c125d7cbcff61a6fa47437052582f1ac 64072322 java optional 
openjdk-6_6b30-1.13.2.orig.tar.gz
 1e194b8a160c164eead6b397732d51a0 156031 java optional 
openjdk-6_6b30-1.13.2-1.diff.gz
 77bed30c8fb99aaba976b338ae0ec48b 15053952 java optional 
openjdk-6-jdk_6b30-1.13.2-1_amd64.deb
 a549dfa29ee8a9794ecb71949c143227 30799170 java optional 
openjdk-6-jre-headless_6b30-1.13.2-1_amd64.deb
 c371161f1b83c89b0b393886a2a9084e 191738 java optional 
openjdk-6-jre_6b30-1.13.2-1_amd64.deb
 1046c4b3e11e40ceb219f09311865823 1983486 java extra 
openjdk-6-demo_6b30-1.13.2-1_amd64.deb
 027d5066cc3e2697faf39b79b3c336a4 76598628 debug extra 
openjdk-6-dbg_6b30-1.13.2-1_amd64.deb
 17129de3da805f039746d74bb629f343 364110 java extra 
icedtea-6-jre-cacao_6b30-1.13.2-1_amd64.deb
 88e723e58f1b452702672df004aaf95f 417754 java extra 
icedtea-6-jre-jamvm_6b30-1.13.2-1_amd64.deb
 cab6cdc4eee80be4dae5ea4d608cab6d 1843572 java extra 
openjdk-6-jre-zero_6b30-1.13.2-1_amd64.deb
 1f517bc7c88a9020ae9a73217b856f1a 5957560 java optional 
openjdk-6-jre-lib_6b30-1.13.2-1_all.deb
 00ae6ff84b63c9dd88c4c4ae0fc1aad5 39698952 java extra 
openjdk-6-source_6b30-1.13.2-1_all.deb
 4e126af1a95587b447daabbd962f3911 10129584 doc extra 
openjdk-6-doc_6b30-1.13.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlM5U7wACgkQStlRaw+TLJwJ0gCeJ4UsNF7kxkWUImJoUo6xNdyo
0G8AoMjXqi+0Kiw822LrK8NpzscaZkYi
=Wj2M
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to