Perl-5.10 added the given/when switch feature. Perl-5.12 deprecated Switch.pm's switch/case. Perl-5.14 removed Switch.pm. Thus the build-time error: export LD_LIBRARY_PATH=/var/tmp/portage/www-client/chromium-14.0.794.0/work/chromium-14.0.794.0/out/Release/lib.host:/var/tmp/portage/www-client/chromium-14.0.794.0/work/chromium-14.0.794.0/out/Release/lib.target:$LD_LIBRARY_PATH; cd third_party/WebKit/Source/WebCore/WebCore.gyp; mkdir -p /var/tmp/portage/www-client/chromium-14.0.794.0/work/chromium-14.0.794.0/out/Release/obj/gen/webkit; perl ../make-hash-tools.pl "/var/tmp/portage/www-client/chromium-14.0.794.0/work/chromium-14.0.794.0/out/Release/obj/gen/webkit" "/var/tmp/portage/www-client/chromium-14.0.794.0/work/chromium-14.0.794.0/third_party/WebKit/Source/WebCore/html/DocTypeStrings.gperf" Can't locate Switch.pm in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.14.1/x86_64-linux /usr/local/lib64/perl5/5.14.1 /usr/lib64/perl5/vendor_perl/5.14.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.14.1 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.14.1/x86_64-linux /usr/lib64/perl5/5.14.1 .) at ../make-hash-tools.pl line 23. BEGIN failed--compilation aborted at ../make-hash-tools.pl line 23. make: *** [out/Release/obj/gen/webkit/DocTypeStrings.cpp] Error 2 make: *** Waiting for unfinished jobs.... emake failed Patch incoming... Reproducible: Always
Created attachment 277559 [details, diff] chromium-14.0.794.0-perl514.patch Patch for perl-5.10+ (perl-5.8 is still in portage, and note this is purely a build-time dependency; it makes sense to conditionally apply in the ebuild).
This is very similar to bug #364489 . I think we may need to backport the patch for ~arch chromium, so I'll keep this as a separate bug.
Fixed without revbump, thanks for reporting.
The patch you made was CR-LF formatted so it doesn't apply.