Opened 12 years ago

Closed 12 years ago

#33402 closed defect (invalid)

gnuplot + aquaterm Lion OS X

Reported by: mdekauwe (Martin De Kauwe) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When trying to build gnuplot on OSX 10.7 Lion aquaterm fails and when you check the log file it seems to relate to the Xcode licence.

version:1
:debug:main Executing org.macports.main (aquaterm)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (aquaterm)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (aquaterm)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (aquaterm)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (aquaterm)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (aquaterm)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (aquaterm)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Feb 29 10:44:21 EST 2012
:notice:build --->  Building aquaterm
:debug:build Executing org.macports.build (aquaterm)
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/work/aquaterm" && /usr/bin/xcodebuild  -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.7 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 USER_APPS_DIR=/Applications/MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks'
:info:build 
:info:build You have not agreed to the Xcode license agreements, please run xcodebuild standalone from within a Terminal window to review and agree to the Xcode license agreements.
:info:build shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/work/aquaterm" && /usr/bin/xcodebuild  -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.7 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 USER_APPS_DIR=/Applications/MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks" returned error 69
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for aquaterm): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for aquaterm is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/main.log

I tried following the instructions, e.g.

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/work/aquaterm 
/usr/bin/xcodebuild  -target "AquaTerm" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.7 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 USER_APPS_DIR=/Applications/MacPorts FRAMEWORKS_DIR=/opt/local/Library/Frameworks

And that seems to work fine but if you then try and reinstall aquaterm you ended up where you started again.

Any ideas?

thanks

Martin

Change History (4)

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

Description: modified (diff)

Please remember to use WikiFormatting.

The error message says "run xcodebuild standalone"; it does not say to cd to any directory or to provide all those arguments. Just run xcodebuild by itself with no arguments, I think.

comment:2 Changed 12 years ago by mdekauwe (Martin De Kauwe)

No I tried that and got this response...

$ xcodebuild standalone
xcodebuild: error: The directory /Users/mdekauwe does not contain an Xcode project.

comment:3 Changed 12 years ago by kevin@…

I ran into the same problem. After updating to the latest XCode (4.3.1), I ran:

sudo xcode-select -switch /Applications/Xcode.app

then reran:

sudo port install gnuplot

and I'm up and running.

comment:4 Changed 12 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

This is a setup issue. Take it to the macports-users mailing list if you are still having problems.

Note: See TracTickets for help on using tickets.