-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Compiling 0.127.0 fedora rawhide with go version go1.24.3 linux/amd64
Building: otelcol-ebpf-profiler
Using Builder: /home/paul/bin/ocb
Using Go: /usr/bin/go
❌ ERROR: failed to build the distribution 'otelcol-ebpf-profiler'.
🪵 Build logs for 'otelcol-ebpf-profiler'
----------------------
2025-06-10T21:39:53.169-0400 INFO internal/command.go:99 OpenTelemetry Collector Builder {"version": "v0.127.0"}
2025-06-10T21:39:53.169-0400 INFO internal/command.go:104 Using config file {"path": "manifest.yaml"}
2025-06-10T21:39:53.171-0400 INFO builder/config.go:160 Using go {"go-executable": "/usr/bin/go"}
2025-06-10T21:39:53.172-0400 INFO builder/main.go:99 Sources created {"path": "./_build"}
2025-06-10T21:42:25.195-0400 INFO builder/main.go:201 Getting go modules
2025-06-10T21:43:12.638-0400 INFO builder/main.go:110 Compiling
Error: failed to compile the OpenTelemetry Collector distribution: go subcommand failed with args '[build -trimpath -o otelcol-ebpf-profiler -ldflags=-s -w -gcflags=]': exit status 1, error message: # go.opentelemetry.io/ebpf-profiler/processmanager/ebpf
In file included from ./../../support/ebpf/types.h:7,
from /var/tmp/otelcol/pkg/mod/go.opentelemetry.io/[email protected]/processmanager/ebpf/ebpf.go:32:
./../../support/ebpf/kernel.h:50:15: error: 'bool' cannot be defined via 'typedef'
50 | typedef _Bool bool;
| ^~~~
./../../support/ebpf/kernel.h:50:15: note: 'bool' is a keyword with '-std=c23' onwards
# go.opentelemetry.io/ebpf-profiler/interpreter/hotspot
In file included from ./../../support/ebpf/types.h:7,
from /var/tmp/otelcol/pkg/mod/go.opentelemetry.io/[email protected]/interpreter/hotspot/instance.go:34:
./../../support/ebpf/kernel.h:50:15: error: 'bool' cannot be defined via 'typedef'
50 | typedef _Bool bool;
| ^~~~
./../../support/ebpf/kernel.h:50:15: note: 'bool' is a keyword with '-std=c23' onwards
# go.opentelemetry.io/ebpf-profiler/interpreter/nodev8
In file included from ./../../support/ebpf/types.h:7,
from /var/tmp/otelcol/pkg/mod/go.opentelemetry.io/[email protected]/interpreter/nodev8/v8.go:187:
./../../support/ebpf/kernel.h:50:15: error: 'bool' cannot be defined via 'typedef'
50 | typedef _Bool bool;
| ^~~~
./../../support/ebpf/kernel.h:50:15: note: 'bool' is a keyword with '-std=c23' onwards
# go.opentelemetry.io/ebpf-profiler/interpreter/perl
In file included from ./../../support/ebpf/types.h:7,
from /var/tmp/otelcol/pkg/mod/go.opentelemetry.io/[email protected]/interpreter/perl/data.go:20:
./../../support/ebpf/kernel.h:50:15: error: 'bool' cannot be defined via 'typedef'
50 | typedef _Bool bool;
| ^~~~
./../../support/ebpf/kernel.h:50:15: note: 'bool' is a keyword with '-std=c23' onwards
# go.opentelemetry.io/ebpf-profiler/interpreter/php
In file included from ./../../support/ebpf/types.h:7,
from /var/tmp/otelcol/pkg/mod/go.opentelemetry.io/[email protected]/interpreter/php/decode_amd64.go:18:
./../../support/ebpf/kernel.h:50:15: error: 'bool' cannot be defined via 'typedef'
50 | typedef _Bool bool;
| ^~~~
./../../support/ebpf/kernel.h:50:15: note: 'bool' is a keyword with '-std=c23' onwards
# go.opentelemetry.io/ebpf-profiler/interpreter/python
In file included from ./../../support/ebpf/types.h:7,
from /var/tmp/otelcol/pkg/mod/go.opentelemetry.io/[email protected]/interpreter/python/decode_amd64.go:17:
./../../support/ebpf/kernel.h:50:15: error: 'bool' cannot be defined via 'typedef'
50 | typedef _Bool bool;
| ^~~~
./../../support/ebpf/kernel.h:50:15: note: 'bool' is a keyword with '-std=c23' onwards
----------------------
make: *** [Makefile:25: build] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.sqf9PK (%build)
dosubot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working