rpm: add almalinux:10#834
Conversation
|
known issue: rdkafka can't built yet. |
4815966 to
a46233f
Compare
|
This could be problematic with 0.20.0. |
|
NOTE: almalinux:9
almalinux:10
|
|
https://gcc.gnu.org/gcc-14/porting_to.html#implicit-function-declaration |
|
It was caused by: Include openssl/rand.h to fix build error |
|
Even though PR4379 was applied, extra error was reported: |
|
It was enable with WITH_SSL_ENGINE, checked it. But, engine.h is empty. Oh... |
|
It is strange that upstream releases non empty engine.h. 🤔 |
|
checking https://git.almalinux.org/rpms/openssl/releases/tag/changed/a10/openssl-3.2.2-16.el10_0.alma.1 It seems that engine.h was explicitly removed. |
|
For almalinux9, openssl/engine.h was not removed yet. |
|
NOTE: for librdkafka 2.6.1 (rdkafka-ruby 0.20.0),
|
3bd2fa4 to
ef39b90
Compare
|
I overlooked https://github.com/confluentinc/librdkafka/releases/tag/v2.8.0
It will be installed for almalinux:8 (previously, I thought that it must be rdkafka 0.20.0 (librdkafka 2.6.1) because of OpenSSL 1.x on almalinux:8, but it seems okay) |
|
Side effect of upgrading to rdkafka 0.21.0 is ftbfs on AmazonLinux 2 (OpenSSL 1.0.2k), but it will be dropped as supported platform later. |
|
NOTE: AL2 will be dropped in another PR. |
Should be dropped by #850 |
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Use newer bundled rdkafka with librdkafka 2.8.0 to support AlmaLinux 10 (librdkafka 2.8.0 supports "OpenSSL without the ENGINE component") If we stick to 0.20.0, must fix the following issues: * Need to fix implicit function error: Include openssl/rand.h to fix build error confluentinc/librdkafka#4379 * Need to disable WITH_SSL_ENGINE Patch src/rdkafka_conf.h to disable it on AlmaLinux 10. Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
It will fix the following ERROR: ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/json-2.9.0/json/ext/parser.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause * 'rpmbuild' to fail. To ignore these errors, you can set the * '$QA_RPATHS' environment variable which is a bitmask allowing the * values below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute * nor relative filenames and can therefore be a SECURITY risk * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a * SECURITY risk * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other * RPATHs; this is just a minor issue but usually unwanted * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs * and they cause unneeded work while loading libraries * 0x0020 ... an RPATH references '..' of an absolute path; this will break * the functionality when the path before '..' is a symlink * * * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like * $ RPM_BUILD_ROOT=<top-dir> /usr/lib/rpm/check-rpaths * ******************************************************************************* ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/cmetrics-0.3.3/cmetrics/cmetrics.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/systemd-journal-2.0.0/systemd/journal/shim.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/rbs-2.8.2/rbs_extension.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/strptime-0.2.5/strptime/strptime.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/capng_c-0.2.3/capng/capng.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/cool.io-1.8.1/cool.io_ext.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/yajl-ruby-1.4.3/yajl/yajl.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/cool.io-1.8.1/iobuffer_ext.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/nio4r-2.7.4/nio4r_ext.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] ERROR 0002: file '/opt/fluent/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0/msgpack-1.7.3/msgpack/msgpack.so' contains an invalid rpath '/opt/fluent/lib' in [/opt/fluent/lib] Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
NOTE: RHEL10 reached general availability (GA)