Bug 1745020
Summary: | rpm: rpm-build produced corrupt libxml2-static package on aarch64 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> | ||||
Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | igor.raits, jbastian, mjw, packaging-team-maint, pmatilai, pmoravco, vmukhame, yaneti | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | aarch64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-10-08 12:51:58 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: | |||||||
Attachments: |
|
Description
Florian Weimer
2019-08-23 13:43:17 UTC
The corruption does not seem to reproduce, so I submitted libxml2-2.9.9-5.fc32 to fix it. Yup. As to what caused it, I guess we'll just have to wait and see if a pattern emerges. It could be a bug in zstd or rpm, or it could be something else running on the system at that time (there's a window between calculating the hash and actually packing the file into the payload, and for example prelink running on a builder could cause such issues). Just out of curiosity, how did you notice it? FWIW, you can kind of install non-native packages with enough disabler switches: [root@sopuli Downloads]# rm -rf /srv/test/; rpm -Uvh --ignorearch --nodeps --noscripts --root /srv/test/ ~pmatilai/Downloads/libxml2-static-2.9.9-4.fc32.aarch64.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:libxml2-static-2.9.9-4.fc32 ################################# [100%] error: unpacking of archive failed on file /usr/lib64/libxml2.a;5d6385f5: cpio: Digest mismatch error: libxml2-static-2.9.9-4.fc32.aarch64: install failed (In reply to Panu Matilainen from comment #2) > Just out of curiosity, how did you notice it? I regularly unpack all Fedora packages (at least the buildroot), to extract ELF symbol information and other data. FWIW, just ran a test-install of all (non-conflicting) packages on Fedora-Server-dvd-aarch64-Rawhide-20190825 image, no corrupt files found. So it appears to be a rare, non-reproducable issue, the worst kind :-/ I ran a 50x loop of rebuilding libxml2 and comparing sha256sums and I was unable to reproduce this error, so it does indeed seem rare. This was on Fedora 30 GOLD (kernel 5.0.9-301.fc30.aarch64) on an AppliedMicro Mustang system (X-Gene aarch64 CPU). As no further incidents have been found, I think we can close this. Do reopen if it should recur, but right now there's just nothing to go on with. |