Description of problem: Build a package with mock (like fedpkg mockbuild) Version-Release number of selected component (if applicable): java-11-openjdk-devel-1:11.0.11.0.9-2.fc35.x86_64 How reproducible: always Steps to Reproduce: 1. fedpkg clone forks/deamn/rpms/hawtjni 2. cd hawtjni 3. fedpkg mockbuild Actual results: Installing : java-11-openjdk-devel-1:11.0.11.0.9-2.fc35.x86_64 115/165 Error unpacking rpm package java-11-openjdk-devel-1:11.0.11.0.9-2.fc35.x86_64 Installing : javapackages-local-5.3.0-15.fc34.noarch 116/165 error: unpacking of archive failed on file /usr/lib/jvm/java-11-openjdk-11.0.11.0.9-2.fc35.x86_64/bin/jaotc;60904dc1: cpio: open error: java-11-openjdk-devel-1:11.0.11.0.9-2.fc35.x86_64: install failed Expected results: Additional info:
I hit the same problem. After reading through the comments in bug 1954998, I ran "mock -r fedora-rawhide-x86_64 --scrub=all" and then tried my build again, and it worked that time. Can you give that a try, Nicolas?
Thanks Jerry, it worked also for me now. But this problem is also on koji, this build (https://koji.fedoraproject.org/koji/taskinfo?taskID=66842772) was failed for the same reason.
Even with scruaaing my chroot, I still have this problem.
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35.
Not reproductible