[ 
https://issues.apache.org/jira/browse/MINIFICPP-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16210938#comment-16210938
 ] 

Caleb Johnson commented on MINIFICPP-39:
----------------------------------------

It is based on Ubuntu 14.04, and there is no package that mentions rocksdb in 
any configured repo. The specific issue I'm having is this:

{noformat}
[ 78%] Linking CXX shared library librocksdb.so
/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
make[2]: *** [thirdparty/rocksdb/librocksdb.so.5.7.0] Error 1
make[1]: *** [thirdparty/rocksdb/CMakeFiles/rocksdb-shared.dir/all] Error 2
make: *** [all] Error 2
{noformat}

However, running make VERBOSE=1 reveals that the compiler arguments _do_ begin 
with -fPIC.

I've isolated the libarchive additions of MINIFICPP-72 into a separate commit 
and rebased this changeset onto it in the MINIFI-244-rc2 branch, which is what 
I'll be using in the PR. This should make things a bit smoother for both.

> Create FocusArchive processor
> -----------------------------
>
>                 Key: MINIFICPP-39
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-39
>             Project: NiFi MiNiFi C++
>          Issue Type: Task
>            Reporter: Andrew Christianson
>            Assignee: Andrew Christianson
>            Priority: Minor
>
> Create an FocusArchive processor which implements a lens over an archive 
> (tar, etc.). A concise, though informal, definition of a lens is as follows:
> "Essentially, they represent the act of “peering into” or “focusing in on” 
> some particular piece/path of a complex data object such that you can more 
> precisely target particular operations without losing the context or 
> structure of the overall data you’re working with." 
> https://medium.com/@dtipson/functional-lenses-d1aba9e52254#.hdgsvbraq
> Why an FocusArchive in MiNiFi? Simply put, it will enable us to "focus in on" 
> an entry in the archive, perform processing *in-context* of that entry, then 
> re-focus on the overall archive. This allows for transformation or other 
> processing of an entry in the archive without losing the overall context of 
> the archive.
> Initial format support is tar, due to its simplicity and ubiquity.
> Attributes:
> - Path (the path in the archive to focus; "/" to re-focus the overall archive)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to