You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2021/06/11 12:47:00 UTC

[jira] [Updated] (MINIFICPP-1550) CMake Error at libminifi/CMakeLists.txt: Cannot find source file: src/agent/agent_version.cpp (FreeBSD 13.0 x86_64)

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

Marton Szasz updated MINIFICPP-1550:
------------------------------------
    Affects Version/s:     (was: 1.0.0)
                       0.9.0

> CMake Error at libminifi/CMakeLists.txt:  Cannot find source file:  src/agent/agent_version.cpp (FreeBSD 13.0 x86_64)
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: MINIFICPP-1550
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1550
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>         Environment: $ uname -a
> FreeBSD gollvm.build.server 13.0-CURRENT FreeBSD 13.0-CURRENT #0 b9403d7aae8-c254071(main): Thu Oct 29 08:06:03 UTC 2020     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
> $ cmake --version
> cmake version 3.18.4
> $ clang --version
> clang version 11.0.0
> Target: x86_64-unknown-freebsd11.4
> Thread model: posix
>  $ ninja --version
> 1.10.1
> $bison --version
> bison (GNU Bison) 3.6.4
>  $ flex --version
> flex 2.6.4
>            Reporter: Ivan Serdyuk
>            Priority: Blocker
>         Attachments: cmake_trace.log, cmake_trace_expand.log
>
>
> $ cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -G Ninja ..
> CMake Deprecation Warning at CMakeLists.txt:21 (cmake_policy):
>  The OLD behavior for policy CMP0065 will be removed from a future version
>  of CMake.
> The cmake-policies(7) manual explains that the OLD behaviors of all
>  policies are deprecated and that a policy should be set to OLD only under
>  specific short-term circumstances. Projects should be ported to the NEW
>  behavior and not rely on setting a policy to OLD.
> -- The C compiler identification is Clang 11.0.0
> -- The CXX compiler identification is Clang 11.0.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/clang - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/clang++ - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Looking for execinfo.h
> -- Looking for execinfo.h - not found
> -- Performing Test COMPILER_SUPPORTS_CXX11
> -- Performing Test COMPILER_SUPPORTS_CXX11 - Success
> -- Performing Test COMPILER_SUPPORTS_CXX0X
> -- Performing Test COMPILER_SUPPORTS_CXX0X - Success
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
> -- Check if compiler accepts -pthread
> -- Check if compiler accepts -pthread - yes
> -- Found Threads: TRUE
> CMAKE_THREAD_LIBS_INIT is -pthread
> THREADS_HAVE_PTHREAD_ARG is TRUE
> -- Found Patch: /usr/bin/patch
> Using bundled ossp-uuid
> Using bundled LibreSSL
> Using bundled libsodium
> Using bundled zlib
> CMake Warning (dev) at libminifi/CMakeLists.txt:22 (project):
>  Policy CMP0048 is not set: project() command manages VERSION variables.
>  Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
>  command to set the policy and suppress this warning.
> The following variable(s) would be set to empty:
> PROJECT_VERSION_MAJOR
>  PROJECT_VERSION_MINOR
>  PROJECT_VERSION_PATCH
> This warning is for project developers. Use -Wno-dev to suppress it.
> minifi-http-curl will depend on curl-external
> -- Found BISON: /usr/local/bin/bison (found version "3.6.4")
> -- Found FLEX: /usr/bin/flex (found version "2.6.4")
> # date: USE_SYSTEM_TZ_DB ON
> # date: USE_TZ_DB_IN_DOT OFF
> # date: BUILD_SHARED_LIBS OFF
> # date: ENABLE_DATE_TESTING OFF
> minifi-expression-language-extensions will depend on curl-external
> Using bundled civetweb
> Using bundled RocksDB
> Using bundled liblzma
> Using bundled bzip2
> -- Performing Test COMPILER_SUPPORTS_CXX14
> -- Performing Test COMPILER_SUPPORTS_CXX14 - Success
> -- Performing Test COMPILER_SUPPORTS_CXX1Y
> -- Performing Test COMPILER_SUPPORTS_CXX1Y - Success
> -- Found PythonLibs: /usr/local/lib/libpython3.7m.so (found suitable version "3.7.9", minimum required is "3.5")
> CMake Deprecation Warning at main/CMakeLists.txt:23 (CMAKE_POLICY):
>  The OLD behavior for policy CMP0048 will be removed from a future version
>  of CMake.
> The cmake-policies(7) manual explains that the OLD behaviors of all
>  policies are deprecated and that a policy should be set to OLD only under
>  specific short-term circumstances. Projects should be ported to the NEW
>  behavior and not rely on setting a policy to OLD.
> Linking MiNiFiMain against minifi-standard-processors
> Linking MiNiFiMain against minifi-http-curl
> Linking MiNiFiMain against minifi-expression-language-extensions
> Linking MiNiFiMain against minifi-civet-extensions
> Linking MiNiFiMain against minifi-rocksdb-repos
> Linking MiNiFiMain against minifi-archive-extensions
> Linking MiNiFiMain against minifi-script-extensions
> CMake Deprecation Warning at nanofi/CMakeLists.txt:23 (CMAKE_POLICY):
>  The OLD behavior for policy CMP0048 will be removed from a future version
>  of CMake.
> The cmake-policies(7) manual explains that the OLD behaviors of all
>  policies are deprecated and that a policy should be set to OLD only under
>  specific short-term circumstances. Projects should be ported to the NEW
>  behavior and not rely on setting a policy to OLD.
> CMake Deprecation Warning at nanofi/examples/CMakeLists.txt:23 (CMAKE_POLICY):
>  The OLD behavior for policy CMP0048 will be removed from a future version
>  of CMake.
> The cmake-policies(7) manual explains that the OLD behaviors of all
>  policies are deprecated and that a policy should be set to OLD only under
>  specific short-term circumstances. Projects should be ported to the NEW
>  behavior and not rely on setting a policy to OLD.
> CMake Deprecation Warning at controller/CMakeLists.txt:23 (CMAKE_POLICY):
>  The OLD behavior for policy CMP0048 will be removed from a future version
>  of CMake.
> The cmake-policies(7) manual explains that the OLD behaviors of all
>  policies are deprecated and that a policy should be set to OLD only under
>  specific short-term circumstances. Projects should be ported to the NEW
>  behavior and not rely on setting a policy to OLD.
> BUILD_IDENTIFIER is KEH4LA4EwauwdaxTdwY3qKDj
> -- Could NOT find Boost (missing: Boost_INCLUDE_DIR system filesystem)
> -- Adding test: BackTraceTests
> -- Adding test: C2MetricsTests
> -- Adding test: CRCTests
> -- Adding test: ClassUtilsTests
> -- Adding test: ControllerTests
> -- Adding test: DecryptorTests
> -- Adding test: DiskSpaceWatchdogTests
> -- Adding test: DynamicPropertyTests
> -- Adding test: EncryptionUtilsTests
> -- Adding test: EnvironmentUtilsTests
> -- Adding test: ExceptionTests
> -- Adding test: FileStreamTests
> -- Adding test: FileTriggerTests
> -- Adding test: FileUtilsTests
> -- Adding test: FlowFileSerializationTests
> -- Adding test: GeneralUtilsTest
> -- Adding test: HTTPUtilTests
> -- Adding test: IdTests
> -- Adding test: IntervalSwitchTest
> -- Adding test: LoggerConfigurationTests
> -- Adding test: LoggerTests
> -- Adding test: MapUtilsTests
> -- Adding test: MemoryUsageTest
> -- Adding test: MinifiConcurrentQueueTests
> -- Adding test: NetworkPrioritizerServiceTests
> -- Adding test: OptionalTest
> -- Adding test: PathUtilsTests
> -- Adding test: PayloadParserTests
> -- Adding test: ProcessSessionTests
> -- Adding test: PropertyTests
> -- Adding test: PropertyValidationTests
> -- Adding test: RegexUtilsTests
> -- Adding test: RelationshipTests
> -- Adding test: SerializationTests
> -- Adding test: Site2SiteTests
> -- Adding test: SocketTests
> -- Adding test: StreamTests
> -- Adding test: StringUtilsTests
> -- Adding test: ThreadPoolTests
> -- Adding test: TimeUtilTests
> -- Adding test: UpdatePolicyTests
> -- Adding test: ZlibStreamTests
> -- Finished building 42 unit test file(s)...
> -- Finished building 6 NanoFi unit test file(s)...
> -- Adding test: OnScheduleErrorHandlingTests
> -- Adding test: ProvenanceReportingTest
> -- Finished building 2 integration test file(s)...
> -- Adding test: ClassLoaderTests
> -- Adding test: ControllerServiceTests
> -- Adding test: ExtractTextTests
> -- Adding test: GenerateFlowFileTests
> -- Adding test: GetFileTests
> -- Adding test: GetTCPTests
> -- Adding test: HashContentTest
> -- Adding test: ManifestTests
> -- Adding test: ProcessorTests
> -- Adding test: PutFileTests
> -- Adding test: RetryFlowFileTests
> -- Adding test: SchedulingAgentTests
> -- Adding test: TailFileTests
> -- Adding test: UpdateAttributeTests
> -- Adding test: YamlConfigurationTests
> -- Finished building 15 processor unit test file(s)...
> -- Adding test: SecureSocketGetTCPTest
> -- Adding test: TailFileTest
> -- Adding test: TestExecuteProcess
> -- Finished building 3 integration test file(s)...
> -- Adding test: HTTPClientTests
> -- Adding test: HTTPStreamingCallbackTests
> -- Adding test: InvokeHTTPTests
> -- Adding test: AbsoluteTimeoutTest
> -- Adding test: C2DescribeCoreComponentStateTest
> -- Adding test: C2DescribeManifestTest
> -- Adding test: C2FailedUpdateTest
> -- Adding test: C2JstackTest
> -- Adding test: C2NullConfiguration
> -- Adding test: C2UpdateAgentTest
> -- Adding test: C2UpdateTest
> -- Adding test: C2VerifyHeartbeatAndStop
> -- Adding test: C2VerifyServeResults
> -- Adding test: ControllerServiceIntegrationTests
> -- Adding test: HTTPSiteToSiteTests
> -- Adding test: HttpGetIntegrationTest
> -- Adding test: HttpPostIntegrationTest
> -- Adding test: SiteToSiteRestTest
> -- Adding test: ThreadPoolAdjust
> -- Adding test: TimeoutHTTPSiteToSiteTests
> -- Adding test: VerifyInvokeHTTPTest
> -- Finished building 21 libcURL integration test file(s)...
> -- Adding test: ExpressionLanguageTests
> -- Adding test: RouteOnAttributeTests
> -- Adding test: UpdateAttributeIntegrationTest
> -- Finished building 1 expression language related test file(s)...
> -- Adding test: ListenHTTPTests
> -- Finished building 1 civetweb related test file(s)...
> -- Adding test: ContentSessionTests
> -- Adding test: DBContentRepositoryTests
> -- Adding test: DBProvenanceRepositoryTests
> -- Adding test: ProvenanceTests
> -- Adding test: RepoTests
> -- Adding test: RocksDBStreamTests
> -- Finished building 6 RocksDB related test file(s)...
> -- Adding test: CompressContentTests
> -- Adding test: FocusArchiveTests
> -- Adding test: ManipulateArchiveTests
> -- Adding test: MergeFileTests
> -- Finished building Lib Archive related test file(s)...
> -- Adding test: TestExecuteScriptProcessorWithPythonScript
> -- Adding test: ExecutePythonProcessorTests
> -- Finished building 2 Python ExecuteScript related test file(s)...
> -- Adding test: PersistableKeyValueStoreServiceTest
> -- Finished building 1 keyvalue controller test file(s)...
> -- Adding test: CycleTest
> -- Adding test: FlowControllerTests
> -- Adding test: LoopTest
> -- Adding test: MultiLoopTest
> -- Adding test: SessionTests
> -- Finished building 5 flow test file(s)...
> -- Adding test: PersistenceTests
> -- Finished building Persistence related test file(s)...
> -- Finished building 2 encrypt-config test file(s)...
> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
> -- Configuring done
> CMake Error at libminifi/CMakeLists.txt:110 (add_library):
>  Cannot find source file:
> src/agent/agent_version.cpp
> Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
>  .hpp .hxx .in .txx
> CMake Error at libminifi/CMakeLists.txt:110 (add_library):
>  No SOURCES given to target: core-minifi
> CMake Generate step failed. Build files cannot be regenerated correctly.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)