[MacPorts] ProblemHotlist modified

MacPorts noreply at macports.org
Thu May 29 17:51:59 PDT 2014


Page "ProblemHotlist" was changed by cal at macports.org
Diff URL: <https://trac.macports.org/wiki/ProblemHotlist?action=diff&version=117>
Revision 117
Comment: Retire #xcode-eula, MacPorts >= 2.3.0 checks for that.
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: ProblemHotlist
=========================================================================
--- ProblemHotlist (version: 116)
+++ ProblemHotlist (version: 117)
@@ -28,21 +28,6 @@
 }}}
 
 Note you might have an older version of the `xcode-select` tool in case you installed Xcode 4.2 after installing the Mac OS X 10.7.3 update. If the command `xcode-select -version` returns `version 2003`, this is from Xcode 4.2 and we recommend to install the update once again with the [http://support.apple.com/kb/DL1484 Mac OS X 10.7.3 combo updater]. The current `xcode-select` version that comes with Mac OS X 10.7.3 identifies itself as `version 2307`.
-
-=== Xcode License Agreement === #xcode-eula
-
-When attempting to build a port which compiles an OS X app (e.g., gimp-app), the compilation may fail with an xcodebuild error. One of the possible causes of this is that an initial run of xcodebuild from the terminal may be needed to accept the EULA before any compilation can proceed. Run:
-{{{
-xcodebuild -license
-}}}
-from a terminal window and follow the prompts. After accepting the EULA, rebuild the port again.
-
-With some ports and some versions of Xcode (e.g. libunwind-headers with Xcode 4.4+) you may need to accept the license as root, i.e.:
-{{{
-sudo xcodebuild -license
-}}}
-
-This will need to be repeated after any Xcode upgrade.
 
 == Error message from "port upgrade outdated": uninstall failure: "an invalid entry was passed" == #interrupteduninstall
 
@@ -302,3 +287,25 @@
 See http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.lion.43 for more information.
 }}}
 }}}
+
+== Xcode License Agreement == #xcode-eula
+Starting with Xcode 4.3, compilation of ports could fail if the Xcode EULA wasn't accepted. Run:
+{{{
+xcodebuild -license
+}}}
+from a terminal window and follow the prompts. After accepting the EULA, retry building the port.
+
+With some ports and some versions of Xcode (e.g. libunwind-headers with Xcode 4.4+ or any version of Xcode 5) you may need to accept the license as root, i.e.:
+{{{
+sudo xcodebuild -license
+}}}
+
+This may need to be repeated after any Xcode upgrade.
+
+{{{#!div class="important" style="background: #99d8c9; border-color: #2ca25f; color: #00441b;"
+'''Note:''' MacPorts >= 2.3.0 will print an error message and abort if it detects this situation. The message will read:
+{{{
+It seems you have not accepted the Xcode license; most ports will fail to build.
+Agree to the license by opening Xcode or running `sudo xcodebuild -license'.
+}}}
+}}}
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/ProblemHotlist>
MacPorts <http://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'ProblemHotlist' page.
If it was not you, please report to .


More information about the macports-changes mailing list