Observe: # emerge --nodeps sys-devel/gcc >>> Emerging (1 of 1) sys-devel/gcc-12.0.0_pre9999::gentoo >>> Unpacking source... * Repository id: gcc.git * To override fetched repository properties, use: * EGIT_OVERRIDE_REPO_GCC * EGIT_OVERRIDE_BRANCH_GCC * EGIT_OVERRIDE_COMMIT_GCC * EGIT_OVERRIDE_COMMIT_DATE_GCC * * Fetching https://gcc.gnu.org/git/gcc.git ... git fetch https://gcc.gnu.org/git/gcc.git +refs/heads/releases/gcc-12:refs/heads/releases/gcc-12 As you can see, it tried to fetch from "releases/gcc-12" brancht instead of master, even though gcc-12.0.0_pre9999.ebuild has the following in it: EGIT_BRANCH=master inherit toolchain This broken some time in the last week (i.e. after 03.01.2022), as I was able to build gcc-12.9999 with a portage snapshot of that day. Reproducible: Always
I don't remember the eclass changing in the last week. I think I probably broke it with https://github.com/gentoo/gentoo/commit/c159caed310ded6e6692cae855e049033a4fc192#diff-32fbbd863aa144f6e9ef4509752dce7efd2e901bc223b95b4a865b611137704d.
(In reply to Sam James from comment #1) > I don't remember the eclass changing in the last week. > > I think I probably broke it with > https://github.com/gentoo/gentoo/commit/ > c159caed310ded6e6692cae855e049033a4fc192#diff- > 32fbbd863aa144f6e9ef4509752dce7efd2e901bc223b95b4a865b611137704d. Yes looks like it, reverting that commit fixes the checkout.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=367c79921065093ff6e31a5a1dce3de9237bd467 commit 367c79921065093ff6e31a5a1dce3de9237bd467 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-01-10 13:17:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-01-10 13:17:15 +0000 sys-devel/gcc: fix 12.0.0_pre9999 Closes: https://bugs.gentoo.org/830908 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-12.0.0_pre9999.ebuild | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-)