Description of problem:
Build a package with mock (like fedpkg mockbuild)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. fedpkg clone forks/deamn/rpms/hawtjni
2. cd hawtjni
3. fedpkg mockbuild
Installing : java-11-openjdk-devel-1:184.108.40.206.9-2.fc35.x86_64 115/165
Error unpacking rpm package java-11-openjdk-devel-1:220.127.116.11.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-18.104.22.168.9-2.fc35.x86_64/bin/jaotc;60904dc1: cpio: open
error: java-11-openjdk-devel-1:22.214.171.124.9-2.fc35.x86_64: install failed
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.