[MacPorts] #64166: git: activation failure on buildbots, related to global gitconfig
MacPorts
noreply at macports.org
Thu Dec 9 13:41:53 UTC 2021
#64166: git: activation failure on buildbots, related to global gitconfig
---------------------+-------------------------
Reporter: mascguy | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: git
---------------------+-------------------------
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.
}}}
https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/132169/steps
/install-dependencies/logs/stdio
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:
[https://github.com/macports/macports-ports/pull/13259 PR 13259 - git: do
not overwrite system-wide gitconfig, when adding configuration for the
osxkeychain credential helper]
Related ticket: issue:63953
--
Ticket URL: <https://trac.macports.org/ticket/64166>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list