Summary: | dev-libs/libphonenumber (included from kde-apps/kitinerary): /usr/include/phonenumbers/phonenumber.pb.h:17:2: error: #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer headers. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Sturmlechner <asturm> |
Component: | Current packages | Assignee: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arthurzam, cjk, kde, sam, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | kitinerary-22.08.0:20220902-192240.log |
...and that said, after rebuilding libphonenumber against protobuf-3.20.1 it has this updated code snippet: #include <google/protobuf/port_def.inc> #if PROTOBUF_VERSION < 3020000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3020001 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif Also, there's this:
> !!! existing preserved libs:
> >>> package: dev-libs/protobuf-3.20.1
> * - /usr/lib64/libprotobuf-lite.so.30
> * - /usr/lib64/libprotobuf-lite.so.30.0.3
> * used by /usr/lib64/libqgis_core.so.3.22.9 (sci-geosciences/qgis-3.22.9)
...and this
> >>> package: dev-libs/protobuf-3.20.1
> * - /usr/lib64/libprotobuf.so.30
> * - /usr/lib64/libprotobuf.so.30.0.3
> * used by /usr/bin/protoc-gen-c (dev-libs/protobuf-c-1.4.1)
> * used by /usr/lib64/libopencv_dnn.so.4.6.0 (media-libs/opencv-4.6.0-r2)
> * used by /usr/lib64/marble/plugins/OsmPlugin.so (kde-apps/marble-22.08.0)
> * - /usr/lib64/libprotoc.so.30
> * - /usr/lib64/libprotoc.so.30.0.3
> * used by /usr/bin/protoc-gen-c (dev-libs/protobuf-c-1.4.1)
Yes, there should've been. commit bf2c616b680801cdabb202cf52e2cae5afca5dc2 (HEAD -> master, origin/master, origin/HEAD) Author: Sam James <sam@gentoo.org> Date: Fri Sep 2 21:32:57 2022 +0100 dev-libs/protobuf: crank subslot for 3.20.1 Signed-off-by: Sam James <sam@gentoo.org> The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e8aec7a404a47df8da672719a5924fc45bcf4d commit 61e8aec7a404a47df8da672719a5924fc45bcf4d Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-02 20:34:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-02 20:34:41 +0000 dev-libs/protobuf: sync live ebuild Bug: https://bugs.gentoo.org/868105 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/protobuf/protobuf-9999.ebuild | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) *** Bug 868039 has been marked as a duplicate of this bug. *** Ran into what I think is the same issue, when emerging @world yesterday. |
Created attachment 802795 [details] kitinerary-22.08.0:20220902-192240.log /usr/include/phonenumbers/phonenumber.pb.h has: #include <google/protobuf/port_def.inc> #if PROTOBUF_VERSION < 3019000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3019003 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif Should there have been a subslot bump, or is this a libphonenumber peculiarity? Also, commit 107e1921be56a3e9ca839e49f12572dee26ff07d left 9999 ebuild untouched (still at EAPI-7).