porting icedtea6 to FreeBSD

Andrew Hughes ahughes at redhat.com
Wed Mar 28 05:34:55 PDT 2012

----- Original Message -----
> Hi,
> I am trying to do a port of iceatea6 to FreeBSD, and am getting a
> failure when it is in the patching stage. I did have to patch the
> method of patching to include a "-R" as they were already seen as
> patched. I don't know if this something that I should be doing or
> not, however it did get past the initial patches, and fails at the
> end.
> Here is the error I receive:
> Checking patches/security/20110607/6213702.patch
> 5 out of 5 hunks failed--saving rejects to
> openjdk/jdk/src/windows/classes/sun/nio/ch/WindowsSelectorImpl.java.rej
> 2 out of 2 hunks failed--saving rejects to
> openjdk/jdk/src/windows/native/sun/nio/ch/WindowsSelectorImpl.c.rej
> ERROR patch patches/security/20110607/6213702.patch FAILED!
> WARNING make clean-patch before retrying a fix
> *** Error code 2
> Stop in /usr/local/workspace/jgh/icedtea6/work/icedtea6-1.10.6.
> *** Error code 1
> Stop in /usr/local/workspace/jgh/icedtea6
> The source for my port can be found here:
> http://svn.freebsd.org/base/user/jgh/icedtea6/
> Thanks in advance, and I've attached the rejected files and the make
> log.
> Jason

It's hard to tell what's happening here without more details as to how
you're building.  Posting config.log would be very helpful.

If you're building icedtea6 directly against an openjdk6 checkout, rather
than the default of using release tarballs, this will happen as the security
patches are already applied in OpenJDK6 upstream.  For hg, you
need the hg branch:


Going forward, I doubt this will work as OpenJDK6 doesn't have the *BSD work
that Oracle have integrated for Mac OS X.  You might be better starting from
7.  6 is likely to end up having to be retired by the end of the year anyway,
as Oracle intend to stop security support.
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07

More information about the distro-pkg-dev mailing list