Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946146 - dev-cpp/opentelemetry-cpp-1.16.1 fails to compile: severity.h:20:21: error: found : in nested-name-specifier, expected ::
Summary: dev-cpp/opentelemetry-cpp-1.16.1 fails to compile: severity.h:20:21: error: f...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-12-09 10:04 UTC by Agostino Sarubbo
Modified: 2025-01-10 16:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,256.45 KB, text/plain)
2024-12-09 10:04 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-12-09 10:04:34 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-12-09 10:04:35 UTC
Created attachment 913650 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-12-09 10:04:37 UTC
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 ‘::’
Comment 3 Sv. Lockal 2025-01-10 16:13:17 UTC
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).