Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939200 - dev-libs/protobuf-25.4 fails to build, applying protobuf-28.0-disable-test_upb-lto.patch
Summary: dev-libs/protobuf-25.4 fails to build, applying protobuf-28.0-disable-test_up...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-07 02:28 UTC by Keith Harrison
Modified: 2024-09-07 14:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Harrison 2024-09-07 02:28:38 UTC
emerge dev-libs/protobuf-25.4 fails during patch phase

Reproducible: Always

Steps to Reproduce:
1. emerge -1 protobuf
2.
3.
Actual Results:  
 * Package:    dev-libs/protobuf-25.4:0/25.4.0
 * Repository: gentoo
 * Maintainer: negril.nx+gentoo@gmail.com proxy-maint@gentoo.org
 * USE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux libprotoc protobuf protoc zlib
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking protobuf-25.4.tar.gz to /var/tmp/portage/dev-libs/protobuf-25.4/work
>>> Source unpacked in /var/tmp/portage/dev-libs/protobuf-25.4/work
>>> Preparing source in /var/tmp/portage/dev-libs/protobuf-25.4/work/protobuf-25.4 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/protobuf-25.4/work/protobuf-25.4"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-libs/protobuf-25.4/work/protobuf-25.4_build"
 * Applying protobuf-26.1-disable-32-bit-tests.patch ...                                                                                                                                                                                                 [ ok ]
 * Applying protobuf-23.3-static_assert-failure.patch ...                                                                                                                                                                                                [ ok ]
 * Applying protobuf-27.4-findJsonCpp.patch ...
patching file cmake/conformance.cmake
Hunk #1 succeeded at 9 with fuzz 1.
Hunk #2 succeeded at 113 (offset -27 lines).                                                                                                                                                                                                             [ ok ]
 * Applying protobuf-28.0-disable-test_upb-lto.patch ...
patching file cmake/tests.cmake
Hunk #1 FAILED at 175.
1 out of 1 hunk FAILED -- saving rejects to file cmake/tests.cmake.rej                                                                                                                                                                                   [ !! ]
 * ERROR: dev-libs/protobuf-25.4::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/dev-libs/protobuf-25.4/files/protobuf-28.0-disable-test_upb-lto.patch
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called src_prepare
 *             environment, line 2900:  Called cmake_src_prepare
 *             environment, line 1076:  Called default_src_prepare
 *      phase-functions.sh, line  949:  Called __eapi8_src_prepare
 *             environment, line  353:  Called eapply '--' '/var/tmp/portage/dev-libs/protobuf-25.4/files/protobuf-26.1-disable-32-bit-tests.patch' '/var/tmp/portage/dev-libs/protobuf-25.4/files/protobuf-23.3-static_assert-failure.patch' '/var/tmp/portage/dev-libs/protobuf-25.4/files/protobuf-27.4-findJsonCpp.patch' '/var/tmp/portage/dev-libs/protobuf-25.4/files/protobuf-28.0-disable-test_upb-lto.patch'
 *             environment, line 1233:  Called _eapply_patch '/var/tmp/portage/dev-libs/protobuf-25.4/files/protobuf-28.0-disable-test_upb-lto.patch'
 *             environment, line 1171:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/dev-libs/protobuf-25.4/files/protobuf-28.0-disable-test_upb-lto.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/protobuf-25.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/protobuf-25.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/protobuf-25.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/protobuf-25.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/protobuf-25.4/work/protobuf-25.4'
 * S: '/var/tmp/portage/dev-libs/protobuf-25.4/work/protobuf-25.4'

Expected Results:  
success
Comment 1 Greg Kubaryk 2024-09-07 04:00:15 UTC
for posterity, add 'emerge --info' as a comment
Comment 2 Larry the Git Cow gentoo-dev 2024-09-07 14:27:34 UTC
The bug has been closed via the following commit(s):

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

commit a6ffa41f3a4584ca9380cdd510ff2a3f046840de
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-09-07 11:13:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-07 14:26:37 +0000

    dev-libs/protobuf: don't apply libupb patch
    
    No libupb in that version.
    
    Closes: https://bugs.gentoo.org/939200
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/protobuf/protobuf-25.4.ebuild | 1 -
 1 file changed, 1 deletion(-)