[ 
https://issues.apache.org/jira/browse/MINIFICPP-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

marco polo resolved MINIFICPP-326.
----------------------------------
    Resolution: Fixed

This was resolved in 0.4.0

> Build failure in Fedora 27
> --------------------------
>
>                 Key: MINIFICPP-326
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-326
>             Project: NiFi MiNiFi C++
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>         Environment: Linux vandal 4.13.13-300.fc27.x86_64 #1 SMP Wed Nov 15 
> 15:47:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
> Copyright (C) 2017 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>            Reporter: Joseph Witt
>            Priority: Major
>             Fix For: 0.4.0
>
>
> Following is the last many lines of output from
> {quote}
>  #define __USE_POSIX
>  
> In file included from 
> /usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h:39:0,
>                  from 
> /usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h:2494,
>                  from /usr/include/c++/7/utility:68,
>                  from /usr/include/c++/7/algorithm:60,
>                  from 
> /development/build-verify/nifi-minifi-cpp-0.3.0-source/libminifi/include/core/Property.h:21,
>                  from 
> /development/build-verify/nifi-minifi-cpp-0.3.0-source/libminifi/include/processors/AppendHostInfo.h:23,
>                  from 
> /development/build-verify/nifi-minifi-cpp-0.3.0-source/libminifi/src/processors/AppendHostInfo.cpp:20:
> /usr/include/features.h:295:0: note: this is the location of the previous 
> definition
>  # define __USE_POSIX 1
>  
> [ 16%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/ExecuteProcess.cpp.o
> [ 16%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/ExtractText.cpp.o
> [ 16%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/GenerateFlowFile.cpp.o
> [ 16%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/GetFile.cpp.o
> [ 16%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/GetTCP.cpp.o
> [ 16%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/ListenHTTP.cpp.o
> [ 16%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/ListenSyslog.cpp.o
> [ 17%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/LogAttribute.cpp.o
> [ 17%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/PutFile.cpp.o
> [ 17%] Building CXX object 
> libminifi/CMakeFiles/minifi.dir/src/processors/TailFile.cpp.o
> [ 17%] Linking CXX static library libminifi.a
> [ 17%] Built target minifi
> Scanning dependencies of target spd_lib
> [ 17%] Building CXX object 
> CMakeFiles/spd_lib.dir/thirdparty/spdlog-20170710/include/spdlog/dummy.cpp.o
> [ 17%] Linking CXX static library libspd_lib.a
> [ 17%] Built target spd_lib
> Scanning dependencies of target catch_main
> [ 18%] Building CXX object 
> CMakeFiles/catch_main.dir/libminifi/test/CatchMain.cpp.o
> [ 18%] Linking CXX static library libcatch_main.a
> [ 18%] Built target catch_main
> Scanning dependencies of target test_base
> [ 18%] Building CXX object 
> CMakeFiles/test_base.dir/libminifi/test/TestBase.cpp.o
> [ 18%] Linking CXX static library libtest_base.a
> [ 18%] Built target test_base
> Scanning dependencies of target civetweb-cpp
> [ 18%] Building CXX object 
> thirdparty/civetweb-1.9.1/src/CMakeFiles/civetweb-cpp.dir/CivetServer.cpp.o
> [ 18%] Linking CXX static library libcivetweb-cpp.a
> Error running link command: Segmentation fault
> make[2]: *** 
> [thirdparty/civetweb-1.9.1/src/CMakeFiles/civetweb-cpp.dir/build.make:96: 
> thirdparty/civetweb-1.9.1/src/libcivetweb-cpp.a] Error 1
> make[1]: *** [CMakeFiles/Makefile2:1759: 
> thirdparty/civetweb-1.9.1/src/CMakeFiles/civetweb-cpp.dir/all] Error 2
> make: *** [Makefile:163: all] Error 2
> {quote}
> Here is the command history i ran as privileged user to prepare the env
> {quote}
>   116  yum install cmake   gcc gcc-c++   libcurl-devel   rocksdb-devel 
> rocksdb   libuuid libuuid-devel   boost-devel   openssl-devel   bzip2-devel   
> xz-devel   doxygen
>   117  yum install python34-devel
>   118  dnf install python34-devel
>   119  dnf list installed python
>   120  dnf list installed python3
>   121  dnf install python3-devel
>   122  dnf install lua-devel
>   123  dnf install libusb-devel libpng-devel
>   124  dnf install docker
>   125  dnf install docker python-virtualenv
>   126  python --version
>   127  python3 --version
>   128  dnf install gpsd-devel
>   129  dfn install libpcap-devel
>   130  dnf install libpcap-devel
> {quote}
> Here is the commands ran as build user
> {quote}
>   598  mkdir build
>   599  cd build/
>   600  ls
>   601  cmake ..
>   602  make
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to