Opened 11 years ago

Closed 11 years ago

#39256 closed defect (invalid)

port install git-core +svn fails

Reported by: richarddmorey@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: git-core

Description

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.

Attachments (1)

main.log (281.9 KB) - added by richarddmorey@… 11 years ago.

Download all attachments as: .zip

Change History (12)

Changed 11 years ago by richarddmorey@…

Attachment: main.log added

comment:1 Changed 11 years ago 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

comment:2 Changed 11 years ago by ci42

Owner: changed from macports-tickets@… to ciserlohn@…
Port: git-core added

In the future please remember to Cc the maintainer and fill in the port field.

comment:3 in reply to:  description ; Changed 11 years ago by ci42

Replying to 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.

comment:4 in reply to:  3 ; Changed 11 years ago by richarddmorey@…

Replying to ciserlohn@…:

Replying to 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

comment:5 in reply to:  4 ; Changed 11 years ago by ci42

Replying to 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.

comment:6 in reply to:  5 Changed 11 years ago by richarddmorey@…

Replying to ciserlohn@…:

Replying to 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

comment:7 Changed 11 years ago by ci42

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/

comment:8 in reply to:  7 ; Changed 11 years ago by richarddmorey@…

Replying to 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

comment:9 in reply to:  8 ; Changed 11 years ago by ci42

Replying to richarddmorey@…:

Replying to 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 install location should be /System/Library/Frameworks/Tk.framework/Resources/Wish.app (see 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
Last edited 11 years ago by ci42 (previous) (diff)

comment:10 in reply to:  9 Changed 11 years ago by richarddmorey@…

Replying to ciserlohn@…:

Replying to richarddmorey@…:

Replying to ciserlohn@…:

If that's the case you could remove the broken installation: ... and try installing git again: ...

Yep, that seemed to do it. Thanks!

comment:11 Changed 11 years ago by ci42

Resolution: invalid
Status: newclosed

Glad you got it working.

Note: See TracTickets for help on using tickets.