[Slackbuilds-users] openjdk8 compile (either manually or via sbotools) failing at openjdk7

Christoph Willing chris.willing at linux.com
Fri Apr 8 22:58:43 UTC 2022


On 9/4/22 06:57, Luc Van Rompaey wrote:
> 
> 
> Op vr 8 apr. 2022 om 18:43 schreef Ozan Türkyılmaz
> <ozan.turkyilmaz at gmail.com <mailto:ozan.turkyilmaz at gmail.com>>:
> 
>     Cum, 2022-04-08 tarihinde 18:27 +0200 saatinde, Luc Van Rompaey yazdı:
>     > > I ran a few more tests, with the following results:
>     > * After the Slackware64 15.0 system updates got installed, rebuild
>     > the
>     > gcc5 package and install it.
>     > Then, try to rebuild openjdk7.
>     > The openjdk7 build keeps on failing.
>     > * Downgrade the zlib package to 1.2.11 (i.e., the version found on
>     > the
>     > Slackware64 15.0 ISO).
>     > Again, try to rebuild openjdk7.
>     > This completes successfully.
>     > So, yes, the problem is with zlib 1.2.12.
>     >
> 
>     I have quickly looked at the commit messages of the zlib. There has
>     been serious work on crc in zlib between 1.2.11 and 1.2.12.
> 
>     REgards,
>     Ozan
>     _______________________________________________
>     SlackBuilds-users mailing list
>     SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>     <https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>
>     Archives -
>     https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>     <https://lists.slackbuilds.org/pipermail/slackbuilds-users/>
>     FAQ - https://slackbuilds.org/faq/ <https://slackbuilds.org/faq/>
> 
> A few more notes: At the point of failure, I can manually repeat the
> failing command, which is:
> 
> /tmp/SBo/openjdk7/icedtea-build/bootstrap/jdk1.6.0/bin/jar \
>    uf \
>  
>  /tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/sa-jdi.jar
> \
>    -C
> /tmp/SBo/openjdk7/icedtea-build/openjdk/hotspot/agent/src/share/classes \
>    META-INF/services/com.sun.jdi.connect.Connector
> 
> (It's a jar 'update' command.)
> 
> If I then downgrade zlib back to 1.2.11, the update will keep failing.
> However, if, at this point, I run the jar 'create' command first, then
> the 'update' command will complete successfully:
> 
> /tmp/SBo/openjdk7/icedtea-build/bootstrap/jdk1.6.0/bin/jar \
>    cf \
>  
>  /tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/sa-jdi.jar
> \
>    -C
> /tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/saclasses/
> \
>    .
> /tmp/SBo/openjdk7/icedtea-build/bootstrap/jdk1.6.0/bin/jar \
>    uf \
>  
>  /tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/sa-jdi.jar
> \
>    -C
> /tmp/SBo/openjdk7/icedtea-build/openjdk/hotspot/agent/src/share/classes \
>    META-INF/services/com.sun.jdi.connect.Connector
> 
> If I knew how to create a small test case that demonstrates the problem
> in isolation, I would be happy to file a bug report about it, but I have
> no idea where to start.
> 


This thread might have been a lot shorter if it had been made clear at
the beginning that the problem related to Slackware-current. Perhaps it
was mentioned somewhere along the line but I missed that and was under
the impression we were talking about Slackware-15.0.

Slackware-15.0 comes with zlib-1.2.11 (and the build works under any
conditions for me), whereas zlib-1.2.12 is part of Slackware-current.

My understanding has always been that this list is to discuss
SlackBuilds for stable Slackware i.e. Slackware-15.0, NOT Slackware-current.

chris


More information about the SlackBuilds-users mailing list