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

Lenard Spencer lenardrspencer at gmail.com
Mon Apr 4 14:29:27 UTC 2022


openjdk8 now also requires gcc5, and will build with zulu-openjdk7 with a
minor script edit (BOOT_JAVA to point to zulu-openjdk7).  If the maintainer
approves I can send the patch.

I also have an SBo script that builds OpenJDK8 without using icedtea, using
zulu-openjdk7 (a repackaged binary).  If there is interest I can submit it.


On Mon, Apr 4, 2022, 09:10 Habs <gen-bch at useyouresp.org.uk> wrote:

> Hello everyone, good day
>
> Slackware 15, clean, fully updated
>
> The build either manually or via sbotools fails at the same place at the
> openjdk7 part.
>
> (part of the buildlog is below up until it bails out).
>
> Is it something I'm doing or something in the slackbuild and associate
> files and is there a quick 'fix' to try please ?
>
> Regards
> Habs
>
>
>
> /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
> java.util.zip.ZipException: invalid entry CRC (expected 0x3943b2a7 but got
> 0xc7a06d31)
>          at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:413)
>          at java.util.zip.ZipInputStream.read(ZipInputStream.java:195)
>          at java.io.FilterInputStream.read(FilterInputStream.java:107)
>          at sun.tools.jar.Main.copy(Main.java:822)
>          at sun.tools.jar.Main.update(Main.java:584)
>          at sun.tools.jar.Main.run(Main.java:224)
>          at sun.tools.jar.Main.main(Main.java:1231)
> gmake[8]: ***
> [/tmp/SBo/openjdk7/icedtea-build/openjdk/hotspot/make/linux/makefiles/sa.make:86:
>
> /tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/sa-jdi.jar]
>
> Error 1
> gmake[8]: Leaving directory
>
> '/tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product'
> gmake[7]: ***
> [/tmp/SBo/openjdk7/icedtea-build/openjdk/hotspot/make/linux/makefiles/sa.make:64:
>
> all] Error 2
> gmake[7]: Leaving directory
>
> '/tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product'
> gmake[6]: ***
> [/tmp/SBo/openjdk7/icedtea-build/openjdk/hotspot/make/linux/makefiles/top.make:103:
>
> sa_stuff] Error 2
> gmake[6]: Leaving directory
>
> '/tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product'
> gmake[5]: ***
> [/tmp/SBo/openjdk7/icedtea-build/openjdk/hotspot/make/linux/Makefile:323:
> product] Error 2
> gmake[5]: Leaving directory
> '/tmp/SBo/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir'
> gmake[4]: *** [Makefile:203: generic_build2] Error 2
> gmake[4]: Leaving directory
> '/tmp/SBo/openjdk7/icedtea-build/openjdk/hotspot/make'
> gmake[3]: *** [Makefile:158: product] Error 2
> gmake[3]: Leaving directory
> '/tmp/SBo/openjdk7/icedtea-build/openjdk/hotspot/make'
> gmake[2]: *** [make/hotspot-rules.gmk:128: hotspot-build] Error 2
> gmake[2]: Leaving directory '/tmp/SBo/openjdk7/icedtea-build/openjdk'
> gmake[1]: *** [Makefile:251: build_product_image] Error 2
> gmake[1]: Leaving directory '/tmp/SBo/openjdk7/icedtea-build/openjdk'
> make: *** [Makefile:2357: stamps/icedtea.stamp] Error 2
>
>
>
> --- 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/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220404/aed75050/attachment-0001.htm>


More information about the SlackBuilds-users mailing list