Skip to content
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

Docker Build failing on master #9604

Closed
AdheipSingh opened this issue Nov 18, 2024 · 5 comments
Closed

Docker Build failing on master #9604

AdheipSingh opened this issue Nov 18, 2024 · 5 comments
Labels
not-an-issue waiting-for-user Waiting for more information, tests or requested changes

Comments

@AdheipSingh
Copy link

Bug Report

Describe the bug

  • I am building fluent bit locally from master branch, somehow build fails to pass.

To Reproduce

  • Rubular link if applicable:
  • Example log message if applicable:
4.8 [ 34%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_config.c.o
165.0 [ 34%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_user.c.o
165.1 [ 34%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_utils.c.o
165.2 [ 34%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_stream.c.o
165.3 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_scheduler.c.o
165.4 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_http.c.o
165.6 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_http_parser.c.o
165.7 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_http_thread.c.o
165.8 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_socket.c.o
165.9 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_net.c.o
166.0 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_clock.c.o
166.1 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_cache.c.o
166.2 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_server.c.o
166.3 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_kernel.c.o
166.4 [ 35%] Building C object lib/monkey/mk_server/CMakeFiles/monkey-core-static.dir/mk_plugin.c.o
166.6 [ 35%] Linking C static library ../library/libmonkey.a
166.7 [ 35%] Built target monkey-core-static
166.7 [ 35%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdkafka_mock_cgrp.c.o
166.9 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
166.9                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_mock_cgrp.c:35:
166.9 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
166.9 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
166.9  1179 |         size_t sz, r;
166.9       |                    ^
167.2 [ 35%] Building C object src/stream_processor/CMakeFiles/flb-sp.dir/flb_sp.c.o
168.1 [ 35%] Building C object src/stream_processor/CMakeFiles/flb-sp.dir/flb_sp_key.c.o
168.3 [ 35%] Building C object src/stream_processor/CMakeFiles/flb-sp.dir/flb_sp_func_time.c.o
168.6 [ 35%] Building C object src/stream_processor/CMakeFiles/flb-sp.dir/flb_sp_func_record.c.o
168.8 [ 35%] Building C object src/stream_processor/CMakeFiles/flb-sp.dir/flb_sp_stream.c.o
169.0 [ 35%] Building C object src/stream_processor/CMakeFiles/flb-sp.dir/flb_sp_snapshot.c.o
169.3 [ 35%] Building C object src/stream_processor/CMakeFiles/flb-sp.dir/flb_sp_window.c.o
169.5 [ 35%] Building C object src/stream_processor/CMakeFiles/flb-sp.dir/flb_sp_groupby.c.o
169.8 [ 35%] Building C object src/stream_processor/CMakeFiles/flb-sp.dir/flb_sp_aggregate_func.c.o
170.1 [ 35%] Linking C static library ../../library/libflb-sp.a
170.2 [ 35%] Built target flb-sp
170.2 [ 35%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdkafka_error.c.o
170.4 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
170.4                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_error.c:35:
170.4 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
170.4 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
170.4  1179 |         size_t sz, r;
170.4       |                    ^
170.5 [ 35%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdkafka_fetcher.c.o
170.6 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
170.6                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_fetcher.c:35:
170.6 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
170.6 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
170.6  1179 |         size_t sz, r;
170.6       |                    ^
170.7 [ 35%] Building C object lib/luajit-cmake/host/buildvm/CMakeFiles/buildvm.dir/__/__/__/luajit-04dca791/src/host/buildvm.c.o
171.5 [ 35%] Building C object lib/luajit-cmake/host/buildvm/CMakeFiles/buildvm.dir/__/__/__/luajit-04dca791/src/host/buildvm_asm.c.o
171.7 [ 35%] Building C object lib/luajit-cmake/host/buildvm/CMakeFiles/buildvm.dir/__/__/__/luajit-04dca791/src/host/buildvm_fold.c.o
171.9 [ 35%] Building C object lib/luajit-cmake/host/buildvm/CMakeFiles/buildvm.dir/__/__/__/luajit-04dca791/src/host/buildvm_lib.c.o
172.1 [ 35%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdlist.c.o
172.2 [ 35%] Building C object lib/luajit-cmake/host/buildvm/CMakeFiles/buildvm.dir/__/__/__/luajit-04dca791/src/host/buildvm_peobj.c.o
172.3 [ 35%] Linking C executable ../../../../bin/buildvm
172.3 [ 35%] Built target buildvm
172.3 [ 35%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdlog.c.o
172.4 [ 35%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdmurmur2.c.o
172.5 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
172.5                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdlog.c:29:
172.5 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
172.5 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
172.5  1179 |         size_t sz, r;
172.5       |                    ^
172.5 [ 35%] [BISON][cmt_decode_prometheus_parser] Building parser with bison 3.8.2
172.5 cmt_decode_prometheus.y:2.1-37: warning: deprecated directive: '%name-prefix "cmt_decode_prometheus_"', use '%define api.prefix {cmt_decode_prometheus_}' [-Wdeprecated]
172.5     2 | %name-prefix "cmt_decode_prometheus_"
172.5       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
172.5       | %define api.prefix {cmt_decode_prometheus_}
172.5 cmt_decode_prometheus.y: warning: 5 shift/reduce conflicts [-Wconflicts-sr]
172.5 cmt_decode_prometheus.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
172.6 cmt_decode_prometheus.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
172.6 [ 35%] [FLEX][cmt_decode_prometheus_lexer] Building scanner with flex 2.6.4
172.6 cmt_decode_prometheus.l:196: warning, -s option given but default rule can be matched
172.6 [ 35%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdports.c.o
172.6 [ 35%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_gauge.c.o
172.7 [ 35%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdrand.c.o
172.8 [ 35%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdregex.c.o
172.8 [ 35%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_counter.c.o
172.9 [ 36%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdstring.c.o
172.9 [ 36%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_untyped.c.o
173.0 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_summary.c.o
173.1 [ 38%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdunittest.c.o
173.2 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_histogram.c.o
173.3 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
173.3                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdunittest.c:44:
173.3 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
173.3 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
173.3  1179 |         size_t sz, r;
173.3       |                    ^
173.4 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_metric.c.o
173.6 [ 38%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdvarint.c.o
173.6 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_metric_histogram.c.o
173.7 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_map.c.o
173.7 [ 38%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdmap.c.o
174.0 [ 38%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/snappy.c.o
174.2 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
174.2                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/snappy_compat.h:31,
174.2                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/snappy.c:61:
174.2 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
174.2 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
174.2  1179 |         size_t sz, r;
174.2       |                    ^
174.3 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_log.c.o
174.4 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_opts.c.o
174.6 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_time.c.o
174.6 [ 38%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/tinycthread.c.o
174.6 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_label.c.o
174.6 [ 38%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/tinycthread_extra.c.o
174.7 /src/fluent-bit/lib/librdkafka-2.4.0/src/tinycthread_extra.c: In function 'rwlock_rdlock':
174.7 /src/fluent-bit/lib/librdkafka-2.4.0/src/tinycthread_extra.c:150:13: warning: unused variable 'r' [-Wunused-variable]
174.7   150 |         int r = pthread_rwlock_rdlock(rwl);
174.7       |             ^
174.7 /src/fluent-bit/lib/librdkafka-2.4.0/src/tinycthread_extra.c: In function 'rwlock_wrlock':
174.7 /src/fluent-bit/lib/librdkafka-2.4.0/src/tinycthread_extra.c:156:13: warning: unused variable 'r' [-Wunused-variable]
174.7   156 |         int r = pthread_rwlock_wrlock(rwl);
174.7       |             ^
174.7 /src/fluent-bit/lib/librdkafka-2.4.0/src/tinycthread_extra.c: In function 'rwlock_rdunlock':
174.7 /src/fluent-bit/lib/librdkafka-2.4.0/src/tinycthread_extra.c:162:13: warning: unused variable 'r' [-Wunused-variable]
174.7   162 |         int r = pthread_rwlock_unlock(rwl);
174.7       |             ^
174.7 /src/fluent-bit/lib/librdkafka-2.4.0/src/tinycthread_extra.c: In function 'rwlock_wrunlock':
174.7 /src/fluent-bit/lib/librdkafka-2.4.0/src/tinycthread_extra.c:168:13: warning: unused variable 'r' [-Wunused-variable]
174.7   168 |         int r = pthread_rwlock_unlock(rwl);
174.7       |             ^
174.7 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_cat.c.o
174.8 [ 38%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdxxhash.c.o
175.0 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_filter.c.o
175.1 In function 'filter_context_label_key_value',
175.1     inlined from 'cmt_filter_with_label_pair' at /src/fluent-bit/lib/cmetrics/src/cmt_filter.c:607:15:
175.1 /src/fluent-bit/lib/cmetrics/src/cmt_filter.c:351:15: warning: 'gauge' may be used uninitialized [-Wmaybe-uninitialized]
175.1   351 |         map = cmt_map_create(CMT_UNTYPED, &gauge->opts,
175.1       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
175.1   352 |                              untyped->map->label_count,
175.1       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~
175.1   353 |                              labels, (void *) untyped);
175.1       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~
175.1 /src/fluent-bit/lib/cmetrics/src/cmt_filter.c: In function 'cmt_filter_with_label_pair':
175.1 /src/fluent-bit/lib/cmetrics/src/cmt_filter.c:260:23: note: 'gauge' was declared here
175.1   260 |     struct cmt_gauge *gauge;
175.1       |                       ^~~~~
175.2 [ 38%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/cJSON.c.o
175.2 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmetrics.c.o
175.3 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_encode_opentelemetry.c.o
175.9 [ 38%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdkafka_ssl.c.o
175.9 [ 38%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_decode_opentelemetry.c.o
176.1 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
176.1                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:36:
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
176.1  1179 |         size_t sz, r;
176.1       |                    ^
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c: In function 'rd_kafka_transport_ssl_send':
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:261:24: warning: variable 'r2' set but not used [-Wunused-but-set-variable]
176.1   261 |                 size_t r2;
176.1       |                        ^~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c: In function 'rd_kafka_ssl_set_certs':
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1385:17: warning: 'ENGINE_load_ssl_client_cert' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1385 |                 r    = ENGINE_load_ssl_client_cert(
176.1       |                 ^
176.1 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_conf.h:39,
176.1                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:116:
176.1 /usr/include/openssl/engine.h:644:5: note: declared here
176.1   644 | int ENGINE_load_ssl_client_cert(ENGINE *e, SSL *s, STACK_OF(X509_NAME) *ca_dn,
176.1       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c: In function 'rd_kafka_ssl_ctx_term':
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1455:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1455 |         RD_IF_FREE(rk->rk_conf.ssl.engine, ENGINE_free);
176.1       |         ^~~~~~~~~~
176.1 /usr/include/openssl/engine.h:493:27: note: declared here
176.1   493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
176.1       |                           ^~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c: In function 'rd_kafka_ssl_ctx_init_engine':
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1475:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1475 |         engine = ENGINE_by_id(rk->rk_conf.ssl.engine_id);
176.1       |         ^~~~~~
176.1 /usr/include/openssl/engine.h:336:31: note: declared here
176.1   336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
176.1       |                               ^~~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1477:17: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1477 |                 engine = ENGINE_by_id("dynamic");
176.1       |                 ^~~~~~
176.1 /usr/include/openssl/engine.h:336:31: note: declared here
176.1   336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
176.1       |                               ^~~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1486:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1486 |         if (!ENGINE_ctrl_cmd_string(engine, "SO_PATH",
176.1       |         ^~
176.1 /usr/include/openssl/engine.h:479:5: note: declared here
176.1   479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
176.1       |     ^~~~~~~~~~~~~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1488:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1488 |                 ENGINE_free(engine);
176.1       |                 ^~~~~~~~~~~
176.1 /usr/include/openssl/engine.h:493:27: note: declared here
176.1   493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
176.1       |                           ^~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1495:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1495 |         if (!ENGINE_ctrl_cmd_string(engine, "LIST_ADD", "1", 0)) {
176.1       |         ^~
176.1 /usr/include/openssl/engine.h:479:5: note: declared here
176.1   479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
176.1       |     ^~~~~~~~~~~~~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1496:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1496 |                 ENGINE_free(engine);
176.1       |                 ^~~~~~~~~~~
176.1 /usr/include/openssl/engine.h:493:27: note: declared here
176.1   493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
176.1       |                           ^~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1503:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1503 |         if (!ENGINE_ctrl_cmd_string(engine, "LOAD", NULL, 0)) {
176.1       |         ^~
176.1 /usr/include/openssl/engine.h:479:5: note: declared here
176.1   479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
176.1       |     ^~~~~~~~~~~~~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1504:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1504 |                 ENGINE_free(engine);
176.1       |                 ^~~~~~~~~~~
176.1 /usr/include/openssl/engine.h:493:27: note: declared here
176.1   493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
176.1       |                           ^~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1511:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1511 |         if (!ENGINE_init(engine)) {
176.1       |         ^~
176.1 /usr/include/openssl/engine.h:620:27: note: declared here
176.1   620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
176.1       |                           ^~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1512:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1512 |                 ENGINE_free(engine);
176.1       |                 ^~~~~~~~~~~
176.1 /usr/include/openssl/engine.h:493:27: note: declared here
176.1   493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
176.1       |                           ^~~~~~~~~~~
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c: In function 'rd_kafka_ssl_ctx_init':
176.1 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_ssl.c:1752:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
176.1  1752 |         RD_IF_FREE(rk->rk_conf.ssl.engine, ENGINE_free);
176.1       |         ^~~~~~~~~~
176.1 /usr/include/openssl/engine.h:493:27: note: declared here
176.1   493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
176.1       |                           ^~~~~~~~~~~
176.3 [ 39%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_encode_prometheus.c.o
176.5 [ 39%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_encode_prometheus_remote_write.c.o
176.5 [ 39%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdhdrhistogram.c.o
176.9 [ 39%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rddl.c.o
177.0 [ 39%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdkafka_plugin.c.o
177.2 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
177.2                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_plugin.c:29:
177.2 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
177.2 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
177.2  1179 |         size_t sz, r;
177.2       |                    ^
177.3 [ 39%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdkafka_sasl_cyrus.c.o
177.3 [ 39%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_decode_prometheus_remote_write.c.o
177.4 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
177.4                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_sasl_cyrus.c:30:
177.4 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
177.4 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
177.4  1179 |         size_t sz, r;
177.4       |                    ^
177.6 [ 39%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_encode_splunk_hec.c.o
177.7 [ 40%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdkafka_sasl_scram.c.o
177.8 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_encode_cloudwatch_emf.c.o
177.9 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
177.9                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_sasl_scram.c:34:
177.9 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
177.9 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
177.9  1179 |         size_t sz, r;
177.9       |                    ^
178.0 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_encode_text.c.o
178.1 [ 40%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdkafka_sasl_oauthbearer.c.o
178.2 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_encode_influx.c.o
178.3 In file included from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_int.h:114,
178.3                  from /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_sasl_oauthbearer.c:34:
178.3 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h: In function 'rd_kafka_buf_finalize_arraycnt':
178.3 /src/fluent-bit/lib/librdkafka-2.4.0/src/rdkafka_buf.h:1179:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
178.3  1179 |         size_t sz, r;
178.3       |                    ^
178.4 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_encode_msgpack.c.o
178.7 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_decode_msgpack.c.o
178.8 [ 40%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/rdgz.c.o
178.9 [ 40%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/lz4.c.o
179.1 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_decode_statsd.c.o
179.3 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_mpack_utils.c.o
179.4 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/external/remote.pb-c.c.o
179.5 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/external/types.pb-c.c.o
179.7 [ 40%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/cmt_atomic_gcc.c.o
179.7 [ 41%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/__/cmt_decode_prometheus_lexer.c.o
180.2 [ 41%] Building C object lib/cmetrics/src/CMakeFiles/cmetrics-static.dir/__/cmt_decode_prometheus_parser.c.o
180.4 In file included from cmt_decode_prometheus.y:12:
180.4 /src/fluent-bit/lib/cmetrics/src/cmt_decode_prometheus.c: In function 'parse_sample':
180.4 /src/fluent-bit/lib/cmetrics/src/cmt_decode_prometheus.c:1180:5: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
180.4  1180 |     strncpy(sample->value1, value1, len);
180.4       |     ^
180.4 /src/fluent-bit/lib/cmetrics/src/cmt_decode_prometheus.c:1173:11: note: length computed here
180.4  1173 |     len = strlen(value1);
180.4       |           ^~~~~~~~~~~~~~
180.4 /src/fluent-bit/lib/cmetrics/src/cmt_decode_prometheus.c:1190:5: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
180.4  1190 |     strncpy(sample->value2, value2, len);
180.4       |     ^
180.4 /src/fluent-bit/lib/cmetrics/src/cmt_decode_prometheus.c:1184:11: note: length computed here
180.4  1184 |     len = strlen(value2);
180.4       |           ^~~~~~~~~~~~~~
180.5 In function 'add_metric_histogram',
180.5     inlined from 'finish_metric' at /src/fluent-bit/lib/cmetrics/src/cmt_decode_prometheus.c:899:18:
180.5 /src/fluent-bit/lib/cmetrics/src/cmt_decode_prometheus.c:639:9: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
180.5   639 |     if (cmt_histogram_set_default(h, timestamp, bucket_defaults, sum, count,
180.5       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
180.5   640 |                 label_i,
180.5       |                 ~~~~~~~~
180.5   641 |                 label_i ? values_without_le : NULL)) {
180.5       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
180.5 /src/fluent-bit/lib/cmetrics/src/cmt_decode_prometheus.c: In function 'finish_metric':
180.5 /src/fluent-bit/lib/cmetrics/src/cmt_decode_prometheus.c:447:12: note: 'sum' was declared here
180.5   447 |     double sum;
180.5       |            ^~~
180.8 [ 41%] Linking C static library ../../../library/libcmetrics.a
180.9 [ 41%] Built target cmetrics-static
180.9 [ 41%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/lz4frame.c.o
181.4 [ 41%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctraces.c.o
181.5 [ 41%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_resource.c.o
181.6 [ 41%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_span.c.o
181.8 [ 41%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_link.c.o
182.0 [ 41%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_scope.c.o
182.1 [ 41%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_log.c.o
182.3 [ 41%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_id.c.o
182.3 [ 41%] Building C object lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/lz4hc.c.o
182.4 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_random.c.o
182.5 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_utils.c.o
182.6 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_attributes.c.o
182.7 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_version.c.o
182.8 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_mpack_utils.c.o
182.9 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_encode_text.c.o
183.2 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_encode_msgpack.c.o
183.4 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_encode_opentelemetry.c.o
183.8 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_decode_msgpack.c.o
184.1 [ 42%] Building C object lib/ctraces/src/CMakeFiles/ctraces-static.dir/ctr_decode_opentelemetry.c.o
184.4 [ 42%] Linking C static library ../../../library/libctraces.a
184.5 [ 42%] Built target ctraces-static
184.5 [ 42%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprofiles.c.o
184.6 [ 42%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_attribute_unit.c.o
184.7 [ 42%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_function.c.o
184.8 [ 42%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_instrumentation_scope.c.o
184.9 [ 42%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_line.c.o
185.0 [ 42%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_link.c.o
185.1 [ 42%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_location.c.o
185.2 [ 42%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_mapping.c.o
185.3 [ 42%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_profile.c.o
185.4 /src/fluent-bit/lib/cprofiles/src/cprof_profile.c: In function 'cprof_profile_destroy':
185.4 /src/fluent-bit/lib/cprofiles/src/cprof_profile.c:160:18: warning: assignment to 'struct cprof_mapping *' from incompatible pointer type 'struct cprof_location *' [-Wincompatible-pointer-types]
185.4   160 |         location = cfl_list_entry(iterator,
185.4       |                  ^
185.4 /src/fluent-bit/lib/cprofiles/src/cprof_profile.c:166:32: warning: passing argument 1 of 'cprof_location_destroy' from incompatible pointer type [-Wincompatible-pointer-types]
185.4   166 |         cprof_location_destroy(location);
185.4       |                                ^~~~~~~~
185.4       |                                |
185.4       |                                struct cprof_mapping *
185.4 In file included from /src/fluent-bit/lib/cprofiles/src/cprof_profile.c:21:
185.4 /src/fluent-bit/lib/cprofiles/include/cprofiles/cprofiles.h:304:52: note: expected 'struct cprof_location *' but argument is of type 'struct cprof_mapping *'
185.4   304 | void cprof_location_destroy(struct cprof_location *instance);
185.4       |                             ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
185.5 [ 43%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_resource_profiles.c.o
185.6 [ 43%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_resource.c.o
185.6 [ 43%] Linking C static library ../../../library/librdkafka.a
185.7 [ 43%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_sample.c.o
185.9 [ 43%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_scope_profiles.c.o
185.9 /usr/bin/ar: ../../../library/librdkafka.a: No space left on device
185.9 make[2]: *** [lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/build.make:1314: library/librdkafka.a] Error 1
185.9 make[2]: *** Deleting file 'library/librdkafka.a'
185.9 make[1]: *** [CMakeFiles/Makefile2:5232: lib/librdkafka-2.4.0/src/CMakeFiles/rdkafka.dir/all] Error 2
185.9 make[1]: *** Waiting for unfinished jobs....
185.9 [ 43%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_decode_opentelemetry.c.o
186.0 [ 43%] Building C object lib/cprofiles/src/CMakeFiles/cprofiles-static.dir/cprof_encode_text.c.o
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'decrement_indentation_level':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:211:15: warning: unused variable 'result' [-Wunused-variable]
186.0   211 |     cfl_sds_t result;
186.0       |               ^~~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_string':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:300:16: warning: unused variable 'index' [-Wunused-variable]
186.0   300 |     size_t     index;
186.0       |                ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_double':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:332:16: warning: unused variable 'index' [-Wunused-variable]
186.0   332 |     size_t     index;
186.0       |                ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_uint64_t':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:364:16: warning: unused variable 'index' [-Wunused-variable]
186.0   364 |     size_t     index;
186.0       |                ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_int64_t':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:396:15: warning: unused variable 'index' [-Wunused-variable]
186.0   396 |     size_t    index;
186.0       |               ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_bool':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:429:15: warning: unused variable 'index' [-Wunused-variable]
186.0   429 |     size_t    index;
186.0       |               ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cfl_kvlist':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:719:24: warning: unused variable 'index' [-Wunused-variable]
186.0   719 |     size_t             index;
186.0       |                        ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cfl_variant':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:861:47: warning: pointer targets in passing argument 5 of 'encode_bytes' differ in signedness [-Wpointer-sign]
186.0   861 |                                    value->data.as_bytes,
186.0       |                                    ~~~~~~~~~~~^~~~~~~~~
186.0       |                                               |
186.0       |                                               cfl_sds_t {aka char *}
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:230:26: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'cfl_sds_t' {aka 'char *'}
186.0   230 |                 uint8_t *value,
186.0       |                 ~~~~~~~~~^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_sample':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:983:43: warning: pointer targets in passing argument 6 of 'encode_int64_t_array' differ in signedness [-Wpointer-sign]
186.0   983 |                                   instance->location_index,
186.0       |                                   ~~~~~~~~^~~~~~~~~~~~~~~~
186.0       |                                           |
186.0       |                                           uint64_t * {aka long unsigned int *}
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:589:26: note: expected 'int64_t *' {aka 'long int *'} but argument is of type 'uint64_t *' {aka 'long unsigned int *'}
186.0   589 |                 int64_t *data_list,
186.0       |                 ~~~~~~~~~^~~~~~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:975:15: warning: unused variable 'index' [-Wunused-variable]
186.0   975 |     size_t    index;
186.0       |               ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:973:15: warning: unused variable 'sds_result' [-Wunused-variable]
186.0   973 |     cfl_sds_t sds_result;
186.0       |               ^~~~~~~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_mapping':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1071:15: warning: unused variable 'index' [-Wunused-variable]
186.0  1071 |     size_t    index;
186.0       |               ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_line':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1187:15: warning: unused variable 'index' [-Wunused-variable]
186.0  1187 |     size_t    index;
186.0       |               ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_location':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1229:24: warning: unused variable 'index' [-Wunused-variable]
186.0  1229 |     size_t             index;
186.0       |                        ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_function':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1320:12: warning: unused variable 'index' [-Wunused-variable]
186.0  1320 |     size_t index;
186.0       |            ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_attribute_unit':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1382:12: warning: unused variable 'index' [-Wunused-variable]
186.0  1382 |     size_t index;
186.0       |            ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_link':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1412:12: warning: unused variable 'index' [-Wunused-variable]
186.0  1412 |     size_t index;
186.0       |            ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_profile':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1662:44: warning: pointer targets in passing argument 6 of 'encode_uint64_t_array' differ in signedness [-Wpointer-sign]
186.0  1662 |                                    instance->location_indices,
186.0       |                                    ~~~~~~~~^~~~~~~~~~~~~~~~~~
186.0       |                                            |
186.0       |                                            int64_t * {aka long int *}
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:527:27: note: expected 'uint64_t *' {aka 'long unsigned int *'} but argument is of type 'int64_t *' {aka 'long int *'}
186.0   527 |                 uint64_t *data_list,
186.0       |                 ~~~~~~~~~~^~~~~~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1453:34: warning: unused variable 'index' [-Wunused-variable]
186.0  1453 |     size_t                       index;
186.0       |                                  ^~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_resource_profiles':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1961:27: warning: assignment to 'struct cprof_scope_profile *' from incompatible pointer type 'struct cprof_scope_profiles *' [-Wincompatible-pointer-types]
186.0  1961 |             scope_profile = cfl_list_entry(
186.0       |                           ^
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:1965:59: warning: passing argument 2 of 'encode_cprof_scope_profiles' from incompatible pointer type [-Wincompatible-pointer-types]
186.0  1965 |             result = encode_cprof_scope_profiles(context, scope_profile);
186.0       |                                                           ^~~~~~~~~~~~~
186.0       |                                                           |
186.0       |                                                           struct cprof_scope_profile *
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:184:46: note: expected 'struct cprof_scope_profiles *' but argument is of type 'struct cprof_scope_profile *'
186.0   184 |                 struct cprof_scope_profiles *instance);
186.0       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c: In function 'encode_cprof_instrumentation_scope':
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:2001:27: warning: unused variable 'profile' [-Wunused-variable]
186.0  2001 |     struct cprof_profile *profile;
186.0       |                           ^~~~~~~
186.0 /src/fluent-bit/lib/cprofiles/src/cprof_encode_text.c:2000:27: warning: unused variable 'iterator' [-Wunused-variable]
186.0  2000 |     struct cfl_list      *iterator;
186.0       |                           ^~~~~~~~
186.4 [ 43%] Linking C static library ../../../library/libcprofiles.a
186.5 [ 43%] Built target cprofiles-static
186.5 make: *** [Makefile:156: all] Error 2
------
Dockerfile:83
--------------------
  81 |         ..
  82 |     
  83 | >>> RUN make -j "$(getconf _NPROCESSORS_ONLN)"
  84 |     RUN install bin/fluent-bit /fluent-bit/bin/
  85 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c make -j \"$(getconf _NPROCESSORS_ONLN)\"" did not complete successfully: exit code: 2
  • Steps to reproduce the problem:

Expected behavior

Screenshots

Your Environment

  • Version used: master branch
  • Configuration:
  • Environment name and version (e.g. Kubernetes? What version?): linux
  • Server type and version:
  • Operating System and version:
  • Filters and plugins:

Additional context

@patrick-stephens
Copy link
Contributor

All docker builds happen in PRs as well as on merge so not sure what you mean it is failing. How are you building it?

Works fine for me and in CI: https://github.com/fluent/fluent-bit/actions/runs/11886754127/job/33118416464

@patrick-stephens
Copy link
Contributor

Ah this is not a code bug:

185.9 /usr/bin/ar: ../../../library/librdkafka.a: No space left on device

You have run out on space - if you're using a VM to compile in (e.g. Docker Desktop) then that may be full. Normally I do a docker system prune --volumes --force --all.

@patrick-stephens patrick-stephens added not-an-issue waiting-for-user Waiting for more information, tests or requested changes and removed status: waiting-for-triage labels Nov 18, 2024
@shuaich
Copy link
Contributor

shuaich commented Dec 10, 2024

I also have this build failure on master branch.

/usr/local/google/home/shuaichen/fluent-bit-k8s-filter-owner-referece/lib/cprofiles/src/cprof_profile.c: In function ‘cprof_profile_destroy’:
/usr/local/google/home/shuaichen/fluent-bit-k8s-filter-owner-referece/lib/cprofiles/src/cprof_profile.c:160:18: error: assignment to ‘struct cprof_mapping *’ from incompatible pointer type ‘struct cprof_location *’ [-Wincompatible-pointer-types]
  160 |         location = cfl_list_entry(iterator,
      |                  ^
/usr/local/google/home/shuaichen/fluent-bit-k8s-filter-owner-referece/lib/cprofiles/src/cprof_profile.c:166:32: error: passing argument 1 of ‘cprof_location_destroy’ from incompatible pointer type [-Wincompatible-pointer-types]
  166 |         cprof_location_destroy(location);
      |                                ^~~~~~~~
      |                                |
      |                                struct cprof_mapping *
In file included from /usr/local/google/home/shuaichen/fluent-bit-k8s-filter-owner-referece/lib/cprofiles/src/cprof_profile.c:21:
/usr/local/google/home/shuaichen/fluent-bit-k8s-filter-owner-referece/lib/cprofiles/include/cprofiles/cprofiles.h:304:52: note: expected ‘struct cprof_location *’ but argument is of type ‘struct cprof_mapping *’
  304 | void cprof_location_destroy(struct cprof_location *instance);

Looks like there is a compatibility issue with cprofiles library. Disabling cprofiles doesn't fix the build failure. option(FLB_PROFILES "Enable profiles support" No)

@patrick-stephens
Copy link
Contributor

Is that for macOS? #9699

@shuaich
Copy link
Contributor

shuaich commented Dec 11, 2024

The build was in LInux. Making local changes in https://github.com/fluent/fluent-bit/pull/9598/files fixes the build failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-an-issue waiting-for-user Waiting for more information, tests or requested changes
Projects
None yet
Development

No branches or pull requests

3 participants