From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76D361580F6 for ; Wed, 05 Nov 2025 14:44:33 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 44926340EFA for ; Wed, 05 Nov 2025 14:44:33 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id CB3DA1103CB; Wed, 05 Nov 2025 14:44:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C3E7C1103CB for ; Wed, 05 Nov 2025 14:44:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7917E340E52 for ; Wed, 05 Nov 2025 14:44:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D65223BDE for ; Wed, 05 Nov 2025 14:44:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1762353760.10c6ca6ed6ee94467a43470fcd8988e2995117b6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/protobuf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/protobuf/Manifest dev-libs/protobuf/protobuf-32.1.ebuild dev-libs/protobuf/protobuf-33.0.ebuild dev-libs/protobuf/protobuf-9999.ebuild X-VCS-Directories: dev-libs/protobuf/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 10c6ca6ed6ee94467a43470fcd8988e2995117b6 X-VCS-Branch: master Date: Wed, 05 Nov 2025 14:44:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d27e3d7d-91c4-4e88-8360-f57d6056ea94 X-Archives-Hash: b4200cddbcd44e88ee091912b84ef7e6 commit: 10c6ca6ed6ee94467a43470fcd8988e2995117b6 Author: Paul Zander gmail com> AuthorDate: Thu Oct 23 12:31:46 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 5 14:42:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c6ca6e dev-libs/protobuf: add 33.0, cleanup 32.1 9999 Closes: https://bugs.gentoo.org/964947 Signed-off-by: Paul Zander gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44487 Signed-off-by: Sam James gentoo.org> dev-libs/protobuf/Manifest | 1 + dev-libs/protobuf/protobuf-32.1.ebuild | 20 ++------------------ .../{protobuf-9999.ebuild => protobuf-33.0.ebuild} | 13 ++----------- dev-libs/protobuf/protobuf-9999.ebuild | 13 ++----------- 4 files changed, 7 insertions(+), 40 deletions(-) diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest index 02133b74f71d..67c0bf153909 100644 --- a/dev-libs/protobuf/Manifest +++ b/dev-libs/protobuf/Manifest @@ -5,3 +5,4 @@ DIST protobuf-29.5.tar.gz 9338935 BLAKE2B cfffcab9e240047c1759f8304b0c2f553bf73c DIST protobuf-30.2.tar.gz 9506934 BLAKE2B 3a7d6bfa38500b16b1ce52b244fd9448fe7be2933a77224a1423a67e3ae3155846c0974ee1b6c579f6050f60b7784ace21b149b3cbdff2ef1e6bf954acbb1b51 SHA512 555d1b18d175eeaf17f3879f124d33080f490367840d35b34bfc4e4a5b383bf6a1d09f1570acb6af9c53ac4940a14572d46423b6e3dd0c712e7802c986fb6be6 DIST protobuf-31.1.tar.gz 9583956 BLAKE2B cd15fc6d25bee71681602cf97c19dc04de9900594b0c0648decf418bdcc0cf787315b2238c18cb0b1eaf7b163ddbbfb7853cc5cff635b4841fcb8b20d94825fd SHA512 5bf730e37183defcb29cf4831128f536ad8bcdce2b2b46b297d95f3de4a037b9ff3b6c57df66a039256dcefd828ba9d43c32b01a7a82aa5c881a9ae12cadb643 DIST protobuf-32.1.tar.gz 9676391 BLAKE2B f6c1faa260ecb57c0a1a5d4be7d56e431cac9e325a02b86d9eecd0318a0964618063db218a4720fcb1121614016f112ba00880a5b743a5c34f19f79ea4420735 SHA512 e7f8fe01912ba30cc7ce101beac1cfbd089bcb57b159a57d4d90cabd1b29d978ad322f0607e1b955617f035a6b68d4e7bc940fa4afa67d255a21f513a2c62172 +DIST protobuf-33.0.tar.gz 6872665 BLAKE2B 5d456c000117b590dea5b7e721a8b8d00d9e7067ba2156f082e4959a17fcf8d4f2e306f90335aad97e1a94dfd2491544d67cb29670f0022034fde574140a8066 SHA512 2956270a81631895ab6ed8c3c2a22b353a461b0827ee17a1c569b24374307a8e2525a06db6728140bff759a40e47a1d2a291cfb34293b364fe279f10468f3cb9 diff --git a/dev-libs/protobuf/protobuf-32.1.ebuild b/dev-libs/protobuf/protobuf-32.1.ebuild index eff14687ee12..c8f1615d6583 100644 --- a/dev-libs/protobuf/protobuf-32.1.ebuild +++ b/dev-libs/protobuf/protobuf-32.1.ebuild @@ -65,7 +65,6 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-23.3-static_assert-failure.patch" - # "${FILESDIR}/${PN}-28.0-disable-test_upb-lto.patch" # applied manually "${FILESDIR}/${PN}-30.0-findJsonCpp.patch" ) @@ -74,22 +73,18 @@ DOCS=( CONTRIBUTORS.txt README.md ) src_prepare() { cmake_src_prepare -# if tc-is-lto; then -# eapply "${FILESDIR}/${PN}-28.0-disable-test_upb-lto.patch" -# fi - cp "${FILESDIR}/FindJsonCpp.cmake" "${S}/cmake" || die } multilib_src_configure() { + # bug #963340 (seems to only happen when upgrading from older pb, + # possibly w/o tests too). use libupb && filter-lto # Currently, the only static library is libupb (and there is no # USE=static-libs), so optimize away the fat-lto build time penalty. use libupb && lto-guarantee-fat - use libupb && filter-lto - local mycmakeargs=( -Dprotobuf_BUILD_CONFORMANCE="$(usex test "$(usex conformance)")" -Dprotobuf_BUILD_LIBPROTOC="$(usex libprotoc)" @@ -144,10 +139,6 @@ multilib_src_test() { src_test() { local -x srcdir="${S}/src" -# local CMAKE_SKIP_TESTS=( -# "^full-test$" -# ) - local GTEST_SKIP_TESTS=( "PackedTest/12.DecodeEmptyPackedField" ) @@ -169,13 +160,6 @@ src_test() { [[ -n ${GTEST_SKIP_TESTS[*]} ]] && GTEST_FILTER+="${GTEST_FILTER+:}-$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" cmake-multilib_src_test - -# if tc-is-lto; then -# # GTEST_FILTER="${GTEST_FILTER//-/}" -# GTEST_FILTER="$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" -# -# cmake-multilib_src_test -# fi } multilib_src_install_all() { diff --git a/dev-libs/protobuf/protobuf-9999.ebuild b/dev-libs/protobuf/protobuf-33.0.ebuild similarity index 94% copy from dev-libs/protobuf/protobuf-9999.ebuild copy to dev-libs/protobuf/protobuf-33.0.ebuild index 968ee6f20dc7..c8f1615d6583 100644 --- a/dev-libs/protobuf/protobuf-9999.ebuild +++ b/dev-libs/protobuf/protobuf-33.0.ebuild @@ -65,7 +65,6 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-23.3-static_assert-failure.patch" - # "${FILESDIR}/${PN}-28.0-disable-test_upb-lto.patch" # applied manually "${FILESDIR}/${PN}-30.0-findJsonCpp.patch" ) @@ -74,10 +73,6 @@ DOCS=( CONTRIBUTORS.txt README.md ) src_prepare() { cmake_src_prepare -# if tc-is-lto; then -# eapply "${FILESDIR}/${PN}-28.0-disable-test_upb-lto.patch" -# fi - cp "${FILESDIR}/FindJsonCpp.cmake" "${S}/cmake" || die } @@ -160,20 +155,16 @@ src_test() { if [[ ! -v GTEST_FILTER ]]; then local -x GTEST_FILTER fi + [[ -n ${GTEST_RUN_TESTS[*]} ]] && GTEST_FILTER+="$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" [[ -n ${GTEST_SKIP_TESTS[*]} ]] && GTEST_FILTER+="${GTEST_FILTER+:}-$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" cmake-multilib_src_test - -# if tc-is-lto; then -# GTEST_FILTER="${GTEST_FILTER//-/}" -# -# cmake-multilib_src_test -# fi } multilib_src_install_all() { use libupb && strip-lto-bytecode + find "${ED}" -name "*.la" -delete || die if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then diff --git a/dev-libs/protobuf/protobuf-9999.ebuild b/dev-libs/protobuf/protobuf-9999.ebuild index 968ee6f20dc7..c8f1615d6583 100644 --- a/dev-libs/protobuf/protobuf-9999.ebuild +++ b/dev-libs/protobuf/protobuf-9999.ebuild @@ -65,7 +65,6 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-23.3-static_assert-failure.patch" - # "${FILESDIR}/${PN}-28.0-disable-test_upb-lto.patch" # applied manually "${FILESDIR}/${PN}-30.0-findJsonCpp.patch" ) @@ -74,10 +73,6 @@ DOCS=( CONTRIBUTORS.txt README.md ) src_prepare() { cmake_src_prepare -# if tc-is-lto; then -# eapply "${FILESDIR}/${PN}-28.0-disable-test_upb-lto.patch" -# fi - cp "${FILESDIR}/FindJsonCpp.cmake" "${S}/cmake" || die } @@ -160,20 +155,16 @@ src_test() { if [[ ! -v GTEST_FILTER ]]; then local -x GTEST_FILTER fi + [[ -n ${GTEST_RUN_TESTS[*]} ]] && GTEST_FILTER+="$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" [[ -n ${GTEST_SKIP_TESTS[*]} ]] && GTEST_FILTER+="${GTEST_FILTER+:}-$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" cmake-multilib_src_test - -# if tc-is-lto; then -# GTEST_FILTER="${GTEST_FILTER//-/}" -# -# cmake-multilib_src_test -# fi } multilib_src_install_all() { use libupb && strip-lto-bytecode + find "${ED}" -name "*.la" -delete || die if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then