Skip to content

[C++][R][Parquet] test-r-linux-as-cran fails building due to missing 'typename' prior to dependent type name 'RleBitPackedDecoderGetRunDecode ' #50330

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

The test-r-linux-as-cran fails with:

[ 78%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/column_writer.cc.o
In file included from /arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/tools/cpp/src/parquet/column_reader.cc:46:
/arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/tools/cpp/src/arrow/util/rle_encoding_internal.h:814:24: error: missing 'typename' prior to dependent type name 'RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type'
    using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       typename 
/arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/tools/cpp/src/arrow/util/rle_encoding_internal.h:1127:24: error: missing 'typename' prior to dependent type name 'RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type'
    using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       typename 
/arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/tools/cpp/src/arrow/util/rle_encoding_internal.h:1309:24: error: missing 'typename' prior to dependent type name 'RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type'
    using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       typename 
3 errors generated.
make[2]: *** [src/parquet/CMakeFiles/parquet_objlib.dir/build.make:247: src/parquet/CMakeFiles/parquet_objlib.dir/column_reader.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 78%] Building CXX object src/arrow/CMakeFiles/arrow_compute_objlib.dir/compute/kernels/scalar_compare.cc.o
In file included from /arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/tools/cpp/src/parquet/column_writer.cc:47:
/arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/tools/cpp/src/arrow/util/rle_encoding_internal.h:814:24: error: missing 'typename' prior to dependent type name 'RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type'
    using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       typename 
/arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/tools/cpp/src/arrow/util/rle_encoding_internal.h:1127:24: error: missing 'typename' prior to dependent type name 'RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type'
    using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       typename 
/arrow/r/check/arrow.Rcheck/00_pkg_src/arrow/tools/cpp/src/arrow/util/rle_encoding_internal.h:1309:24: error: missing 'typename' prior to dependent type name 'RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type'
    using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       typename 
3 errors generated.
make[2]: *** [src/parquet/CMakeFiles/parquet_objlib.dir/build.make:275: src/parquet/CMakeFiles/parquet_objlib.dir/column_writer.cc.o] Error 1
[ 79%] Building CXX object src/arrow/CMakeFiles/arrow_compute_objlib.dir/compute/kernels/scalar_if_else.cc.o

Component(s)

C++, Parquet, R

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions