[MacPorts] #39256: port install git-core +svn fails
#39256: port install git-core +svn fails -----------------------------+-------------------------------- Reporter: richarddmorey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: -----------------------------+-------------------------------- On OSX 10.8.3, installing git-core +svn fails. I get: {{{ $ sudo port clean git-core Password: ---> Cleaning git-core $ sudo port install git-core +svn ---> Computing dependencies for git-core ---> Fetching archive for git-core ---> Attempting to fetch git- core-1.8.2.3_0+credential_osxkeychain+doc+pcre+python27+svn.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/git-core ---> Attempting to fetch git- core-1.8.2.3_0+credential_osxkeychain+doc+pcre+python27+svn.darwin_12.x86_64.tbz2 from http://packages.macports.org/git-core ---> Attempting to fetch git- core-1.8.2.3_0+credential_osxkeychain+doc+pcre+python27+svn.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/git-core ---> Fetching distfiles for git-core ---> Verifying checksum(s) for git-core ---> Extracting git-core ---> Applying patches to git-core ---> Configuring git-core ---> Building git-core Error: org.macports.build for port git-core returned: command execution failed Please see the log file for port git-core for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_devel_git-core/git-core/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port git-core failed }}} The log file is attached. -- Ticket URL: <https://trac.macports.org/ticket/39256> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+-------------------------------- Reporter: richarddmorey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ------------------------------+-------------------------------- Comment (by richarddmorey@…): Saw https://trac.macports.org/ticket/39015, but I have most recent version of Xcode command line tools: {{{ $ which clang /usr/bin/clang }}} {{{ $ clang --version Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.3.0 Thread model: posix }}} and {{{ $ xcodebuild -version Xcode 4.6.2 Build version 4H1003 }}} -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: git-core | ------------------------------+------------------------- Changes (by ciserlohn@…): * owner: macports-tickets@… => ciserlohn@… * port: => git-core Comment: In the future please remember to Cc the maintainer and fill in the port field. -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: git-core | ------------------------------+------------------------- Comment (by ciserlohn@…): Replying to [ticket:39256 richarddmorey@…]:
On OSX 10.8.3, installing git-core +svn fails. I get:
Could you please run: {{{ $ ls -lha /System/Library/Frameworks/Tk.framework/Resources/ }}} and {{{ $ which wish }}} and provide the output. -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: git-core | ------------------------------+------------------------- Comment (by richarddmorey@…): Replying to [comment:3 ciserlohn@…]:
Replying to [ticket:39256 richarddmorey@…]: Could you please run: {{{ $ ls -lha /System/Library/Frameworks/Tk.framework/Resources/ }}} and {{{ $ which wish }}} and provide the output.
Here's the requested information: {{{ $ ls -lha /System/Library/Frameworks/Tk.framework/Resources/ total 424 drwxr-xr-x 12 root wheel 408B 26 Jul 2012 . drwxr-xr-x 8 root wheel 272B 27 May 23:08 .. drwxr-xr-x 3 root wheel 102B 5 Jul 2012 BridgeSupport drwxr-xr-x 3 root wheel 102B 21 Jun 2012 Documentation -rw-r--r-- 1 root wheel 1.2K 26 Jul 2012 Info.plist drwxr-xr-x 36 root wheel 1.2K 21 Jun 2012 Scripts -rw-r--r-- 1 root wheel 151K 8 Sep 2010 Tk.icns -rw-r--r-- 1 root wheel 52K 8 Sep 2010 Tk.tiff lrwxr-xr-x 1 root wheel 8B 26 Jul 2012 Wish Shell.app -> Wish.app drwxr-xr-x 3 root wheel 102B 21 Jun 2012 Wish.app -rw-r--r-- 1 root wheel 2.2K 26 Jul 2012 license.terms -rw-r--r-- 1 root wheel 454B 26 Jul 2012 version.plist }}} and {{{ $ which wish /usr/bin/wish }}} -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: git-core | ------------------------------+------------------------- Comment (by ciserlohn@…): Replying to [comment:4 richarddmorey@…]: OK, can you please run: {{{ $ uname -r | awk -F. '{if ($1 >= 9) print "y"}' $ test -d /Library/Frameworks/Tk.framework/Resources/Wish.app || echo "n" $ ls -lha /Library/Frameworks/Tk.framework/Resources/ }}} and provide the output. It seems that while trying to build the git-gui the makefile is somewhat confused about the location of tk. -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: git-core | ------------------------------+------------------------- Comment (by richarddmorey@…): Replying to [comment:5 ciserlohn@…]:
Replying to [comment:4 richarddmorey@…]:
OK, can you please run: ...
{{{ $ uname -r | awk -F. '{if ($1 >= 9) print "y"}' y $ test -d /Library/Frameworks/Tk.framework/Resources/Wish.app || echo "n" $ ls -lha /Library/Frameworks/Tk.framework/Resources/ total 424 drwxr-xr-x 7 root admin 238B 18 Dec 2011 . drwxr-xr-x 3 root admin 102B 18 Dec 2011 .. drwxr-xr-x 3 root admin 102B 18 Dec 2011 Scripts -rw-r--r-- 1 root admin 151K 28 Jun 2011 Tk.icns -rw-r--r-- 1 root admin 52K 28 Jun 2011 Tk.tiff drwxr-xr-x 3 root admin 102B 1 Nov 2011 Wish.app lrwxr-xr-x 1 root admin 7B 25 Jul 2012 tk8.5 -> Scripts }}} -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: git-core | ------------------------------+------------------------- Comment (by ciserlohn@…): And some more: {{{ $ ls -lha /Library/Frameworks/Tk.framework/Resources/Wish.app/ $ ls -lha /Library/Frameworks/Tk.framework/Resources/Wish.app/Contents/ $ ls -lha /Library/Frameworks/Tk.framework/Resources/Wish.app/Contents/MacOS/ }}} -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: git-core | ------------------------------+------------------------- Comment (by richarddmorey@…): Replying to [comment:7 ciserlohn@…]:
And some more: {{{ $ ls -lha /Library/Frameworks/Tk.framework/Resources/Wish.app/ total 0 drwxr-xr-x 3 root admin 102B 1 Nov 2011 . drwxr-xr-x 7 root admin 238B 18 Dec 2011 .. drwxr-xr-x 3 root admin 102B 18 Dec 2011 Contents
$ ls -lha /Library/Frameworks/Tk.framework/Resources/Wish.app/Contents/ total 0 drwxr-xr-x 3 root admin 102B 18 Dec 2011 . drwxr-xr-x 3 root admin 102B 1 Nov 2011 .. drwxr-xr-x 3 root admin 102B 18 Dec 2011 Resources $ ls -lha /Library/Frameworks/Tk.framework/Resources/Wish.app/Contents/MacOS/ ls: /Library/Frameworks/Tk.framework/Resources/Wish.app/Contents/MacOS/: No such file or directory }}} -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: git-core | ------------------------------+------------------------- Comment (by ciserlohn@…): Replying to [comment:8 richarddmorey@…]:
Replying to [comment:7 ciserlohn@…]: {{{ $ ls -lha /Library/Frameworks/Tk.framework/Resources/Wish.app/Contents/MacOS/ ls: /Library/Frameworks/Tk.framework/Resources/Wish.app/Contents/MacOS/: No such file or directory }}}
The Wish application in {{{/Library/Frameworks/Tk.framework/Resources/Wish.app}}} on your machine is incomplete/broken, it doesn't contain the {{{wish}}} executable. The Wish application used to be installed in {{{/Library/Frameworks/Tk.framework/Resources/Wish.app}}} in OSX 10.5 and earlier. In later version of OSX the the install location should be {{{/System/Library/Frameworks/Tk.framework/Resources/Wish.app}}} (see [comment:4 comment 4]). Please check if it contains a wish executable: {{{ $ ls /System/Library/Frameworks/Tk.framework/Resources/Wish.app/Contents/MacOS/ }}} should output: {{{ Wish Wish Shell }}} If that's the case you could remove the broken installation: {{{ $ sudo rm -rf /Library/Frameworks/Tk.framework/Resources/Wish.app }}} and try installing git again: {{{ $ sudo port clean git-core $ sudo port install git-core }}} -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: git-core | ------------------------------+------------------------- Comment (by richarddmorey@…): Replying to [comment:9 ciserlohn@…]:
Replying to [comment:8 richarddmorey@…]:
Replying to [comment:7 ciserlohn@…]: If that's the case you could remove the broken installation: ... and try installing git again: ...
Yep, that seemed to do it. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39256: port install git-core +svn fails ------------------------------+------------------------- Reporter: richarddmorey@… | Owner: ciserlohn@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: git-core | ------------------------------+------------------------- Changes (by ciserlohn@…): * status: new => closed * resolution: => invalid Comment: Glad you got it working. -- Ticket URL: <https://trac.macports.org/ticket/39256#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts