Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cantera: Add new recipe #21324

Draft
wants to merge 34 commits into
base: master
Choose a base branch
from
Draft

Conversation

NelDav
Copy link

@NelDav NelDav commented Nov 23, 2023

Specify library name and version: cantera/3.0.0

Recently, I created a conan package of cantera and pushed it to a local conan repository of my company.
I thought it might be usefull for other people if cantera is accessible via conancenter.
Because of that, I contacted the authors of cantera and asked them if it would be ok if I publish cantera at conancenter.
They are fine with that and now I want to add cantera to conancenter.


@CLAassistant
Copy link

CLAassistant commented Nov 23, 2023

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@NelDav NelDav force-pushed the implemented-cantera branch from d6a5456 to 47fa734 Compare November 23, 2023 13:08
@conan-center-bot

This comment has been minimized.

@NelDav NelDav force-pushed the implemented-cantera branch from 47fa734 to ee91f65 Compare November 23, 2023 13:12
@conan-center-bot

This comment has been minimized.

@NelDav NelDav force-pushed the implemented-cantera branch from ee91f65 to ca3b0d1 Compare November 23, 2023 13:15
@conan-center-bot

This comment has been minimized.

@NelDav NelDav marked this pull request as draft November 23, 2023 14:25
@NelDav NelDav changed the title Draft: Implement cantera Implement cantera Nov 23, 2023
@NelDav NelDav changed the title Implement cantera cantera: Add new recipe Nov 23, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@NelDav NelDav force-pushed the implemented-cantera branch 2 times, most recently from cd586d1 to 7656e91 Compare November 24, 2023 13:47
@conan-center-bot

This comment has been minimized.

@NelDav NelDav force-pushed the implemented-cantera branch from 7656e91 to e3c13fc Compare November 24, 2023 14:10
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@uilianries uilianries self-assigned this Nov 27, 2023
Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your first contribution!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The entire test_v1_package can be avoided for new recipes: #19104

Please, remove this folder.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks, I was struggling how to run the reciep for test_v1_package, so that is pretty nice. :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, do not include custom cmake files in case the upstream does not provide one. Instead, use CMakeDeps. Please, remove this file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, that is a relict form my first implementation. I just didn't removed it so far. I will do that as soon as possible.

self.scons_sundials_include = self.dependencies["sundials"].cpp_info.includedirs[0]
self.scons_sundials_libdir = self.dependencies["sundials"].cpp_info.libdirs[0]

self.scons_boost_inc_dir = self.dependencies["boost"].cpp_info.includedirs[0]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't locally, but have you tried SConsDeps? https://docs.conan.io/2/reference/tools/scons.html

Copy link
Author

@NelDav NelDav Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did, but I have to admit, that I do not know SCons well and therefore do not know, how to ue the SConscript_conandeps file generated by SConsDeps. I think In order to use it, I have to modify the SConstruct file but I do not want to modify the original file.

self.scons_boost_inc_dir = self.dependencies["boost"].cpp_info.includedirs[0]

def layout(self):
self.folders.source = "."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not possible to use basic_layout? https://docs.conan.io/2/reference/tools/layout.html

Please, use basic_layout, so we can predict the folders layout.

@conan-center-bot

This comment has been minimized.

@NelDav
Copy link
Author

NelDav commented Apr 8, 2024

I think the current problem with MSVC is the last one. It looks like there is a problem while linking cantera.
But on my local system, it links without any problems. Poorly, I do not completely understand the error messages.
I need some help here. (Maybe @uilianries)

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit 70fdeaf
cantera/3.0.0@#e3869ef48ea863e3def825d57bd76895
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libcantera_shared.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libcantera_shared.3.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libcantera_shared.3.0.0.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.

@conan-center-bot

This comment has been minimized.

@NelDav NelDav force-pushed the implemented-cantera branch 2 times, most recently from 18a5007 to 209a837 Compare April 26, 2024 19:57
@conan-center-bot

This comment has been minimized.

@NelDav NelDav force-pushed the implemented-cantera branch 2 times, most recently from ce96854 to 4416af5 Compare April 26, 2024 20:06
@conan-center-bot

This comment has been minimized.

