[
https://issues.apache.org/jira/browse/MINIFICPP-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212020#comment-16212020
]
Caleb Johnson edited comment on MINIFICPP-262 at 10/20/17 11:31 AM:
--------------------------------------------------------------------
I think that updating civetweb would be for the best, but its tests need to be
excluded from the `make tests` list and/or moved to its own civet-tests target.
auto_ptr is only present in jsoncpp, yaml-cpp and catch. There aren't any in
the MiNiFi codebase, so those issues for the third-party maintainers to
address. Those headers are just included in so many places that it floods my
build log.
>From this point on, I might just use an independently bootstrapped debian or
>ubuntu chroot to do dev builds. It's the second best thing to Docker, which
>Cloud9 doesn't support.
EDIT: I can't do _that_ either, because bind mounts are forbidden.
was (Author: calebj):
I think that updating civetweb would be for the best, but its tests need to be
excluded from the `make tests` list and/or moved to its own civet-tests target.
auto_ptr is only present in jsoncpp, yaml-cpp and catch. There aren't any in
the MiNiFi codebase, so those issues for the third-party maintainers to
address. Those headers are just included in so many places that it floods my
build log.
>From this point on, I might just use an independently bootstrapped debian or
>ubuntu chroot to do dev builds. It's the second best thing to Docker, which
>Cloud9 doesn't support.
> Rocksdb fails to link
> ---------------------
>
> Key: MINIFICPP-262
> URL: https://issues.apache.org/jira/browse/MINIFICPP-262
> Project: NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Andrew Christianson
>
> Rocksdb fails to link when building on CentOS 7.4. [~calebj] seems to be
> having the same issue on Ubuntu 14.04 as part of MINIFI-244.
> {code}
> [ 38%] Linking CXX static library librocksdb.a
> [ 38%] Linking CXX shared library librocksdb.so
> [ 60%] Built target rocksdb
> [ 61%] Building CXX object
> CMakeFiles/Tests.dir/thirdparty/spdlog-20170710/include/spdlog/dummy.cpp.o
> [ 61%] Building CXX object
> CMakeFiles/ControllerServiceIntegrationTests.dir/libminifi/test/TestBase.cpp.o
> /usr/bin/ld: CMakeFiles/build_version.dir/__/__/build_version.cc.o:
> relocation R_X86_64_32 against `.data' can not be used when making a shared
> object; recompile with -fPIC
> CMakeFiles/build_version.dir/__/__/build_version.cc.o: error adding symbols:
> Bad value
> collect2: error: ld returned 1 exit status
> gmake[2]: *** [thirdparty/rocksdb/librocksdb.so.5.7.0] Error 1
> gmake[1]: *** [thirdparty/rocksdb/CMakeFiles/rocksdb-shared.dir/all] Error 2
> gmake[1]: *** Waiting for unfinished jobs....
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)