porting icedtea6 to FreeBSD
Jason Helfman
jgh at FreeBSD.org
Thu Mar 29 17:04:18 PDT 2012
On Thu, Mar 29, 2012 at 06:49:25PM -0400, Andrew Hughes thus spake:
>I don't know what's available on FreeBSD. We've tended to use gcj to get
>off the starting blocks, but OpenJDK6 works too.
I'll try openjdk6 first, and then if I can get it to work try others.
>> What makes you say I am not using the latest? I did update to 1.11.1
>> for
>> this latest build.
>> https://redports.org/browser/jgh/java/icedtea6/Makefile
>
>Ok I didn't see that. Sorry.
>As I say, you may still find hg useful for contributing back.
Ok, I'll keep this in mind.
>>
>> Yes, I noticed this with the change to 1.11.1, and removed those from
>> my
>> Makefile.
>
>Good.
>
>> >>
>> >> This has been resolved with later releases, and the patching is
>> >> probably a
>> >> result of misconfigured configured options.
>> >
>> >I doubt it from what I've seen of what you're doing.
>> >
>> >The issue seems to be that your OpenJDK sources are not in the
>> >expected state.
>>
>> It is the same checksum, though, and the same location that is
>> fetched
>> during the icedtea build. I just pre-fetch them, and assign it as a
>> configure option.
>> Here is a link to the files with the checksums that are used:
>> https://redports.org/browser/jgh/java/icedtea6/distinfo
>>
>
>Can you provide a log of what happens when you run make? Something
>is clearly going wrong, but I can't see what if the tarballs are ok.
>Are you starting from a clean directory?
I am starting from a clean directory every time I build.
Attached is the log you've requested.
Thanks!
-jgh
--
Jason Helfman | FreeBSD Committer
jgh at FreeBSD.org | http://people.freebsd.org/~jgh
-------------- next part --------------
===> License check disabled, port has not defined LICENSE
===> Extracting for icedtea6-1.11.1
=> SHA256 Checksum OK for icedtea6-1.11.1.tar.gz.
=> SHA256 Checksum OK for jaxp144_03.zip.
=> SHA256 Checksum OK for jdk6-jaxws2_1_6-2011_06_13.zip.
=> SHA256 Checksum OK for jdk6-jaf-b20.zip.
=> SHA256 Checksum OK for openjdk-6-src-b24-14_nov_2011.tar.gz.
===> Patching for icedtea6-1.11.1
/usr/bin/sed -i.bak -e 's|--dry-run||g' /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.am /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.in
/usr/bin/sed -i.bak -e 's|--check|-q|g' /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.am /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/Makefile.in
===> icedtea6-1.11.1 depends on executable: gcj46 - found
===> icedtea6-1.11.1 depends on package: eclipse-ecj>=3.7.2 - found
===> icedtea6-1.11.1 depends on package: xalan-j>=2.7.1 - found
===> icedtea6-1.11.1 depends on package: rhino>=1.7.r3 - found
===> icedtea6-1.11.1 depends on package: cups-client>=1.5.2 - found
===> icedtea6-1.11.1 depends on file: /usr/local/libdata/pkgconfig/mozilla-plugin.pc - found
===> icedtea6-1.11.1 depends on executable: pkg-config - found
===> icedtea6-1.11.1 depends on file: /usr/local/openjdk6/bin/java - found
===> icedtea6-1.11.1 depends on file: /usr/local/bin/autoconf-2.68 - found
===> icedtea6-1.11.1 depends on executable: pkg-config - found
===> icedtea6-1.11.1 depends on shared library: jpeg.11 - found
===> icedtea6-1.11.1 depends on shared library: gif.5 - found
===> icedtea6-1.11.1 depends on shared library: esd.2 - found
===> icedtea6-1.11.1 depends on shared library: glib-12.3 - found
===> icedtea6-1.11.1 depends on shared library: gnome.5 - found
===> icedtea6-1.11.1 depends on shared library: gtk-12.2 - found
===> icedtea6-1.11.1 depends on shared library: xml.5 - found
===> icedtea6-1.11.1 depends on shared library: Imlib.5 - found
===> icedtea6-1.11.1 depends on shared library: ORBit.2 - found
===> Configuring for icedtea6-1.11.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... amd64-portbld-freebsd8.2
checking host system type... amd64-portbld-freebsd8.2
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... none
checking for make... /usr/bin/make
checking for gzip... /usr/bin/gzip
checking for ant... /usr/local/bin/ant
checking for find... /usr/bin/find
checking for patch... /usr/bin/patch
checking for tar... /usr/bin/tar
checking for chmod... /bin/chmod
checking for sha256sum... /sbin/sha256
checking for wget... /dev/null
checking for zip... /usr/local/bin/zip
checking for unzip... /usr/local/bin/unzip
checking for cpio... /usr/bin/cpio
checking for file... /usr/bin/file
checking for fastjar... no
checking for jar... jar
checking for ldd... ldd
checking for gawk... /usr/local/bin/gawk
checking for hg... no
checking for an OpenJDK source directory... /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/openjdk
checking for lsb_release... no
checking whether to compile ecj natively... no
checking which HotSpot build to use... original
checking for linux32... no
checking version of GCC... 4.2.1 (major version 4, minor version 2)
checking for getconf... /usr/bin/getconf
checking the number of online processors... getconf: no such configuration parameter `_NPROCESSORS_ONLN'
2
checking how many parallel build jobs to execute... 2
checking if cp supports --reflink... no
checking if we can hard link rather than copy from /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1... yes
checking if a PaX-enabled kernel is running... no
checking for system library directory...
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NSS... yes
checking whether to disable the execution of the JTReg tests... no
checking whether to disable the execution of the HotSpot JTReg tests... no
checking whether to disable the execution of the langtools JTReg tests... no
checking whether to disable the execution of the JDK JTReg tests... no
checking for xvfb-run... no
checking for an Ant home directory... /usr/share/ant
checking whether to include PulseAudio support... no
checking whether to build documentation... yes
checking whether to enable experimental OpenJDK cross-compilation support... no
checking whether to include the XRender pipeline... yes
checking whether to include SystemTap tracing support... no
checking whether to include the NSS-based security provider... disabled by default (edit java.security to enable)
checking for distribution package version... none
checking build identification... Custom build (Thu Mar 29 16:54:09 PDT 2012)
checking whether to build a bootstrap version first... yes
checking for a JDK home directory... /usr/local/jdk1.6.0
checking if a java binary was specified... no
checking if /usr/local/jdk1.6.0/bin/java is a valid executable file... yes
checking for javac... /usr/local/bin/javac
checking if a javah binary was specified... no
checking if /usr/local/jdk1.6.0/bin/javah is a valid executable file... yes
checking if a jar binary was specified... no
checking if /usr/local/jdk1.6.0/bin/jar is a valid executable file... yes
checking whether jar supports @<file> argument... yes
checking whether jar supports stdin file arguments... no
checking whether jar supports -J options at the end... yes
checking if a rmic binary was specified... no
checking if /usr/local/jdk1.6.0/bin/rmic is a valid executable file... yes
checking if a native2ascii binary was specified... no
checking if /usr/local/jdk1.6.0/bin/native2ascii is a valid executable file... yes
checking for an ecj JAR file... /usr/local/share/java/classes/ecj-3.7.2.jar
checking for xsltproc... /usr/local/bin/xsltproc
checking whether to include Javascript support via Rhino... /usr/local/share/java/rhino/rhino.jar
checking for an OpenJDK source zip... /usr/ports/distfiles/openjdk-6-src-b24-14_nov_2011.tar.gz
checking for a HotSpot source zip... not specified
checking for an alternate jar command... not specified
checking for a JAXP drop zip... /usr/ports/distfiles/jaxp144_03.zip
checking for a JAF drop zip... /usr/ports/distfiles/jdk6-jaf-b20.zip
checking for a JAXWS drop zip... /usr/ports/distfiles/jdk6-jaxws2_1_6-2011_06_13.zip
checking whether to use CACAO as VM... no
checking for a CACAO home directory... $(abs_top_builddir)/cacao/install
checking for a CACAO source zip... not specified
checking for a CACAO source directory... not specified
checking whether to use JamVM as VM... no
checking for a JamVM source zip... not specified
checking whether to disable optimizations and build with -O0 -g... no
checking whether to use the Shark JIT... no
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to use the zero-assembler port... yes
checking whether byte ordering is bigendian... no
checking for additional virtual machines to build... none
checking whether to retrieve the source code from Mercurial... no
checking which Mercurial revision to use... tip
checking which Java timezone data directory to use... /usr/share/javazi
checking if javax.xml.stream.events.Attribute.getDTDType() wrongly returns a QName... no
checking if /usr/local/jdk1.6.0/bin/javah exhibits Classpath bug 39408... no
checking if /usr/local/jdk1.6.0/bin/javah exhibits Classpath bug 40188... no
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking cups/ppd.h usability... yes
checking cups/ppd.h presence... yes
checking for cups/ppd.h... yes
checking X11/X.h usability... yes
checking X11/X.h presence... yes
checking for X11/X.h... yes
checking for main in -ljpeg... yes
checking for main in -lgif... yes
checking for main in -lz... yes
checking for XPROTO... yes
checking for XT... yes
checking for XP... yes
checking for X11... yes
checking for XINERAMA... yes
checking for XRENDER... yes
checking for absolute java home install dir... /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/openjdk.build/j2sdk-image
checking for LIBPNG... yes
checking for XTST... yes
checking for FREETYPE2... yes
checking for LIBFFI... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nss.cfg
config.status: creating javac
config.status: creating javap
config.status: creating jvm.cfg
config.status: creating ergo.c
config.status: creating tz.properties
config.status: creating jconsole.desktop
config.status: creating policytool.desktop
config.status: executing depfiles commands
===> Building for icedtea6-1.11.1
mkdir -p stamps ; if test "xno" != "xno"; then no -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wl,-Bsymbolic -findirect-dispatch -o native-ecj --main=org.eclipse.jdt.internal.compiler.batch.Main /usr/local/share/java/classes/ecj-3.7.2.jar ; fi ; touch stamps/native-ecj.stamp
mkdir -p /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/bin stamps/
ln -sf /usr/local/jdk1.6.0/bin/java /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/bin/java
ln -sf /usr/local/jdk1.6.0/bin/javah /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/bin/javah
ln -sf /usr/local/jdk1.6.0/bin/rmic /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/bin/rmic
ln -sf /usr/local/jdk1.6.0/bin/jar /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/bin/jar
ln -sf /usr/local/jdk1.6.0/bin/native2ascii /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/bin/native2ascii
ln -sf /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/javac /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/bin/javac
ln -sf /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/javap /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/bin/javap
mkdir -p /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/jre/lib && cp /usr/local/jdk1.6.0/jre/lib/rt.jar /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/jre/lib/rt.jar && ln -sf /usr/local/jdk1.6.0/jre/lib/amd64 /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/jre/lib/ && if ! test -d /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/jre/lib/amd64; then ln -sf ./amd64 /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/jre/lib/amd64; fi;
mkdir -p /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/include && for i in /usr/local/jdk1.6.0/include/*; do test -r $i | continue; i=`basename $i`; rm -f /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/include/$i; ln -s /usr/local/jdk1.6.0/include/$i /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/include/$i; done
mkdir -p /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/lib && ln -sf /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/jre/lib/rt.jar /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj/lib/tools.jar
mkdir -p stamps
touch stamps/bootstrap-directory-ecj.stamp
rm -f /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/jdk1.6.0
ln -sf /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/ecj /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/bootstrap/jdk1.6.0
mkdir -p stamps
touch stamps/bootstrap-directory-symlink-ecj.stamp
mkdir -p drops
ln -sf /usr/ports/distfiles/jaxp144_03.zip drops/jaxp144_03.zip
if ! echo "c1a5348e17b330a7e4b18431e61a40efd2ba99a7da71102cf2c604478ef96012 drops/jaxp144_03.zip" | /sbin/sha256 -q ; then if [ -f drops/jaxp144_03.zip ] ; then mv drops/jaxp144_03.zip drops/jaxp144_03.zip.old ; fi ; /dev/null http://icedtea.classpath.org/download/drops/jaxp144_03.zip -O drops/jaxp144_03.zip; if ! echo "c1a5348e17b330a7e4b18431e61a40efd2ba99a7da71102cf2c604478ef96012 drops/jaxp144_03.zip" | /sbin/sha256 -q ; then echo "ERROR: Bad download of jaxp drop zip"; false; fi; fi ;
6c74f8eac6ca56ac1a0f2d2e9390530bdee2c03c371451cbabd1bb68fbb6598a
mkdir -p stamps
touch stamps/download-jaxp-drop.stamp
mkdir -p drops
ln -sf /usr/ports/distfiles/jdk6-jaxws2_1_6-2011_06_13.zip drops/jdk6-jaxws2_1_6-2011_06_13.zip
if ! echo "229040544e791f44906e8e7b6f6faf503c730a5d854275135f3925490d5c3be3 drops/jdk6-jaxws2_1_6-2011_06_13.zip" | /sbin/sha256 -q ; then if [ -f drops/jdk6-jaxws2_1_6-2011_06_13.zip ] ; then mv drops/jdk6-jaxws2_1_6-2011_06_13.zip drops/jdk6-jaxws2_1_6-2011_06_13.zip.old ; fi ; /dev/null http://icedtea.classpath.org/download/drops/jdk6-jaxws2_1_6-2011_06_13.zip -O drops/jdk6-jaxws2_1_6-2011_06_13.zip; if ! echo "229040544e791f44906e8e7b6f6faf503c730a5d854275135f3925490d5c3be3 drops/jdk6-jaxws2_1_6-2011_06_13.zip" | /sbin/sha256 -q ; then echo "ERROR: Bad download of jaxws drop zip"; false; fi; fi ;
819ad775a137ec311e1f5d58bb63c45c476e4f827c7709c7c623527a5d726a2b
mkdir -p stamps
touch stamps/download-jaxws-drop.stamp
mkdir -p drops
ln -sf /usr/ports/distfiles/jdk6-jaf-b20.zip drops/jdk6-jaf-b20.zip
if ! echo "78c7b5c9d6271e88ee46abadd018a61f1e9645f8936cc8df1617e5f4f5074012 drops/jdk6-jaf-b20.zip" | /sbin/sha256 -q ; then if [ -f drops/jdk6-jaf-b20.zip ] ; then mv drops/jdk6-jaf-b20.zip drops/jdk6-jaf-b20.zip.old ; fi ; /dev/null http://icedtea.classpath.org/download/drops/jdk6-jaf-b20.zip -O drops/jdk6-jaf-b20.zip; if ! echo "78c7b5c9d6271e88ee46abadd018a61f1e9645f8936cc8df1617e5f4f5074012 drops/jdk6-jaf-b20.zip" | /sbin/sha256 -q ; then echo "ERROR: Bad download of jaf drop zip"; false; fi; fi ;
0920f61f02b6a0e57cd1df9ee6c76e84b2b9bcda0c6405779d57e493188d89a3
mkdir -p stamps
touch stamps/download-jaf-drop.stamp
mkdir -p stamps
touch stamps/download-drops.stamp
mkdir -p stamps
touch stamps/download-cacao.stamp
mkdir -p stamps
touch stamps/download-jamvm.stamp
mkdir -p stamps
touch stamps/hgforest.stamp
ln -sf /usr/ports/distfiles/openjdk-6-src-b24-14_nov_2011.tar.gz openjdk-6-src-b24-14_nov_2011.tar.gz
mkdir -p stamps
touch stamps/download-openjdk.stamp
mkdir -p stamps
touch stamps/download-hotspot.stamp
touch stamps/download.stamp
set -e ; if ! test -d openjdk ; then mkdir openjdk ; /usr/bin/tar xf openjdk-6-src-b24-14_nov_2011.tar.gz -C openjdk; chmod -R ug+w openjdk ; sh /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/fsg.sh ; fi
Further liberating OpenJDK...
mkdir -p stamps
touch stamps/extract-openjdk.stamp
mkdir -p stamps
touch stamps/extract-cacao.stamp
mkdir -p stamps
touch stamps/extract-jamvm.stamp
mkdir -p stamps
touch stamps/extract.stamp
mkdir -p stamps
touch stamps/replace-hotspot.stamp
for target in /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/tools /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/src/*cpu/* ; do link=$(dirname $target | sed 's/^.*arm_port/openjdk/'); cp -rv -l $target $link; chmod -R ug+rwX $link; done
/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/tools -> openjdk/hotspot/tools
/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/tools/mkbc.c -> openjdk/hotspot/tools/mkbc.c
/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/src/cpu/zero -> openjdk/hotspot/src/cpu/zero
/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/src/cpu/zero/vm -> openjdk/hotspot/src/cpu/zero/vm
/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/src/cpu/zero/vm/thumb2.cpp -> openjdk/hotspot/src/cpu/zero/vm/thumb2.cpp
/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S -> openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/src/cpu/zero/vm/asm_helper.cpp -> openjdk/hotspot/src/cpu/zero/vm/asm_helper.cpp
/usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/arm_port/hotspot/src/cpu/zero/vm/bytecodes_arm.def -> openjdk/hotspot/src/cpu/zero/vm/bytecodes_arm.def
mkdir -p stamps
touch stamps/ports.stamp
if [ ! -e /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/generated.build ]; then cp -a /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/generated /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/generated.build && chmod -R ug+rwX /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/generated.build ; fi
mkdir -p stamps
touch stamps/generated.stamp
cp openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.properties openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.9.properties
cp openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.properties openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.10.properties
cp openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.properties openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.11.properties
cp openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.properties openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.12.properties
mkdir -p stamps
touch stamps/fonts.stamp
mkdir -p stamps ; rm -f stamps/patch-fsg.stamp.tmp ; touch stamps/patch-fsg.stamp.tmp ; all_patches_ok=yes; for p in ; do if test x${all_patches_ok} = "xyes" && echo Checking $p && /usr/bin/patch -l -p0 -s -t -f < /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/$p ; then echo Applying $p ; /usr/bin/patch -l -p0 < /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/$p ; if ! grep "^\* $(basename $p)" /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/HACKING >> stamps/patch-fsg.stamp.tmp ; then echo "* $(basename $p): UNDOCUMENTED" >> stamps/patch-fsg.stamp.tmp ; fi ; else test x${all_patches_ok} = "xyes" && all_patches_ok=$p ; fi ; done ; mv stamps/patch-fsg.stamp.tmp stamps/patch-fsg.stamp ; if ! test x${all_patches_ok} = "xyes"; then echo ERROR patch ${all_patches_ok} FAILED! ; echo WARNING make clean-patch before retrying a fix ; exit 2; fi ;
mkdir -p stamps ; rm -f stamps/patch.stamp.tmp ; touch stamps/patch.stamp.tmp ; all_patches_ok=yes; for p in patches/security/20120214/7082299.patch patches/security/20120214/7088367.patch patches/security/20120214/7110683.patch patches/security/20120214/7110687.patch patches/security/20120214/7110700.patch patches/security/20120214/7110704.patch patches/security/20120214/7118283.patch patches/security/20120214/7126960.patch patches/openjdk/6610244-modal-fatal-error-windows.patch patches/stdc-limit-macros.patch patches/openjdk/4993545-nativeinlightfixer.patch patches/openjdk/6637796-set_bounds.patch patches/openjdk/6607660-treelock.patch patches/openjdk/6607170-request_focus.patch patches/openjdk/4685768-focus.patch patches/openjdk/6616323-component_array.patch patches/openjdk/6682046-shape_calculation.patch patches/openjdk/6797195-hw_lw_mixing.patch patches/openjdk/6725214-direct3d-01.patch patches/openjdk/6748082-isDisplayLocal.patch patches/openjdk/6633275-shaped_translucent_windows.patch patches/security/20120214/7112642.patch patches/openjdk/6769607-modal-hangs.patch patches/openjdk/6791612-opengl-jni-fix.patch patches/openjdk/6755274-glgetstring-crash.patch patches/openjdk/6984543-onscreen_rendering_resize_test.patch patches/openjdk/6693253-security_warning.patch patches/openjdk/6444769-windowwithwarningtest.patch patches/notice-safepoints.patch patches/parisc-opt.patch patches/lucene-crash.patch patches/version.patch patches/version-hotspot.patch patches/text-relocations.patch patches/openjdk/7043921-java_rmi_cgi.patch patches/use-system-tzdata.patch patches/headers.patch patches/gcc-suffix.patch patches/memory-limits.patch patches/libraries.patch patches/jvmtiEnv.patch patches/lcms.patch patches/print_lsb_release.patch patches/uname.patch patches/freetypeversion.patch patches/nomotif-6706121.patch patches/nomotif.patch patches/nomotif-mtoolkit.patch patches/alpha-fixes.patch patches/alt-jar.patch patches/jdk-use-ssize_t.patch patches/use-idx_t.patch patches/params-cast-size_t.patch patches/clean-crypto.patch patches/arch.patch patches/lc_ctype.patch patches/xjc.patch patches/linker-libs-order.patch patches/testenv.patch patches/samejvm-safe.patch patches/pr261.patch patches/sparc-buildfixes.patch patches/sparc64-linux.patch patches/sparc-ptracefix.patch patches/sparc-trapsfix.patch patches/jtreg-6592792.patch patches/s390-noinline.patch patches/jtreg-dnd.patch patches/jtreg-jrunscript.patch patches/network-unreachable.patch patches/dnd-filelists.patch patches/disable-cc-incompatible-sanity-checks.patch patches/explicit-target-arch.patch patches/openjdk/7019808-stack_noexec.patch patches/parisc.patch patches/sh4-support.patch patches/policy-evaluation.patch patches/update-bootclasspath.patch patches/openjdk/6959123-libpng_14.patch patches/applet_hole.patch patches/jtreg-httpTest.patch patches/arm.patch patches/debug-dir.patch patches/override-redirect-metacity.patch patches/openjdk/6967533-pre_epoch.patch patches/fonts-rhel.patch patches/fonts-gentoo.patch patches/ipv4-mapped-ipv6-addresses.patch patches/jtreg-OpenGLContextInit.patch patches/openjdk/6510892-httpserver_test.patch patches/openjdk/6638712-wildcard_types.patch patches/openjdk/6650759-missing_inference.patch patches/numa_on_early_glibc.patch patches/jtreg-international-fonts.patch patches/f14-fonts.patch patches/jtreg-T6638712-fix.patch patches/jtreg-T6650759m-fix.patch patches/openjdk/7003777-bad-html-entity-parse.patch patches/jtreg-6929067-fix.patch patches/rendering-engine-tests.patch patches/openjdk/6800846-printing-quality.patch patches/rh661505-jpeg.patch patches/6703377-freetypescaler.patch patches/ia64-fix.patch patches/openjdk/6642612-filechooser_button_sizes.patch patches/jtreg-international-fonts-styles.patch patches/openjdk/6736649-text_bearings.patch patches/openjdk/6797139-jbutton_truncation.patch patches/openjdk/6883341-text_bearing_exception.patch patches/jtreg-png-reader.patch patches/openjdk/4724552-CubicCurve2D.patch patches/openjdk/4493128-CubicCurve2D.patch patches/openjdk/4645692-CubicCurve2D.solveCubic.patch patches/no-static-linking.patch patches/openjdk/7041156-gcc_export_dynamic.patch patches/g344659-sparc_fix.patch patches/openjdk/6728834-blurred-lcd-aa-text.patch patches/openjdk/6749060-bad-lcd-aa-non-opaque-dest.patch patches/openjdk/6708580-exa_slow.patch patches/openjdk/6896068-sg2d.patch patches/openjdk/7021314-no_javaws_man_page.patch patches/pr586-include_all_srcs.patch patches/jtreg-LastErrorString.patch patches/openjdk/6663040-com.sun.awt.patch patches/openjdk/6775317-non-AA-simple-shape-performance.patch patches/pr600-arm-jvm.cfg.patch patches/openjdk/6887494-NPE-in-pisces.patch patches/openjdk/6967436-6967433-floating-pt-conversion.patch patches/openjdk/6976265-stroke-control.patch patches/openjdk/6967434-bad-round-joins.patch patches/openjdk/6766342-AA-simple-shape-performance.patch patches/openjdk/7016856-pisces-performance.patch patches/openjdk/6934977-MappedByteBuffer.load.patch patches/jtreg-hotspot-bug-6196102.patch patches/jtreg-double-to-string.patch patches/openjdk/7023591-AAShapePipe.patch patches/openjdk/7027667-AAShapePipeRegTest.patch patches/openjdk/7019861-AA-regression-fix.patch patches/g356743-libpng-1.5.patch patches/revert-6885123.patch patches/openjdk/7032388-work_without_cmov_instruction.patch patches/openjdk/7031385-gcc-register-allocation-fix.patch patches/openjdk/6986968-crash_on_xim_restart.patch patches/openjdk/7036754-stroker-nan.patch patches/openjdk/pgram-pipe-regression.patch patches/openjdk/7034464-hugepage.patch patches/openjdk/7037939-hugepage.patch patches/openjdk/7043564-hugepage.patch patches/openjdk/mutter.patch patches/fonts-rhel-version.patch patches/openjdk/7036148-npe-null-jmenu-name.patch patches/jtreg-ChangeDir.patch patches/jtreg-TempBuffer.patch patches/jtreg-EncodedMultiByteChar.patch patches/jtreg-FileLoaderTest.patch patches/jtreg-FileMap.patch patches/jtreg-ChannelsWrite.patch patches/jtreg-bug7036148-test.patch patches/jtreg-ReadWriteProfileTest.patch patches/openjdk/6818312-com.sun.awt.SecurityWarning.getSize.patch patches/jtreg-MappedByteBuffer-Basic.patch patches/openjdk/7008106-WindowOpacity.patch patches/openjdk/6956668-misbehavior_of_XOR_operator_with_int.patch patches/openjdk/6699843-IllegalArgumentException_drawString.patch patches/openjdk/6918065-Crash_in_Java2D_blit_loop.patch patches/openjdk/6623219-Font_canDisplayUpTo_does_not_work.patch patches/support_linux_3.patch patches/openjdk/6783910-java_awt_Color_brighter_darker_fix.patch patches/openjdk/6785424-SecurityException_locating_physical_fonts.patch patches/openjdk/7047069-Array_can_dynamically_change_size.patch patches/openjdk/6796786-invalid_FP_identity_transform.patch patches/openjdk/7042070-Typo_in_Test6796786.patch patches/openjdk/6679308-Poor_text_rendering_on_translucent_image.patch patches/openjdk/6842838-64-bit_failure_in_handling_invalid_manifest.patch patches/openjdk/6882768-test_for_6842838_is_broken.patch patches/pr639-broken_shark_build.patch patches/powerpc-stacksize.patch patches/jtreg-remove-test-6987555.patch patches/jtreg-remove-test-6991596.patch patches/openjdk/7036220-shark_llvm_29_headers.patch patches/openjdk/7029152-String_intrinsics_miss_optimization.patch patches/openjdk/6711682-JCheckBox_in_JTable_does_not_respond_to_click.patch patches/openjdk/6758179-D3D_AlphaComposite_is_applied_incorrectly.patch patches/jtreg-ConstructDeflaterInput-fix.patch patches/openjdk/6613904-GroupLayout_createParallelGroup_null_arg.patch patches/openjdk/7049339-anyblit-broken.patch patches/jtreg-hotspot-Test7020373-fix.patch patches/openjdk/4917091-javac_rejects_array_over_128_in_length.patch patches/openjdk/6390045-error_cannot_access_java_lang_void.patch patches/openjdk/6752638-preferLocaleFonts_throws_NPE.patch patches/openjdk/5047314-Collator_compare_runs_indefinitely.patch patches/openjdk/6669869-Beans_isDesignTime_should_be_per-AppContext.patch patches/openjdk/6934356-Vector_writeObject_serialization_DL.patch patches/openjdk/7036582-Improve_test_coverage_of_BigDecimal.patch patches/pr690-shark-jit-hs20.patch patches/pr696-zero-fast_aldc-hs20.patch patches/openjdk/6806261-BigDecimal_longValueExact_throws_NPE.patch patches/openjdk/6371401-BigInteger.shift_throws_StackOverflowError.patch patches/openjdk/6826104-npe_on_app_and_toolkit_modal_dialog_click.patch patches/openjdk/5082756-ImageIO_plugins_metadata_boolean_attributes.patch patches/openjdk/6296893-BMP_Writer_handles_TopDown_prop_incorrectly.patch patches/openjdk/7103224-glibc_name_collision.patch patches/arm-debug.patch patches/arm-hsdis.patch patches/openjdk/7103610-_NET_WM_PID_and_WM_CLIENT_MACHINE_are_not_set.patch patches/openjdk/7102369-7094468-rmiregistry.patch patches/openjdk/6851973-kerberos.patch patches/openjdk/7091528-javadoc_class_files.patch patches/openjdk/7103725-ssl_beast_regression.patch patches/openjdk/7140882-dont-return-booleans-from-methods-returning-pointers.patch patches/openjdk/remove-mimpure-option-to-gcc.patch patches/rhino.patch patches/openjdk/6307603-xrender-01.patch patches/openjdk/6961633-xrender-02.patch patches/openjdk/7018387-xrender_gc_leak.patch patches/nss-not-enabled-config.patch ; do if test x${all_patches_ok} = "xyes" && echo Checking $p && /usr/bin/patch -l -p0 -s -t -f < /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/$p ; then echo Applying $p ; /usr/bin/patch -l -p0 < /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/$p ; if ! grep "^\* $(basename $p)" /usr/local/workspace/redports/java/icedtea6/work/icedtea6-1.11.1/HACKING >> stamps/patch.stamp.tmp ; then echo "* $(basename $p): UNDOCUMENTED" >> stamps/patch.stamp.tmp ; fi ; else test x${all_patches_ok} = "xyes" && all_patches_ok=$p ; fi ; done ; mv stamps/patch.stamp.tmp stamps/patch.stamp ; if ! test x${all_patches_ok} = "xyes"; then echo ERROR patch ${all_patches_ok} FAILED! ; echo WARNING make clean-patch before retrying a fix ; exit 2; fi
Checking patches/security/20120214/7082299.patch
Applying patches/security/20120214/7082299.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|# HG changeset patch
|# User robm
|# Date 1322691030 0
|# Node ID ee0f12b18cb8d20c3fb61e96817bde6318a29221
|# Parent dd8956e41b892ed7102e1d5668781f2c68ea9ac5
|7082299: AtomicReferenceArray should ensure that array is Object[]
|Summary: java.util.concurrent.AtomicReferenceArray needs to ensure that internal array is always Object[].
|Reviewed-by: chegar, coffeys
|
|diff --git a/src/share/classes/java/util/concurrent/atomic/AtomicReferenceArray.java b/src/share/classes/java/util/concurrent/atomic/AtomicReferenceArray.java
|--- openjdk/jdk/src/share/classes/java/util/concurrent/atomic/AtomicReferenceArray.java
|+++ openjdk/jdk/src/share/classes/java/util/concurrent/atomic/AtomicReferenceArray.java
--------------------------
Patching file openjdk/jdk/src/share/classes/java/util/concurrent/atomic/AtomicReferenceArray.java using Plan A...
Reversed (or previously applied) patch detected! Assume -R? [y]
More information about the distro-pkg-dev
mailing list