Opened 11 years ago

Closed 11 years ago

#40924 closed defect (fixed)

GitX fails to build on OS X 10.9 Mavericks

Reported by: jrblevin@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: mavericks Cc: macports.org@…, macports@…
Port: GitX

Description

Log file attached. Here are the commands I used:

sudo port clean --all GitX
sudo port install GitX

Console output:

--->  Computing dependencies for GitX
--->  Fetching archive for GitX
--->  Attempting to fetch GitX-0.7.1_2+finder_integration.darwin_13.x86_64.tbz2 from http://packages.macports.org/GitX
--->  Attempting to fetch GitX-0.7.1_2+finder_integration.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/GitX
--->  Attempting to fetch GitX-0.7.1_2+finder_integration.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/GitX
--->  Fetching distfiles for GitX
--->  Verifying checksums for GitX
--->  Extracting GitX
--->  Applying patches to GitX
--->  Configuring GitX
--->  Building GitX
Error: org.macports.build for port GitX returned: command execution failed
Please see the log file for port GitX for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_GitX/GitX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port GitX failed

Could possibly be a path issue, as the main error seems to be "fatal error: 'ext/stdio_filebuf.h' file not found".

Attachments (1)

main.log (234.1 KB) - added by jrblevin@… 11 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_GitX/GitX/main.log

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by jrblevin@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_GitX/GitX/main.log

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to cal@…

comment:2 Changed 11 years ago by smcphill (Steven McPhillips)

Updating the xcode project to use libstdc++ (CLANG_CXX_LIBRARY) seems to do the trick. I think libc++ is now the compiler default(?)

diff --git a/GitX.xcodeproj/project.pbxproj b/GitX.xcodeproj/project.pbxproj
index 0774ba5..3ac5ca8 100644
--- a/GitX.xcodeproj/project.pbxproj
+++ b/GitX.xcodeproj/project.pbxproj
@@ -942,6 +948,7 @@
                26FC0A850875C7B200E6366F /* Debug */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
+                               CLANG_CXX_LIBRARY = "libstdc++";
                                COPY_PHASE_STRIP = NO;
                                FRAMEWORK_SEARCH_PATHS = (
                                        "$(inherited)",
@@ -970,6 +977,7 @@
                26FC0A860875C7B200E6366F /* Release */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
+                               CLANG_CXX_LIBRARY = "libstdc++";
                                DEBUG_INFORMATION_FORMAT = dwarf;
                                FRAMEWORK_SEARCH_PATHS = (
                                        "$(inherited)",

comment:3 Changed 11 years ago by macports.org@…

Cc: macports.org@… added

Cc Me!

comment:4 Changed 11 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:5 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Thanks, r112832.

Note: See TracTickets for help on using tickets.