[MacPorts] #56895: aquaterm @1.1.1 build fails with Xcode 10.0 (b5) on Mojave beta5

MacPorts noreply at macports.org
Thu Sep 20 19:29:58 UTC 2018


#56895: aquaterm @1.1.1  build fails with Xcode 10.0 (b5) on Mojave beta5
-----------------------+----------------------
  Reporter:  AP1010    |      Owner:  g5pw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.3
Resolution:            |   Keywords:  mojave
      Port:  aquaterm  |
-----------------------+----------------------

Comment (by kencu):

 I tried again, with Xcode 10 on 10.13.

 First error I ran into was [ticket:57137], which was solved with this:
 {{{
 build.pre_args      -derivedDataPath ./DerivedData
 xcode.scheme        AquaTerm
 }}}

 Then I ran into the "help.html" error, which was solved with the patch
 above.

 Then I got the original error noted in this ticket up at the top:
 {{{
 2018-09-20 12:12:53.112 xcodebuild[14085:76908] [MT] IDELogStore: Failed
 to open log store at /var/root/Library/Developer/Xcode/DerivedData
 /AquaTerm-decozxvzmhimszaplywgfeluynzn/Logs/Build
 2018-09-20 12:12:53.112 xcodebuild[14085:76908] [MT] IDELogStore: Failed
 to open Build log store: Error Domain=IDEFoundationErrorDomain Code=1
 "Unable to create log store directory at
 '/var/root/Library/Developer/Xcode/DerivedData/AquaTerm-
 decozxvzmhimszaplywgfeluynzn/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
 '/var/root/Library/Developer/Xcode/DerivedData/AquaTerm-
 decozxvzmhimszaplywgfeluynzn/Logs/Build': (513) You don’t have permission
 to save the file “Build” in the folder “Logs”.}. User info: {
     NSLocalizedDescription = "Unable to create log store directory at
 '/var/root/Library/Developer/Xcode/DerivedData/AquaTerm-
 decozxvzmhimszaplywgfeluynzn/Logs/Build': (513) You don\U2019t have
 permission to save the file \U201cBuild\U201d in the folder
 \U201cLogs\U201d.";
 }.
 2018-09-20 12:12:53.136 xcodebuild[14085:76908] [MT] IDELogStore: Failed
 to open log store at /var/root/Library/Developer/Xcode/DerivedData
 /AquaTerm-decozxvzmhimszaplywgfeluynzn/Logs/Test
 2018-09-20 12:12:53.136 xcodebuild[14085:76908] [MT] IDELogStore: Failed
 to open Test log store: Error Domain=IDEFoundationErrorDomain Code=1
 "Unable to create log store directory at
 '/var/root/Library/Developer/Xcode/DerivedData/AquaTerm-
 decozxvzmhimszaplywgfeluynzn/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
 '/var/root/Library/Developer/Xcode/DerivedData/AquaTerm-
 decozxvzmhimszaplywgfeluynzn/Logs/Test': (513) You don’t have permission
 to save the file “Test” in the folder “Logs”.}. User info: {
     NSLocalizedDescription = "Unable to create log store directory at
 '/var/root/Library/Developer/Xcode/DerivedData/AquaTerm-
 decozxvzmhimszaplywgfeluynzn/Logs/Test': (513) You don\U2019t have
 permission to save the file \U201cTest\U201d in the folder
 \U201cLogs\U201d.";
 }.
 Build Preparation
 Couldn't create workspace arena folder
 '/var/root/Library/Developer/Xcode/DerivedData/AquaTerm-
 decozxvzmhimszaplywgfeluynzn': You don’t have permission to save the file
 “AquaTerm-decozxvzmhimszaplywgfeluynzn” in the folder “DerivedData”.
 }}}
 which looks like another variation on the derived datapath error, but for
 the destrooting. So that error was solved with this addition:
 {{{
 destroot.pre_args      -derivedDataPath ./DerivedData
 }}}

 That then gets through to the SymLink error:
 {{{
 The following build commands failed:
         SymLink
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-1.1.1/aquaterm/build/Default/AquaTerm.framework
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/destroot/opt/local/Library/Frameworks/AquaTerm.framework
 (1 failure)
 Command failed: cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-1.1.1/aquaterm"
 && /usr/bin/xcodebuild -derivedDataPath ./DerivedData  -scheme "AquaTerm"
 -configuration Default install
 OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-1.1.1/aquaterm/build/"
 SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-1.1.1/aquaterm/build/"
 MACOSX_DEPLOYMENT_TARGET=10.13 ARCHS=x86_64 SDKROOT=""
 GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
 LOCAL_APPS_DIR=/Applications/MacPorts
 LOCAL_FRAMEWORKS_DIR=/opt/local/Library/Frameworks
 DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/destroot"
 Exit code: 65
 }}}
 Funny thing is, that SymLink command fails, but it looks like the
 Framework is already there:
 {{{
 $ cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-1.1.1/aquaterm/build/Default

 $ ls -la
 total 0
 drwxr-xr-x  4 macports  wheel  128 20 Sep 12:18 .
 drwxr-xr-x@ 5 macports  wheel  160 20 Sep 12:18 ..
 drwxr-xr-x  2 macports  wheel   64 20 Sep 12:18 AquaTerm.app
 drwxr-xr-x  2 macports  wheel   64 20 Sep 12:18 AquaTerm.framework
 }}}

 So now pondering that.

 I think many of these issues will wind up being general issues with XCode
 (like the derivedDataPath issues above), but some are AquaTerm specific
 (like the double copy on help.html and probably the SymLink thing...)

-- 
Ticket URL: <https://trac.macports.org/ticket/56895#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list