Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953514 - media-libs/tg_owt-0_pre20241202 with clang20: error: 'lifetimebound' attribute cannot be applied to a parameter of a function that returns void; did you mean 'lifetime_capture_by(X)'
Summary: media-libs/tg_owt-0_pre20241202 with clang20: error: 'lifetimebound' attribut...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Esteve Varela Colominas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-10 14:31 UTC by David Carlos Manuelda
Modified: 2025-04-15 07:21 UTC (History)
3 users (show)

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


Attachments
emerge --info (emergeinfo.txt,21.83 KB, text/plain)
2025-04-10 14:31 UTC, David Carlos Manuelda
Details
Build log (build.log,74.55 KB, text/x-log)
2025-04-10 14:32 UTC, David Carlos Manuelda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2025-04-10 14:31:37 UTC
There are several messages like this:

/tmp/portage/media-libs/tg_owt-0_pre20241202/work/tg_owt-be39b8c8d0db1f377118f813f0c4bd331d341d5e/src/api/candidate.h:108:40: error: 'lifetimebound' attribute cannot be applied to a parameter of a function that returns void; did you mean 'lifetime_capture_by(X)'
  108 |   void set_type(absl::string_view type ABSL_ATTRIBUTE_LIFETIME_BOUND) {
      |                                        ^
/usr/include/absl/base/attributes.h:821:41: note: expanded from macro 'ABSL_ATTRIBUTE_LIFETIME_BOUND'
  821 | #define ABSL_ATTRIBUTE_LIFETIME_BOUND [[clang::lifetimebound]]
      |                                         ^
1 error generated.


Reproducible: Always
Comment 1 David Carlos Manuelda 2025-04-10 14:31:52 UTC
Created attachment 924256 [details]
emerge --info
Comment 2 David Carlos Manuelda 2025-04-10 14:32:32 UTC
Created attachment 924257 [details]
Build log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-10 14:38:56 UTC
See https://forums.gentoo.org/viewtopic-t-1173521.html.
Comment 4 Esteve Varela Colominas 2025-04-15 07:02:08 UTC
Thanks for the report! What's your installed version of dev-cpp/abseil-cpp?
Comment 5 David Carlos Manuelda 2025-04-15 07:21:26 UTC
(In reply to Esteve Varela Colominas from comment #4)
> Thanks for the report! What's your installed version of dev-cpp/abseil-cpp?

dev-cpp/abseil-cpp-20250127.1:0/2501.1.0::gentoo (I'm using ~amd64 profile)