Bug 1566614
| Summary: | java.util.zip.ZipException: invalid entry compressed size during Eclipse build using xmvn | ||
|---|---|---|---|
| Product: | Red Hat Software Collections | Reporter: | Mat Booth <mat.booth> |
| Component: | xmvn | Assignee: | Mikolaj Izdebski <mizdebsk> |
| Status: | CLOSED EOL | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rh-maven35 | CC: | mizdebsk |
| Target Milestone: | --- | Keywords: | Upstream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-03 15:31:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed upstream in https://github.com/fedora-java/xmvn/pull/27 FWIW I've started to observe this in Fedora, see bug 1576358 Red Hat does not currently plan to provide any further changes to this collection in a Red Hat Software Collections update release. This software collection is nearing the retirement date (October 2020) after which customers are encouraged to upgrade to a later release. If this bug is still relevant for the latest collection release (rh-maven36) please change the Version appropriately. Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/ In accordance with the Red Hat Software Collections Product Life Cycle, the support period for this collection has ended. New bug fix, enhancement, and security errata updates, as well as technical support services will no longer be made available for this collection. Customers are encouraged to upgrade to a later release. Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/ |
I am experiencing a strange problem when I am building Eclipse for the rh-eclipse47 collection. Here's the interesting bit: + /opt/rh/rh-maven35/root/usr/share/java-utils/scl-enable rh-maven35 rh-eclipse47 -- xmvn-install -R .xmvn-reactor -n eclipse -d /builddir/build/BUILDROOT/rh-eclipse47-eclipse-4.7.3a-3.4.el7.x86_64 Unhandled exception java.lang.RuntimeException: java.util.zip.ZipException: invalid entry compressed size (expected 2939 but got 2951 bytes) at org.fedoraproject.xmvn.tools.install.JarUtils.injectManifest(JarUtils.java:271) at org.fedoraproject.xmvn.tools.install.impl.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:85) at org.fedoraproject.xmvn.tools.install.impl.DefaultInstaller.installArtifact(DefaultInstaller.java:223) at org.fedoraproject.xmvn.tools.install.impl.DefaultInstaller.install(DefaultInstaller.java:335) at org.fedoraproject.xmvn.tools.install.cli.InstallerCli.run(InstallerCli.java:57) at org.fedoraproject.xmvn.tools.install.cli.InstallerCli.main(InstallerCli.java:82) Caused by: java.util.zip.ZipException: invalid entry compressed size (expected 2939 but got 2951 bytes) at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:267) at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:192) at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:109) at org.fedoraproject.xmvn.tools.install.JarUtils.injectManifest(JarUtils.java:261) ... 5 more Suppressed: java.util.zip.ZipException: invalid entry compressed size (expected 2939 but got 2951 bytes) at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:267) at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:360) at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:238) at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:377) at org.fedoraproject.xmvn.tools.install.JarUtils.injectManifest(JarUtils.java:267) ... 5 more error: Bad exit status from /var/tmp/rpm-tmp.Y5Osbi (%install) Bad exit status from /var/tmp/rpm-tmp.Y5Osbi (%install) RPM build errors: Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/eclipse.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 345, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/eclipse.spec'] LEAVE do --> EXCEPTION RAISED I am seeing this almost always in brew, but never in a local mock build.