Skip to content

Commit

Permalink
dependency: update rdkafka
Browse files Browse the repository at this point in the history
Build error occurs in AmazonLinux 2023.

    Extracting v1.9.0 into tmp/x86_64-amazon-linux/ports/librdkafka/1.9.0... OK
    Running 'configure' for librdkafka 1.9.0... OK
    Running 'compile' for librdkafka 1.9.0... OK
    Running 'install' for librdkafka 1.9.0... ERROR. Please review logs to see what happened:
    ----- contents of '/root/rpmbuild/BUILDROOT/fluent-package-5.0.5-1.amzn2023.x86_64/opt/fluent/lib/ruby/gems/3.2.0/gems/rdkafka-0.12.0/ext/tmp/x86_64-amazon-linux/ports/librdkafka/    1.9.0/install.log' -----
    make[1]: Entering directory '/root/rpmbuild/BUILDROOT/fluent-package-5.0.5-1.amzn2023.x86_64/opt/fluent/lib/ruby/gems/3.2.0/gems/rdkafka-0.12.0/ext/tmp/x86_64-amazon-linux/ports/    librdkafka/1.9.0/librdkafka-1.9.0/src'
    Install librdkafka to /root/rpmbuild/BUILDROOT/fluent-package-5.0.5-1.amzn2023.x86_64/opt/fluent/lib/ruby/gems/3.2.0/gems/rdkafka-0.12.0/ext/ports/x86_64-amazon-linux/librdkafka/    1.9.0
    d $DESTDIR/root/rpmbuild/BUILDROOT/fluent-package-5.0.5-1.amzn2023.x86_64/opt/fluent/lib/ruby/gems/3.2.0/gems/rdkafka-0.12.0/ext/ports/x86_64-amazon-linux/librdkafka/1.9.0/include    /librdkafka
    /bin/sh: line 1: d: command not found
    make[1]: [../mklove/Makefile.base:269: lib-install] Error 127 (ignored)
    d $DESTDIR/root/rpmbuild/BUILDROOT/fluent-package-5.0.5-1.amzn2023.x86_64/opt/fluent/lib/ruby/gems/3.2.0/gems/rdkafka-0.12.0/ext/ports/x86_64-amazon-linux/librdkafka/1.9.0/lib
    /bin/sh: line 1: d: command not found
    make[1]: [../mklove/Makefile.base:270: lib-install] Error 127 (ignored)
    rdkafka.h rdkafka_mock.h $DESTDIR/root/rpmbuild/BUILDROOT/fluent-package-5.0.5-1.amzn2023.x86_64/opt/fluent/lib/ruby/gems/3.2.0/gems/rdkafka-0.12.0/ext/ports/x86_64-amazon-linux/    librdkafka/1.9.0/include/librdkafka
    /bin/sh: line 1: rdkafka.h: command not found
    make[1]: *** [../mklove/Makefile.base:271: lib-install] Error 127
    make[1]: Leaving directory '/root/rpmbuild/BUILDROOT/fluent-package-5.0.5-1.amzn2023.x86_64/opt/fluent/lib/ruby/gems/3.2.0/gems/rdkafka-0.12.0/ext/tmp/x86_64-amazon-linux/ports/    librdkafka/1.9.0/librdkafka-1.9.0/src'
    make: *** [Makefile:44: install-subdirs] Error 2
    ----- end of file -----

Signed-off-by: Daijiro Fukuda <[email protected]>
  • Loading branch information
daipom committed Feb 3, 2025
1 parent 68ce060 commit cf1996e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fluent-package/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ gem "fluent-plugin-windows-eventlog", "0.8.3", platforms: windows_platforms
gem "fluent-plugin-windows-exporter", "1.0.0", platforms: windows_platforms

not_windows_platforms = [:ruby]
gem "rdkafka", "0.12.0", platforms: not_windows_platforms
gem "rdkafka", "0.12.1", platforms: not_windows_platforms
gem "systemd-journal", "2.0.0", platforms: not_windows_platforms
gem "fluent-plugin-systemd", "1.1.0", platforms: not_windows_platforms
gem "fluent-plugin-utmpx", "0.5.0", platforms: not_windows_platforms
4 changes: 2 additions & 2 deletions fluent-package/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ GEM
public_suffix (5.0.5)
racc (1.7.3)
rake (13.1.0)
rdkafka (0.12.0)
rdkafka (0.12.1)
ffi (~> 1.15)
mini_portile2 (~> 2.6)
rake (> 12)
Expand Down Expand Up @@ -334,7 +334,7 @@ DEPENDENCIES
opensearch-ruby (= 2.1.0)
prometheus-client (= 2.1.0)
rake
rdkafka (= 0.12.0)
rdkafka (= 0.12.1)
ruby-kafka (= 1.5.0)
serverengine (= 2.3.2)
sigdump (= 0.2.5)
Expand Down

0 comments on commit cf1996e

Please sign in to comment.