Skip to content

Please tag releases that would match haproxy branches/releases #5

Description

@darix

it seems blindly updating the code from this repository can get you into a non working state.

[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c: In function ‘flt_otel_cli_parse_status’:
[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c:359:43: error: storage size of ‘status’ isn’t known
[   10s]   359 |         struct otelc_pipeline_status      status;
[   10s]       |                                           ^~~~~~
[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c:375:9: error: implicit declaration of function ‘otelc_pipeline_status_get’ [-Wimplicit-function-declaration]
[   10s]   375 |         otelc_pipeline_status_get(&status);
[   10s]       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c:381:54: error: invalid use of undefined type ‘const struct otelc_export_status’
[   10s]   381 |                 int64_t                  age = sig[i]->last_export_ms;
[   10s]       |                                                      ^~
[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c:391:94: error: invalid use of undefined type ‘const struct otelc_export_status’
[   10s]   391 |                         (void)snprintf(queued, sizeof(queued), "%" PRId64 "/%" PRId64, sig[i]->queue_depth, sig[i]->queue_capacity);
[   10s]       |                                                                                              ^~
[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c:391:115: error: invalid use of undefined type ‘const struct otelc_export_status’
[   10s]   391 |                         (void)snprintf(queued, sizeof(queued), "%" PRId64 "/%" PRId64, sig[i]->queue_depth, sig[i]->queue_capacity);
[   10s]       |                                                                                                                   ^~
[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c:392:84: error: invalid use of undefined type ‘const struct otelc_export_status’
[   10s]   392 |                         (void)snprintf(dropped, sizeof(dropped), "%" PRId64, sig[i]->dropped);
[   10s]       |                                                                                    ^~
[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c:402:142: error: invalid use of undefined type ‘const struct otelc_export_status’
[   10s]   402 |                 (void)memprintf(&msg, "%s     %-7s  %-13s  %11s  %11" PRId64 "  %11" PRId64 "  %s\n", msg, signal[i], queued, dropped, sig[i]->export_ok, sig[i]->export_fail, last);
[   10s]       |                                                                                                                                              ^~
[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c:402:161: error: invalid use of undefined type ‘const struct otelc_export_status’
[   10s]   402 |                 (void)memprintf(&msg, "%s     %-7s  %-13s  %11s  %11" PRId64 "  %11" PRId64 "  %s\n", msg, signal[i], queued, dropped, sig[i]->export_ok, sig[i]->export_fail, last);
[   10s]       |                                                                                                                                                                 ^~
[   10s] /home/abuild/rpmbuild/BUILD/haproxy-3.4.1+git0.3e888a769-build/haproxy-3.4.1+git0.3e888a769/haproxy-opentelemetry-6344dfa/src/cli.c:359:43: warning: unused variable ‘status’ [-Wunused-variable]
[   10s]   359 |         struct otelc_pipeline_status      status;
[   10s]       |                                           ^~~~~~

having releases would help packagers to package stable things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions