Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287654 - app-editors/nvi-1.81.6-r2 and -r3 fail to compile against dev-lang/perl-5.10 with USE="-ithreads"
Summary: app-editors/nvi-1.81.6-r2 and -r3 fail to compile against dev-lang/perl-5.10 ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Harald van Dijk (RETIRED)
Depends on:
Blocks: perl-5.10.1
  Show dependency tree
Reported: 2009-10-04 17:58 UTC by mephinet
Modified: 2009-10-10 22:49 UTC (History)
0 users

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

build log (nvi-build.log,169.93 KB, text/plain)
2009-10-04 18:03 UTC, mephinet
emerge info output (nvi-emerge.out,4.24 KB, text/plain)
2009-10-04 18:05 UTC, mephinet

Note You need to log in before you can comment on or make changes to this bug.
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.