Opened 10 years ago
Closed 10 years ago
#44052 closed defect (fixed)
git-core: obsolete, but asked for when fetching the sources via git
Reported by: | mojca (Mojca Miklavec) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.3.1 |
Component: | base | Version: | 2.3.0 |
Keywords: | snowleopard | Cc: | neverpanic (Clemens Lang), mkae (Marko Käning), ci42, cooljeanius (Eric Gallager) |
Port: |
Description
The Snow Leopard buildslave complains about:
git-core has been made obsolete by the port git. Please install git instead.
(Please rebuild xchm
on the 10.6 buildbot when the problem gets fixed.)
Change History (7)
comment:1 follow-up: 6 Changed 10 years ago by ci42
comment:2 Changed 10 years ago by mojca (Mojca Miklavec)
I would prefer to see 2.3.1 released sometime soon rather than patching a huge number of ports just to revert the changes later.
comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ciserlohn@…:
Xcode > 4 has a bundled version of git so this only affects snow leopard with Xcode 3.2.6 (as installed on our buildbots).
And as on most Snow Leopard users' machines, since Xcode 4 on Snow Leopard has never been free.
This also affect Leopard and Tiger users.
But it does not affect users who already installed git.
A possible workaround would be to add (not tested yet):
platform darwin 10 { depends_fetch-delete port:git-core depends_fetch-append port:git }to every port with
fetch.type git
until 2.3.1 is released.
In these situations, the -replace
modifier is more convenient than using both -delete
and -append
.
Replying to mojca@…:
I would prefer to see 2.3.1 released sometime soon rather than patching a huge number of ports just to revert the changes later.
Agreed.
comment:7 Changed 10 years ago by jmroot (Joshua Root)
Milestone: | → MacPorts 2.3.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
The git-core port has been renamed to git (#37279, r120912). Ports with
fetch.type git
will try to install git-core if they can't find git in PATH (see portfetch.tcl). I fixed this in trunk (r120928) and in the release_2_3 branch (r120931) butportfetch.tcl
is in base so the fix will only take effect when 2.3.1 is released.Xcode > 4 has a bundled version of git so this only affects snow leopard with Xcode 3.2.6 (as installed on our buildbots).
A possible workaround would be to add (not tested yet):
to every port with
fetch.type git
until 2.3.1 is released.A quick grep reveals that the following ports use
fetch.type git
: