[ https://issues.apache.org/jira/browse/MINIFI-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991425#comment-15991425
]
ASF GitHub Bot commented on MINIFI-274:
---------------------------------------
Github user brosander commented on the issue:
https://github.com/apache/nifi-minifi-cpp/pull/84
The following docker image repros it for me:
https://github.com/brosander/minifi-cpp-tooling/tree/9e5b1031d1772ccbee3ec8844a3decf232185284/Dockerfiles/ubuntu/xenial/build
```
docker build -t minifi-cpp-xenial-build .
mkdir build
docker run -ti --rm -v "$(pwd)/build:/build" minifi-cpp-xenial-build 84
```
> 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)
|