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

Matteo Bernardini matteo.bernardini at gmail.com
Mon Apr 4 14:39:05 UTC 2022


Il giorno lun 4 apr 2022 alle ore 16:29 Lenard Spencer <
lenardrspencer at gmail.com> ha scritto:

> 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
>>
>
Hi Lenard,

yes, and please have a look at openjdk7 too because here, testing the build
locally, I got the same error as Habs:

cp
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/resources/*.png
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/saclasses/sun/jvm/hotspot/ui/resources/
cp -r
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk/hotspot/agent/src/share/classes/images/*
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/saclasses/
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/bootstrap/jdk1.6.0/bin/jar cf
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/sa-jdi.jar
-C
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/saclasses/
.
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/bootstrap/jdk1.6.0/bin/jar uf
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/sa-jdi.jar
-C
/tmp/sbopkg.i7xegz/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/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk/hotspot/make/linux/makefiles/sa.make:86:
/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product/../generated/sa-jdi.jar]
Error 1
gmake[8]: Leaving directory
'/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product'
gmake[7]: ***
[/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk/hotspot/make/linux/makefiles/sa.make:64:
all] Error 2
gmake[7]: Leaving directory
'/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product'
gmake[6]: ***
[/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk/hotspot/make/linux/makefiles/top.make:103:
sa_stuff] Error 2
gmake[6]: Leaving directory
'/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product'
gmake[5]: ***
[/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk/hotspot/make/linux/Makefile:323:
product] Error 2
gmake[5]: Leaving directory
'/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk.build/hotspot/outputdir'
gmake[4]: *** [Makefile:203: generic_build2] Error 2
gmake[4]: Leaving directory
'/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk/hotspot/make'
gmake[3]: *** [Makefile:158: product] Error 2
gmake[3]: Leaving directory
'/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk/hotspot/make'
gmake[2]: *** [make/hotspot-rules.gmk:128: hotspot-build] Error 2
gmake[2]: Leaving directory
'/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk'
gmake[1]: *** [Makefile:251: build_product_image] Error 2
gmake[1]: Leaving directory
'/tmp/sbopkg.i7xegz/openjdk7/icedtea-build/openjdk'
make: *** [Makefile:2357: stamps/icedtea.stamp] Error 2

Matteo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220404/52ea2154/attachment.htm>


More information about the SlackBuilds-users mailing list