Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663326 - sys-devel/clang-7.0.9999 fails to fetch clang.git / 'unable to resolve reference'
Summary: sys-devel/clang-7.0.9999 fails to fetch clang.git / 'unable to resolve refere...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-10 20:19 UTC by ciaran
Modified: 2018-12-30 10:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info (emerge.info.txt,14.88 KB, text/plain)
2018-08-10 20:19 UTC, ciaran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ciaran 2018-08-10 20:19:26 UTC
Created attachment 542980 [details]
emerge-info

trying to install clang-7.0.9999 and the ebuild is failing under git-r3_fetch, somehow the ebuild/git is failing to fetch the source (w/ the right branch). I have updated git all the way to the latest (no change). 


---------------------------------------------------------------------

 * Package:    sys-devel/clang-7.0.9999
 * Repository: gentoo
 * Maintainer: llvm@gentoo.org
 * USE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX llvm_targets_X86 python_targets_python2_7 static-analyzer userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * Fetching https://git.llvm.org/git/clang-tools-extra.git ...
git fetch https://git.llvm.org/git/clang-tools-extra.git +refs/heads/release_70:refs/heads/release_70
git symbolic-ref refs/git-r3/sys-devel/clang/7/__main__ refs/heads/release_70
 * Fetching https://git.llvm.org/git/clang.git ...
git fetch https://git.llvm.org/git/clang.git +refs/heads/release_70:refs/heads/release_70
error: cannot lock ref 'refs/heads/release_70': unable to resolve reference 'refs/heads/release_70': reference broken
From https://git.llvm.org/git/clang
 ! [new branch]              release_70 -> release_70  (unable to update local ref)
 * Fetching https://github.com/llvm-mirror/clang.git ...
git fetch https://github.com/llvm-mirror/clang.git +refs/heads/release_70:refs/heads/release_70
error: cannot lock ref 'refs/heads/release_70': unable to resolve reference 'refs/heads/release_70': reference broken
From https://github.com/llvm-mirror/clang
 ! [new branch]              release_70 -> release_70  (unable to update local ref)
 * ERROR: sys-devel/clang-7.0.9999::gentoo failed (unpack phase):
 *   Unable to fetch from any of EGIT_REPO_URI
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_unpack
 *   environment, line 5154:  Called git-r3_fetch
 *   environment, line 2752:  Called die
 * The specific snippet of code:
 *       [[ -n ${success} ]] || die "Unable to fetch from any of EGIT_REPO_URI";
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/clang-7.0.9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/clang-7.0.9999::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-devel:clang-7.0.9999:20180810-201210.log'.
 * For convenience, a symlink to the build log is located at '/var/cache/portage/sys-devel/clang-7.0.9999/temp/build.log'.
 * The ebuild environment file is located at '/var/cache/portage/sys-devel/clang-7.0.9999/temp/environment'.
 * Working directory: '/var/cache/portage/sys-devel/clang-7.0.9999/work/x/y'
 * S: '/var/cache/portage/sys-devel/clang-7.0.9999/work/x/y/clang-7.0.9999'
sudo emerge -v --usepkg --ask --jobs=64 --load-average=32 --tree    33.92s user 4.92s system 91% cpu 42.416 total

----------------------------------------emerge --info -------------------------
(see attached)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-12-30 10:09:19 UTC
Looks like your local data got damaged.  Please remove the clang copy from ${DISTDIR}/git3-src.