Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953624 - sys-apps/usbguard-1.13-r2 fails to build with dev-libs/protobuf-30.2 - error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string<char>&'}
Summary: sys-apps/usbguard-1.13-r2 fails to build with dev-libs/protobuf-30.2 - error:...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sebastian Pipping
URL: https://github.com/USBGuard/usbguard/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-12 08:00 UTC by 154koz3j6
Modified: 2025-04-13 22:06 UTC (History)
2 users (show)

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


Attachments
Build.log (build.log,138.42 KB, text/x-log)
2025-04-12 08:00 UTC, 154koz3j6
Details
Emerge --info (emerge-info.txt,9.83 KB, text/plain)
2025-04-12 08:01 UTC, 154koz3j6
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 154koz3j6 2025-04-12 08:00:49 UTC
Created attachment 924436 [details]
Build.log

Per the attached title.

usbguard-1.14-r2 fails to build with the following error:

error: invalid initialization of reference of type 'const std::string&' {aka 'const std::__cxx11::basic_string<char>&'} from expression of type 'google::protobuf::internal::GetTypeNameReturnType' {aka 'std::basic_string_view<char>'}

This previously wasn't an issue prior to updating in the last few days, and it built fine, even with GCC 15.

Please see the attached build.log and emerge --info.
Comment 1 154koz3j6 2025-04-12 08:01:08 UTC
Created attachment 924437 [details]
Emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-12 14:42:56 UTC
Nothing to do with GCC, everything to do with new Protobuf.