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

ASF GitHub Bot commented on MINIFI-274:
---------------------------------------

GitHub user apiri opened a pull request:

    https://github.com/apache/nifi-minifi-cpp/pull/84

    MINIFI-274 Use external project with existing source for jsoncpp to

    MINIFI-274 Use external project with existing source for jsoncpp to avoid 
contamination of core project build.
    
    This was done in a minimal fashion to solve the issue before delving too 
much into restructuring current format to make use of ExternalProjects for the 
remaining dependencies.
     
    Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apiri/nifi-minifi-cpp minifi-274-jsoncpp

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-minifi-cpp/pull/84.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #84
    
----
commit cbcda83b551f6130a5c334dd4063ebb1e9422cca
Author: Aldrin Piri <[email protected]>
Date:   2017-04-27T18:26:48Z

    MINIFI-274 Use external project with existing source for jsoncpp to
    avoid contamination of core project build.

----


> Build failures in Debian based environments
> -------------------------------------------
>
>                 Key: MINIFI-274
>                 URL: https://issues.apache.org/jira/browse/MINIFI-274
>             Project: Apache NiFi MiNiFi
>          Issue Type: Bug
>          Components: Build, C++
>            Reporter: Aldrin Piri
>            Assignee: Aldrin Piri
>             Fix For: cpp-0.2.0
>
>
> As seen on Travis and replicated locally in Ubuntu 16.04 there are issues 
> with building in Debian based environments.  These are not seen in RHEL based 
> distributions.
> This was caused by commit 
> https://github.com/apache/nifi-minifi-cpp/commit/f3f8f5319037f56b267927e2e43ca9bee8040505
> The associated job log on Travis is 
> https://s3.amazonaws.com/archive.travis-ci.org/jobs/223274984/log.txt
> The error locally is as follows:
> {code}
> lto1: all warnings being treated as errors
> lto-wrapper: fatal error: /usr/bin/cc returned 1 exit status
> compilation terminated.
> /usr/bin/ld: error: lto-wrapper failed
> collect2: error: ld returned 1 exit status
> thirdparty/civetweb-1.9.1/src/CMakeFiles/c-executable.dir/build.make:96: 
> recipe for target 'thirdparty/civetweb-1.9.1/src/civetweb' failed
> make[2]: *** [thirdparty/civetweb-1.9.1/src/civetweb] Error 1
> CMakeFiles/Makefile2:722: recipe for target 
> 'thirdparty/civetweb-1.9.1/src/CMakeFiles/c-executable.dir/all' failed
> make[1]: *** 
> [thirdparty/civetweb-1.9.1/src/CMakeFiles/c-executable.dir/all]Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to