Build fail - pacman -S openssh rsync - command exited with code 1
Since two days now, there has been an unexplained and unexpected build fail at this command in my Appveyor.yml file:
install:
- cmd: ...
- cmd: C:\msys64\usr\bin\bash -lc "pacman -S --needed --noconfirm openssh rsync > InstallSecureTransfer.log 2>&1"
You can see the returned message in the attached screenshot or visit the repository here.
When I 'remark' this command, the build script executes to completion as expected - as you can see here.
When I run the exact command from my local command console, it runs to completion as expected.
Cheers,
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 26 Oct, 2020 02:33 AM
Could be a similar issue: https://help.appveyor.com/discussions/problems/28461-x86_64-w64-min...
We are currently updating VS 2019 image and thus MSYS2 - will be ready tomorrow. Let's see if that helps.
Support Staff 2 Posted by Feodor Fitsner on 27 Oct, 2020 02:04 AM
It should be fixed now. This is the test: https://ci.appveyor.com/project/appveyor-tests/msys2-test
3 Posted by trevor.sandy on 27 Oct, 2020 03:20 AM
Excellent! Many thanks.
Cheers,
4 Posted by trevor.sandy on 27 Oct, 2020 06:55 PM
Hello Feodor - Unfortunately, the unexpected behaviour is still present for me. You can see my latest build fail here
Cheers,
Support Staff 5 Posted by Feodor Fitsner on 27 Oct, 2020 06:56 PM
Switch to
image: Visual Studio 2019
.6 Posted by trevor.sandy on 28 Oct, 2020 11:38 AM
I would like to switch but there is a bug in MSVC2017 that's fixed in MSVC2019. However, my appliation is not currently compatible with Qt 15.x - the only version of Qt on MSVC2019. Some of my dropdown lists are detached and appear all over the place when I compile with Qt 15.x. Consequently, I am currently on Qt 5.11.3 because it's the last version on MSVC2015 which works for me but is not available in the VS2019 image.
Is there any plan to apply the pacman call fix to the other images that support MSYS2 ?
Cheers,
Support Staff 7 Posted by Feodor Fitsner on 28 Oct, 2020 05:40 PM
We will update VS 2017 image for sure. In the meantime you can adopt this script to re-install MSYS2 during the build: https://github.com/appveyor/build-images/blob/master/scripts/Window...
Just strip everything unnecessary from it and you should be fine.
8 Posted by trevor.sandy on 29 Oct, 2020 03:52 AM
Consumes 3.3 minutes of build time but works well. Many thanks.
Cheers,
Support Staff 9 Posted by Feodor Fitsner on 31 Oct, 2020 02:25 AM
That's not bad for being on bleeding edge. MSYS on image will be always lacking.
Feodor Fitsner closed this discussion on 31 Dec, 2020 09:03 PM.