[MacPorts] #35871: Aquaterm can't be installed
#35871: Aquaterm can't be installed -----------------------------------+---------------------------------------- Reporter: jblumenkopf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: aquaterm -----------------------------------+---------------------------------------- Error given is "command execution failed". Mac OS 10.8.1 -- Ticket URL: <https://trac.macports.org/ticket/35871> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35871: Aquaterm can't be installed -----------------------------------+---------------------------------------- Reporter: jblumenkopf@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: aquaterm -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => g5pw@… * cc: mojca.miklavec.lists@… (added) Comment: Please attach the main.log file so we can see what actually happened. -- Ticket URL: <https://trac.macports.org/ticket/35871#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35871: Aquaterm can't be installed -----------------------------------+---------------------------------------- Reporter: jblumenkopf@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: aquaterm -----------------------------------+---------------------------------------- Comment(by mojca.miklavec.lists@…): I have 10.7 with Xcode 4.3.2 and on that one AquaTerm +universal compilation breaks (it actually goes crazy). I have another one with Xcode 4.3.3 and on that one it works. It also works on 10.6 (with I-forgot- which-xcode-version). I suspect that the problem might be in Xcode's inability to interpret INSTALL_PATH properly. It works when building for x86_64 only, but fails when building universal. No clue why. The following patch helped me overcome the problem: {{{ --- Portfile.olg +++ Portfile @@ -31,6 +31,11 @@ xcode.destroot.settings LOCAL_APPS_DIR=${applications_dir} LOCAL_FRAMEWORKS_DIR= xcode.destroot.type mixed post-patch { + reinplace "s|$\(LOCAL_FRAMEWORKS_DIR\)|${frameworks_dir}|" \ + ${worksrcpath}/aquaterm/AquaTerm.xcodeproj/project.pbxproj + reinplace "s|$\(LOCAL_APPS_DIR\)|${applications_dir}|" \ + ${worksrcpath}/aquaterm/AquaTerm.xcodeproj/project.pbxproj + # Try to open the right version of AquaTerm.app. # (If incompatible version is installed in /Applications, # we need to make sure that the one from MacPorts is found first.) }}} ... but it doesn't mean I'm happy with the patch. I would really like to know what is going on. -- Ticket URL: <https://trac.macports.org/ticket/35871#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35871: Aquaterm can't be installed -----------------------------------+---------------------------------------- Reporter: jblumenkopf@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: aquaterm -----------------------------------+---------------------------------------- Comment(by mojca.miklavec.lists@…): And to be honest, I did fiddle with xcodeproject manually. I wanted to avoid patching xcodeproject alltogether by defining LOCAL_FRAMEWORKS_DIR and altering INSTALL_PATH accordingly. But it worked and I was happy. Apparently Xcode 4.3.2 is not that happy about it. -- Ticket URL: <https://trac.macports.org/ticket/35871#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35871: Aquaterm can't be installed ----------------------------+-------------------- Reporter: jblumenkopf@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: aquaterm | ----------------------------+-------------------- Comment (by jmr@…): The errors in the log are: {{{ :info:build /usr/local/include/complex.h:10:1: error: unknown type name 'using' :info:build using namespace std; :info:build ^ :info:build /usr/local/include/complex.h:10:16: error: expected ';' after top level declarator :info:build using namespace std; :info:build ^ :info:build /usr/local/include/complex.h:13:10: fatal error: 'cmath' file not found :info:build #include <cmath> :info:build ^ :info:build 3 errors generated. }}} So, you have incompatible headers in /usr/local/include overriding those in /usr/include. -- Ticket URL: <https://trac.macports.org/ticket/35871#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35871: Aquaterm can't be installed ----------------------------+-------------------- Reporter: jblumenkopf@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: aquaterm | ----------------------------+-------------------- Comment (by jblumenkopf@…): Removing complex.h from /usr/local/include fixed the problem -- Ticket URL: <https://trac.macports.org/ticket/35871#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35871: Aquaterm can't be installed ----------------------------+-------------------- Reporter: jblumenkopf@… | Owner: g5pw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: aquaterm | ----------------------------+-------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/35871#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts