[icedtea7] 2.4.1 patch error on Debian

Alex Kasko alex.kasko.lists at gmail.com
Wed Aug 14 12:23:10 PDT 2013


On 08/14/2013 05:59 PM, Andïï wrote:
> On 14 August 2013 15:33, Alex Kasko <alex.kasko.lists at gmail.com> wrote:
>> I'm trying to build icedtea-2.4.1
>> (http://blog.fuseyism.com/index.php/2013/07/08/security-icedtea-2-4-1-for-openjdk-7-released/)
>> on Debian Wheezy amd64 and got patch error. My build steps:
>>
>>      $ uname -a
>>      Linux hp 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux
>>      $ sha256sum icedtea-2.4.1.tar.gz
>>      65142e19ee14c28106345b30b6181f5a4926dd20be599c536d778e31a8a5812a
>> icedtea-2.4.1.tar.gz
>>      $ cd icedtea-2.4.1/
>>      $ ./configure
>>      $ make
>>      ...
>>      Checking patches/boot/ecj-diamond.patch
>>      1 out of 4 hunks FAILED -- saving rejects to file
>> openjdk-boot/jdk/src/share/classes/sun/security/krb5/internal/ktab/KeyTab.java.rej
>>      1 out of 3 hunks FAILED -- saving rejects to file
>> openjdk-boot/jdk/src/share/classes/sun/util/logging/PlatformLogger.java.rej
>>      ERROR patch patches/boot/ecj-diamond.patch FAILED!
>>      WARNING make clean-patch before retrying a fix
>>      make: *** [stamps/patch-boot.stamp] Error 2
>>
>> Specified ".rej" files don't exists after this error. I've tried different
>> configure settings and error is always reproducible. 2.4.0 version works
>> fine.
>>
>> I'm not familiar with icedtea patching process - is there anything that I'm
>> missing here?
>>
>>
>> --
>> Regards,
>> Alex Kasko
>
> We're aware of the issue -
> https://bugs.gentoo.org/show_bug.cgi?id=478484 - and a new release
> will be out soon to fix it.
>
> As a workaround, a newer version of ecj that supports diamond will
> work, as will using an existing install of IcedTea 2.x.
> This can be specified using --with-jdk-home.  On Debian, this can be
> achieved by:
>
> # apt-get install openjdk-7-jdk
> $ ./configure --with-java-home=/usr/lib/jvm/java-7-openjdk
>
> where # commands are performed as the root user (or via sudo) and $
> commands are performed as a normal user.
>
> Apologies for the inconvenience.
>
Thanks, it works fine with openjdk-7.

-- 
Regards,
Alex Kasko



More information about the distro-pkg-dev mailing list