[
https://issues.apache.org/jira/browse/PARQUET-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16023192#comment-16023192
]
yugu commented on PARQUET-1001:
-------------------------------
clang-tidy not found
clang-format not found
CMake Warning at
/r/data_ssd/tools/cmake/redhat/x_64/3.7.1/share/cmake-3.7/Modules/FindBoost.cmake:744
(message):
Imported targets not available for Boost version 106300
Call Stack (most recent call first):
/r/data_ssd/tools/cmake/redhat/x_64/3.7.1/share/cmake-3.7/Modules/FindBoost.cmake:848
(_Boost_COMPONENT_DEPENDENCIES)
/r/data_ssd/tools/cmake/redhat/x_64/3.7.1/share/cmake-3.7/Modules/FindBoost.cmake:1435
(_Boost_MISSING_DEPENDENCIES)
cmake_modules/ThirdpartyToolchain.cmake:90 (find_package)
CMakeLists.txt:359 (include)
Selected compiler gcc 6.3.0
/q/infra/sge62/bin/lx24-amd64/qmake: invalid option -- 'u'
/q/infra/sge62/bin/lx24-amd64/qmake: invalid option -- 'y'
Usage: qmake [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d, --debug Print lots of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TFileTransport.cpp:
In member function \u2018void
apache::thrift::transport::TFileTransport::enqueueEvent(const uint8_t*,
uint32_t)\u2019:
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TFileTransport.cpp:212:8:
warning: \u2018template<class> class std::auto_ptr\u2019 is deprecated
[-Wdeprecated-declarations]
std::auto_ptr<eventInfo> toEnqueue(new eventInfo());
^~~~~~~~
In file included from
/r/data_ssd/tools/gcc/redhat/6/6.3.0/include/c++/6.3.0/memory:81:0,
from
/tools/boost/redhat/6/1_63_0_gcc6.3.0/include/boost/config/no_tr1/memory.hpp:21,
from
/tools/boost/redhat/6/1_63_0_gcc6.3.0/include/boost/smart_ptr/shared_ptr.hpp:23,
from
/tools/boost/redhat/6/1_63_0_gcc6.3.0/include/boost/shared_ptr.hpp:17,
from
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TTransport.h:24,
from
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TFileTransport.h:23,
from
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TFileTransport.cpp:22:
/r/data_ssd/tools/gcc/redhat/6/6.3.0/include/c++/6.3.0/bits/unique_ptr.h:49:28:
note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TFileTransport.cpp:
In member function \u2018void
apache::thrift::transport::TFileTransport::enqueueEvent(const uint8_t*,
uint32_t)\u2019:
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TFileTransport.cpp:212:8:
warning: \u2018template<class> class std::auto_ptr\u2019 is deprecated
[-Wdeprecated-declarations]
std::auto_ptr<eventInfo> toEnqueue(new eventInfo());
^~~~~~~~
In file included from
/r/data_ssd/tools/gcc/redhat/6/6.3.0/include/c++/6.3.0/memory:81:0,
from
/tools/boost/redhat/6/1_63_0_gcc6.3.0/include/boost/config/no_tr1/memory.hpp:21,
from
/tools/boost/redhat/6/1_63_0_gcc6.3.0/include/boost/smart_ptr/shared_ptr.hpp:23,
from
/tools/boost/redhat/6/1_63_0_gcc6.3.0/include/boost/shared_ptr.hpp:17,
from
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TTransport.h:24,
from
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TFileTransport.h:23,
from
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/build/thrift_ep-prefix/src/thrift_ep/lib/cpp/src/thrift/transport/TFileTransport.cpp:22:
/r/data_ssd/tools/gcc/redhat/6/6.3.0/include/c++/6.3.0/bits/unique_ptr.h:49:28:
note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/examples/reader-writer.cc:
In function \u2018int main(int, char**)\u2019:
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/examples/reader-writer.cc:275:14:
warning: unused variable \u2018expected_value\u2019 [-Wunused-variable]
bool expected_value = ((i % 2) == 0) ? true : false;
^~~~~~~~~~~~~~
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/examples/reader-writer.cc:344:24:
warning: variable \u2018expected_value\u2019 set but not used
[-Wunused-but-set-variable]
parquet::Int96 expected_value;
^~~~~~~~~~~~~~
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/examples/reader-writer.cc:370:15:
warning: unused variable \u2018expected_value\u2019 [-Wunused-variable]
float expected_value = i * 1.1;
^~~~~~~~~~~~~~
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/examples/reader-writer.cc:391:16:
warning: unused variable \u2018expected_value\u2019 [-Wunused-variable]
double expected_value = i * 1.1111111;
^~~~~~~~~~~~~~
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/examples/reader-writer.cc:411:14:
warning: variable \u2018expected_value\u2019 set but not used
[-Wunused-but-set-variable]
char expected_value[FIXED_LENGTH] = "parquet";
^~~~~~~~~~~~~~
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/examples/reader-writer.cc:446:14:
warning: unused variable \u2018expected_value\u2019 [-Wunused-variable]
char expected_value[FIXED_LENGTH] = {v, v, v, v, v, v, v, v, v, v};
^~~~~~~~~~~~~~
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/examples/reader-writer.cc:252:15:
warning: variable \u2018rows_read\u2019 set but not used
[-Wunused-but-set-variable]
int64_t rows_read = 0;
^~~~~~~~~
/home/yu/Downloads/parquet-cpp-apache-parquet-cpp-1.1.0/examples/reader-writer.cc:242:9:
warning: unused variable \u2018num_columns\u2019 [-Wunused-variable]
int num_columns = file_metadata->num_columns();
^~~~~~~~~~~
> undefined reference to open function in fileoutputstream
> --------------------------------------------------------
>
> Key: PARQUET-1001
> URL: https://issues.apache.org/jira/browse/PARQUET-1001
> Project: Parquet
> Issue Type: Bug
> Components: parquet-cpp
> Affects Versions: cpp-1.1.0
> Environment: linux arrow 0.4.0; parquet 1.1.0
> Reporter: yugu
> Attachments: log.txt
>
>
> when trying to compile the reader-writer.cc per this
> https://github.com/apache/parquet-cpp/tree/master/examples
> the compiler throws undefined reference.
> that being said, this is probably not a bug with parquet-cpp, rather with the
> makefile configuration. yet I cannot pinpoint the issue - the linker seems
> functional.
> using FileClass = ::arrow::io::FileOutputStream;
> std::shared_ptr<FileClass> out_file;
> PARQUET_THROW_NOT_OK(FileClass::Open(PARQUET_FILENAME, &out_file));
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)