[ https://issues.apache.org/jira/browse/MINIFI-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989360#comment-15989360 ]
ASF GitHub Bot commented on MINIFI-274: --------------------------------------- Github user apiri commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/84 @brosander just noticed there was a merge conflict from one of the prior merges I performed. will fix up quickly. > 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)