[MacPorts] #16343: git-core 1.6.0 fails for non-svn variant
#16343: git-core 1.6.0 fails for non-svn variant ----------------------------------+----------------------------------------- Reporter: jcopenha@typedef.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | ----------------------------------+----------------------------------------- Trying to install git-core without the svn variant I get[[BR]] Error: Unable to upgrade port: 1[[BR]] ---> Staging git-core into destroot[[BR]] Error: Target org.macports.destroot returned: shell command "rm /opt/local/var/macports/build[[BR]] /_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_git-core/work/destroot/opt/local[[BR]] /bin/git-svn*" returned error 1[[BR]] Command output: rm: /opt/local/var/macports/build[[BR]] /_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_git-core/work/destroot/opt/local/bin/git-svn*: No such file or directory[[BR]] Between git 1.5.6.1 and git 1.6.0 they changed where git-svn and a bunch of other git-* files get installed (Makefile $gitexecdir). They are now in /opt/local/libexec/git-core instead of /opt/local/bin This oneliner fixes it.[[BR]] [[BR]] {{{ --- Portfile.orig 2008-08-18 20:13:31.000000000 -0400 +++ Portfile 2008-08-18 20:13:44.000000000 -0400 @@ -57,7 +57,7 @@ } } if {![variant_isset svn]} { - system "rm ${destroot}${prefix}/bin/git-svn*" + system "rm ${destroot}${prefix}/libexec/git-core/git-svn*" } set docdestroot ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdestroot} }}} -- Ticket URL: <http://trac.macports.org/ticket/16343> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16343: git-core 1.6.0 fails for non-svn variant -----------------------------------+---------------------------------------- Reporter: jcopenha@typedef.org | Owner: bryan@larsen.st Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by blb@macports.org): * cc: maccheck@gmail.com (added) * owner: macports-tickets@lists.macosforge.org => bryan@larsen.st * milestone: => Port Bugs Comment: Assigning/Cc to maintainers. -- Ticket URL: <http://trac.macports.org/ticket/16343#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16343: git-core 1.6.0 fails for non-svn variant -----------------------------------+---------------------------------------- Reporter: jcopenha@typedef.org | Owner: bryan@larsen.st Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by maccheck@gmail.com): I can confirm that this patch fixes the issue. In version 1.6.0 the location from most of the git functions were moved to */libexec/git-core. I'm attaching an updated Portfile patch. -- Ticket URL: <http://trac.macports.org/ticket/16343#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16343: git-core 1.6.0 fails for non-svn variant -----------------------------------+---------------------------------------- Reporter: jcopenha@typedef.org | Owner: bryan@larsen.st Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: -----------------------------------+---------------------------------------- Changes (by pguyot@kallisys.net): * status: new => closed * resolution: => fixed Comment: Committed in r39426. -- Ticket URL: <http://trac.macports.org/ticket/16343#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts