Re: building pinentry-mac
[email protected] Wed, 17 Apr 2024 14:47:29 -0500
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
On 2024-04-16 20:11, Scott Hannahs via Fink-users wrote:
> Seem to have some sort of problem using the xcodebuild system under
> Sonoma / Xcode 15. Not sure where the first error is, it seems to be
> trying to stash files in the /var/empty/Library folder which should
> not and does not exist.
>
> Then it has a problem looking at the “Core simulator version”
>
> Then it has problems building the simulator files in /var/empty and we
> are back at the original problem.
>
> Any insights? Do I need to setup an Xcode simulator to build this?
> -Scott
>
>
> sudo -u fink-bld [ENV] sh -c /tmp/fink.yh_Th
> /tmp/fink.W9wti
> #!/bin/sh -ev
> # Don't use new Xcode build system with Xcode10+
> if [ `xcodebuild -version 2>/dev/null | head -n 1 | cut -f 2 -d ' ' |
> cut -f 1 -d.` -ge 10 ]; then
> perl -pi -e 's|xcodebuild .*$|$& -UseNewBuildSystem=NO|g' Makefile
> fi
> xcodebuild -version 2>/dev/null | head -n 1 | cut -f 2 -d ' ' | cut -f
> 1 -d.
> sudo -u fink-bld [ENV] sh -c /tmp/fink.3QH3x
> make
> xcodebuild -project pinentry-mac.xcodeproj -target pinentry-mac
> -configuration Release build -UseNewBuildSystem=NO
> 2024-04-14 21:58:19.607 xcodebuild[53023:3433695] [MT]
> DVTDownloadable: Error creating downloadable cache directory
> file:///var/empty/Library/Caches/com.apple.dt.Xcode/Downloads/
> 2024-04-14 21:58:19.617 xcodebuild[53023:3433696] CoreSimulator
> detected version change. Framework version (947.13) does not match
> existing job version (932.2). Attempting to remove the stale service
> in order to add the expected version.
> Command line invocation:
> /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
> -project pinentry-mac.xcodeproj -target pinentry-mac -configuration
> Release build -UseNewBuildSystem=NO
>
> User defaults from command line:
> IDEPackageSupportUseBuiltinSCM = YES
> UseNewBuildSystem = NO
>
> 2024-04-14 21:58:20.234 xcodebuild[53023:3433795] 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=0x6000002fd890 {Error Domain=NSPOSIXErrorDomain
> Code=12 "Cannot allocate memory"
> UserInfo={NSLocalizedFailureReason=Allocation or initialization
> failed., NSLocalizedDescription=Failed to initialize simulator device
> set.}}}
Pinentry-mac is frozen upstream since 2021 [1], so it's not surprising
that it's not working with newer Xcode. I haven't been able to find a
suitable fix for pinentry-mac. Do you need pinentry-mac or will any of
the other pinentry packages work? There are newer pinentry releases than
our v1.1.1.1, but they require much newer Qt5 than what we have (there
are CLI, Qt4, and fltk variants as well).
[1] https://github.com/GPGTools/pinentry-mac
_______________________________________________
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