<div dir="ltr"><div>Here is what I have found.  The checksum error comes from the new zlib 1.2.12, which may have fixed the problem in 1.2.11 but I suspect badly broke something else.  Adding --disable-system-zlib to the icedtea configure parameters takes care of that.</div><div> As for the libstdc++ library linking issue on 32-bit, this looks like an issue with the interaction between gcc11 and gcc5 and not in openjdk(6,7).  Installing an older -current in a test partition (actually 15.0-rc1), I'll let you know what I find.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 8, 2022 at 9:22 AM Habs <<a href="mailto:gen-bch@useyouresp.org.uk">gen-bch@useyouresp.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 8 Apr 2022, Luc Van Rompaey wrote:<br>
<br>
> Op vr 8 apr. 2022 om 14:18 schreef Luc Van Rompaey <<a href="mailto:luc.vanrompaey@gmail.com" target="_blank">luc.vanrompaey@gmail.com</a><br>
>> :<br>
><br>
>><br>
>><br>
>> Op wo 6 apr. 2022 om 14:49 schreef Habs <<a href="mailto:gen-bch@useyouresp.org.uk" target="_blank">gen-bch@useyouresp.org.uk</a>>:<br>
>><br>
>>> On Wed, 6 Apr 2022, Luc Van Rompaey wrote:<br>
>>><br>
>>>> Op wo 6 apr. 2022 om 10:10 schreef Arnaud via SlackBuilds-users <<br>
>>>> <a href="mailto:slackbuilds-users@slackbuilds.org" target="_blank">slackbuilds-users@slackbuilds.org</a>>:<br>
>>>><br>
>>>>>>>> java.util.zip.ZipException: invalid entry CRC (expected 0x3943b2a7<br>
>>> but<br>
>>>>>>>> got 0xc7a06d31)<br>
>>>>>>><br>
>>>>>>> This looks like you're inadvertently using the wrong set of source<br>
>>>>>>> files. Each new openjdk version has a new set of source files, many<br>
>>> of<br>
>>>>>>> which have no version number (openjdk.tar.bz2, corba.tar.bz2, ...) so<br>
>>>>>>> your build system can easily pick up the wrong source file.<br>
>>>>>>><br>
>>>>>>> chris<br>
>>>>>><br>
>>>>>> Good morning all<br>
>>>>>><br>
>>>>>> I do not doubt the comment above, but in this case, how could it be<br>
>>>>> unless<br>
>>>>>> the slackbuild source links are out of step/compromised/whatever.<br>
>>>>>><br>
>>>>>> As I mentioned, it is a clean physical machine freshly installed and<br>
>>>>> then<br>
>>>>>> updated - no other [java related or other slackbuild addons etc]<br>
>>>>> downloads<br>
>>>>>> prior - and simply the source files linked in the slackbuild info.<br>
>>> Each<br>
>>>>>> slackbuild individually run using 'su -' (rather than using sbotools<br>
>>> or<br>
>>>>>> similar) as required.  I don't even get to try openjdk8 (or download<br>
>>>>>> anything for it) as apache-ant, gcc5 and openjdk7 are listed as<br>
>>> required<br>
>>>>>> first.  It is openjdk7 that is failing in that chain as such.<br>
>>>>>><br>
>>>>>> That all said, I will go back and check the sources, though I think<br>
>>> that<br>
>>>>>> has been done by Matteo.<br>
>>>>>><br>
>>>>>> Regards<br>
>>>>>> Habs<br>
>>>>><br>
>>>>> My comment will not add much to the problem, but my several tries are<br>
>>> all<br>
>>>>> failing at the same place (ie: invalid entry CRC).<br>
>>>>> Be it on my master very unclean multilib box, a chroot, multilib or<br>
>>> not,<br>
>>>>> updated and clean, or some other cleaner boxes, VMs, not multilib, I<br>
>>> can't<br>
>>>>> make it build, and it always fails on the same place...<br>
>>>>><br>
>>>>> But unlike others here, I don't pretend doing it on perfectly clean<br>
>>>>> installations (though always without any other java installed).<br>
>>>>> Although I am really sure my source packages are the right ones, MD5SUM<br>
>>>>> checked and all.<br>
>>>>><br>
>>>>> --<br>
>>>>> Arnaud <<a href="mailto:arnaud.garcia-fernandez@laposte.net" target="_blank">arnaud.garcia-fernandez@laposte.net</a>><br>
>>>>><br>
>>>>> Let me first tell you all that I have been out of the Slackware loop<br>
>>> for a<br>
>>>> while and that I'm only just getting ready to install Slackware 15.0 on<br>
>>> my<br>
>>>> new computer.<br>
>>>> Thus, for now, I cannot do any tests involving Slackware myself.<br>
>>>><br>
>>>> Anyway, I remember looking into the different Apache Ant releases just<br>
>>>> before life interfered, and I was about to try and figure out how the<br>
>>> Ant<br>
>>>> releases and the (Open)JDK version did and did not go together. I hadn't<br>
>>>> gotten far enough to draw any final conclusions, though, and I hadn't<br>
>>> taken<br>
>>>> any meaningful notes yet.<br>
>>>>> _______________________________________________<br>
>>>>> SlackBuilds-users mailing list<br>
>>>>> <a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
>>>>> <a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
>>>>> Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
>>>>> FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
>>>><br>
>>>> This ongoing discussion reminded me that I had sent in an update to the<br>
>>>> apache-ant slackbuild when I took it over. According to the SlackBuilds<br>
>>>> history, it had been at Ant version 1.9.9 until then, and I updated it<br>
>>> to<br>
>>>> 1.9.14. Now, if I remember correctly, I had successfully compiled<br>
>>> OpenJDK 7<br>
>>>> (and subsequently 8) before I took over the apache-ant slackbuild, and I<br>
>>>> don't believe that I have ever recompiled them since then.<br>
>>>><br>
>>>> Anyway, to cut a long story short, I'm now wondering if, perhaps, the<br>
>>>> problem may have anything to do with the Apache Ant version. In other<br>
>>>> words, the build fails with Ant 1.9.14, but it may still complete<br>
>>>> successfully with Ant 1.9.9. May be worth a try. Then, if that works, I<br>
>>> may<br>
>>>> attempt a build with the latest Ant 1.9.x revision (currently 1.9.16)<br>
>>> and<br>
>>>> see what gives. In any case, there's no point in trying the build with<br>
>>> Ant<br>
>>>> 1.10.x, since that cannot make sense of any Java run-time environment<br>
>>> older<br>
>>>> than, I think, Java version 8 (and, consequently, the Java environment<br>
>>>> provided by gcc5).<br>
>>>><br>
>>>> If anyone wants to try out the OpenJDK build with Apache Ant 1.9.9 while<br>
>>>> I'm getting ready for Slackware 15.0, the Ant versions can be downloaded<br>
>>>> from <a href="https://archive.apache.org/dist/ant/binaries/" rel="noreferrer" target="_blank">https://archive.apache.org/dist/ant/binaries/</a><br>
>>>><br>
>>>> Let's hope we can work this issue out.<br>
>>>><br>
>>>> Regards,<br>
>>>> Luc.<br>
>>>><br>
>>> Good day all<br>
>>><br>
>>> I can confirm that using 1.9.9 does not resolve the issue from my attempt<br>
>>> a short while ago.<br>
>>><br>
>>> Regards<br>
>>> Habs<br>
>>><br>
>>><br>
>>> --- Sent using Alpine/Pine, probably the best MUA ---<br>
>>><br>
>>> My Tox Messaging Id:<br>
>>><br>
>>> 9F10AC64260ADEBAEA017ACB71B7CD2E962596FC4293025C0F79D77FFEB4CE5C7B0BED41D925<br>
>>> Get a client here: <a href="https://tox.chat/clients.html" rel="noreferrer" target="_blank">https://tox.chat/clients.html</a><br>
>>><br>
>>> _______________________________________________<br>
>>> SlackBuilds-users mailing list<br>
>>> <a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
>>> <a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
>>> Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
>>> FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
>>><br>
>>><br>
>> I have just successfully built openjdk7 on a freshly installed Slackware64<br>
>> 15.0 system, with no system updates installed yet.<br>
>> The apache-ant version is 1.9.14 (as currently provided by the slackbuild).<br>
>> I'm using a 24-GB tmpfs for the "/tmp" location.<br>
>><br>
>> I will next update the Slackware64 system and retry the openjdk7 build.<br>
>><br>
>> Regards,<br>
>> Luc.<br>
>><br>
><br>
> After I updated the Slackware64 15.0 system, the openjdk7 build fails:<br>
><br>
> java.util.zip.ZipException: invalid entry CRC (expected 0x3943b2a7 but got<br>
> 0xc7a06d31)<br>
> at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:413)<br>
> at java.util.zip.ZipInputStream.read(ZipInputStream.java:195)<br>
> at java.io.FilterInputStream.read(FilterInputStream.java:107)<br>
> at sun.tools.jar.Main.copy(Main.java:822)<br>
> at sun.tools.jar.Main.update(Main.java:584)<br>
> at sun.tools.jar.Main.run(Main.java:224)<br>
> at sun.tools.jar.Main.main(Main.java:1231)<br>
> gmake[8]: ***<br>
> [/tmp/SBo/openjdk7/icedtea-build/openjdk/hotspot/make/linux/makefiles/sa.make:86:<br>
> /tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/sa-jdi.jar]<br>
> Error 1<br>
><br>
> This confirms earlier reports from others.<br>
><br>
> Regards,<br>
> Luc.<br>
><br>
<br>
Noted. I will not try again on this as it does look like it is something <br>
in the 'slackware updates' affecting something in the openjdk7 build chain <br>
at some point.<br>
<br>
Thank you Luc<br>
Habs<br>
<br>
<br>
--- Sent using Alpine/Pine, probably the best MUA ---<br>
<br>
My Tox Messaging Id:<br>
9F10AC64260ADEBAEA017ACB71B7CD2E962596FC4293025C0F79D77FFEB4CE5C7B0BED41D925<br>
Get a client here: <a href="https://tox.chat/clients.html" rel="noreferrer" target="_blank">https://tox.chat/clients.html</a><br>
<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>