Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

ERROR: Error installing fluent-plugin-kubernetes-objects: #111

@jpiazza35

Description

@jpiazza35

i am trying to install fluent-plugin-kubernetes-objects and when i go into the pod i see this error

Successfully installed fluent-plugin-multi-format-parser-1.0.0
Parsing documentation for fluent-plugin-multi-format-parser-1.0.0
Done installing documentation for fluent-plugin-multi-format-parser after 0 seconds
1 gem installed
Building native extensions. This could take a while...
ERROR: Error installing fluent-plugin-kubernetes-objects:
ERROR: Failed to build gem native extension.

current directory: /opt/bitnami/fluentd/gems/http-parser-1.2.3/ext

/opt/bitnami/ruby/bin/ruby -rrubygems /opt/bitnami/ruby/lib/ruby/gems/3.1.0/gems/rake-13.0.6/exe/rake RUBYARCHDIR=/opt/bitnami/fluentd/extensions/x86_64-linux/3.1.0-static/http-parser-1.2.3 RUBYLIBDIR=/opt/bitnami/fluentd/extensions/x86_64-linux/3.1.0-static/http-parser-1.2.3
gcc -fexceptions -O -fno-omit-frame-pointer -fno-strict-aliasing -Wall -Wextra -O3 -fPIC -o x86_64-linux/http-parser/http_parser.o -c ./http-parser/http_parser.c
mkdir -p x86_64-linux/http-parser
rake aborted!
Command failed with status (127): [gcc -fexceptions -O -fno-omit-frame-pointe...]
/opt/bitnami/fluentd/gems/ffi-compiler-1.0.1/lib/ffi-compiler/compile_task.rb:133:in `block (2 levels) in define_task!'
Tasks: TOP => default => x86_64-linux/libhttp-parser-ext.so => x86_64-linux/http-parser/http_parser.o
(See full trace by running task with --trace)

rake failed, exit code 1

Gem files will remain installed in /opt/bitnami/fluentd/gems/http-parser-1.2.3 for inspection.
Results logged to /opt/bitnami/fluentd/extensions/x86_64-linux/3.1.0-static/http-parser-1.2.3/gem_make.out

the configuration initscript section is like below :

initScripts:
install-plugins.sh: |
#!/bin/sh
echo hello
apt-get update && apt-get install -y build-essential
gem install fluent-plugin-multi-format-parser
gem install fluent-plugin-kubernetes-objects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions