Opened 3 years ago
Closed 3 years ago
#64166 closed defect (fixed)
git: activation failure on buildbots, related to global gitconfig
Reported by: | mascguy (Christopher Nielsen) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | git |
Description
While reviewing failed builds on our 10.13 buildbot - with the goal of identifying ports fixable by forcing a rebuild - I noticed the following.
This occurred during dependency installation, for port retdec
. In short, activation of git
failed, due to existence of the global gitconfig
:
Error: Failed to activate git: Image error: /opt/local/etc/gitconfig already exists and does not belong to a registered port. Unable to activate port git. Use 'port -f activate git' to force the activation.
Might be related to the recent enhancement to git
, whereby the port tries to avoid overwriting a user's existing global gitconfig
. But not 100% sure just yet:
Related ticket: issue:63953
Change History (5)
comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)
Priority: | Normal → High |
---|
comment:2 follow-up: 3 Changed 3 years ago by herbygillot (Herby Gillot)
Can you sync the latest ports tree and try again?
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Replying to herbygillot:
Can you sync the latest ports tree and try again?
Ah, thought this failure occurred after your subsequent rev-bump for git
. But apparently it completed a few hours prior to that commit.
I'll queue a rebuild for retdec
on the 10.13 buildbot, and see if the problem has been resolved.
Let's leave this open for now though, until the builder has caught up with its current backlog.
Thanks Herby!
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Wasn't this comment:ticket:63953:18, fixed by [863559d6a4b50d60b58cf3261aba9cc99781ea33/macports-ports]?
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Yes:
---> Activating git @2.34.1_0+credential_osxkeychain+diff_highlight+doc+pcre+perl5_28
The fix was to increase the revision from 0 to 1.
I dont think the ticket needs to be kept open since the issue is fixed. The 10.13 builder's backlog is within hours of being the same as the backlog of the other builders.
Observers: Setting the priority on this to High, as this is preventing some ports from building successfully. Folks are welcome to downgrade the priority to Normal, but seems like something we need to fix ASAP.