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

Bug 508410

Summary: dev-perl/cdk-perl-20120324 - Cdk.c:5244:2: error: too few arguments to function 'sv2int'
Product: Gentoo Linux Reporter: sos12_3 <sos12_3>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: sos12_3
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cdk-perl-20120324-report.tar.gz
patch from the tarball

Description sos12_3 2014-04-22 14:28:27 UTC
Known issue with recent changes in cdk-perl-20130717 that broke the build with
newer versions of ExtUtils::ParseXS

Buisness end of build.log:

Cdk.c: In function 'XS_Cdk__Menu_Draw':
Cdk.c:5244:2: error: too few arguments to function 'sv2int'
Cdk.xs:718:1: note: declared here
Cdk.c: In function 'XS_Cdk__Alphalist_SetFillerChar':
Cdk.c:16542:2: error: too few arguments to function 'sv2chtype'
Cdk.xs:341:1: note: declared here
Cdk.c: In function 'XS_Cdk__Alphalist_SetHighlight':
Cdk.c:16571:2: error: too few arguments to function 'sv2chtype'
Cdk.xs:341:1: note: declared here
make: *** [Cdk.o] Error 1
 * ERROR: dev-perl/cdk-perl-20120324::gentoo failed (compile phase):
 *   emake failed
 * 


Please see attached for `emerge --info` ,  `emerge -pqv`  ,  complete build.log  and  patch.
Comment 1 sos12_3 2014-04-22 14:31:05 UTC
Created attachment 375480 [details]
cdk-perl-20120324-report.tar.gz

sorry, hit submit too soon!
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-22 15:32:11 UTC
Comment on attachment 375480 [details]
cdk-perl-20120324-report.tar.gz

Please attach separate plain text files next time.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2014-08-25 17:49:55 UTC
Created attachment 383568 [details, diff]
patch from the tarball

I unpacked the tarball and attached the patch directly here, so that it's easier and more likely to be reviewed.
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2014-08-25 17:50:45 UTC
CC'ing author of the module -- is the patch in attachment 383568 [details, diff] safe/recommended?
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2014-08-25 18:58:29 UTC
issue known, already fixed upstream.

+*cdk-perl-20130816 (25 Aug 2014)
+
+  25 Aug 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+  +cdk-perl-20130816.ebuild:
+  version bump, fixes bug 508410
+