Build fail - pacman -S openssh rsync - command exited with code 1

trevor.sandy's Avatar

trevor.sandy

26 Oct, 2020 12:21 AM

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,

  1. Support Staff 1 Posted by Feodor Fitsner on 26 Oct, 2020 02:33 AM

    Feodor Fitsner's Avatar

    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.

  2. Support Staff 2 Posted by Feodor Fitsner on 27 Oct, 2020 02:04 AM

    Feodor Fitsner's Avatar

    It should be fixed now. This is the test: https://ci.appveyor.com/project/appveyor-tests/msys2-test

  3. 3 Posted by trevor.sandy on 27 Oct, 2020 03:20 AM

    trevor.sandy's Avatar

    Excellent! Many thanks.

    Cheers,

  4. 4 Posted by trevor.sandy on 27 Oct, 2020 06:55 PM

    trevor.sandy's Avatar

    Hello Feodor - Unfortunately, the unexpected behaviour is still present for me. You can see my latest build fail here

    Cheers,

  5. Support Staff 5 Posted by Feodor Fitsner on 27 Oct, 2020 06:56 PM

    Feodor Fitsner's Avatar

    Switch to image: Visual Studio 2019.

  6. 6 Posted by trevor.sandy on 28 Oct, 2020 11:38 AM

    trevor.sandy's Avatar

    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,

  7. Support Staff 7 Posted by Feodor Fitsner on 28 Oct, 2020 05:40 PM

    Feodor Fitsner's Avatar

    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. 8 Posted by trevor.sandy on 29 Oct, 2020 03:52 AM

    trevor.sandy's Avatar

    Consumes 3.3 minutes of build time but works well. Many thanks.

    Cheers,

  9. Support Staff 9 Posted by Feodor Fitsner on 31 Oct, 2020 02:25 AM

    Feodor Fitsner's Avatar

    That's not bad for being on bleeding edge. MSYS on image will be always lacking.

  10. Feodor Fitsner closed this discussion on 31 Dec, 2020 09:03 PM.

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

 

13 Sep, 2023 06:05 AM
10 Sep, 2023 03:43 PM
09 Sep, 2023 05:53 PM
08 Sep, 2023 07:10 PM
31 Aug, 2023 07:59 PM
13 Aug, 2023 04:55 AM