[Bug 3166] invalid zip timestamp handling leads to error building bootstrap-javac

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Tue Sep 13 18:19:52 UTC 2016


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3166

Andrew John Hughes <gnu.andrew at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.6.8

--- Comment #3 from Andrew John Hughes <gnu.andrew at redhat.com> ---
(In reply to Ricardo Ribalda from comment #2)
> >> On this patch, I remove the -u option from zip, always replacing the
> >> classes inside rt.jar with the classes from openjdk. I cannot think of
> >> an scenario where this may fail.
> 
> >While I agree we can safely remove the -u, the real issue here is that your >environment is not correctly configured, which may cause problems elsewhere in >the build. Did it work with TZ set?
> 
> I am using Yocto (openembedded) as my build system, in theory it should take
> care of all the environment variables that could make build not repeatable.
> I have already sent a patch (the same) to meta-java and it has been merged
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?h=master-
> next&id=512afef26cfb0092e55f6ff43f0d46957c1e19de 
> 
> I will try to take a look to why the timestamps are wrong or why unzip does
> not work properly.
> 
> On the meantime I do not see why we need the -u option here. Even if the
> files are "newer" we want to use the classes compiled by icedtea.

As I said, I agree and it will be fixed in the next release.

But you do need to look at why you're using such an old unsupported version in
a broken environment.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20160913/d1fe84a9/attachment.html>


More information about the distro-pkg-dev mailing list