nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Christianson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MINIFI-376) Compilation failure in 'make docker' due to missing curlbuild.h
Date Wed, 16 Aug 2017 14:37:01 GMT

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

Andrew Christianson updated MINIFI-376:
---------------------------------------
    Description: 
The 'make docker' target is failing due to apparent missing curlbuild.h header:

{code}
[  3%] Performing build step for 'jsoncpp_project'
Scanning dependencies of target jsoncpp_lib_static
[ 25%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o
[ 50%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_value.cpp.o
[ 75%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_writer.cpp.o
[100%] Linking CXX static library libjsoncpp.a
[100%] Built target jsoncpp_lib_static
[  3%] Performing install step for 'jsoncpp_project'
[100%] Built target jsoncpp_lib_static
Install the project...
-- Install configuration: "Release"
-- Installing: /opt/minifi/build/jsoncpp/lib/pkgconfig/jsoncpp.pc
-- Installing: /opt/minifi/build/jsoncpp/lib/libjsoncpp.a
-- Installing: /opt/minifi/build/jsoncpp/include/json/allocator.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/assertions.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/autolink.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/config.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/features.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/forwards.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/json.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/reader.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/value.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/version.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/writer.h
[  3%] Completed 'jsoncpp_project'
[  3%] Built target jsoncpp_project
Scanning dependencies of target minifi
[  3%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/logging/LoggerConfiguration.cpp.o
[  4%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/AtomicEntryStream.cpp.o
[  4%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/BaseStream.cpp.o
[  5%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/CRCStream.cpp.o
[  5%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/ClientSocket.cpp.o
[  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/DataStream.cpp.o
[  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/EndianCheck.cpp.o
[  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/FileStream.cpp.o
[  7%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/Serializable.cpp.o
[  7%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/StreamFactory.cpp.o
[  8%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/tls/TLSSocket.cpp.o
[  8%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/ControllerServiceNode.cpp.o
[  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/ControllerServiceProvider.cpp.o
[  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/StandardControllerServiceNode.cpp.o
[  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/controllers/SSLContextService.cpp.o
[ 10%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ClassLoader.cpp.o
[ 10%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ConfigurableComponent.cpp.o
[ 11%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ConfigurationFactory.cpp.o
In file included from /opt/minifi/libminifi/include/RemoteProcessorGroupPort.h:26:0,
                 from /opt/minifi/libminifi/include/core/FlowConfiguration.h:23,
                 from /opt/minifi/libminifi/include/core/ConfigurationFactory.h:22,
                 from /opt/minifi/libminifi/src/core/ConfigurationFactory.cpp:25:
/opt/minifi/libminifi/include/utils/HTTPUtils.h:26:28: fatal error: curl/curlbuild.h: No such
file or directory
#include <curl/curlbuild.h>
                            ^
compilation terminated.
make[2]: *** [libminifi/CMakeFiles/minifi.dir/build.make:471: libminifi/CMakeFiles/minifi.dir/src/core/ConfigurationFactory.cpp.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:1884: libminifi/CMakeFiles/minifi.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
{code}

  was:
The 'make docker' target is failing due to apparent missing curlbuild.h header:

{{{
[  3%] Performing build step for 'jsoncpp_project'
Scanning dependencies of target jsoncpp_lib_static
[ 25%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o
[ 50%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_value.cpp.o
[ 75%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_writer.cpp.o
[100%] Linking CXX static library libjsoncpp.a
[100%] Built target jsoncpp_lib_static
[  3%] Performing install step for 'jsoncpp_project'
[100%] Built target jsoncpp_lib_static
Install the project...
-- Install configuration: "Release"
-- Installing: /opt/minifi/build/jsoncpp/lib/pkgconfig/jsoncpp.pc
-- Installing: /opt/minifi/build/jsoncpp/lib/libjsoncpp.a
-- Installing: /opt/minifi/build/jsoncpp/include/json/allocator.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/assertions.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/autolink.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/config.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/features.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/forwards.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/json.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/reader.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/value.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/version.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/writer.h
[  3%] Completed 'jsoncpp_project'
[  3%] Built target jsoncpp_project
Scanning dependencies of target minifi
[  3%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/logging/LoggerConfiguration.cpp.o
[  4%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/AtomicEntryStream.cpp.o
[  4%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/BaseStream.cpp.o
[  5%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/CRCStream.cpp.o
[  5%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/ClientSocket.cpp.o
[  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/DataStream.cpp.o
[  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/EndianCheck.cpp.o
[  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/FileStream.cpp.o
[  7%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/Serializable.cpp.o
[  7%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/StreamFactory.cpp.o
[  8%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/tls/TLSSocket.cpp.o
[  8%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/ControllerServiceNode.cpp.o
[  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/ControllerServiceProvider.cpp.o
[  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/StandardControllerServiceNode.cpp.o
[  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/controllers/SSLContextService.cpp.o
[ 10%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ClassLoader.cpp.o
[ 10%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ConfigurableComponent.cpp.o
[ 11%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ConfigurationFactory.cpp.o
In file included from /opt/minifi/libminifi/include/RemoteProcessorGroupPort.h:26:0,
                 from /opt/minifi/libminifi/include/core/FlowConfiguration.h:23,
                 from /opt/minifi/libminifi/include/core/ConfigurationFactory.h:22,
                 from /opt/minifi/libminifi/src/core/ConfigurationFactory.cpp:25:
/opt/minifi/libminifi/include/utils/HTTPUtils.h:26:28: fatal error: curl/curlbuild.h: No such
file or directory
#include <curl/curlbuild.h>
                            ^
compilation terminated.
make[2]: *** [libminifi/CMakeFiles/minifi.dir/build.make:471: libminifi/CMakeFiles/minifi.dir/src/core/ConfigurationFactory.cpp.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:1884: libminifi/CMakeFiles/minifi.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
}}}


> Compilation failure in 'make docker' due to missing curlbuild.h
> ---------------------------------------------------------------
>
>                 Key: MINIFI-376
>                 URL: https://issues.apache.org/jira/browse/MINIFI-376
>             Project: Apache NiFi MiNiFi
>          Issue Type: Bug
>          Components: C++
>            Reporter: Andrew Christianson
>
> The 'make docker' target is failing due to apparent missing curlbuild.h header:
> {code}
> [  3%] Performing build step for 'jsoncpp_project'
> Scanning dependencies of target jsoncpp_lib_static
> [ 25%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o
> [ 50%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_value.cpp.o
> [ 75%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_writer.cpp.o
> [100%] Linking CXX static library libjsoncpp.a
> [100%] Built target jsoncpp_lib_static
> [  3%] Performing install step for 'jsoncpp_project'
> [100%] Built target jsoncpp_lib_static
> Install the project...
> -- Install configuration: "Release"
> -- Installing: /opt/minifi/build/jsoncpp/lib/pkgconfig/jsoncpp.pc
> -- Installing: /opt/minifi/build/jsoncpp/lib/libjsoncpp.a
> -- Installing: /opt/minifi/build/jsoncpp/include/json/allocator.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/assertions.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/autolink.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/config.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/features.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/forwards.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/json.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/reader.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/value.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/version.h
> -- Installing: /opt/minifi/build/jsoncpp/include/json/writer.h
> [  3%] Completed 'jsoncpp_project'
> [  3%] Built target jsoncpp_project
> Scanning dependencies of target minifi
> [  3%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/logging/LoggerConfiguration.cpp.o
> [  4%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/AtomicEntryStream.cpp.o
> [  4%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/BaseStream.cpp.o
> [  5%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/CRCStream.cpp.o
> [  5%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/ClientSocket.cpp.o
> [  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/DataStream.cpp.o
> [  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/EndianCheck.cpp.o
> [  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/FileStream.cpp.o
> [  7%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/Serializable.cpp.o
> [  7%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/StreamFactory.cpp.o
> [  8%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/tls/TLSSocket.cpp.o
> [  8%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/ControllerServiceNode.cpp.o
> [  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/ControllerServiceProvider.cpp.o
> [  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/StandardControllerServiceNode.cpp.o
> [  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/controllers/SSLContextService.cpp.o
> [ 10%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ClassLoader.cpp.o
> [ 10%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ConfigurableComponent.cpp.o
> [ 11%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ConfigurationFactory.cpp.o
> In file included from /opt/minifi/libminifi/include/RemoteProcessorGroupPort.h:26:0,
>                  from /opt/minifi/libminifi/include/core/FlowConfiguration.h:23,
>                  from /opt/minifi/libminifi/include/core/ConfigurationFactory.h:22,
>                  from /opt/minifi/libminifi/src/core/ConfigurationFactory.cpp:25:
> /opt/minifi/libminifi/include/utils/HTTPUtils.h:26:28: fatal error: curl/curlbuild.h:
No such file or directory
> #include <curl/curlbuild.h>
>                             ^
> compilation terminated.
> make[2]: *** [libminifi/CMakeFiles/minifi.dir/build.make:471: libminifi/CMakeFiles/minifi.dir/src/core/ConfigurationFactory.cpp.o]
Error 1
> make[1]: *** [CMakeFiles/Makefile2:1884: libminifi/CMakeFiles/minifi.dir/all] Error 2
> make: *** [Makefile:163: all] Error 2
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message