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

[C++] orc_ep fails in cpp-alpine docker

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • 2.0.0
    • C++
    • None

    Description

      Failure:

      FAILED: c++/src/CMakeFiles/orc.dir/Timezone.cc.o
      /usr/bin/g++ -Ic++/include -I/build/cpp/orc_ep-prefix/src/orc_ep/c++/include -I/build/cpp/orc_ep-prefix/src/orc_ep/c++/src -Ic++/src -isystem /build/cpp/snappy_ep/src/snappy_ep-install/include -isystem c++/libs/thirdparty/zlib_ep-install/include -isystem c++/libs/thirdparty/lz4_ep-install/include -isystem /arrow/cpp/thirdparty/protobuf_ep-install/include -fdiagnostics-color=always -ggdb -O0 -g -fPIC -std=c++11 -Wall -Wno-unknown-pragmas -Wconversion -Werror -std=c++11 -Wall -Wno-unknown-pragmas -Wconversion -Werror -O0 -g -MD -MT c++/src/CMakeFiles/orc.dir/Timezone.cc.o -MF c++/src/CMakeFiles/orc.dir/Timezone.cc.o.d -o c++/src/CMakeFiles/orc.dir/Timezone.cc.o -c /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Timezone.cc
      /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Timezone.cc: In member function 'void orc::TimezoneImpl::parseTimeVariants(const unsigned char*, uint64_t, uint64_t, uint64_t, uint64_t)':
      /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Timezone.cc:748:7: error: 'uint' was not declared in this scope
      uint nameStart = ptr[variantOffset + 6 * variant + 5];
      ^~~~
      /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Timezone.cc:748:7: note: suggested alternative: 'rint'
      uint nameStart = ptr[variantOffset + 6 * variant + 5];
      ^~~~
      rint
      /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Timezone.cc:749:11: error: 'nameStart' was not declared in this scope
      if (nameStart >= nameCount) {
      ^~~~~~~~~
      /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Timezone.cc:749:11: note: suggested alternative: 'nameCount'
      if (nameStart >= nameCount) {
      ^~~~~~~~~
      nameCount
      /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Timezone.cc:756:59: error: 'nameStart' was not declared in this scope
      + nameOffset + nameStart);
      ^~~~~~~~~
      /build/cpp/orc_ep-prefix/src/orc_ep/c++/src/Timezone.cc:756:59: note: suggested alternative: 'nameCount'
      + nameOffset + nameStart);
      ^~~~~~~~~
      nameCount

      Attachments

        Activity

          People

            Unassigned Unassigned
            uwe Uwe Korn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment