[MacPorts] #60817: darwinbuild @37: update to PureDarwin fork of darwinbuild

MacPorts noreply at macports.org
Sun Jul 12 22:57:54 UTC 2020


#60817: darwinbuild @37: update to PureDarwin fork of darwinbuild
--------------------------+--------------------
  Reporter:  cooljeanius  |      Owner:  (none)
      Type:  update       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.2
Resolution:               |   Keywords:
      Port:  darwinbuild  |
--------------------------+--------------------

Comment (by cooljeanius):

 Replying to [comment:2 ryandesign]:
 > Seems reasonable. Feel free to submit a pull request and, if you're
 interested in darwinbuild, to become the port's maintainer.

 ok I've given it a try; preliminary Portfile is here:
 https://github.com/cooljeanius/LocalPorts/blob/master/devel/darwinbuild/Portfile

 Unfortunately it fails building for me under MacPorts; output looks like
 this:
 {{{
 --->  Building darwinbuild
 DEBUG: Executing org.macports.build (darwinbuild)
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2"
 && /usr/bin/xcodebuild  -target "world" -configuration Public build
 OBJROOT="/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/"
 SYMROOT="/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/"
 MACOSX_DEPLOYMENT_TARGET=10.15 ARCHS=x86_64
 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"
 GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
 PREFIX=/opt/local GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS=NO'
 DEBUG: system: cd
 "/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2"
 && /usr/bin/xcodebuild  -target "world" -configuration Public build
 OBJROOT="/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/"
 SYMROOT="/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/"
 MACOSX_DEPLOYMENT_TARGET=10.15 ARCHS=x86_64
 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"
 GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
 PREFIX=/opt/local GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS=NO
 Command line invocation:
     /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -target
 world -configuration Public build
 OBJROOT=/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/
 SYMROOT=/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/
 MACOSX_DEPLOYMENT_TARGET=10.15 ARCHS=x86_64
 SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY=libc++
 PREFIX=/opt/local GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS=NO

 Build settings from command line:
     ARCHS = x86_64
     CLANG_CXX_LIBRARY = libc++
     GCC_VERSION = com.apple.compilers.llvm.clang.1_0
     GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO
     MACOSX_DEPLOYMENT_TARGET = 10.15
     OBJROOT =
 /opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/
     PREFIX = /opt/local
     SDKROOT =
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
     SYMROOT =
 /opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/

 2020-07-12 18:52:48.508 xcodebuild[71105:77482318] [MT] IDELogStore:
 Failed to open log store at
 /Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/Logs/Build
 2020-07-12 18:52:48.508 xcodebuild[71105:77482318] [MT] IDELogStore:
 Failed to open Build log store: Error Domain=IDEFoundationErrorDomain
 Code=1 "Unable to create log store directory at
 '/Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/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/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/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
 '/Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/Logs/Build': (513) You don\U2019t have
 permission to save the file \U201cBuild\U201d in the folder
 \U201cLogs\U201d.";
 }.
 2020-07-12 18:52:48.539 xcodebuild[71105:77482318] [MT] IDELogStore:
 Failed to open log store at
 /Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/Logs/Package
 2020-07-12 18:52:48.539 xcodebuild[71105:77482318] [MT] IDELogStore:
 Failed to open Package log store: Error Domain=IDEFoundationErrorDomain
 Code=1 "Unable to create log store directory at
 '/Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/Logs/Package': (513) You don’t have
 permission to save the file “Package” in the folder “Logs”."
 UserInfo={NSLocalizedDescription=Unable to create log store directory at
 '/Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/Logs/Package': (513) You don’t have
 permission to save the file “Package” in the folder “Logs”.}. User info: {
     NSLocalizedDescription = "Unable to create log store directory at
 '/Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/Logs/Package': (513) You don\U2019t have
 permission to save the file \U201cPackage\U201d in the folder
 \U201cLogs\U201d.";
 }.
 2020-07-12 18:52:48.551 xcodebuild[71105:77482318] [MT] IDELogStore:
 Failed to open log store at
 /Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/Logs/Test
 2020-07-12 18:52:48.551 xcodebuild[71105:77482318] [MT] IDELogStore:
 Failed to open Test log store: Error Domain=IDEFoundationErrorDomain
 Code=1 "Unable to create log store directory at
 '/Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/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/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/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
 '/Users/macports/Library/Developer/Xcode/DerivedData/darwinbuild-
 eteqwnveeqaljebpqchxajorkddd/Logs/Test': (513) You don\U2019t have
 permission to save the file \U201cTest\U201d in the folder
 \U201cLogs\U201d.";
 }.
 Resolve Package Graph
 xcodebuild: error: Could not resolve package dependencies:
   Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to
 save the file “repositories” in the folder “SourcePackages”."
 UserInfo={NSFilePath=/Users/macports/Library/Developer/Xcode/DerivedData
 /darwinbuild-eteqwnveeqaljebpqchxajorkddd/SourcePackages/repositories,
 NSUnderlyingError=0x7fa6756e10c0 {Error Domain=NSPOSIXErrorDomain Code=1
 "Operation not permitted"}}

 Command failed: cd
 "/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2"
 && /usr/bin/xcodebuild  -target "world" -configuration Public build
 OBJROOT="/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/"
 SYMROOT="/opt/local/var/macports/build/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/work/darwinbuild-1640.0.2/build/"
 MACOSX_DEPLOYMENT_TARGET=10.15 ARCHS=x86_64
 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"
 GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
 PREFIX=/opt/local GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS=NO
 Exit code: 74
 Error: Failed to build darwinbuild: command execution failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: command execution failed
     while executing
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_Users_ericgallager_LocalPorts_devel_darwinbuild/darwinbuild/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port darwinbuild failed
 }}}

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


More information about the macports-tickets mailing list