Re: Failed: phase compiling: launch-1.2.5-1 failed on Sonoma

Scott Hannahs via Fink-users <[email protected]> Fri, 5 Jan 2024 12:38:57 -0500
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
Xcode is trying to build with a lot of files in the fink-bld home directory which is /var/empty as far as I can tell.  Possibly the flag  --no-build-as-nobody might solve this, but all the files will be in the root users home directory which is also undesirable.

Not sure why this does not show up as a general problem on earlier OS.
-Scott


> On Jan 5, 2024, at 08:52, Patrick Wambacq <[email protected]> wrote:
> 
> Hi,
> I upgraded my mac to Sonoma and then reinstalled fink after its complete removal. I should have thought better and I should have chosen Ventura I guess, so now I am stuck. Reinstalling fink itself went well, but the installation of ffmpeg failed when this needed the additional package launch-1.2.5-1.
> 
> See the errors below
> 
> Thanks
> 
> Patrick
> 
> 
> This is a first set of errors:
> -----
> 2024-01-05 14:44:19.834 xcodebuild[14836:2055969] Error Domain=com.apple.CoreSimulator.SimError Code=400 "Unable to determine SimDeviceSet for subscriptions, set_path=/var/empty/Library/Developer/CoreSimulator/Devices" UserInfo={NSLocalizedDescription=Unable to determine SimDeviceSet for subscriptions, set_path=/var/empty/Library/Developer/CoreSimulator/Devices, NSUnderlyingError=0x600003a3d830 {Error Domain=NSPOSIXErrorDomain Code=12 "Cannot allocate memory" UserInfo={NSLocalizedFailureReason=Allocation or initialization failed., NSLocalizedDescription=Failed to initialize simulator device set.}}}
> 2024-01-05 14:44:19.836 xcodebuild[14836:2055969]  iOSSimulator: [SimServiceContext defaultDeviceSetWithError:] returned nil (Error Domain=com.apple.CoreSimulator.SimError Code=400 "Failed to initialize simulator device set." UserInfo={NSLocalizedFailureReason=Failed to subscribe to notifications from CoreSimulatorService., NSLocalizedDescription=Failed to initialize simulator device set., NSUnderlyingError=0x600003a3d8c0 {Error Domain=com.apple.CoreSimulator.SimError Code=400 "Unable to determine SimDeviceSet for subscriptions, set_path=/var/empty/Library/Developer/CoreSimulator/Devices" UserInfo={NSLocalizedDescription=Unable to determine SimDeviceSet for subscriptions, set_path=/var/empty/Library/Developer/CoreSimulator/Devices, NSUnderlyingError=0x600003a3d830 {Error Domain=NSPOSIXErrorDomain Code=12 "Cannot allocate memory" UserInfo={NSLocalizedFailureReason=Allocation or initialization failed., NSLocalizedDescription=Failed to initialize simulator device set.}}}}}). Simulator device support disabled.
> 2024-01-05 14:44:20.838 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open log store at /var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Build
> 2024-01-05 14:44:20.838 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open Build log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/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/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/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/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Build': (513) You don\U2019t have permission to save the file \U201cBuild\U201d in the folder \U201cLogs\U201d.";
> }.
> 2024-01-05 14:44:20.844 xcodebuild[14836:2055969] NetworkStorageDB:_openDBReadConnections: failed to open read connection to DB @ /var/empty/Library/Caches/com.apple.dt.xcodebuild/Cache.db.  Error=14. Cause=unable to open database file
> 2024-01-05 14:44:20.844 xcodebuild[14836:2055969] The read-connection to the DB=/var/empty/Library/Caches/com.apple.dt.xcodebuild/Cache.db is NOT valid.  Unable to determine schema version.
> 2024-01-05 14:44:20.844 xcodebuild[14836:2055969] NetworkStorageDB:_openDBWriteConnections: failed to open write connection to DB @ /var/empty/Library/Caches/com.apple.dt.xcodebuild/Cache.db.  Error=14. Cause=unable to open database file
> 2024-01-05 14:44:20.844 xcodebuild[14836:2055969] DEBUG: there is no SQL cache DB located at /var/empty/Library/Caches/com.apple.dt.xcodebuild/Cache.db.
> 2024-01-05 14:44:20.844 xcodebuild[14836:2055969] DEBUG: there is no SQL cache DB located at /var/empty/Library/Caches/com.apple.dt.xcodebuild/Cache.db-shm.
> 2024-01-05 14:44:20.844 xcodebuild[14836:2055969] DEBUG: there is no SQL cache DB located at /var/empty/Library/Caches/com.apple.dt.xcodebuild/Cache.db-wal.
> 2024-01-05 14:44:20.863 xcodebuild[14836:2056022] Error Domain=com.apple.CoreSimulator.SimError Code=400 "Unable to determine SimDeviceSet for subscriptions, set_path=/var/empty/Library/Developer/CoreSimulator/Devices" UserInfo={NSLocalizedDescription=Unable to determine SimDeviceSet for subscriptions, set_path=/var/empty/Library/Developer/CoreSimulator/Devices, NSUnderlyingError=0x600003a50a50 {Error Domain=NSPOSIXErrorDomain Code=12 "Cannot allocate memory" UserInfo={NSLocalizedFailureReason=Allocation or initialization failed., NSLocalizedDescription=Failed to initialize simulator device set.}}}
> 2024-01-05 14:44:20.863 xcodebuild[14836:2056022]  IDESimulatorAvailability: observeSimulatorAvailabilityChanges FAILED to register SimDeviceSet observer
> 2024-01-05 14:44:20.874 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open log store at /var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Localization
> 2024-01-05 14:44:20.874 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open Localization log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Localization': (513) You don’t have permission to save the file “Localization” in the folder “Logs”." UserInfo={NSLocalizedDescription=Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Localization': (513) You don’t have permission to save the file “Localization” in the folder “Logs”.}. User info: {
>   NSLocalizedDescription = "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Localization': (513) You don\U2019t have permission to save the file \U201cLocalization\U201d in the folder \U201cLogs\U201d.";
> }.
> 2024-01-05 14:44:20.874 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open log store at /var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Launch
> 2024-01-05 14:44:20.874 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open Launch log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Launch': (513) You don’t have permission to save the file “Launch” in the folder “Logs”." UserInfo={NSLocalizedDescription=Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Launch': (513) You don’t have permission to save the file “Launch” in the folder “Logs”.}. User info: {
>   NSLocalizedDescription = "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Launch': (513) You don\U2019t have permission to save the file \U201cLaunch\U201d in the folder \U201cLogs\U201d.";
> }.
> 2024-01-05 14:44:20.879 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open log store at /var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Package
> 2024-01-05 14:44:20.879 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open Package log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/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 '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/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 '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Package': (513) You don\U2019t have permission to save the file \U201cPackage\U201d in the folder \U201cLogs\U201d.";
> }.
> 2024-01-05 14:44:20.930 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open log store at /var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Test
> 2024-01-05 14:44:20.930 xcodebuild[14836:2055964] [MT] IDELogStore: Failed to open Test log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/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/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/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/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf/Logs/Test': (513) You don\U2019t have permission to save the file \U201cTest\U201d in the folder \U201cLogs\U201d.";
> }.
> 2024-01-05 14:44:20.932 xcodebuild[14836:2056022] writeDBwithCachedResponse-ERROR: (_dbWriteConnection=0x7fe2ac93bd00) insert SQL stmnt. is nil for storage: /var/empty/Library/Caches/com.apple.dt.xcodebuild
> 2024-01-05 14:44:22.178 xcodebuild[14836:2055964] [MT] DVTAssertions: Warning in IDEFrameworks/IDEFoundation/Buildables/IDEWorkspaceArena.m:1157
> Details:  Failed to create workspace arena at <DVTFilePath:0x600001847780:'/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf'>: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “launch-ehjqpeknmgsahvbptwsevkqbqpyf” in the folder “DerivedData”." UserInfo={NSFilePath=/var/empty/Library/Developer/Xcode/DerivedData/launch-ehjqpeknmgsahvbptwsevkqbqpyf, NSUnderlyingError=0x600003a5d860 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
> Object:   <IDEWorkspaceArena: 0x60000184a700>
> Method:   -createWorkspaceArenaFolderIfNecessary
> Thread:   <_NSMainThread: 0x60000220c300>{number = 1, name = main}
> Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
> ComputeTargetDependencyGraph
> warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
> note: Target dependency graph (1 target)
>   Target 'launch' in project 'launch' (no dependencies)
> -----
> 
> and further down:
> 
> -----
> /opt/sw/src/fink.build/launch-1.2.5-1/launch-1.2.5/launch.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.9, but the range of supported deployment target versions is 10.13 to 14.2.99. (in target 'launch' from project 'launch')
> warning: ONLY_ACTIVE_ARCH=YES requested with multiple ARCHS and no active architecture could be computed; building for all applicable architectures (in target 'launch' from project 'launch')
> warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'launch' from project 'launch')
> ** BUILD FAILED **
> 
> 
> The following build commands failed:
> Ld /opt/sw/src/fink.build/launch-1.2.5-1/launch-1.2.5/launch.build/launch.build/Objects-normal/x86_64/Binary/launch normal x86_64 (in target 'launch' from project 'launch')
> (1 failure)
> ### execution of /tmp/fink.6l5Kl failed, exit code 65
> ### execution of /tmp/fink.Ic4Wh failed, exit code 65
> -----
> 
> System information:
> Package manager version: 0.45.99.git
> Distribution version: selfupdate-rsync Thu Jan  4 19:48:30 2024, 14.0, x86_64
> Trees: local/main stable/main
> Xcode.app: 15.1
> Xcode command-line tools: 15.1.0.0.1.1700200546
> Max. Fink build jobs:  12
> 
> macOS Sonoma 14.2.1
> 
> _______________________________________________
> Fink-users mailing list
> [email protected]
> List archive:
> https://sourceforge.net/p/fink/mailman/fink-users/
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-users



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users