[Slackbuilds-users] qt6 build error with new protobuf3-25.3 (Slackware 15.0 x86_64)

Matteo Bernardini matteo.bernardini at gmail.com
Tue Mar 12 09:59:20 UTC 2024


Il giorno mar 12 mar 2024 alle ore 06:43 myrequiem <
mrvladislavovich at gmail.com> ha scritto:

> Hello. After updating protobuf3-25.3, building package qt6 gives an error.
> The
> old protobuf3 package had 17 header files, the new package has only 5,
> which
> are located in
> /usr/include/google/protobuf/stubs/
> This is why the qt6 assembly complains that there are not enough headers:
>
> ERROR
> qt-everywhere-src-6.5.2/qtgrpc/src/tools/qtprotoccommon/generatorbase.cpp:
> fatal error: 'google/protobuf/stubs/logging.h' file not found
> #include <google/protobuf/stubs/logging.h>
>
> The same with the header google/protobuf/stubs/macros.h
>
> Even if you add these header files from the old protobuf3 package, the
> build
> still fails
>

it seems that a component, qtgrpc, added with qt6-6.5.x, uses some protobuf
deprecated headers if it find this installed: there are some specific
patches upstream fot qt-7.x (!!!) that I just backported to 6.5.2

https://git.slackbuilds.org/slackbuilds/commit/?id=87b5f24

Matteo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20240312/79670f2b/attachment-0001.htm>


More information about the SlackBuilds-users mailing list