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

Luc Van Rompaey luc.vanrompaey at gmail.com
Fri Apr 8 20:57:20 UTC 2022


Op vr 8 apr. 2022 om 18:43 schreef Ozan Türkyılmaz <
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
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> 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.

Regards,
Luc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220408/c462e87c/attachment.htm>


More information about the SlackBuilds-users mailing list