Need help debugging failed build on build server

janosch1 at mailbox.org janosch1 at mailbox.org
Sun Aug 1 15:51:30 UTC 2021


Thanks Ryan.

So the Azure Pipeline is not relevant as MacPass only works for > macOS 11.

But the macOS 11 pipeline also fails, and I am stuck here, too. This is the relevant output[1]:

(…)
Installing dependency (13 of 15) 'KeePassKit' with variants '' (requesting '') ... [OK]
Installing dependency (14 of 15) 'TransformerKit' with variants '' (requesting '') ... [OK]
Installing dependency (15 of 15) 'MacPass' with variants '' (requesting '') ... [OK]
Error: The operation was canceled.

It looks like the build job just aborts after installing the dependencies of MacPassHTTP. But I cannot find any detailed information why the job was aborted at that point.

Any pointers?

Regards,
Janosch

[1] https://github.com/macports/macports-ports/pull/10162/checks?check_run_id=3214343592




> Am 31.07.2021 um 19:02 schrieb Ryan Schmidt <ryandesign at macports.org>:
> 
> On Jul 31, 2021, at 10:38, Janosch Peters wrote:
> 
>> Hi,
>> 
>> I am trying to add a new port called MacPassHTTP to macports: https://github.com/macports/macports-ports/pull/10162
>> 
>> On the build server I get the following error:
>> 
>> Installing dependency (15 of 15) 'MacPass' with variants '' (requesting '') ... [FAIL] (fetch) <----
>> ##[error]Failed to install dependencies for MacPassHTTP
>> /Users/runner/work/_temp/46c5b442-217e-42c5-8adc-69d4580ae708.sh: line 57: 3362 Terminated: 15 tail -f "$workdir/logs/dependencies-progress.txt" 2> /dev/null
>> ##[error]Bash exited with code '1'.
>> Finishing: Build changed subports
>> 
>> Link: https://dev.azure.com/macports/macports-ports/_build/results?buildId=15669&view=logs&j=ca395085-040a-526b-2ce8-bdc85f692774&t=08703039-49d0-5b78-7691-5b9414c62c1d
>> 
>> 
>> 1. Are there any logs accessible for me where I can see why fetching MacPass fails?
>> 2. Does someone know what could be the cause for this? Fetching macpass works fine on my Mac.
> 
> At https://dev.azure.com/macports/macports-ports/_build/results?buildId=15669&view=logs&j=ca395085-040a-526b-2ce8-bdc85f692774 <https://dev.azure.com/macports/macports-ports/_build/results?buildId=15669&view=logs&j=ca395085-040a-526b-2ce8-bdc85f692774>
> 
> click "1 artifact"
> mouse over the line "logs.zip"
> click the vertical "..." at the end of the row
> click "Download artifacts"
> expand the downloaded logs.zip.zip
> expand the logs.zip inside it
> open the file logs.zip/logs/MacPassHTTP/logs/install-dependencies.log
> 
> It says the reason why MacPass failed to fetch is:
> 
> --->  Fetching distfiles for MacPass
> DEBUG: elevating privileges for fetch: euid changed to 0, egid changed to 0.
> DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
> DEBUG: Executing proc-pre-org.macports.fetch-fetch-0
> Error: MacPass @0.8-RC2 requires macOS 11 or greater
> Error: Failed to fetch MacPass: incompatible OS X version
> 
> The Azure Pipelines builder is for macOS 10.14. There are GitHub Actions builders for macOS 10.15 and 11.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20210801/df761f43/attachment-0001.htm>


More information about the macports-dev mailing list