Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Infrastructure: repair Windows CI build failures#6072

Merged
vadi2 merged 10 commits intoMudlet:developmentfrom
SlySven:Fix_repairWindowsPCREBuildFailure
Apr 22, 2022
Merged

Infrastructure: repair Windows CI build failures#6072
vadi2 merged 10 commits intoMudlet:developmentfrom
SlySven:Fix_repairWindowsPCREBuildFailure

Conversation

@SlySven
Copy link
Member

@SlySven SlySven commented Apr 21, 2022

During running of the CI builds on AppVeyor for Windows we now are getting errors during the .configure stage for the build of PCRE - and we get the advices to try using the additional --disable-dependency-tracking to fix it. This PR tried to do that to see if it fixed things, but it didn't.

Further investigation by @keneanung and myself eventually revealed that although #6030 installed Qt it was not installing the expected Mingw GCC compiler (32-bit 7.3.0) - further digging revealed that an addition step was needed to do that.

During the investigation I spotted that when building libzip we were also building the regression tests, the documentation and the examples - none of which are used or needed by our Windows CI builds. So disabling them should reduce the build time slightly and there was no point to undoing the change that disabled their being built.

Signed-off-by: Stephen Lyons [email protected]

During running of the CI builds on AppVeyor for Windows we now are getting
errors during the `.configure` stage for the build of PCRE - and we get the
advices to try using the additional `--disable-dependency-tracking` to fix
it. This commit does that to see if it fixes things...!

Signed-off-by: Stephen Lyons <[email protected]>
@SlySven SlySven requested a review from a team April 21, 2022 21:12
@add-deployment-links
Copy link

add-deployment-links bot commented Apr 21, 2022

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

@mudlet-machine-account mudlet-machine-account added this to the 4.16.0 milestone Apr 21, 2022
SlySven added 8 commits April 21, 2022 22:47
Compile libzip is now failing when building the unneeded documentation!

Signed-off-by: Stephen Lyons <[email protected]>
…uild

Sometimes we might want make to only do one thing at a time.

Signed-off-by: Stephen Lyons <[email protected]>
Signed-off-by: Stephen Lyons <[email protected]>
I think this will fail to get us `qt.tools.win32_mingw730` as I think I've
already tried to get that one - this though will show us all the ones
we could get...

Signed-off-by: Stephen Lyons <[email protected]>
Now that a solution seems to have been found it is time to clean up the PR.
One unneed change can be left in place - is the elimination of some
auxillary parts of libzip. Note that the failure to build in the previous
commit was due to an addition that this commit is removing (trying to force
make to only run a single job at a time). So this should be the required
fix.

Signed-off-by: Stephen Lyons <[email protected]>
@SlySven
Copy link
Member Author

SlySven commented Apr 22, 2022

The danger failure is a separate matter that needs addressing. It is apparently:

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=14.13.1". Got "12.22.12"

@SlySven SlySven changed the title Fix: repair Windows PCRE build failures Fix: repair Windows CI build failures Apr 22, 2022
The older version is no longer supported by the tool and as the test is a
requirement it needs fixing ASAP.

Signed-off-by: Stephen Lyons <[email protected]>
Copy link
Member

@keneanung keneanung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The solution is surprisingly simple once we got to the root... I say go for it and merge even though danger is failing. We can't repair that with an all green PR due to the pull_request_target trigger.

@keneanung keneanung enabled auto-merge (squash) April 22, 2022 08:15
@keneanung keneanung disabled auto-merge April 22, 2022 08:15
@vadi2 vadi2 merged commit 9d5dea9 into Mudlet:development Apr 22, 2022
@vadi2 vadi2 changed the title Fix: repair Windows CI build failures Infrastructure: repair Windows CI build failures Apr 22, 2022
@vadi2
Copy link
Member

vadi2 commented Apr 22, 2022

I disabled the Danger check temporarily to allow the merge. Thanks for fixing this, @keneanung and @SlySven!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants