Opened 4 years ago
Closed 4 years ago
#61568 closed defect (fixed)
pinentry-mac @0.9.4 has still problems to build on Big Sur
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | Ionic (Mihai Moldovan) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | bigsur | Cc: | mascguy (Christopher Nielsen) |
Port: | pinentry-mac |
Description
Xcode
a few times reports Unable to create
or You don\U2019t have permission
. Since the original Main.log
file was removed on successful build I am copying excerpts from the *compilation*
buffer in GNU Emacs
without windows, i.e. in Terminal.
Build settings from command line: ARCHS = x86_64 CLANG_CXX_LIBRARY = libc++ GCC_VERSION = com.apple.compilers.llvm.clang.1_0 INSTALL_PATH = /Applications/MacPorts MACOSX_DEPLOYMENT_TARGET = 11.0 OBJROOT = /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/ SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk SYMROOT = /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/ 2020-11-19 21:38:01.012 xcodebuild[61130:8115125] [MT] IDELogStore: Failed to open log store at /opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Build 2020-11-19 21:38:01.012 xcodebuild[61130:8115125] [MT] IDELogStore: Failed to open Build log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Build': (513) You don\U2019t have permission to save the file \U201cBuild\U201d in the folder \U201cLogs\U201d."; }. 2020-11-19 21:38:01.022 xcodebuild[61130:8115125] [MT] IDELogStore: Failed to open log store at /opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Package 2020-11-19 21:38:01.022 xcodebuild[61130:8115125] [MT] IDELogStore: Failed to open Package log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Package': (513) You don\U2019t have permission to save the file \U201cPackage\U201d in the folder \U201cLogs\U201d."; }. 2020-11-19 21:38:01.029 xcodebuild[61130:8115125] [MT] IDELogStore: Failed to open log store at /opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Test 2020-11-19 21:38:01.029 xcodebuild[61130:8115125] [MT] IDELogStore: Failed to open Test log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Test': (513) You don\U2019t have permission to save the file \U201cTest\U201d in the folder \U201cLogs\U201d."; }. 2020-11-19 21:38:01.341 xcodebuild[61130:8115125] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17535/IDEFoundation/Buildables/IDEWorkspaceArena.m:1118 Details: Failed to create workspace arena at <DVTFilePath:0x7fc0611abb20:'/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???'>: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “pinentry-mac-???” in the folder “DerivedData”." UserInfo={NSFilePath=/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-???, NSUnderlyingError=0x7fbff6cec230 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} Object: <IDEWorkspaceArena: 0x7fbff6e942e0> Method: -createWorkspaceArenaFolderIfNecessary Thread: <NSThread: 0x7fc056e092a0>{number = 1, name = main} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. note: Using new build system note: Planning build note: Constructing build description warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'pinentry-mac' from project 'pinentry-mac') ... ** BUILD SUCCEEDED ** ... ./var/spool missing (created) ./www missing (created) DEBUG: Executing org.macports.destroot (pinentry-mac) DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4" && /usr/bin/xcodebuild -UseNewBuildSystem=NO -target "pinentry-mac" -configuration Release install INSTALL_PATH=/Applications/MacPorts OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/" MACOSX_DEPLOYMENT_TARGET=11.0 ARCHS=x86_64 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++" DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/destroot"' DEBUG: system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4" && /usr/bin/xcodebuild -UseNewBuildSystem=NO -target "pinentry-mac" -configuration Release install INSTALL_PATH=/Applications/MacPorts OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/" MACOSX_DEPLOYMENT_TARGET=11.0 ARCHS=x86_64 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++" DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/destroot" Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -UseNewBuildSystem=NO -target pinentry-mac -configuration Release install INSTALL_PATH=/Applications/MacPorts OBJROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/ SYMROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/ MACOSX_DEPLOYMENT_TARGET=11.0 ARCHS=x86_64 SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY=libc++ DSTROOT=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/destroot User defaults from command line: UseNewBuildSystem = NO Build settings from command line: ARCHS = x86_64 CLANG_CXX_LIBRARY = libc++ DSTROOT = /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/destroot GCC_VERSION = com.apple.compilers.llvm.clang.1_0 INSTALL_PATH = /Applications/MacPorts MACOSX_DEPLOYMENT_TARGET = 11.0 OBJROOT = /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/ SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk SYMROOT = /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/ 2020-11-19 21:38:19.118 xcodebuild[61210:8116300] [MT] IDELogStore: Failed to open log store at /var/root/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Build 2020-11-19 21:38:19.118 xcodebuild[61210:8116300] [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/pinentry-mac-???/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/pinentry-mac-???/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/pinentry-mac-???/Logs/Build': (513) You don\U2019t have permission to save the file \U201cBuild\U201d in the folder \U201cLogs\U201d."; }. 2020-11-19 21:38:19.126 xcodebuild[61210:8116300] [MT] IDELogStore: Failed to open log store at /var/root/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Package 2020-11-19 21:38:19.126 xcodebuild[61210:8116300] [MT] IDELogStore: Failed to open Package log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/var/root/Library/Developer/Xcode/DerivedData/pinentry-mac-???/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/root/Library/Developer/Xcode/DerivedData/pinentry-mac-???/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/root/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Package': (513) You don\U2019t have permission to save the file \U201cPackage\U201d in the folder \U201cLogs\U201d."; }. 2020-11-19 21:38:19.131 xcodebuild[61210:8116300] [MT] IDELogStore: Failed to open log store at /var/root/Library/Developer/Xcode/DerivedData/pinentry-mac-???/Logs/Test 2020-11-19 21:38:19.131 xcodebuild[61210:8116300] [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/pinentry-mac-???/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/pinentry-mac-???/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/pinentry-mac-???/Logs/Test': (513) You don\U2019t have permission to save the file \U201cTest\U201d in the folder \U201cLogs\U201d."; }. Prepare build note: The Legacy Build System will be removed in a future release. You can configure the selected build system and this deprecation message in File > Project Settings. === BUILD TARGET pinentry-mac OF PROJECT pinentry-mac WITH CONFIGURATION Release === Check dependencies ... ** INSTALL SUCCEEDED **
Another report:
2020-11-19 21:38:04.425 ibtoold[61151:8115884] CoreText note: Client requested name ".LucidaGrandeUI", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. 2020-11-19 21:38:04.425 ibtoold[61151:8115884] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
Attachments (1)
Change History (23)
comment:1 follow-up: 3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Cc: | ionic@… removed |
---|---|
Owner: | set to Ionic |
Status: | new → assigned |
comment:3 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Replying to ryandesign:
The permission errors with derived data are covered in #57137. By all means file a bug report with Apple and ask them to fix
xcodebuild
so that it respects theHOME
environment variable, which would fix it.
Done: https://feedbackassistant.apple.com/feedback/8909205.
comment:4 Changed 4 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:5 Changed 4 years ago by mascguy (Christopher Nielsen)
This failure is also occurring on macOS 10.12, so it's not limited to Big Sur:
When recently setting up a macOS 10.12 VM for testing, I saw the same issue. After a few minutes of head-scratching, I tried launching the Xcode IDE once, to allow the one-time Xcode setup to occur. After that, it worked.
Does anyone know precisely what Xcode is doing during that setup, and whether it can be initiated from the command-line?
comment:6 follow-up: 7 Changed 4 years ago by svalgaard (Jens Svalgaard Kohrt)
A have the same build error on a new MacBook Pro M1.
After running Xcode with GUI for the first time, where it asks me to allow it to install "additional components", the installation succeeds.
comment:7 follow-up: 12 Changed 4 years ago by mascguy (Christopher Nielsen)
Replying to svalgaard:
A have the same build error on a new MacBook Pro M1.
After running Xcode with GUI for the first time, where it asks me to allow it to install "additional components", the installation succeeds.
Given that this fix works for both macOS 10.12 and Big Sur, are we 100% certain that the HOME
environment variable is the sole issue?
Ryan, do you know whether the Xcode IDE has been launched at least once, within each of our builders? If not, would it be feasible to do this, as annoying as that prospect is?
comment:8 follow-up: 9 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
I got the impression that port @2.6.4
does not understand that Xcode 12.x
actually is installed completely. I do remember that I received reports about missing command line components although they were installed before…
comment:9 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Replying to ballapete:
From trying to build new release of AUCTeX
which leads to upgrading everything, I think:
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_auctex/auctex/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/editors/auctex/work DEBUG: dropping privileges: euid changed to 501, egid changed to 20. DEBUG: Starting logging for auctex DEBUG: macOS 11.2 (darwin/20.3.0) arch i386 DEBUG: MacPorts 2.6.4 DEBUG: Xcode 12.4 DEBUG: SDK 11.2 DEBUG: MACOSX_DEPLOYMENT_TARGET: 11.2 Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly. Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'. DEBUG: epoch: in tree: 0 installed: 0
root 88 /\ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates
pete 327 /\ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates
comment:10 follow-up: 11 Changed 4 years ago by eejd
I am trying to develop a Portfile for ZeroTier One and am encountering the same problem. In my case, if I run
make -w all
as a normal user, the compile goes through without errors. If I compile via
sudo port build zerotier
I get the same errors seen here (i.e. dropping privileges to the normal user fails to build).
xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates
for both sudo and base user. Have you identified a workaround?
comment:11 follow-up: 14 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Replying to eejd:
xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Port
reports on Big Sur
that Xcode
is not correctly installed. This seems to be a bug in port
IMO.
comment:12 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to mascguy:
Replying to svalgaard:
After running Xcode with GUI for the first time, where it asks me to allow it to install "additional components", the installation succeeds.
Given that this fix works for both macOS 10.12 and Big Sur, are we 100% certain that the
HOME
environment variable is the sole issue?
I do not know that that fixes the problem for both 10.12 and 11.x. I do not know whether the 10.12 and 11.x issues reported here are the same. I do know that xcodebuild does not respect the HOME environment variable (or did not, the last time I checked) and that this causes us some problems on macOS 10.14 and later. This problem does not affect earlier systems so it would not have been the cause of whatever was wrong on 10.12.
I just tried a new build on 10.12 and it worked: https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/144992
We already had successful builds on 10.8 and later, excluding 10.12 but including 11.x.
Ryan, do you know whether the Xcode IDE has been launched at least once, within each of our builders? If not, would it be feasible to do this, as annoying as that prospect is?
It is certainly my intention to always launch Xcode once every time I install or update Xcode on the buildbot workers. This ensures the license agreement is agreed to and the additional components are installed. The additional components are for iOS/iPadOS/watchOS/tvOS development so they're of no interest to MacPorts but I figured I should do it since Xcode expects them to be there. Maybe I forgot to do it once?
Port reports on Big Sur that Xcode is not correctly installed. This seems to be a bug in port IMO.
The warning that MacPorts 2.6.4 emits that the 11.2 SDK is not installed is a MacPorts bug, in that we assumed that an SDK matching the OS version should always exist, but that turned out not to be true. This assumption is fixed in MacPorts 2.7.0 of which a beta is out now.
The warning that some ports emit that the Xcode command line tools are not installed is not a MacPorts bug; it is a macOS bug. See ProblemHotlist#reinstall-clt.
comment:13 Changed 4 years ago by mascguy (Christopher Nielsen)
Thanks for following up on this Ryan, glad to see the MacOS 10.12 build is fixed!
comment:14 follow-up: 15 Changed 4 years ago by mascguy (Christopher Nielsen)
Replying to ballapete:
Replying to eejd:
xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Port
reports onBig Sur
thatXcode
is not correctly installed. This seems to be a bug inport
IMO.
Peter, there have been quite a few changes over the past few weeks, which may fix these issues. And this port has binaries for Big Sur, eliminating the build step.
Are you able to successfully install the port now, after running either a port sync
or port selfupdate
?
comment:15 follow-up: 16 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mascguy:
Peter, there have been quite a few changes over the past few weeks, which may fix these issues. And this port has binaries for Big Sur, eliminating the build step.
Are you able to successfully install the port now, after running either a
port sync
orport selfupdate
?
Yes, it looks good: port -vd build -sk pinentry-mac
gives in the end ** BUILD SUCCEEDED **
. There are still some problems:
2021-05-05 14:01:02.975 xcodebuild[19958:3790559] [MT] IDELogStore: Failed to open log store at /opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/Logs/Build 2021-05-05 14:01:02.975 xcodebuild[19958:3790559] [MT] IDELogStore: Failed to open Build log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/Logs/Build': (513) You don\U2019t have permission to save the file \U201cBuild\U201d in the folder \U201cLogs\U201d."; }. 2021-05-05 14:01:02.984 xcodebuild[19958:3790559] [MT] IDELogStore: Failed to open log store at /opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/Logs/Package 2021-05-05 14:01:02.984 xcodebuild[19958:3790559] [MT] IDELogStore: Failed to open Package log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/Logs/Package': (513) You don\U2019t have permission to save the file \U201cPackage\U201d in the folder \U201cLogs\U201d."; }. 2021-05-05 14:01:02.989 xcodebuild[19958:3790559] [MT] IDELogStore: Failed to open log store at /opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/Logs/Test 2021-05-05 14:01:02.989 xcodebuild[19958:3790559] [MT] IDELogStore: Failed to open Test log store: Error Domain=IDEFoundationErrorDomain Code=1 "Unable to create log store directory at '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/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 '/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx/Logs/Test': (513) You don\U2019t have permission to save the file \U201cTest\U201d in the folder \U201cLogs\U201d."; }. 2021-05-05 14:01:03.340 xcodebuild[19958:3790559] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18205/IDEFoundation/Buildables/IDEWorkspaceArena.m:1133 Details: Failed to create workspace arena at <DVTFilePath:0x7f8b77292cb0:'/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx'>: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “pinentry-mac-btejmlvrucpnupebautlkcklxvkx” in the folder “DerivedData”." UserInfo={NSFilePath=/opt/local/var/macports/home/Library/Developer/Xcode/DerivedData/pinentry-mac-btejmlvrucpnupebautlkcklxvkx, NSUnderlyingError=0x7f8b7705fd30 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} Object: <IDEWorkspaceArena: 0x7f8b7724a400> Method: -createWorkspaceArenaFolderIfNecessary Thread: <NSThread: 0x7f8ba341a8e0>{number = 1, name = main} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
PhaseScriptExecution Localize\ XIBs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/pinentry-mac.build/Release/pinentry-mac.build/Script-30FC955F129818AE0039CEF8.sh (in target 'pinentry-mac' from project 'pinentry-mac') cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/GPGTools-pinentry-mac-c5b5260 /bin/sh -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/pinentry-mac.build/Release/pinentry-mac.build/Script-30FC955F129818AE0039CEF8.sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/pinentry-mac.build/Release/pinentry-mac.build/Script-30FC955F129818AE0039CEF8.sh: line 4: Utilities/localizeXIB: Bad CPU type in executable
A font request seems to be wrong:
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module pinentry_mac --output-partial-info-plist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/pinentry-mac.build/Release/pinentry-mac.build/English.lproj/Pinentry-PartialInfo.plist --auto-activate-custom-fonts --target-device mac --minimum-deployment-target 11.2 --output-format human-readable-text --compile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/pinentry-mac-0.9.4/build/Release/pinentry-mac.app/Contents/Resources/English.lproj/Pinentry.nib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/work/GPGTools-pinentry-mac-c5b5260/Resources/English.lproj/Pinentry.xib 2021-05-05 14:01:05.361 ibtoold[19981:3790994] CoreText note: Client requested name ".LucidaGrandeUI", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:]. 2021-05-05 14:01:05.361 ibtoold[19981:3790994] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
I'll upload the LOG file and see how the installation will succeed.
Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Main.log from intel Big Sur macOS 11.2.3
comment:16 follow-up: 18 Changed 4 years ago by mascguy (Christopher Nielsen)
Replying to ballapete:
Yes, it looks good:
port -vd build -sk pinentry-mac
gives in the end** BUILD SUCCEEDED **
. There are still some problems:
Peter, just curious... why are you explicitly building that port from source, as opposed to installing via port -N install pinentry-mac
?
By doing that, you're bypassing the binary, which would otherwise eliminate the build step.
comment:17 follow-up: 20 Changed 4 years ago by mascguy (Christopher Nielsen)
As for the other errors, I'd like you to uninstall and reinstall via port -N install pinentry-mac
, so that you're testing with our official binaries.
Let us know if you're still seeing the same errors.
comment:18 follow-up: 19 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mascguy:
Replying to ballapete:
Yes, it looks good:
port -vd build -sk pinentry-mac
gives in the end** BUILD SUCCEEDED **
. There are still some problems:Peter, just curious... why are you explicitly building that port from source, as opposed to installing via
port -N install pinentry-mac
?By doing that, you're bypassing the binary, which would otherwise eliminate the build step.
I thought that mascguy
wanted to know whether the build succeeds now.
comment:19 Changed 4 years ago by mascguy (Christopher Nielsen)
Replying to ballapete:
I thought that
mascguy
wanted to know whether the build succeeds now.
Well, that info is definitely helpful for sure! But ultimately I'm just trying to get you setup with a fully-working install of pinentry-mac
. And given the errors you're seeing, I was hoping you could retest with our official binary.
comment:20 follow-up: 21 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mascguy:
As for the other errors, I'd like you to uninstall and reinstall via
port -N install pinentry-mac
, so that you're testing with our official binaries.
Installing from the binary distribution produces no error.
comment:21 Changed 4 years ago by mascguy (Christopher Nielsen)
Replying to ballapete:
Installing from the binary distribution produces no error.
Great! And thank you for building it from source as well, looks like we have issues we need to work through.
comment:22 Changed 4 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Since binaries exist across-the-board, closing as fixed.
If it installed successfully, then we don't really need to do anything, do we?
The permission errors with derived data are covered in #57137. By all means file a bug report with Apple and ask them to fix
xcodebuild
so that it respects theHOME
environment variable, which would fix it.