Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-8857: [CI] MinGW builds break on system upgrade #7222

Closed
wants to merge 2 commits into from

Conversation

nealrichardson
Copy link
Member

@nealrichardson nealrichardson commented May 19, 2020

Errors like this on MinGW GitHub Actions (Ruby and R) builds:

:: Processing package changes...
upgrading msys2-runtime...
      1 [main] pacman (5452) C:\hostedtoolcache\windows\Ruby\2.6.6\x64\msys64\usr\bin\pacman.exe: *** fatal error - cygheap base mismatch detected - 0x180330408/0x180317408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      0 [main] pacman 444 dofork: child -1 - forked process 5452 died unexpectedly, retry 0, exit code 0xC0000142, errno 11

Example: https://github.com/apache/arrow/pull/7218/checks?check_run_id=687127312

Trying the workaround noted on actions/runner-images#594

@github-actions
Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on JIRA?
https://issues.apache.org/jira/browse/ARROW

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

See also:

@nealrichardson
Copy link
Member Author

That didn't help. @kou any ideas? For the R and Ruby builds, I see it passing 19 hours ago and the first failure was 9 hours ago.

Interestingly, the R Windows job using the new RTools toolchain (still mingw) does not crash like this. It seems that it is the pacman system upgrade that triggers this, and that other job doesn't call that (it's conditionally enabled here: https://github.com/apache/arrow/blob/master/ci/scripts/r_windows_build.sh#L26-L30).

@nealrichardson
Copy link
Member Author

Old issue that sounds similar: Alexpux/MSYS2-pacman#38

@nealrichardson
Copy link
Member Author

Looks like skipping the system upgrade fixes the R build, but GLib needs updated meson? Maybe that can be updated selectively.

@nealrichardson nealrichardson changed the title Try uninstalling mingw to work around new failure ARROW-8857: [CI] MinGW builds break on system upgrade May 19, 2020
@nealrichardson nealrichardson marked this pull request as ready for review May 19, 2020 04:06
@nealrichardson nealrichardson requested a review from kou May 19, 2020 04:06
@github-actions
Copy link

@kou
Copy link
Member

kou commented May 19, 2020

Could you try updating pacman separately like https://github.com/apache/arrow/pull/7229/files#diff-f9a9850561dea0df3b66b2ff57181037 ?

@nealrichardson
Copy link
Member Author

I think I don't need to update pacman for the R jobs. Is there a reason I must?

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

OK. Then we don't need to update in the R jobs.
Could you revert the change in ci/scripts/msys2_system_upgrade.sh? It's fixed by #7229 .

@nealrichardson
Copy link
Member Author

I pulled that change into #7218 so I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants