www/unit build failer on Azure DevOps

Sergey A. Osokin osa at freebsd.org
Mon Oct 4 00:56:55 UTC 2021


On Sun, Oct 03, 2021 at 07:37:45PM -0400, Craig Treleaven wrote:
> > On Oct 3, 2021, at 5:30 PM, Sergey A. Osokin <osa at freebsd.org> wrote:
> > I'm looking for details on the www/unit build failure on Azure DevOps
> > platform,
> > i.e. https://dev.azure.com/macports/macports-ports/_build/results?buildId=17185&view=results
> 
> 
> 
> I don’t know about the view you linked to.  From the Checks tab of your pull request, I think you can see the error:
> 
> https://github.com/macports/macports-ports/pull/12404/checks <https://github.com/macports/macports-ports/pull/12404/checks>
> 
> 1503 <https://github.com/macports/macports-ports/pull/12404/checks#step:8:1503>
> 
>  DEBUG: Executing reinplace: /usr/bin/sed s|-Werror||g </opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_www_unit/unit-perl528/work/unit-1.25.0/types >@file11
> 1502
>  <https://github.com/macports/macports-ports/pull/12404/checks#step:8:1502>  --->  Patching types: s|-Werror||g
> 1503
>  <https://github.com/macports/macports-ports/pull/12404/checks#step:8:1503>  DEBUG: couldn't read file "/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_www_unit/unit-perl528/work/unit-1.25.0/types": no such file or directory
> 1504
>  <https://github.com/macports/macports-ports/pull/12404/checks#step:8:1504>      while executing
> 1505
>  <https://github.com/macports/macports-ports/pull/12404/checks#step:8:1505>  "exec -ignorestderr -- {*}$cmdline"
> 1506
>  <https://github.com/macports/macports-ports/pull/12404/checks#step:8:1506>  Error: reinplace: couldn't read file "/opt/local/var/macports/build/_Users_runner_work_macports-ports_macports-ports_ports_www_unit/unit-perl528/work/unit-1.25.0/types": no such file or directory
> 1507
>  <https://github.com/macports/macports-ports/pull/12404/checks#step:8:1507>  Error: Failed to patch unit-perl528: reinplace sed(1) failed
> 1508
>  <https://github.com/macports/macports-ports/pull/12404/checks#step:8:1508>  DEBUG: Error code: NONE

Thanks, Graig, that's been fixed and builds are completed.
Another issue is the "archive build logs" target:

Retry limit has been reached for chunk at offset 0 to https://pipelines.actions.githubusercontent.com/GKxOQnS2ECz9Gaji3FEn5hedlXhA9eesLC1FSXCsbzejZyCfqf/_apis/resources/Containers/16238021?itemPath=logs-macos-11.zip%2Funit-ruby27%2Flogs%2Finstall-dependencies.log
Warning: Aborting upload for /tmp/mpbb/unit-ruby27/logs/install-dependencies.log due to failure
Error: aborting artifact upload
Total size of all the files uploaded is 4964086 bytes
Finished uploading artifact logs-macos-11.zip. Reported size is 4964086 bytes. There were 1 items that failed to upload

How can I fix that?

Thanks.

-- 
Sergey Osokin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 789 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20211004/e4c3ccc8/attachment.sig>


More information about the macports-dev mailing list