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
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9347b98112e75fdb803d073f983614cb2ef116a3 commit 9347b98112e75fdb803d073f983614cb2ef116a3 Author: Sv. Lockal <lockalsash@gmail.com> AuthorDate: 2025-01-10 16:35:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-24 18:14:55 +0000 dev-cpp/opentelemetry-cpp: fix build with clang, gcc-15 and [prometheus] Closes: https://bugs.gentoo.org/946146 Closes: https://bugs.gentoo.org/946807 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/40088 Closes: https://github.com/gentoo/gentoo/pull/40088 Signed-off-by: Sam James <sam@gentoo.org> .../files/opentelemetry-cpp-1.16.1-cstdint.patch | 14 +++++++ ...entelemetry-cpp-1.16.1-fix-clang-template.patch | 43 ++++++++++++++++++++++ .../opentelemetry-cpp-1.16.1.ebuild | 9 ++++- 3 files changed, 64 insertions(+), 2 deletions(-)