icecat fails to build with java-17-openjdk as sytem JDK. See https://fedoraproject.org/wiki/Changes/Java17 . See especially part about known failures: https://fedoraproject.org/wiki/Changes/Java17#common_issues_packagers_can_face_and_gathered_solutions For the build logs, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=82428516 https://kojipkgs.fedoraproject.org/work/tasks/8982/82428982/mock_output.log https://kojipkgs.fedoraproject.org/work/tasks/8982/82428982/hw_info.log https://kojipkgs.fedoraproject.org/work/tasks/8982/82428982/state.log https://kojipkgs.fedoraproject.org/work/tasks/8982/82428982/build.log https://kojipkgs.fedoraproject.org/work/tasks/8982/82428982/root.log We run the rebuild in side tag f36-java17, but as fail ratio was small, we expect this side tag to be merged into rawhide 7 or 8 of February 2022. To reproduce before this date simply: fedpkg clone icecat; cd icecat; fedpkg build --target f36-java17; #The target is crucial. After this date the usual fedpkg build in f36 and up should do. We run two reruns your package failed both. We had also run the mass rebuilds in copr since November. We keep all encountered failures. See them here: https://copr.fedorainfracloud.org/coprs/jvanek/java17//package/icecat You may find interesting additional informations here. Also we were spamming maintainers regualrly, check you spam folder. We had tried aprox 500 packages, and aprox 65 had failed, so the java-17-openjdk will be system JDK in f36, and you should fix your package if you want to keep it alive. Usually the fix is simple, and best is to update the package to latest upstream version. There will be usual mass rebuild once f36 branches. You may got another FTBFS bug. Let us know here if you have any questions, here in bug, or at java-devel.org . We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side if needed.
Looks unrelated: + cd icecat-91.5.0 + cp -p /usr/share/bookmarks/default-bookmarks.html objdir/dist/bin/browser/chrome/en-US/locale/browser/bookmarks.html cp: cannot create regular file 'objdir/dist/bin/browser/chrome/en-US/locale/browser/bookmarks.html': No such file or directory RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.CGgtwE (%install) Bad exit status from /var/tmp/rpm-tmp.CGgtwE (%install) but generally saying, no idea
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
*** This bug has been marked as a duplicate of bug 2045713 ***
(In reply to jiri vanek from comment #1) > Looks unrelated: > > + cd icecat-91.5.0 > + cp -p /usr/share/bookmarks/default-bookmarks.html > objdir/dist/bin/browser/chrome/en-US/locale/browser/bookmarks.html > cp: cannot create regular file > 'objdir/dist/bin/browser/chrome/en-US/locale/browser/bookmarks.html': No > such file or directory > RPM build errors: > error: Bad exit status from /var/tmp/rpm-tmp.CGgtwE (%install) > Bad exit status from /var/tmp/rpm-tmp.CGgtwE (%install) > > but generally saying, no idea I got the same error today, but it turns out that if the main build fails to complete, it does not always exit with a non-zero status, so rpmbuild keeps running. Then cp the nfails because the build process has not created the directory as a side effect. So in your case, the real error must have happened before that, like in mine. (Commenting here in case someone else sees the same error message during a Fedora build of Mozilla packages.)