You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2017/04/21 17:56:04 UTC

[jira] [Created] (MINIFI-274) Build failures in Debian based environments

Aldrin Piri created MINIFI-274:
----------------------------------

             Summary: 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
            Reporter: Aldrin Piri


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)