I created a new port <https://github.com/macports/macports-ports/pull/10162> 
for MacPassHTTP, but the build fails on the build server (it builds fine on my 
local macOS-11). ibtools claims there is a permission problem (or missing 
files/folders).

Here is the error from the server logs:

/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_security_MacPassHTTP/MacPassHTTP/work/MacPass-MacPassHTTP-b445602/MacPassHTTP/Base.lproj/RequestAccessWindow.xib:
 error: The operation couldn’t be completed. Operation not permitted
   Failure Reason: Operation not permitted
/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_security_MacPassHTTP/MacPassHTTP/work/MacPass-MacPassHTTP-b445602/MacPassHTTP/Base.lproj/RequestAccessWindow.xib:
 error: Compilation failed. Unable to write to path: 
/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_security_MacPassHTTP/MacPassHTTP/work/destroot/opt/local/Library/Application
 
Support/MacPass/MacPassHTTP.mpplugin/Contents/Resources/Base.lproj/RequestAccessWindow.nib
   Underlying Errors:
       Description: You don’t have permission to save the file 
“RequestAccessWindow.nib” in the folder “Base.lproj”.
       Failure Reason: You don’t have permission.
       Recovery Suggestion: To view or change permissions, select the item in 
the Finder and choose File > Get Info.
       Underlying Errors:
           Description: The operation couldn’t be completed. Operation not 
permitted
           Failure Reason: Operation not permitted
       Description: “RequestAccessWindow.nib” couldn’t be removed.
       Failure Reason: The file doesn’t exist.
       Underlying Errors:
           Description: The operation couldn’t be completed. No such file or 
directory
           Failure Reason: No such file or directory


I tried to create those .lproj folders before the build starts as a workaround, 
but it did not help. I am running out of ideas what to do. Any ideas?

Here are the full raw logs from the build server 
<https://pipelines.actions.githubusercontent.com/GKxOQnS2ECz9Gaji3FEn5hedlXhA9eesLC1FSXCsbzejZyCfqf/_apis/pipelines/1/runs/3403/signedlogcontent/3?urlExpires=2021-03-07T11:31:20.6021609Z&urlSigningMethod=HMACV1&urlSignature=mYz92BjbPuS5ieZ628/7LGAqLb0zemJAzPqitFIEjrw=>
 (just scroll to the very end).


Reply via email to