Comments (9)
no idea, sorry. I never do static builds.
from setup-msys2.
Possible short answer: add base-devel
to the 'install' field.
Longer answer. In v0 with update: true
, this action used the default installation available in the virtual environment. That includes several extra packages which are not installed in the official distribution: #23 (comment). In v1, the official distribution is used instead, and no extra packages are installed by default. That's why you need to add base-devel
and probably some other.
This also can explain why it took a shot time to execute.
Strictly, execution time difference is not related to this. With v0, almost all the preinstalled packages need to be removed and reinstalled, because the virtual environment is out of date. That's what takes 10 min. When using v1, even if you need to install the same packages, it takes much shorter (1-3 min).
from setup-msys2.
Hi @eine I'm the one that having this issue, thanks @BrightRan that report this problem.
I'm gonna try this.
Thanks !
from setup-msys2.
Hi @goshiz! For reference, the packages that are installed by default in v0 but not in v1 are the following: https://github.com/actions/virtual-environments/blob/master/images/win/scripts/Installers/Install-Msys2.ps1#L56-L63
from setup-msys2.
@eine ,
Thanks for your reply.
I tested as your suggestion that adding base-devel
to the install
field when using v1, but still get the same errors. See the link below:
https://github.com/ForksForTest/haven-offshore/actions/runs/133155318/workflow#L19
If I missed something, please tell me, thanks.
from setup-msys2.
Hi @BrightRan, on the one hand, https://github.com/ForksForTest/haven-offshore/actions/runs/133155318/workflow#L29-L31 feels strange. I'd add those packages to the install
field above. What's the motivation to install them in a separate step? On the other hand, https://github.com/ForksForTest/haven-offshore/runs/764897929?check_suite_focus=true#step:5:409 seems to tell that you are missing development sources. I.e., you might need openssl-devel
(headers), and not only openssh
(pre-built binaries).
from setup-msys2.
@BrightRan, did you try v2 of this Action?
from setup-msys2.
Hey @eine yes I updated to v2 a few days ago.
It's working fine but for an unknown reason now all my static build are not static anymore...
from setup-msys2.
@goshiz I think I read something about the issue with static builds, which is related to the MSYS2 repos, not to this action. However, I can't find it now. @lazka, any hint?
from setup-msys2.
Related Issues (20)
- Extend action to support Ubuntu runner? HOT 7
- Feature: option for disable caching HOT 5
- "powershell.exe" renamed to "pwsh.exe" HOT 2
- Failed install? HOT 2
- ERROR in dll HOT 8
- Tag releases with semver tag HOT 5
- ctest fails as test-binaries are missing, even though cmake-build of those binaries shows no error HOT 1
- update to node20 HOT 2
- Cache package databases HOT 1
- Get "verified" badge for msys2/setup-msys2 on github marketplace HOT 4
- sometimes action is very slow HOT 11
- Provide alternative for $GITHUB_PATH inside MSYS2 with path-type: minimal HOT 8
- [question] how to move needed binaries (DLL's) to release zip? [SOLVED] HOT 13
- New installer hangs on clangarm64 HOT 12
- Winget Update problem HOT 8
- issue with "location" HOT 2
- Cache restore problem (gzip: Cannot exec) HOT 1
- Add cache-from and cache-to options
- Add possibility to modify BUILDENV in /etc/makepkg.conf using workflow arguments
- Shell not respecting system flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-msys2.