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

Bug 287654

Summary: app-editors/nvi-1.81.6-r2 and -r3 fail to compile against dev-lang/perl-5.10 with USE="-ithreads"
Product: Gentoo Linux Reporter: mephinet <mephinet>
Component: Current packagesAssignee: Harald van Dijk (RETIRED) <truedfx>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 280724    
Attachments: build log
emerge info output

Description mephinet 2009-10-04 17:58:18 UTC
With perl 5.10 from the perl-experimental overlay, the stable version of app-editors/nvi, 1.81.6-r2,  fails to compile (at least with the perl use flag set) with:

../dist/../perl_api/../common/../ex/extern.h:90: error: conflicting types for 'Perl_re_compile'
Comment 1 mephinet 2009-10-04 18:03:50 UTC
Created attachment 206015 [details]
build log
Comment 2 mephinet 2009-10-04 18:05:49 UTC
Created attachment 206017 [details]
emerge info output
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2009-10-06 16:54:52 UTC
With perl-5.10.1 from the main tree, I get a link error related to --as-needed (which went unnoticed with perl-5.8.x and which I'll fix), but no compile error. Is this specific to the perl 5.10 in the overlay?
Comment 4 mephinet 2009-10-07 21:34:11 UTC
Can't say so far whether this is reproducible with the portage tree version of perl - I'll give it a try on a non-perl-experimental machine...

Just tried app-editors/nvi-1.81.6-r3 from the portage tree, with identical result.
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2009-10-10 16:03:46 UTC
I'm getting the same results as you after trying on amd64, with perl 5.10 from the main tree. Summary adjusted.
Comment 6 Harald van Dijk (RETIRED) gentoo-dev 2009-10-10 16:41:22 UTC
Adjusting summary again... It's working with USE=ithreads because then re_compile gets defined as a function-like macro rather than an object-like macro, meaning there is no substitution in re_compile __P(...). I'm testing a fix.
Comment 7 Harald van Dijk (RETIRED) gentoo-dev 2009-10-10 22:49:57 UTC
Fixed now, and thanks for reporting.