-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
avahi/0.8: Disable the use of the setproctitle function on Linux #17355
avahi/0.8: Disable the use of the setproctitle function on Linux #17355
Conversation
This function is not declared on Linux. Configure ignores warnings about the missing declaration. This causes issues when building with recent versions of Clang. Support for implicit declarations was removed in newer C standards in Clang. Telling configure that the setproctitle function is not available disables the use of this function in Avahi.
🤖 Beep Boop! This pull request is making changes to 'recipes/avahi//'. 👋 @jwillikers you might be interested. 😉 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Required for PR conan-io#17355.
Required for PR conan-io#17355.
Required for PR conan-io#17355. Also, add version 1.23.
* gdbm: Support Conan V2 Required for PR #17355. Also, add version 1.23. * Fixes * Make sure that YYDEBUG is defined when gdbmtool_debug is enabled * Fix v1 package * Try changing the name of the top-level CMake project --------- Co-authored-by: Rubén Rincón Blanco <rubenrb@jfrog.com>
Conan v1 pipeline ✔️All green in build 4 (
Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future. See details:Failure in build 3 (
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. |
* gdbm: Support Conan V2 Required for PR conan-io#17355. Also, add version 1.23. * Fixes * Make sure that YYDEBUG is defined when gdbmtool_debug is enabled * Fix v1 package * Try changing the name of the top-level CMake project --------- Co-authored-by: Rubén Rincón Blanco <rubenrb@jfrog.com>
…cmake-combined-recipe - Resolved conflicts. - Updated recipes/cmake/combined/conandata.yml to use CMake 3.26.4 instead of 3.26.3 * 'master' of github.com:conan-io/conan-center-index: (219 commits) (conan-io#17379) zpp_bits: add version 4.4.17, add package_type (conan-io#17811) mongo-c-driver: add version 1.23.4 (conan-io#17824) [bot] Update list of references (prod-v2/ListPackages) (conan-io#17827) [bot] Update authorized users list (2023-06-05) (conan-io#17791) c4core: update fast_float (conan-io#17447) llhttp: conan v2 support (conan-io#17821) daw_utf_range: update daw_header_libraries (conan-io#17819) add mbits-diags/0.9.5 (conan-io#17471) Add Boost 1.82.0 (conan-io#17816) uni-algo: add version 0.8.1 (conan-io#17815) flatbuffers: add version 23.5.26 (conan-io#17801) Bring tl-function to conan2 (conan-io#17802) Bring ring-span-lite to conan2 (conan-io#16572) ragel: support conan v2 (conan-io#17244) Z3: Revise the recipe to support Conan v2 and add the latest four minor releases. (conan-io#17355) avahi/0.8: Disable the use of the setproctitle function on Linux (conan-io#17744) Bumped CMake to 3.26.4 (conan-io#17763) Libwebsockets support for conan2 (conan-io#17808) octo-logger-cpp: add version 1.4.0 (conan-io#17428) Add libmemcached library ...
…ion on Linux * avahi/0.8: Disable the use of the setproctitle function on Linux This function is not declared on Linux. Configure ignores warnings about the missing declaration. This causes issues when building with recent versions of Clang. Support for implicit declarations was removed in newer C standards in Clang. Telling configure that the setproctitle function is not available disables the use of this function in Avahi. * Capitalize Linux
This function is not declared on Linux.
Configure ignores warnings about the missing declaration. This causes issues when building with recent versions of Clang. Support for implicit declarations was removed in newer C standards in Clang. Telling configure that the setproctitle function is not available disables the use of this function in Avahi.
Fixes #17354.
Specify library name and version: avahi/0.8
Note that
setproctitle
is correctly disabled on Linux in Avahi's master branch, so no upstream patches are necessary. I tested this in commit6395c45
of Avahi locally.Using both GCC and Clang, results in
ac_cv_func_setproctitle=no
inconfig.log
without any manual intervention.