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

Habs gen-bch at useyouresp.org.uk
Tue Apr 5 20:00:13 UTC 2022


On Tue, 5 Apr 2022, Habs wrote:

> On Tue, 5 Apr 2022, Willy Sudiarto Raharjo wrote:
>
>>> Starting afresh - clean [physical] machine Slackware 15 64 then
>>> update-all (slackpkg) - same 'result'; same error and drops out at the
>>> openjdk7 build just as before.
>> 
>> Just to make sure
>> did you run "su -" instead of just "su" ?
>
> yes - in fact, with and without.
>
> As an aside, I have run these openjdk's before (without '-') and had no 
> problems.  I will rerun the whole chain again (with the '-') to make sure and 
> clean out beforehand.
>
> Having said that, the error has been the same and the machine rebuilt twice 
> now to be 'clean' before starting. It's started happening fairly recently, as 
> prior, all was well.
>
> One wonders if the  recent slackpkg updates have introduced something.  It 
> has never been this flaky previously for me.
>
>
> Will post again when I've had another go.
>


Right then.  I've had another do (and using 'su -') and its the same 
result.  openjdk7 fails as reported by Matteo and myself.

Perhaps there is a setting somewhere I'm missing. Perhaps a new 
incompatibility somewhere since the slackbuild was packaged.

I can't fathom why it's fine on a VM as has been reported, but on this 
[physical] machine, all I have tried (inc. two rebuilds for a clean 
machine) has not resulted in a successful build.

As I say, it has worked previously, but not now.

Here again is the last few bits of the openjdk7 build log until it bails.

/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



Regards and thank you
Habs


More information about the SlackBuilds-users mailing list