Discussion:
[MacPorts] #57190: iTerm2 failed to build on Mojave with Xcode-10.0
MacPorts
2018-09-27 23:17:55 UTC
Permalink
#57190: iTerm2 failed to build on Mojave with Xcode-10.0
--------------------+--------------------
Reporter: lyskov | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Keywords: | Port: iTerm2
--------------------+--------------------
On OS X 10.14 MacPort local install with no root privileges: iTerm2 port
failed to build due to insufficient privileges to create dir in
`~/Library/Developer/Xcode/DerivedData/`, here is the relevant snippets
from the build log:
{{{
:info:build Executing: cd
"/Users/bill/prefix/macports.mojave/var/macports/build/_Users_bill_prefix_macports.mojave_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.2.0"
&& /usr/bin/make -j8 -w prod
:debug:build system: cd
"/Users/bill/prefix/macports.mojave/var/macports/build/_Users_bill_prefix_macports.mojave_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.2.0"
&& /usr/bin/make -j8 -w prod
:info:build make: Entering directory
`/Users/bill/prefix/macports.mojave/var/macports/build/_Users_bill_prefix_macports.mojave_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/work/iTerm2-3.2.0'
:info:build xcodebuild -parallelizeTargets -target iTerm2 -configuration
Deployment && \
:info:build chmod -R go+rX build/Deployment
:info:build 2018-09-27 16:48:17.001 xcodebuild[16762:62551] [MT]
IDELogStore: Failed to open log store at
/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Logs/Build
:info:build 2018-09-27 16:48:17.001 xcodebuild[16762:62551] [MT]
IDELogStore: Failed to open Build log store: Error
Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store
directory at
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Logs/Build':
(513) You don’t have permission to save the file “Build” in the folder
“Logs”." UserInfo={NSLocalizedDescription=Unable to create log store
directory at
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Logs/Build':
(513) You don’t have permission to save the file “Build” in the folder
“Logs”.}. User info: {
:info:build NSLocalizedDescription = "Unable to create log store
directory at
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Logs/Build':
(513) You don\U2019t have permission to save the file \U201cBuild\U201d in
the folder \U201cLogs\U201d.";
:info:build }.
:info:build 2018-09-27 16:48:17.046 xcodebuild[16762:62551] Couldn't
create intermediates directory: You don’t have permission to save the file
“Intermediates.noindex” in the folder “Build”.
:info:build 2018-09-27 16:48:17.377 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt'
(Operation not permitted (1))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt'
(Operation not permitted (1))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex/XCBuildData'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex/XCBuildData/PIFCache'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex/XCBuildData/PIFCache/workspace'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt'
(Operation not permitted (1))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.378 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt'
(Operation not permitted (1))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex/XCBuildData'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex/XCBuildData/PIFCache'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex/XCBuildData/PIFCache/project'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt'
(Operation not permitted (1))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt'
(Operation not permitted (1))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex/XCBuildData'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex/XCBuildData/PIFCache'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.379 XCBBuildService[16764:62587] unable to
create directory:
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Build/Intermediates.noindex/XCBuildData/PIFCache/target'
(No such file or directory (2))
:info:build 2018-09-27 16:48:17.380 xcodebuild[16762:62551] [MT]
IDELogStore: Failed to open log store at
/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Logs/Test
:info:build 2018-09-27 16:48:17.380 xcodebuild[16762:62551] [MT]
IDELogStore: Failed to open Test log store: Error
Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store
directory at
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Logs/Test':
(513) You don’t have permission to save the file “Test” in the folder
“Logs”." UserInfo={NSLocalizedDescription=Unable to create log store
directory at
'/Users/bill/Library/Developer/Xcode/DerivedData/iTerm2-gqfmmgffhcbpyabsrmkcrlkizwyt/Logs/Test':
(513) You don’t have permission to save the file “Test” in the folder
“Logs”.}. User info: {
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57190>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-09-27 23:53:40 UTC
Permalink
#57190: iTerm2 failed to build on Mojave with Xcode-10.0
---------------------+----------------------
Reporter: lyskov | Owner: markemer
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords:
Port: iTerm2 |
---------------------+----------------------
Changes (by jmroot):

* owner: (none) => markemer
* status: new => assigned


Comment:

Looks like #57137?
--
Ticket URL: <https://trac.macports.org/ticket/57190#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-20 06:27:54 UTC
Permalink
#57190: iTerm2 failed to build on Mojave with Xcode-10.0
---------------------+----------------------
Reporter: lyskov | Owner: markemer
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords:
Port: iTerm2 |
---------------------+----------------------

Comment (by hardwhack):

I had the same problem described here but tried reinstalling iTerm2 and am
glad to report that it now builds correctly. I think this ticket can be
closed. Would be interesting to see how this was resolved.
--
Ticket URL: <https://trac.macports.org/ticket/57190#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-20 19:33:16 UTC
Permalink
#57190: iTerm2 failed to build on Mojave with Xcode-10.0
---------------------+----------------------
Reporter: lyskov | Owner: markemer
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Resolution: | Keywords:
Port: iTerm2 |
---------------------+----------------------

Comment (by lyskov):

I can also confirm that this is now seems resolved. Thanks,
--
Ticket URL: <https://trac.macports.org/ticket/57190#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-02 03:51:53 UTC
Permalink
#57190: iTerm2 failed to build on Mojave with Xcode-10.0
---------------------+----------------------
Reporter: lyskov | Owner: markemer
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Resolution: fixed | Keywords:
Port: iTerm2 |
---------------------+----------------------
Changes (by yan12125):

* status: assigned => closed
* resolution: => fixed


Comment:

This has been fixed with https://github.com/macports/macports-
ports/pull/3060 and https://github.com/macports/macports-ports/pull/3033.
--
Ticket URL: <https://trac.macports.org/ticket/57190#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...