@NelDav NelDav force-pushed the implemented-cantera branch from 4416af5 to b9d3672 Compare April 26, 2024 21:40
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 11 (4f748d41a1c40f4f02a44d7de8f04b469ba5e586):

  • cantera/3.0.0:
    CI failed to create some packages (All logs)

    Logs for packageID 549f7de42b08091f1c4f6d35e17680c8ee7aecb1:
    [settings]
    arch=armv8
    build_type=Release
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=13.0
    os=Macos
    [options]
    cantera:shared=False
    
    [...]
    -- Conan: Component target declared 'sundials::sundials_sunlinsolspgmr'
    -- Conan: Component target declared 'sundials::sundials_sunlinsolsptfqmr'
    -- Conan: Component target declared 'sundials::sundials_sunmatrixband'
    -- Conan: Component target declared 'sundials::sundials_sunmatrixdense'
    -- Conan: Component target declared 'sundials::sundials_sunmatrixsparse'
    -- Conan: Component target declared 'sundials::sundials_sunnonlinsolfixedpoint'
    -- Conan: Component target declared 'sundials::sundials_sunnonlinsolnewton'
    -- Conan: Component target declared 'sundials::sundials_arkode'
    -- Conan: Component target declared 'sundials::sundials_cvode'
    -- Conan: Component target declared 'sundials::sundials_cvodes'
    -- Conan: Component target declared 'sundials::sundials_ida'
    -- Conan: Component target declared 'sundials::sundials_idas'
    -- Conan: Component target declared 'sundials::sundials_kinsol'
    -- Conan: Component target declared 'sundials::sundials_sunlinsolband'
    -- Conan: Component target declared 'sundials::sundials_sunlinsoldense'
    -- Conan: Target declared 'sundials::sundials'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/jenkins/workspace/prod-v1/bsr/cci-bf653186/recipes/cantera/all/test_package/build/Release
    cantera/3.0.0 (test package): CMake command: cmake --build "/Users/jenkins/workspace/prod-v1/bsr/cci-bf653186/recipes/cantera/all/test_package/build/Release" '--' '-j8'
    
    ----Running------
    > cmake --build "/Users/jenkins/workspace/prod-v1/bsr/cci-bf653186/recipes/cantera/all/test_package/build/Release" '--' '-j8'
    -----------------
    [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
    [100%] Linking CXX executable test_package
    ld: warning: object file (/Users/jenkins/workspace/prod-v1/bsr/72893/cacac/.conan/data/cantera/3.0.0/_/_/package/549f7de42b08091f1c4f6d35e17680c8ee7aecb1/lib/libcantera.a(global.os)) was built for newer macOS version (13.0) than being linked (11.0)
    ld: warning: object file (/Users/jenkins/workspace/prod-v1/bsr/72893/cacac/.conan/data/cantera/3.0.0/_/_/package/549f7de42b08091f1c4f6d35e17680c8ee7aecb1/lib/libcantera.a(application.os)) was built for newer macOS version (13.0) than being linked (11.0)
    ld: warning: object file (/Users/jenkins/workspace/prod-v1/bsr/72893/cacac/.conan/data/cantera/3.0.0/_/_/package/549f7de42b08091f1c4f6d35e17680c8ee7aecb1/lib/libcantera.a(AnyMap.os)) was built for newer macOS version (13.0) than being linked (11.0)
    ld: warning: object file (/Users/jenkins/workspace/prod-v1/bsr/72893/cacac/.conan/data/cantera/3.0.0/_/_/package/549f7de42b08091f1c4f6d35e17680c8ee7aecb1/lib/libcantera.a(Units.os)) was built for newer macOS version (13.0) than being linked (11.0)
    ld: warning: object file (/Users/jenkins/workspace/prod-v1/bsr/72893/cacac/.conan/data/cantera/3.0.0/_/_/package/549f7de42b08091f1c4f6d35e17680c8ee7aecb1/lib/libcantera.a(stringUtils.os)) was built for newer macOS version (13.0) than being linked (11.0)
    ld: warning: object file (/Users/jenkins/workspace/prod-v1/bsr/72893/cacac/.conan/data/cantera/3.0.0/_/_/package/549f7de42b08091f1c4f6d35e17680c8ee7aecb1/lib/libcantera.a(canteraStatic.os)) was built for newer macOS version (13.0) than being linked (11.0)
    ld: warning: object file (/Users/jenkins/workspace/prod-v1/bsr/72893/cacac/.conan/data/cantera/3.0.0/_/_/package/549f7de42b08091f1c4f6d35e17680c8ee7aecb1/lib/libcantera.a(ExtensionManagerFactory.os)) was built for newer macOS version (13.0) than being linked (11.0)
    ld: warning: object file (/Users/jenkins/workspace/prod-v1/bsr/72893/cacac/.conan/data/cantera/3.0.0/_/_/package/549f7de42b08091f1c4f6d35e17680c8ee7aecb1/lib/libcantera.a(ctexceptions.os)) was built for newer macOS version (13.0) than being linked (11.0)
    Undefined symbols for architecture arm64:
      "std::__1::basic_filebuf<char, std::__1::char_traits<char>>::basic_filebuf()", referenced from:
          std::__1::basic_ifstream<char, std::__1::char_traits<char>>::basic_ifstream(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned int) in libcantera.a(application.os)
          std::__1::basic_ifstream<char, std::__1::char_traits<char>>::basic_ifstream(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned int) in libcantera.a(AnyMap.os)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [test_package] Error 1
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    make: *** [all] Error 2
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    cantera/3.0.0 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    cantera/3.0.0 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    ERROR: cantera/3.0.0 (test package): Error in build() method, line 22
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/Users/jenkins/workspace/prod-v1/bsr/cci-bf653186/recipes/cantera/all/test_package/build/Release" '--' '-j8'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 11 (4f748d41a1c40f4f02a44d7de8f04b469ba5e586):

  • cantera/3.0.0:
    CI failed to create some packages (All logs)

    Logs for packageID fb225bfa0f963e7cff7a166efca69a43fe5fe77b:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    -- Conan: Component target declared 'sundials::sundials_sunlinsoldense'
    -- Conan: Target declared 'sundials::sundials'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/workspace/prod-v2/bsr/cci-8430f284/recipes/cantera/all/test_package/build/gcc-11-x86_64-17-release
    
    cantera/3.0.0 (test package): Running CMake.build()
    cantera/3.0.0 (test package): RUN: cmake --build "/home/conan/workspace/prod-v2/bsr/cci-8430f284/recipes/cantera/all/test_package/build/gcc-11-x86_64-17-release" -- -j3
    Scanning dependencies of target test_package
    [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
    [100%] Linking CXX executable test_package
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(global.os): in function `boost::stacktrace::detail::to_string[abi:cxx11](boost::stacktrace::frame const*, unsigned long)':
    global.cpp:(.text._ZN5boost10stacktrace6detail9to_stringB5cxx11EPKNS0_5frameEm[_ZN5boost10stacktrace6detail9to_stringB5cxx11EPKNS0_5frameEm]+0x1e7): undefined reference to `dladdr'
    /opt/conan/binutils/bin/ld: global.cpp:(.text._ZN5boost10stacktrace6detail9to_stringB5cxx11EPKNS0_5frameEm[_ZN5boost10stacktrace6detail9to_stringB5cxx11EPKNS0_5frameEm]+0x59d): undefined reference to `dladdr'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(application.os): in function `Cantera::Application::loadExtension(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
    application.cpp:(.text+0x5a38): undefined reference to `dlsym'
    /opt/conan/binutils/bin/ld: application.cpp:(.text+0x5d0e): undefined reference to `dlclose'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(application.os): in function `boost::detail::sp_counted_impl_pd<boost::dll::shared_library*, boost::detail::sp_ms_deleter<boost::dll::shared_library> >::~sp_counted_impl_pd()':
    application.cpp:(.text._ZN5boost6detail18sp_counted_impl_pdIPNS_3dll14shared_libraryENS0_13sp_ms_deleterIS3_EEED2Ev[_ZN5boost6detail18sp_counted_impl_pdIPNS_3dll14shared_libraryENS0_13sp_ms_deleterIS3_EEED5Ev]+0x1e): undefined reference to `dlclose'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(application.os): in function `boost::detail::sp_counted_impl_pd<boost::dll::shared_library*, boost::detail::sp_ms_deleter<boost::dll::shared_library> >::~sp_counted_impl_pd()':
    application.cpp:(.text._ZN5boost6detail18sp_counted_impl_pdIPNS_3dll14shared_libraryENS0_13sp_ms_deleterIS3_EEED0Ev[_ZN5boost6detail18sp_counted_impl_pdIPNS_3dll14shared_libraryENS0_13sp_ms_deleterIS3_EEED5Ev]+0x22): undefined reference to `dlclose'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(application.os): in function `boost::detail::sp_counted_impl_pd<boost::dll::shared_library*, boost::detail::sp_ms_deleter<boost::dll::shared_library> >::dispose()':
    application.cpp:(.text._ZN5boost6detail18sp_counted_impl_pdIPNS_3dll14shared_libraryENS0_13sp_ms_deleterIS3_EEE7disposeEv[_ZN5boost6detail18sp_counted_impl_pdIPNS_3dll14shared_libraryENS0_13sp_ms_deleterIS3_EEE7disposeEv]+0x14): undefined reference to `dlclose'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(application.os): in function `std::_Function_handler<void (), boost::dll::detail::library_function<void ()> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)':
    application.cpp:(.text._ZNSt17_Function_handlerIFvvEN5boost3dll6detail16library_functionIS0_EEE10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation[_ZNSt17_Function_handlerIFvvEN5boost3dll6detail16library_functionIS0_EEE10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation]+0xc7): undefined reference to `dlclose'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(application.os):application.cpp:(.text._ZN5boost6detail15sp_counted_base7releaseEv[_ZN5boost6detail15sp_counted_base7releaseEv]+0x34): more undefined references to `dlclose' follow
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(application.os): in function `boost::dll::detail::shared_library_impl::load(std::filesystem::__cxx11::path, boost::dll::load_mode::type, std::error_code&)':
    application.cpp:(.text._ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code[_ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code]+0x93): undefined reference to `dlopen'
    /opt/conan/binutils/bin/ld: application.cpp:(.text._ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code[_ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code]+0xa4): undefined reference to `dlerror'
    /opt/conan/binutils/bin/ld: application.cpp:(.text._ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code[_ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code]+0xff): undefined reference to `dlopen'
    /opt/conan/binutils/bin/ld: application.cpp:(.text._ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code[_ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code]+0x271): undefined reference to `dlerror'
    /opt/conan/binutils/bin/ld: application.cpp:(.text._ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code[_ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code]+0x4d9): undefined reference to `dlerror'
    /opt/conan/binutils/bin/ld: application.cpp:(.text._ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code[_ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code]+0x4e3): undefined reference to `dlopen'
    /opt/conan/binutils/bin/ld: application.cpp:(.text._ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code[_ZN5boost3dll6detail19shared_library_impl4loadENSt10filesystem7__cxx114pathENS0_9load_mode4typeERSt10error_code]+0x11d): undefined reference to `dlerror'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(application.os): in function `boost::dll::detail::report_error(std::error_code const&, char const*)':
    application.cpp:(.text._ZN5boost3dll6detail12report_errorERKSt10error_codePKc[_ZN5boost3dll6detail12report_errorERKSt10error_codePKc]+0x18): undefined reference to `dlerror'
    /opt/conan/binutils/bin/ld: /home/conan/workspace/prod-v2/bsr/65971/aaafa/p/b/cantefc64fa8b016c4/p/lib/libcantera.a(application.os): in function `boost::detail::sp_if_not_array<boost::dll::shared_library>::type boost::make_shared<boost::dll::shared_library, std::filesystem::__cxx11::path const&, boost::dll::load_mode::type&>(std::filesystem::__cxx11::path const&, boost::dll::load_mode::type&)':
    application.cpp:(.text._ZN5boost11make_sharedINS_3dll14shared_libraryEJRKNSt10filesystem7__cxx114pathERNS1_9load_mode4typeEEEENS_6detail15sp_if_not_arrayIT_E4typeEDpOT0_[_ZN5boost11make_sharedINS_3dll14shared_libraryEJRKNSt10filesystem7__cxx114pathERNS1_9load_mode4typeEEEENS_6detail15sp_if_not_arrayIT_E4typeEDpOT0_]+0x1f9): undefined reference to `dlclose'
    /opt/conan/binutils/bin/ld: application.cpp:(.text._ZN5boost11make_sharedINS_3dll14shared_libraryEJRKNSt10filesystem7__cxx114pathERNS1_9load_mode4typeEEEENS_6detail15sp_if_not_arrayIT_E4typeEDpOT0_[_ZN5boost11make_sharedINS_3dll14shared_libraryEJRKNSt10filesystem7__cxx114pathERNS1_9load_mode4typeEEEENS_6detail15sp_if_not_arrayIT_E4typeEDpOT0_]+0x29c): undefined reference to `dlclose'
    collect2: error: ld returned 1 exit status
    CMakeFiles/test_package.dir/build.make:106: recipe for target 'test_package' failed
    make[2]: *** [test_package] Error 1
    CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/test_package.dir/all' failed
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2
    
    ERROR: cantera/3.0.0 (test package): Error in build() method, line 22
    	cmake.build()
    	ConanException: Error 2 while executing
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Copy link
Contributor

Hooks produced the following warnings for commit 4f748d4
cantera/3.0.0@#530766ea609dd4c9ee11b257336f0599
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libcantera_shared.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libcantera_shared.3.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.
post_package(): WARN: [MISSING SYSTEM LIBS (KB-H043)] Library './lib/libcantera_shared.3.0.0.dylib' links to system library 'Accelerate' but it is not in cpp_info.frameworks.

Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants