Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 874813

Summary: app-i18n/nkf-2.1.5-r1 fails to compile: patch -p1 failed with nkf-2.1.5-python-ssize_t-deux.patch
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal CC: sam, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-10-04 06:46:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-i18n/nkf-2.1.5-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-10-04 06:46:34 UTC
Created attachment 818428 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-10-04 06:46:35 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


 *             environment, line 2056:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/app-i18n/nkf-2.1.5-r1/files/nkf-2.1.5-python-ssize_t-deux.patch'
 *   patch -p1  failed with /var/tmp/portage/app-i18n/nkf-2.1.5-r1/files/nkf-2.1.5-python-ssize_t-deux.patch
|nkf.c:205:3: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion]
Comment 3 Larry the Git Cow gentoo-dev 2022-10-04 07:09:39 UTC
The bug has been closed via the following commit(s):

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

commit 40f93f66cdb909189c0a501418dffa6e11fa7711
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-04 06:53:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-04 07:09:25 +0000

    app-i18n/nkf: conditionally apply python patch
    
    Closes: https://bugs.gentoo.org/874813
    Signed-off-by: Sam James <sam@gentoo.org>

 app-i18n/nkf/nkf-2.1.5-r1.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-04 16:58:26 UTC
*** Bug 874945 has been marked as a duplicate of this bug. ***