conan-center-index
conan-center-index copied to clipboard
add recipe for dbus-cxx
dbus-cxx/2.5.1
At NI we are using conan as our C++ packaging tool. We dbus-cxx for native C++ bindings to DBus with a path to Windows support.
- [X] I've read the contributing guidelines.
- [X] I've used a recent Conan client version close to the currently deployed.
- [X] I've tried at least one configuration locally with the conan-center hook activated.
Conan v1 pipeline :x:
Failure in build 2 (8de0212d6379a493cdc06c5133a68cbeceffccc2):
- dbus-cxx/2.4.0:
Error running command
conan export recipes/dbus-cxx/2.x.x/conanfile.py dbus-cxx/2.4.0@:[HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 3.888671875 KB [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK [HOOK - conan-center.py] pre_export(): [NOT ALLOWED ATTRIBUTES (KB-H039)] OK [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK [HOOK - conan-center.py] pre_export(): [NO FINAL ENDLINE (KB-H041)] OK [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK [HOOK - conan-center.py] pre_export(): [TOOLS RENAME (KB-H057)] OK [HOOK - conan-center.py] pre_export(): [ILLEGAL CHARACTERS (KB-H058)] OK [HOOK - conan-center.py] pre_export(): [CLASS NAME (KB-H059)] OK [HOOK - conan-center.py] pre_export(): [NO CRLF (KB-H060)] OK [HOOK - conan-center.py] pre_export(): [NO BUILD SYSTEM FUNCTIONS (KB-H061)] OK [HOOK - conan-center.py] pre_export(): [TOOLS CROSS BUILDING (KB-H062)] OK [HOOK - conan-center.py] pre_export(): [INVALID TOPICS (KB-H064)] OK [HOOK - conan-center.py] pre_export(): [NO REQUIRED_CONAN_VERSION (KB-H065)] OK [HOOK - conan-center.py] pre_export(): [TEST_TYPE MANAGEMENT (KB-H068)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO DEFAULT OPTIONS (KB-H069)] OK [HOOK - conan-center.py] pre_export(): [MANDATORY SETTINGS (KB-H070)] OK [HOOK - conan-center.py] pre_export(): [PYLINT EXECUTION (KB-H072)] OK [HOOK - conan-center.py] pre_export(): [REQUIREMENT OVERRIDE PARAMETER (KB-H075)] OK [HOOK - conan-center.py] pre_export(): [NO DANGLING PATCHES (KB-H078)] OK WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** [HOOK - conan-center.py] pre_export(): ERROR: [CONAN CENTER INDEX URL (KB-H027)] The attribute 'url' should point to: https://github.com/conan-io/conan-center-index (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H027-CONAN-CENTER-INDEX-URL) [HOOK - conan-center.py] pre_export(): ERROR: [CONFIG.YML HAS NEW VERSION (KB-H052)] The version "2.5.1" exists in "conandata.yml" but not in "../config.yml", so it will not be built. Please update "../config.yml" to include newly added version "2.5.1". (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H052-CONFIG.YML-HAS-NEW-VERSION) ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
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.
Hi @ErikHons thanks a lot for taking the time to submit the recipe, we appreciate it :)
I was going to submit some cleanups for the recipe, but I realized that you didn't grant us permission to directly push, so here is the patch (Have no time to open as PR, sorry!)
diff --git a/recipes/dbus-cxx/2.x.x/conanfile.py b/recipes/dbus-cxx/2.x.x/conanfile.py
index 50d6b6324..ec1f5e99c 100644
--- a/recipes/dbus-cxx/2.x.x/conanfile.py
+++ b/recipes/dbus-cxx/2.x.x/conanfile.py
@@ -1,13 +1,14 @@
from conan import ConanFile
-from conan.errors import ConanInvalidConfiguration
-from conan.tools.cmake import cmake_layout, CMake, CMakeToolchain
+from conan.tools.build import check_min_cppstd
+from conan.tools.cmake import cmake_layout, CMake, CMakeToolchain, CMakeDeps
+from conan.tools.files import get
from conan.tools.scm import Version
-import conan.tools.files
+
class DbusCXX(ConanFile):
name = "dbus-cxx"
- license = "LGPL-3.0-only, BSD-3-Clause"
- url = "https://github.com/dbus-cxx/dbus-cxx"
+ license = "LGPL-3.0-only", "BSD-3-Clause"
+ url = "https://github.com/conan-io/conan-center-index"
homepage = "http://dbus-cxx.github.io"
description = "DBus-cxx provides an object-oriented interface to DBus"
topics = "bus", "interprocess", "message"
@@ -28,30 +29,34 @@ class DbusCXX(ConanFile):
"glib_support": False,
"qt_support": False,
"uv_support": False,
- }
+ }
+
+ @property
+ def _min_cppstd(self):
+ return 17
def config_options(self):
if self.settings.os == "Windows":
del self.options.fPIC
+ if Version(self.version) < 2.5.0:
+ del self.options.uv_support
def validate(self):
- if self.options.uv_support and Version(self.version) < "2.5.0":
- raise ConanInvalidConfiguration("UV support requires verion >= 2.5.0")
+ if self.settings.compiler.get_safe("cppstd"):
+ check_min_cppstd(self, self._min_cppstd)
def requirements(self):
- self.requires("libsigcpp/[^3.0.7]", transitive_headers=True)
- self.requires("expat/[^2.5.0]")
+ self.requires("libsigcpp/3.0.7", transitive_headers=True)
+ self.requires("expat/[>=2.6.2 <3]")
if self.options.uv_support:
self.requires("libuv/[>=1.0 <2.0]")
def source(self):
- conan.tools.files.get(self, **self.conan_data["sources"][self.version], strip_root=True)
+ get(self, **self.conan_data["sources"][self.version], strip_root=True)
def layout(self):
- cmake_layout(self, src_folder="src")
-
- generators = "PkgConfigDeps"
+ cmake_layout(self)
def generate(self):
tc = CMakeToolchain(self)
@@ -60,6 +65,8 @@ class DbusCXX(ConanFile):
if Version(self.version) >= "2.5.0":
tc.cache_variables["ENABLE_UV_SUPPORT"] = self.options.uv_support
tc.generate()
+ deps = CMakeDeps(self)
+ deps.generate()
def build(self):
cmake = CMake(self)
Some comments:
- I've removed the
generators = "PkgConfigDeps"and usedCMakeDepsin the generate method, but this stumped me a bit. Why do you need pkgconfigdeps? Any insight on that? - As per https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/dependencies.md#version-ranges I've pinned and changed the version ranges you added, except for libuv, which we're currently discussing on whether to allow it as version range or not, will let you know once we come to a conclusion
- Instead of validating bad versions depending on the version, it's better if we outright delete the option for those versions where it does not exist - We only need to take care of guarding with the same logic its access in the rest of the recipe, or using `self.options.get_safe("uv_support")
Also some more question:
- You have a mismatched config.yml and conandata.yml files, both files in this case should contain the same versions
- I see the qt_support option being defined, but not used in the recipe
- usually for options that toggle optional dependencies, the convention in CCI has been to call them
with_xxx, souv_supportwould bewith_uv
Hi @ErikHons thanks a lot for taking the time to submit the recipe, we appreciate it :)
I love conan. Glad to give back!
I was going to submit some cleanups for the recipe, but I realized that you didn't grant us permission to directly push, so here is the patch (Have no time to open as PR, sorry!)
Yeah. We run our corporate builds off that fork. I'm happy to apply the patch.
Some comments:
- I've removed the
generators = "PkgConfigDeps"and usedCMakeDepsin the generate method, but this stumped me a bit. Why do you need pkgconfigdeps? Any insight on that?
The library uses pkg_check_modules() by default. It's supposed to use find_package() when a toolchain is specified bit that wasn't working for me. I'll take another look.
I've pinned and changed the version ranges you added, except for libuv, which we're currently discussing on whether to allow it as version range or not, will let you know once we come to a conclusion
I don't grok how that all works. My main concern is that libuv 1.45 drops support for an old version of RedHat I have to build for still. I think I can override all that in the client build though right?
Instead of validating bad versions depending on the version, it's better if we outright delete the option for those versions where it does not exist
Makes sense!
You have a mismatched config.yml and conandata.yml files, both files in this case should contain the same versions
Oopise. I'm working off a branch of 2.4.0 (we patch this recipe in our fork of the index). I added 2.5.1 for this PR and just missed this step.
I see the qt_support option being defined, but not used in the recipe
That option sets the ENABLE_QT_SUPPORT cmake variable and adds the dbus-cxx-qt library to self.cpp_info.libs
usually for options that toggle optional dependencies, the convention in CCI has been to call them
with_xxx, souv_supportwould bewith_uv
Nice. I'll change it.
Thanks for the quick response!
@RubenRBS the dbus-cxx top-level cmake contains stuff like:
if( CMAKE_TOOLCHAIN_FILE )
find_package( sigc++-3 REQUIRED )
else()
pkg_check_modules( sigc REQUIRED sigc++-3.0 )
endif( CMAKE_TOOLCHAIN_FILE )
Conan passes the -DCMAKE_TOOLCHAIN_FILE="..." parameter that should define that cmake variable but cmake keeps using the pkg-config path. I'm still looking at it.
Edit: Nevermind. This got fixed in 2.5.1. I'll make this change too.
Edit: Nevermind all of that. My guys added the condition above in our fork of dbus-cxx, and it's broke. The recipe uses PkgConfigDeps because dbus-cxx uses that!
Conan v1 pipeline :x:
Failure in build 3 (80e4d8819ed4530c92c875e4231f3502751b7ec2):
-
dbus-cxx/2.5.1: CI failed to create some packages (All logs)
Logs for packageID
834ea2cc25954a55a16f54099256bddae09e5465:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux[...] [ 37%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/sendmsgtransport.cpp.o [ 39%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/transport.cpp.o [ 40%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/threaddispatcher.cpp.o [ 41%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/sasl.cpp.o [ 43%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/validator.cpp.o [ 44%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/daemon-proxy/DBusDaemonProxy.cpp.o [ 45%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/variantappenditerator.cpp.o [ 46%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/variantiterator.cpp.o [ 48%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/property.cpp.o [ 49%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/propertyproxy.cpp.o [ 50%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/matchrule.cpp.o [ 51%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/peerinterfaceproxy.cpp.o [ 53%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/introspectableinterfaceproxy.cpp.o [ 54%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/propertiesinterfaceproxy.cpp.o [ 55%] Linking CXX shared library libdbus-cxx.so [ 55%] Built target dbus-cxx Scanning dependencies of target data-tests Scanning dependencies of target introspection-tests Scanning dependencies of target signal-tests [ 56%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/datatests.cpp.o [ 58%] Building CXX object unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o [ 59%] Building CXX object unit-tests/CMakeFiles/signal-tests.dir/signaltests.cpp.o [ 60%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/custom-type.cpp.o [ 62%] Linking CXX executable signal-tests [ 62%] Built target signal-tests [ 63%] Linking CXX executable data-tests [ 63%] Built target data-tests dbus-cxx/2.5.1: /home/conan/workspace/prod-v1/bsr/54579/cbbdf/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/dbus-cxx/utility.cpp: In function ‘void DBus::log_std_err(const char*, const SL_LogLocation*, SL_LogLevel, const char*)’: /home/conan/workspace/prod-v1/bsr/54579/cbbdf/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/dbus-cxx/utility.cpp:65:35: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘std::thread::id’ [-Wformat=] 65 | snprintf( buffer, 4096, "0x%08X %s [%s] - %s(%s:%d)", this_id, logger_name, stringLevel, log_string, | ~~~^ ~~~~~~~ | | | | unsigned int std::thread::id /home/conan/workspace/prod-v1/bsr/54579/cbbdf/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/unit-tests/introspection-test.cpp:23:10: fatal error: expat.h: No such file or directory 23 | #include <expat.h> | ^~~~~~~~~ compilation terminated. make[2]: *** [unit-tests/CMakeFiles/introspection-tests.dir/build.make:82: unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:958: unit-tests/CMakeFiles/introspection-tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:182: all] Error 2 WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** dbus-cxx/2.5.1: 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 dbus-cxx/2.5.1: ERROR: Package '834ea2cc25954a55a16f54099256bddae09e5465' build failed dbus-cxx/2.5.1: WARN: Build folder /home/conan/workspace/prod-v1/bsr/54579/cbbdf/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/build/Release ERROR: dbus-cxx/2.5.1: Error in build() method, line 74 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/54579/cbbdf/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/build/Release" '--' '-j3' -
dbus-cxx/2.4.0: Didn't run or was cancelled before finishing
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 :x:
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.
See details:
Failure in build 3 (80e4d8819ed4530c92c875e4231f3502751b7ec2):
-
dbus-cxx/2.5.1: Didn't run or was cancelled before finishing
-
dbus-cxx/2.4.0: Error running command
conan graph info --requires dbus-cxx/2.4.0@#92e3a667a6513a861437f0ff3c4e444e -f json -pr:h /home/conan/workspace/prod-v2/bsr/48375/bbdeb/profile_linux_11_libstdcpp11_17_gcc_release_64.-shared-False.txt -pr:b /home/conan/workspace/prod-v2/bsr/48375/bbdeb/profile_linux_11_libstdcpp11_17_gcc_release_64..txt:======== Computing dependency graph ======== ERROR: dbus-cxx/2.4.0: Error in config_options() method, line 42 del self.options.uv ConanException: option 'uv' doesn't exist Possible options are ['fPIC', 'with_glib', 'with_qt', 'with_uv']
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 v1 pipeline :x:
Failure in build 4 (b967f8fe181df564e56126cea2eb1478fd8ecdf0):
-
dbus-cxx/2.5.1: Didn't run or was cancelled before finishing
-
dbus-cxx/2.4.0: CI failed to create some packages (All logs)
Logs for packageID
834ea2cc25954a55a16f54099256bddae09e5465:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux[...] [ 37%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/sendmsgtransport.cpp.o [ 39%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/transport.cpp.o [ 40%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/threaddispatcher.cpp.o [ 41%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/sasl.cpp.o [ 43%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/validator.cpp.o [ 44%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/daemon-proxy/DBusDaemonProxy.cpp.o [ 45%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/variantappenditerator.cpp.o [ 46%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/variantiterator.cpp.o [ 48%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/property.cpp.o [ 49%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/propertyproxy.cpp.o [ 50%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/matchrule.cpp.o [ 51%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/peerinterfaceproxy.cpp.o [ 53%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/introspectableinterfaceproxy.cpp.o [ 54%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/propertiesinterfaceproxy.cpp.o [ 55%] Linking CXX shared library libdbus-cxx.so [ 55%] Built target dbus-cxx Scanning dependencies of target data-tests Scanning dependencies of target introspection-tests Scanning dependencies of target signal-tests [ 56%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/datatests.cpp.o [ 58%] Building CXX object unit-tests/CMakeFiles/signal-tests.dir/signaltests.cpp.o [ 59%] Building CXX object unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o [ 60%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/custom-type.cpp.o [ 62%] Linking CXX executable signal-tests [ 62%] Built target signal-tests [ 63%] Linking CXX executable data-tests [ 63%] Built target data-tests dbus-cxx/2.4.0: /home/conan/workspace/prod-v1/bsr/54582/feabe/.conan/data/dbus-cxx/2.4.0/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/dbus-cxx/utility.cpp: In function ‘void DBus::log_std_err(const char*, const SL_LogLocation*, SL_LogLevel, const char*)’: /home/conan/workspace/prod-v1/bsr/54582/feabe/.conan/data/dbus-cxx/2.4.0/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/dbus-cxx/utility.cpp:65:35: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘std::thread::id’ [-Wformat=] 65 | snprintf( buffer, 4096, "0x%08X %s [%s] - %s(%s:%d)", this_id, logger_name, stringLevel, log_string, | ~~~^ ~~~~~~~ | | | | unsigned int std::thread::id /home/conan/workspace/prod-v1/bsr/54582/feabe/.conan/data/dbus-cxx/2.4.0/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/unit-tests/introspection-test.cpp:23:10: fatal error: expat.h: No such file or directory 23 | #include <expat.h> | ^~~~~~~~~ compilation terminated. make[2]: *** [unit-tests/CMakeFiles/introspection-tests.dir/build.make:82: unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:958: unit-tests/CMakeFiles/introspection-tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:182: all] Error 2 WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** dbus-cxx/2.4.0: 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 dbus-cxx/2.4.0: ERROR: Package '834ea2cc25954a55a16f54099256bddae09e5465' build failed dbus-cxx/2.4.0: WARN: Build folder /home/conan/workspace/prod-v1/bsr/54582/feabe/.conan/data/dbus-cxx/2.4.0/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/build/Release ERROR: dbus-cxx/2.4.0: Error in build() method, line 74 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/54582/feabe/.conan/data/dbus-cxx/2.4.0/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/build/Release" '--' '-j3'
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 :x:
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.
See details:
Failure in build 4 (b967f8fe181df564e56126cea2eb1478fd8ecdf0):
-
dbus-cxx/2.5.1: CI failed to create some packages (All logs)
Logs for packageID
77c0c65f0429516b71e1162a18554e8def765598:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=17 compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] */*:shared=False[...] [ 55%] Linking CXX shared library libdbus-cxx.so [ 55%] Built target dbus-cxx Scanning dependencies of target object-tests Scanning dependencies of target test-connection Scanning dependencies of target customaddress-tests [ 56%] Building CXX object unit-tests/CMakeFiles/object-tests.dir/objecttests.cpp.o [ 58%] Building CXX object unit-tests/CMakeFiles/test-connection.dir/connectiontests.cpp.o [ 59%] Building CXX object unit-tests/CMakeFiles/customaddress-tests.dir/customaddress-test.cpp.o [ 60%] Linking CXX executable customaddress-tests [ 60%] Built target customaddress-tests Scanning dependencies of target test-callmessage [ 62%] Building CXX object unit-tests/CMakeFiles/test-callmessage.dir/callmessagetests.cpp.o [ 63%] Linking CXX executable object-tests [ 63%] Built target object-tests Scanning dependencies of target test-path [ 64%] Building CXX object unit-tests/CMakeFiles/test-path.dir/pathclasstests.cpp.o [ 65%] Linking CXX executable test-connection [ 65%] Built target test-connection Scanning dependencies of target test-messageiterator [ 67%] Building CXX object unit-tests/CMakeFiles/test-messageiterator.dir/messageiteratortests.cpp.o [ 68%] Linking CXX executable test-path [ 68%] Built target test-path Scanning dependencies of target test-validation [ 69%] Building CXX object unit-tests/CMakeFiles/test-validation.dir/validationtests.cpp.o [ 70%] Linking CXX executable test-callmessage [ 70%] Built target test-callmessage Scanning dependencies of target introspection-tests [ 72%] Building CXX object unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o /home/conan/workspace/prod-v2/bsr/48376/ffeac/p/b/dbus-97d641b20742a/b/unit-tests/introspection-test.cpp:23:10: fatal error: expat.h: No such file or directory 23 | #include <expat.h> | ^~~~~~~~~ compilation terminated. unit-tests/CMakeFiles/introspection-tests.dir/build.make:62: recipe for target 'unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o' failed make[2]: *** [unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o] Error 1 CMakeFiles/Makefile2:1166: recipe for target 'unit-tests/CMakeFiles/introspection-tests.dir/all' failed make[1]: *** [unit-tests/CMakeFiles/introspection-tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 73%] Linking CXX executable test-validation [ 73%] Built target test-validation [ 74%] Linking CXX executable test-messageiterator [ 74%] Built target test-messageiterator Makefile:162: recipe for target 'all' failed make: *** [all] Error 2 dbus-cxx/2.5.1: ERROR: Package '77c0c65f0429516b71e1162a18554e8def765598' build failed dbus-cxx/2.5.1: WARN: Build folder /home/conan/workspace/prod-v2/bsr/48376/ffeac/p/b/dbus-97d641b20742a/b/build/Release ERROR: dbus-cxx/2.5.1: Error in build() method, line 74 cmake.build() ConanException: Error 2 while executing -
dbus-cxx/2.4.0: Didn't run or was cancelled before finishing
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 v1 pipeline :x:
Failure in build 5 (f07c79cc7cad651bbb1543566b6da239e454b40a):
-
dbus-cxx/2.4.0: Didn't run or was cancelled before finishing
-
dbus-cxx/2.5.1: CI failed to create some packages (All logs)
Logs for packageID
92eca1fb2656e2f442390c07aae18a03cb863f08:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux[...] [ 39%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/transport.cpp.o [ 40%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/threaddispatcher.cpp.o [ 41%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/sasl.cpp.o [ 43%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/validator.cpp.o [ 44%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/daemon-proxy/DBusDaemonProxy.cpp.o [ 45%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/variantappenditerator.cpp.o [ 46%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/variantiterator.cpp.o [ 48%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/property.cpp.o [ 49%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/propertyproxy.cpp.o [ 50%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/matchrule.cpp.o [ 51%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/peerinterfaceproxy.cpp.o [ 53%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/introspectableinterfaceproxy.cpp.o [ 54%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/propertiesinterfaceproxy.cpp.o [ 55%] Linking CXX shared library libdbus-cxx.so [ 55%] Built target dbus-cxx Scanning dependencies of target data-tests Scanning dependencies of target introspection-tests Scanning dependencies of target signal-tests [ 56%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/datatests.cpp.o [ 58%] Building CXX object unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o [ 59%] Building CXX object unit-tests/CMakeFiles/signal-tests.dir/signaltests.cpp.o unit-tests/CMakeFiles/introspection-tests.dir/build.make:81: recipe for target 'unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o' failed CMakeFiles/Makefile2:957: recipe for target 'unit-tests/CMakeFiles/introspection-tests.dir/all' failed [ 60%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/custom-type.cpp.o [ 62%] Linking CXX executable signal-tests [ 62%] Built target signal-tests [ 63%] Linking CXX executable data-tests [ 63%] Built target data-tests Makefile:181: recipe for target 'all' failed dbus-cxx/2.5.1: /home/conan/workspace/prod-v1/bsr/54586/efede/.conan/data/dbus-cxx/2.5.1/_/_/build/92eca1fb2656e2f442390c07aae18a03cb863f08/src/dbus-cxx/utility.cpp: In function ‘void DBus::log_std_err(const char*, const SL_LogLocation*, SL_LogLevel, const char*)’: /home/conan/workspace/prod-v1/bsr/54586/efede/.conan/data/dbus-cxx/2.5.1/_/_/build/92eca1fb2656e2f442390c07aae18a03cb863f08/src/dbus-cxx/utility.cpp:67:31: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘std::thread::id’ [-Wformat=] location->line_number ); ^ /home/conan/workspace/prod-v1/bsr/54586/efede/.conan/data/dbus-cxx/2.5.1/_/_/build/92eca1fb2656e2f442390c07aae18a03cb863f08/src/unit-tests/introspection-test.cpp:23:10: fatal error: expat.h: No such file or directory #include <expat.h> ^~~~~~~~~ compilation terminated. make[2]: *** [unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o] Error 1 make[1]: *** [unit-tests/CMakeFiles/introspection-tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** dbus-cxx/2.5.1: 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 dbus-cxx/2.5.1: ERROR: Package '92eca1fb2656e2f442390c07aae18a03cb863f08' build failed dbus-cxx/2.5.1: WARN: Build folder /home/conan/workspace/prod-v1/bsr/54586/efede/.conan/data/dbus-cxx/2.5.1/_/_/build/92eca1fb2656e2f442390c07aae18a03cb863f08/build/Release ERROR: dbus-cxx/2.5.1: Error in build() method, line 74 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/54586/efede/.conan/data/dbus-cxx/2.5.1/_/_/build/92eca1fb2656e2f442390c07aae18a03cb863f08/build/Release" '--' '-j3'
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 :x:
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.
See details:
Failure in build 5 (f07c79cc7cad651bbb1543566b6da239e454b40a):
-
dbus-cxx/2.5.1: CI failed to create some packages (All logs)
Logs for packageID
77c0c65f0429516b71e1162a18554e8def765598:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=17 compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] */*:shared=False[...] [ 56%] Building CXX object unit-tests/CMakeFiles/object-tests.dir/objecttests.cpp.o [ 58%] Building CXX object unit-tests/CMakeFiles/customaddress-tests.dir/customaddress-test.cpp.o [ 59%] Building CXX object unit-tests/CMakeFiles/test-connection.dir/connectiontests.cpp.o [ 60%] Linking CXX executable customaddress-tests [ 60%] Built target customaddress-tests Scanning dependencies of target test-callmessage [ 62%] Building CXX object unit-tests/CMakeFiles/test-callmessage.dir/callmessagetests.cpp.o [ 63%] Linking CXX executable test-connection [ 63%] Built target test-connection Scanning dependencies of target test-path [ 64%] Building CXX object unit-tests/CMakeFiles/test-path.dir/pathclasstests.cpp.o [ 65%] Linking CXX executable object-tests [ 65%] Built target object-tests Scanning dependencies of target test-messageiterator [ 67%] Building CXX object unit-tests/CMakeFiles/test-messageiterator.dir/messageiteratortests.cpp.o [ 68%] Linking CXX executable test-path [ 68%] Built target test-path Scanning dependencies of target test-validation [ 69%] Building CXX object unit-tests/CMakeFiles/test-validation.dir/validationtests.cpp.o [ 70%] Linking CXX executable test-callmessage [ 70%] Built target test-callmessage Scanning dependencies of target introspection-tests [ 72%] Building CXX object unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o [ 73%] Linking CXX executable test-validation [ 73%] Built target test-validation Scanning dependencies of target data-tests [ 74%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/datatests.cpp.o /home/conan/workspace/prod-v2/bsr/48380/aedbc/p/b/dbus-bccd1742b53d2/b/src/unit-tests/introspection-test.cpp:23:10: fatal error: expat.h: No such file or directory 23 | #include <expat.h> | ^~~~~~~~~ compilation terminated. unit-tests/CMakeFiles/introspection-tests.dir/build.make:62: recipe for target 'unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o' failed make[2]: *** [unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o] Error 1 CMakeFiles/Makefile2:1166: recipe for target 'unit-tests/CMakeFiles/introspection-tests.dir/all' failed make[1]: *** [unit-tests/CMakeFiles/introspection-tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 75%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/custom-type.cpp.o [ 77%] Linking CXX executable test-messageiterator [ 77%] Built target test-messageiterator [ 78%] Linking CXX executable data-tests [ 78%] Built target data-tests Makefile:162: recipe for target 'all' failed make: *** [all] Error 2 dbus-cxx/2.5.1: ERROR: Package '77c0c65f0429516b71e1162a18554e8def765598' build failed dbus-cxx/2.5.1: WARN: Build folder /home/conan/workspace/prod-v2/bsr/48380/aedbc/p/b/dbus-bccd1742b53d2/b/build/Release ERROR: dbus-cxx/2.5.1: Error in build() method, line 74 cmake.build() ConanException: Error 2 while executing -
dbus-cxx/2.4.0: Didn't run or was cancelled before finishing
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.
Hey @RubenRBS, I see that the "Linux, GCC-legacy" action is failing on the gcc 7 build but not why. When I first created a docker image to test that case it failed because the pkg-config tools weren't installed. After adding the pkgconf package the build works.
Is it possible that your pipelines don't have the pkgconf package installed? If so, what do you recommend going forward: update CCI pipelines, patch dbus-cxx in the recipe, something else?
Conan v1 pipeline :x:
Sorry, the system is under maintenance and it doesn't accept builds right now.
Motivation: Scheduled Infra Upgrades For Aug 27th
Please, check https://status.conan.io to obtain more information. Thanks for your understanding and help with the Conan Center Index!
Conan v2 pipeline :x:
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.
Sorry, the system is under maintenance and it doesn't accept builds right now.
Motivation: Scheduled Infra Upgrades For Aug 27th
Please, check https://status.conan.io to obtain more information. Thanks for your understanding and help with the Conan Center Index!
Conan v1 pipeline :x:
Sorry, the system is under maintenance and it doesn't accept builds right now.
Motivation: Scheduled Infra Upgrades For Aug 27th
Please, check https://status.conan.io to obtain more information. Thanks for your understanding and help with the Conan Center Index!
Conan v2 pipeline :x:
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.
Sorry, the system is under maintenance and it doesn't accept builds right now.
Motivation: Scheduled Infra Upgrades For Aug 27th
Please, check https://status.conan.io to obtain more information. Thanks for your understanding and help with the Conan Center Index!
Conan v1 pipeline :x:
Failure in build 8 (d39f3bc9f3e1bf23b83fb966bb3755784d5292bf):
-
dbus-cxx/2.5.1: CI failed to create some packages (All logs)
Logs for packageID
834ea2cc25954a55a16f54099256bddae09e5465:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux[...] [ 37%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/sendmsgtransport.cpp.o [ 39%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/transport.cpp.o [ 40%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/threaddispatcher.cpp.o [ 41%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/sasl.cpp.o [ 43%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/validator.cpp.o [ 44%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/daemon-proxy/DBusDaemonProxy.cpp.o [ 45%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/variantappenditerator.cpp.o [ 46%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/variantiterator.cpp.o [ 48%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/property.cpp.o [ 49%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/propertyproxy.cpp.o [ 50%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/matchrule.cpp.o [ 51%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/peerinterfaceproxy.cpp.o [ 53%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/introspectableinterfaceproxy.cpp.o [ 54%] Building CXX object CMakeFiles/dbus-cxx.dir/dbus-cxx/standard-interfaces/propertiesinterfaceproxy.cpp.o [ 55%] Linking CXX shared library libdbus-cxx.so [ 55%] Built target dbus-cxx Scanning dependencies of target data-tests Scanning dependencies of target introspection-tests Scanning dependencies of target signal-tests [ 56%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/datatests.cpp.o [ 58%] Building CXX object unit-tests/CMakeFiles/signal-tests.dir/signaltests.cpp.o [ 59%] Building CXX object unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o [ 60%] Building CXX object unit-tests/CMakeFiles/data-tests.dir/custom-type.cpp.o [ 62%] Linking CXX executable signal-tests [ 62%] Built target signal-tests [ 63%] Linking CXX executable data-tests [ 63%] Built target data-tests dbus-cxx/2.5.1: /home/conan/workspace/prod-v1/bsr/90471/ffdee/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/dbus-cxx/utility.cpp: In function ‘void DBus::log_std_err(const char*, const SL_LogLocation*, SL_LogLevel, const char*)’: /home/conan/workspace/prod-v1/bsr/90471/ffdee/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/dbus-cxx/utility.cpp:65:35: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘std::thread::id’ [-Wformat=] 65 | snprintf( buffer, 4096, "0x%08X %s [%s] - %s(%s:%d)", this_id, logger_name, stringLevel, log_string, | ~~~^ ~~~~~~~ | | | | unsigned int std::thread::id /home/conan/workspace/prod-v1/bsr/90471/ffdee/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/unit-tests/introspection-test.cpp:23:10: fatal error: expat.h: No such file or directory 23 | #include <expat.h> | ^~~~~~~~~ compilation terminated. make[2]: *** [unit-tests/CMakeFiles/introspection-tests.dir/build.make:82: unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:958: unit-tests/CMakeFiles/introspection-tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:182: all] Error 2 WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** dbus-cxx/2.5.1: 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 dbus-cxx/2.5.1: ERROR: Package '834ea2cc25954a55a16f54099256bddae09e5465' build failed dbus-cxx/2.5.1: WARN: Build folder /home/conan/workspace/prod-v1/bsr/90471/ffdee/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/build/Release ERROR: dbus-cxx/2.5.1: Error in build() method, line 74 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/90471/ffdee/.conan/data/dbus-cxx/2.5.1/_/_/build/834ea2cc25954a55a16f54099256bddae09e5465/build/Release" '--' '-j3' -
dbus-cxx/2.4.0: Didn't run or was cancelled before finishing
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 :x:
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 8 (d39f3bc9f3e1bf23b83fb966bb3755784d5292bf):
-
dbus-cxx/2.5.1: CI failed to create some packages (All logs)
Logs for packageID
77c0c65f0429516b71e1162a18554e8def765598:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=17 compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] */*:shared=False[...] [ 55%] Linking CXX shared library libdbus-cxx.so [ 55%] Built target dbus-cxx Scanning dependencies of target customaddress-tests Scanning dependencies of target test-connection [ 56%] Building CXX object unit-tests/CMakeFiles/customaddress-tests.dir/customaddress-test.cpp.o Scanning dependencies of target object-tests [ 58%] Building CXX object unit-tests/CMakeFiles/test-connection.dir/connectiontests.cpp.o [ 59%] Building CXX object unit-tests/CMakeFiles/object-tests.dir/objecttests.cpp.o [ 60%] Linking CXX executable customaddress-tests [ 60%] Built target customaddress-tests Scanning dependencies of target test-callmessage [ 62%] Building CXX object unit-tests/CMakeFiles/test-callmessage.dir/callmessagetests.cpp.o [ 63%] Linking CXX executable object-tests [ 63%] Built target object-tests Scanning dependencies of target test-path [ 64%] Building CXX object unit-tests/CMakeFiles/test-path.dir/pathclasstests.cpp.o [ 65%] Linking CXX executable test-callmessage [ 67%] Linking CXX executable test-connection [ 67%] Built target test-callmessage Scanning dependencies of target test-messageiterator [ 68%] Building CXX object unit-tests/CMakeFiles/test-messageiterator.dir/messageiteratortests.cpp.o [ 68%] Built target test-connection Scanning dependencies of target test-validation [ 69%] Building CXX object unit-tests/CMakeFiles/test-validation.dir/validationtests.cpp.o [ 70%] Linking CXX executable test-path [ 70%] Built target test-path Scanning dependencies of target introspection-tests [ 72%] Building CXX object unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o /home/conan/workspace/prod-v2/bsr/81037/dabff/p/b/dbus-a10fdbd616687/b/unit-tests/introspection-test.cpp:23:10: fatal error: expat.h: No such file or directory 23 | #include <expat.h> | ^~~~~~~~~ compilation terminated. unit-tests/CMakeFiles/introspection-tests.dir/build.make:62: recipe for target 'unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o' failed make[2]: *** [unit-tests/CMakeFiles/introspection-tests.dir/introspection-test.cpp.o] Error 1 CMakeFiles/Makefile2:1166: recipe for target 'unit-tests/CMakeFiles/introspection-tests.dir/all' failed make[1]: *** [unit-tests/CMakeFiles/introspection-tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 73%] Linking CXX executable test-validation [ 73%] Built target test-validation [ 74%] Linking CXX executable test-messageiterator [ 74%] Built target test-messageiterator Makefile:162: recipe for target 'all' failed make: *** [all] Error 2 dbus-cxx/2.5.1: ERROR: Package '77c0c65f0429516b71e1162a18554e8def765598' build failed dbus-cxx/2.5.1: WARN: Build folder /home/conan/workspace/prod-v2/bsr/81037/dabff/p/b/dbus-a10fdbd616687/b/build/Release ERROR: dbus-cxx/2.5.1: Error in build() method, line 74 cmake.build() ConanException: Error 2 while executing -
dbus-cxx/2.4.0: Didn't run or was cancelled before finishing
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.
All checks have passed!!!!!!! Woo!!!!
Superseded by https://github.com/conan-io/conan-center-index/pull/27142 (preserved all the original commits)