https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-cpp/opentelemetry-cpp-1.16.1 fails to compile. Discovered on: arm64 (internal ref: tinderbox_arm64) System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 913650 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: sdk/src/logs/CMakeFiles/opentelemetry_logs.dir/readable_log_record.cc.o /var/tmp/portage/dev-cpp/opentelemetry-cpp-1.16.1/work/opentelemetry-cpp-1.16.1/api/include/opentelemetry/logs/severity.h:20:21: error: found ‘:’ in nested-name-specifier, expected ‘::’
Reported to upstream - https://github.com/open-telemetry/opentelemetry-cpp/issues/3239 I'll add 2 fixes (build fails for 2 different reasons both in clang and gcc-15).
does look like cdstdint include patch was accepted upstream but the fix is not yet in portage attachment opentelemetry-cpp-1.16.1-cstdint.patch (will add) allows building with gcc-15.0.1_pre20250330
Created attachment 923596 [details, diff] <cstdint> include
portage version is versions behind upstream has up to 1.20.0 portage latest has only 1.16.1 patch was not applied to 1.16.1 release upstream