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 Changed 10 years ago by ci42

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) but portfetch.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):

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.

A quick grep reveals that the following ports use fetch.type git:

Fonzy
GetPoints
HideSysFiles
MongoExplorer
MyLoss
Quicksilver
ShiftIt
SSHKeychain
cfxr
midi_patchbay
dfu-util
couchdb-devel
csvdb
tokyocabinet-clj
chromium-tabs
git-flow
GitX
libbert
libchloride
libhsplasma
ocaml-batteries-devel
ocaml-quickcheck
PlasmaShop
redo
VillainousStyle
ackmate
org-mode-devel
rails.vim
textmate2
gcs-java
pdfpc
sane-frontends
ttk
kgraphviewer
kmymoney4-devel
massif-visualizer
clojure-contrib-devel
clojure-devel
jslint
jsmin
logtalk-devel
slime
yap-devel
OpenBLAS-devel
audacious-core
audacious-plugins
mplayer2
VLC
VLC-devel
skypipe
tcpflow
py-docx
py-pyttsx
py26-pymvpa
py26-tvdb
py26-tvnamer
py27-novaclient
gate
gr-fosphor
gr-iqbalance
gr-osmosdr
libosmo-dsp
rtl-sdr
yorick-gl
yorick-z
tcpcrypt-devel
arq_restore
asprint
iRecovery
tex-f7u12
multimarkdown
xchm
nodejuice
tidy
glw
xorg-server-devel
Last edited 10 years ago by ci42 (previous) (diff)

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:3 Changed 10 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:4 Changed 10 years ago by ci42

Cc: ciserlohn@… added

Cc Me!

comment:5 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 in reply to:  1 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: newclosed
Note: See TracTickets for help on using tickets.