Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936122 - net-libs/libgadu-1.12.2-r1: Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023
Summary: net-libs/libgadu-1.12.2-r1: Built-in generator --c_out specifies a maximum ed...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-15 17:51 UTC by tdr
Modified: 2024-07-19 05:35 UTC (History)
1 user (show)

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


Attachments
build log (libgadu-1.12.2-r1:20240715-175102.log,10.58 KB, text/plain)
2024-07-15 17:56 UTC, tdr
Details
emerge info (emerge.info,5.87 KB, text/plain)
2024-07-15 17:57 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-07-15 17:51:00 UTC
E0000 00:00:1721032124.315574      43 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023.
make[3]: *** [Makefile:610: packets.pb-c.h] Error 255

Reproducible: Always

Steps to Reproduce:
USE="ssl threads -doc -test" emerge -va1 =net-libs/libgadu-1.12.2-r1


Actual Results:  
Build with gnutls.... : yes
Build with openssl... : no
Build with protobuf-c : yes
Build with pthread... : yes
Build with zlib...... : yes
Build with docs...... : yes

WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1721065308.451174      43 command_line_interface.cc:1552] Built-in generator --c_out specifies a maximum edition PROTO3 which is not the protoc maximum 2023.
make[3]: *** [Makefile:610: packets.pb-c.h] Error 255
make[3]: Leaving directory '/var/tmp/portage/net-libs/libgadu-1.12.2-r1/work/libgadu-1.12.2/include'
make[2]: *** [Makefile:332: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-libs/libgadu-1.12.2-r1/work/libgadu-1.12.2/include'
make[1]: *** [Makefile:440: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/libgadu-1.12.2-r1/work/libgadu-1.12.2'
make: *** [Makefile:372: all] Error 2
 * ERROR: net-libs/libgadu-1.12.2-r1::gentoo failed (compile phase):

Expected Results:  
normal compile

fails with multiple gcc version:  gcc:15/gcc:14/gcc:13 
    (same error on any)
fails with minimal cflags:  -march=O2 -native -pipe
     (same error with any combination)
Comment 1 tdr 2024-07-15 17:56:39 UTC
Created attachment 897741 [details]
build log
Comment 2 tdr 2024-07-15 17:57:39 UTC
Created attachment 897742 [details]
emerge info
Comment 3 Larry the Git Cow gentoo-dev 2024-07-19 05:35:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a48ed2a0c9cfb428f50be5bf15b9fd1132c9c6

commit a7a48ed2a0c9cfb428f50be5bf15b9fd1132c9c6
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-07-18 19:09:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-19 05:34:39 +0000

    dev-libs/protobuf-c: add 1.5.0-r2
    
    Drop patch causing "Built-in generator --c_out specifies a maximum edition
    PROTO3 which is not the protoc maximum 2023"
    Add dependency on dev-cpp/abseil-cpp:=
    
    Closes: https://bugs.gentoo.org/934464
    Closes: https://bugs.gentoo.org/936230
    Closes: https://bugs.gentoo.org/936167
    Closes: https://bugs.gentoo.org/936122
    Closes: https://bugs.gentoo.org/936120
    Closes: https://bugs.gentoo.org/936030
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37607
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/protobuf-c-1.5.0-Clean-CMake.patch       | 52 ----------------------
 ...-1.5.0-r1.ebuild => protobuf-c-1.5.0-r2.ebuild} |  9 +++-
 2 files changed, 7 insertions(+), 54 deletions(-)