Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Package edk2 fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 20220526git16779ede2d36-3.fc37 Steps to Reproduce: koji build --scratch f37 edk2-20220526git16779ede2d36-3.fc37.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/edk2 The errors is: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.91NC2v + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf edk2-16779ede2d36 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/edk2-16779ede2d36.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd edk2-16779ede2d36 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init -q + git config core.whitespace cr-at-eol + git config am.keepcr true + cd /builddir/build/BUILD + cd edk2-16779ede2d36 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q --initial-branch=main warning: re-init: ignored --initial-branch=main + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '<rpm-build>' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'edk2-20220526git16779ede2d36 base' + /usr/bin/git branch rpm-build + /usr/bin/git checkout rpm-build Switched to branch 'rpm-build' + /usr/bin/git branch --set-upstream-to=main fatal: the requested upstream branch 'main' does not exist hint: hint: If you are planning on basing your work on an upstream hint: branch that already exists at the remote, you may need to hint: run "git fetch" to retrieve it. hint: hint: If you are planning to push out a new local branch that hint: will track its remote counterpart, you may want to use hint: "git push -u" to set the upstream config as you push. hint: Disable this message with "git config advice.setUpstreamFailure false" RPM build errors: ... I've informed the RPM upstream here: https://github.com/rpm-software-management/rpm/pull/2121#issuecomment-1202349789 ----------- This package includes Python 3.10 bytecode in /usr/share/edk2/Python/ and needs to be rebuilt with Python 3.11.
Let's revert the original patch causing this, here's the build: https://koji.fedoraproject.org/koji/taskinfo?taskID=90395574