[Slackbuilds-users] openjdk8 compile (either manually or via sbotools) failing at openjdk7
Luc Van Rompaey
luc.vanrompaey at gmail.com
Fri Apr 8 12:18:37 UTC 2022
Op wo 6 apr. 2022 om 14:49 schreef Habs <gen-bch at useyouresp.org.uk>:
> On Wed, 6 Apr 2022, Luc Van Rompaey wrote:
>
> > Op wo 6 apr. 2022 om 10:10 schreef Arnaud via SlackBuilds-users <
> > slackbuilds-users at slackbuilds.org>:
> >
> >>>>> java.util.zip.ZipException: invalid entry CRC (expected 0x3943b2a7
> but
> >>>>> got 0xc7a06d31)
> >>>>
> >>>> This looks like you're inadvertently using the wrong set of source
> >>>> files. Each new openjdk version has a new set of source files, many of
> >>>> which have no version number (openjdk.tar.bz2, corba.tar.bz2, ...) so
> >>>> your build system can easily pick up the wrong source file.
> >>>>
> >>>> chris
> >>>
> >>> Good morning all
> >>>
> >>> I do not doubt the comment above, but in this case, how could it be
> >> unless
> >>> the slackbuild source links are out of step/compromised/whatever.
> >>>
> >>> As I mentioned, it is a clean physical machine freshly installed and
> >> then
> >>> updated - no other [java related or other slackbuild addons etc]
> >> downloads
> >>> prior - and simply the source files linked in the slackbuild info.
> Each
> >>> slackbuild individually run using 'su -' (rather than using sbotools or
> >>> similar) as required. I don't even get to try openjdk8 (or download
> >>> anything for it) as apache-ant, gcc5 and openjdk7 are listed as
> required
> >>> first. It is openjdk7 that is failing in that chain as such.
> >>>
> >>> That all said, I will go back and check the sources, though I think
> that
> >>> has been done by Matteo.
> >>>
> >>> Regards
> >>> Habs
> >>
> >> My comment will not add much to the problem, but my several tries are
> all
> >> failing at the same place (ie: invalid entry CRC).
> >> Be it on my master very unclean multilib box, a chroot, multilib or not,
> >> updated and clean, or some other cleaner boxes, VMs, not multilib, I
> can't
> >> make it build, and it always fails on the same place...
> >>
> >> But unlike others here, I don't pretend doing it on perfectly clean
> >> installations (though always without any other java installed).
> >> Although I am really sure my source packages are the right ones, MD5SUM
> >> checked and all.
> >>
> >> --
> >> Arnaud <arnaud.garcia-fernandez at laposte.net>
> >>
> >> Let me first tell you all that I have been out of the Slackware loop
> for a
> > while and that I'm only just getting ready to install Slackware 15.0 on
> my
> > new computer.
> > Thus, for now, I cannot do any tests involving Slackware myself.
> >
> > Anyway, I remember looking into the different Apache Ant releases just
> > before life interfered, and I was about to try and figure out how the Ant
> > releases and the (Open)JDK version did and did not go together. I hadn't
> > gotten far enough to draw any final conclusions, though, and I hadn't
> taken
> > any meaningful notes yet.
> >> _______________________________________________
> >> SlackBuilds-users mailing list
> >> SlackBuilds-users at slackbuilds.org
> >> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> >> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> >> FAQ - https://slackbuilds.org/faq/
> >
> > This ongoing discussion reminded me that I had sent in an update to the
> > apache-ant slackbuild when I took it over. According to the SlackBuilds
> > history, it had been at Ant version 1.9.9 until then, and I updated it to
> > 1.9.14. Now, if I remember correctly, I had successfully compiled
> OpenJDK 7
> > (and subsequently 8) before I took over the apache-ant slackbuild, and I
> > don't believe that I have ever recompiled them since then.
> >
> > Anyway, to cut a long story short, I'm now wondering if, perhaps, the
> > problem may have anything to do with the Apache Ant version. In other
> > words, the build fails with Ant 1.9.14, but it may still complete
> > successfully with Ant 1.9.9. May be worth a try. Then, if that works, I
> may
> > attempt a build with the latest Ant 1.9.x revision (currently 1.9.16) and
> > see what gives. In any case, there's no point in trying the build with
> Ant
> > 1.10.x, since that cannot make sense of any Java run-time environment
> older
> > than, I think, Java version 8 (and, consequently, the Java environment
> > provided by gcc5).
> >
> > If anyone wants to try out the OpenJDK build with Apache Ant 1.9.9 while
> > I'm getting ready for Slackware 15.0, the Ant versions can be downloaded
> > from https://archive.apache.org/dist/ant/binaries/
> >
> > Let's hope we can work this issue out.
> >
> > Regards,
> > Luc.
> >
> Good day all
>
> I can confirm that using 1.9.9 does not resolve the issue from my attempt
> a short while ago.
>
> Regards
> Habs
>
>
> --- Sent using Alpine/Pine, probably the best MUA ---
>
> My Tox Messaging Id:
>
> 9F10AC64260ADEBAEA017ACB71B7CD2E962596FC4293025C0F79D77FFEB4CE5C7B0BED41D925
> Get a client here: https://tox.chat/clients.html
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
I have just successfully built openjdk7 on a freshly installed Slackware64
15.0 system, with no system updates installed yet.
The apache-ant version is 1.9.14 (as currently provided by the slackbuild).
I'm using a 24-GB tmpfs for the "/tmp" location.
I will next update the Slackware64 system and retry the openjdk7 build.
Regards,
Luc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220408/da768149/attachment-0001.htm>
More information about the SlackBuilds-users
mailing list