Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14208

[C++] Build errors with Visual Studio 2019

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 6.0.0
    • C++

    Description

      On September 10 the test-build-vcpkg-win nightly Crossbow job began to fail.

      This job uses the current windows-2019 GHA runner image, so it often catches build errors associated with Visual Studio/MSVC updates.

      The logs show these error messages (simplified for readability):

      compute/util_internal.h(26,20): warning C4003: not enough arguments for function-like macro invocation 'RtlZeroMemory'
      compute/util_internal.h(26,20): error C2146: syntax error: missing ')' before identifier 'buffer'
      compute/util_internal.h(26,20): error C2065: 'buffer': undeclared identifier
      compute/util_internal.h(26,20): error C2182: 'memset': illegal use of type 'void'
      compute/util_internal.h(26,20): error C7525: inline variables require at least '/std:c++17'
      compute/util_internal.h(26,20): error C2059: syntax error: 'constant'
      compute/util_internal.h(26,20): error C2059: syntax error: ')'
      compute/util_internal.h(26,47): error C2143: syntax error: missing ';' before '{'
      compute/util_internal.h(26,47): error C2447: '{': missing function header (old-style formal list?)

      Here is a link to the logs when they first began to fail on September 10: https://github.com/ursacomputing/crossbow/runs/3564248552#step:4:2985
      The error messages have remained the same since then.

      Here is a link to the logs from the previous day (September 9) before they began to fail:
      https://github.com/ursacomputing/crossbow/runs/3552742330

       

      Possible causes include:

      Updates to MSVC that were applied to the  windows-2019 GHA runner image on September 9:
      https://github.com/actions/virtual-environments/pull/3452

      One of these commits on September 9:
      https://github.com/apache/arrow/search?o=desc&p=1&q=committer-date%3A2021-09-09&s=author-date&type=commits

      Changes to one of the vcpkg-installed Arrow dependencies on September 9 (but I don't see any such changes in the microsoft/vcpkg repo commit history).

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              icook Ian Cook
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m