Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#38439 closed defect (invalid)

Pallet: You have not agreed to the Xcode license agreements

Reported by: fred.g.haibach@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: Pallet

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

Initial build fails on a virgin system. Xcode has command line tools installed. Outputs from log and terminal shown below

From log (note that location of log is indicated incorrectly)

version:1
:debug:main Found Dependency: path: /usr/bin filename: svn regex: ^svn$
:debug:main epoch: in tree: 0 installed: 0
:debug:main MacPorts_Framework 1.2.1_1 exists in the ports tree
:debug:main MacPorts_Framework 1.2.1_1  is the latest installed
:debug:main MacPorts_Framework 1.2.1_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/MacPorts_Framework
:debug:main OS darwin/12.2.0 (Mac OS X 10.8) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcode-1.0.tcl
:debug:main Re-registering default for use_configure
:debug:main Re-registering default for universal_variant
:debug:main Re-registering default for build.type
:debug:main Re-registering default for build.pre_args
:debug:main Re-registering default for build.target
:debug:main Re-registering default for destroot.pre_args
:debug:main Re-registering default for destroot.target
:debug:main Re-registering default for destroot.destdir
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! MacPorts_Framework 1.2.1_1 >= MacPorts_Framework 1.2.1_1
:msg:main --->  Computing dependencies for Pallet:info:main .:debug:main Pallet has no conflicts
:debug:main Found Dependency: path: /usr/bin filename: svn regex: ^svn$
:debug:main Searching for dependency: subversion
:debug:main Didn't find receipt, going to depspec regex for: subversion
:debug:main Found Dependency: path: /usr/bin filename: svn regex: ^svn$
:debug:main Searching for dependency: MacPorts_Framework
:debug:main Found Dependency: receipt exists for MacPorts_Framework
:msg:main 
:debug:main Executing org.macports.main (Pallet)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (Pallet)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (Pallet)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (Pallet)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (Pallet)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (Pallet)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (Pallet)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Tue Mar 19 09:15:54 EDT 2013
:notice:build --->  Building Pallet
:debug:build Executing org.macports.build (Pallet)
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet" && /usr/bin/xcodebuild  -target "Pallet" -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.8 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 FRAMEWORK_SEARCH_PATHS='/opt/local/Library/Frameworks Growl-1.2.1-Framework''
:info:build 
:info:build You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet" && /usr/bin/xcodebuild  -target "Pallet" -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.8 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 FRAMEWORK_SEARCH_PATHS='/opt/local/Library/Frameworks Growl-1.2.1-Framework'
:info:build Exit code: 69
:error:build org.macports.build for port Pallet returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"$procedure $targetname"
:info:build Warning: targets not executed for Pallet: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port Pallet for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_Pallet/Pallet/main.log

From Terminal:

--->  Computing dependencies for Pallet
--->  Dependencies to be installed: MacPorts_Framework
--->  Fetching archive for MacPorts_Framework
--->  Attempting to fetch MacPorts_Framework-1.2.1_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/MacPorts_Framework
--->  Attempting to fetch MacPorts_Framework-1.2.1_1.darwin_12.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/MacPorts_Framework
--->  Installing MacPorts_Framework @1.2.1_1
--->  Activating MacPorts_Framework @1.2.1_1
--->  Cleaning MacPorts_Framework
--->  Fetching archive for Pallet
--->  Attempting to fetch Pallet-1.1_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/Pallet
--->  Attempting to fetch Pallet-1.1_1.darwin_12.x86_64.tbz2 from http://packages.macports.org/Pallet
--->  Attempting to fetch Pallet-1.1_1.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/Pallet
--->  Fetching distfiles for Pallet
--->  Verifying checksum(s) for Pallet
--->  Extracting Pallet
--->  Configuring Pallet
--->  Building Pallet
Error: org.macports.build for port Pallet returned: command execution failed
Please see the log file for port Pallet for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_Pallet/Pallet/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port Pallet failed

Change History (3)

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

Description: modified (diff)
Keywords: install removed
Port: 2.1.3 + removed

comment:2 in reply to:  description Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed
Summary: install Pallet fails, Mountain Lion 10.8.2, Xcode 4.6.1, MacPorts 2.1.3Pallet: You have not agreed to the Xcode license agreements

Replying to fred.g.haibach@…:

Initial build fails on a virgin system. Xcode has command line tools installed. Outputs from log and terminal shown below

The log was incomplete, but it says:

:info:build You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.

So please do both of those.

From log (note that location of log is indicated incorrectly)

In what way is it incorrect?

comment:3 in reply to:  description Changed 11 years ago by fred.g.haibach@…

Replying to fred.g.haibach@…:

Thanks. That was the answer.

I must have misread/mistyped the path. Sorry.

Note: See TracTickets for help on using tickets.