ydb icon indicating copy to clipboard operation
ydb copied to clipboard

Fix vendored libevent compilation on glibc >= 2.36

Open yumkam opened this issue 10 months ago • 4 comments

Vendored libevent library uses hardcoded event-config-linux.h instead of of proper autoconf-generated configuration. This breaks on glibc 2.36 and newer due to arc4random function redefinition. Closes #336

Changelog entry

Fix vendored libevent compilation on glibc >= 2.36

Changelog category

  • Bugfix

Additional information

Only (partially) compile-tested. <features.h> seems to be available on both musl and glibc.

yumkam avatar Apr 10 '24 17:04 yumkam

Hi! Thank you for contributing! The tests on this PR will run after a maintainer adds an ok-to-test label to this PR manually. Thank you for your patience!

github-actions[bot] avatar Apr 10 '24 17:04 github-actions[bot]

:white_circle: 2024-05-06 21:16:57 UTC Pre-commit check for 1a91bfc09b6b6e34f652b3dd0c55ee357d9d03a0 has started. :white_circle: 2024-05-06 21:16:58 UTC Build linux-x86_64-release-asan is running... :green_circle: 2024-05-06 21:19:27 UTC Build successful. :white_circle: 2024-05-06 21:21:04 UTC Tests are running... :red_circle: 2024-05-06 23:13:53 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14139 13962 0 46 122 9

github-actions[bot] avatar May 06 '24 21:05 github-actions[bot]

:white_circle: 2024-05-06 21:16:57 UTC Pre-commit check for 1a91bfc09b6b6e34f652b3dd0c55ee357d9d03a0 has started. :white_circle: 2024-05-06 21:16:59 UTC Build linux-x86_64-relwithdebinfo is running... :green_circle: 2024-05-06 21:19:56 UTC Build successful. :white_circle: 2024-05-06 21:21:30 UTC Tests are running... :red_circle: 2024-05-06 23:22:24 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72790 59668 0 5 13104 13

github-actions[bot] avatar May 06 '24 21:05 github-actions[bot]

:white_circle: 2024-05-06 21:17:18 UTC Pre-commit check for 1a91bfc09b6b6e34f652b3dd0c55ee357d9d03a0 has started. :white_circle: 2024-05-06 21:17:20 UTC Build linux-x86_64-release-clang14 is running... :green_circle: 2024-05-06 22:24:11 UTC Build successful.

github-actions[bot] avatar May 06 '24 21:05 github-actions[bot]