Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741813 - sys-apps/portage-3.0.6-r1 fails tests with git-upload-pack: command not found
Summary: sys-apps/portage-3.0.6-r1 fails tests with git-upload-pack: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-12 09:43 UTC by Agostino Sarubbo
Modified: 2020-09-12 20:21 UTC (History)
0 users

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


Attachments
build.log (build.log,727.25 KB, text/plain)
2020-09-12 09:44 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-12 09:43:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/portage-3.0.6-r1 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-12 09:44:05 UTC
Created attachment 659712 [details]
build.log

build log and emerge --info
Comment 2 Zac Medico gentoo-dev 2020-09-12 19:10:00 UTC
This is the interesting part of the log, and the missing git-upload-pack command suggests that your git installation is possibly incomplete:

> !!! git clone error in /var/tmp/portage/sys-apps/portage-3.0.6-r1/temp/tmp_hwza6yx/var/repositories/test_repo
> >>> Syncing repository 'test_repo' into '/var/tmp/portage/sys-apps/portage-3.0.6-r1/temp/tmp_hwza6yx/var/repositories/test_repo'...
> /usr/local/bin/git clone /var/tmp/portage/sys-apps/portage-3.0.6-r1/temp/tmp_hwza6yx/var/repositories/test_repo_sync .
> Cloning into '.'...
> warning: templates not found in /usr/share/git-core/templates
> git-upload-pack '/var/tmp/portage/sys-apps/portage-3.0.6-r1/temp/tmp_hwza6yx/var/repositories/test_repo_sync': git-upload-pack: command not found
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.
> 
> Action: sync for repo: test_repo, returned code = 128

Note that this test is automatically skipped if the 'git' command is not available.
Comment 3 Agostino Sarubbo gentoo-dev 2020-09-12 20:02:50 UTC
I guess that git is not pulled in as a dep
Comment 4 Zac Medico gentoo-dev 2020-09-12 20:06:06 UTC
Yeah I suppose there's no harm in adding dev-vcs/git as a test dependency.
Comment 5 Larry the Git Cow gentoo-dev 2020-09-12 20:19:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edf9099fd187b09339aa7bd9868eb7a2ab2eabe

commit 6edf9099fd187b09339aa7bd9868eb7a2ab2eabe
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-09-12 20:11:58 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-09-12 20:19:40 +0000

    sys-apps/portage: Add dev-vcs/git test dependency
    
    Closes: https://bugs.gentoo.org/741813
    Package-Manager: Portage-3.0.6, Repoman-3.0.1
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/portage/portage-3.0.4-r1.ebuild | 4 +++-
 sys-apps/portage/portage-3.0.6-r1.ebuild | 4 +++-
 sys-apps/portage/portage-9999.ebuild     | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)
Comment 6 Zac Medico gentoo-dev 2020-09-12 20:21:09 UTC
Thanks!