#29846: webkit-gtk fails to build with perl 5.14 due to missing Switch.pm -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: ricci@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: perl5.14 -----------------------------------+---------------------------------------- {{{ ---> Computing dependencies for epiphany.. ---> Dependencies to be installed: webkit-gtk ---> Building webkit-gtk make: Entering directory `/opt/local/var/macports/build /_Volumes_Home_jeremy_src_macports_trunk_dports_www_webkit-gtk/webkit- gtk/work/webkit-1.2.7' rm -f ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp GEN DerivedSources/HTMLElementFactory.cpp GEN DerivedSources/HTMLEntityNames.c GEN DerivedSources/HTMLNames.cpp GEN DerivedSources/UserAgentStyleSheets.h GEN DerivedSources/XMLNames.cpp GEN DerivedSources/XMLNSNames.cpp /opt/local/bin/bison -d -p xpathyy WebCore/xml/XPathGrammar.y -o ./DerivedSources/XPathGrammar.cpp Name "Config::Config" used only once: possible typo at WebCore/css/make- css-file-arrays.pl line 33. Can't locate Switch.pm in @INC (@INC contains: ./WebCore/bindings/scripts /opt/local/lib/perl5/site_perl/5.14.0/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.14.0 /opt/local/lib/perl5/vendor_perl/5.14.0/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.0 /opt/local/lib/perl5/5.14.0 /darwin-multi-2level /opt/local/lib/perl5/5.14.0 .) at WebCore/dom/make_names.pl line 38. BEGIN failed--compilation aborted at WebCore/dom/make_names.pl line 38. make: *** [DerivedSources/HTMLElementFactory.cpp] Error 2 make: *** Waiting for unfinished jobs.... Can't locate Switch.pm in @INC (@INC contains: ./WebCore/bindings/scripts /opt/local/lib/perl5/site_perl/5.14.0/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.14.0 /opt/local/lib/perl5/vendor_perl/5.14.0/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.0 /opt/local/lib/perl5/5.14.0 /darwin-multi-2level /opt/local/lib/perl5/5.14.0 .) at WebCore/dom/make_names.pl line 38. BEGIN failed--compilation aborted at WebCore/dom/make_names.pl line 38. Can't locate Switch.pm in @INC (@INC contains: ./WebCore/bindings/scripts /opt/local/lib/perl5/site_perl/5.14.0/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.14.0 /opt/local/lib/perl5/vendor_perl/5.14.0/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.0 /opt/local/lib/perl5/5.14.0 /darwin-multi-2level /opt/local/lib/perl5/5.14.0 .) at WebCore/dom/make_names.pl line 38. BEGIN failed--compilation aborted at WebCore/dom/make_names.pl line 38. Can't locate Switch.pm in @INC (@INC contains: ./WebCore/bindings/scripts /opt/local/lib/perl5/site_perl/5.14.0/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.14.0 /opt/local/lib/perl5/vendor_perl/5.14.0/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.0 /opt/local/lib/perl5/5.14.0 /darwin-multi-2level /opt/local/lib/perl5/5.14.0 .) at WebCore/dom/make_names.pl line 38. BEGIN failed--compilation aborted at WebCore/dom/make_names.pl line 38. make: *** [DerivedSources/HTMLNames.cpp] Error 2 make: *** [DerivedSources/XMLNames.cpp] Error 2 make: *** [DerivedSources/XMLNSNames.cpp] Error 2 touch ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp echo '#ifndef XPathGrammar_h' > ./DerivedSources/XPathGrammar.h echo '#define XPathGrammar_h' >> ./DerivedSources/XPathGrammar.h cat ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp
./DerivedSources/XPathGrammar.h echo '#endif' >> ./DerivedSources/XPathGrammar.h rm -f ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp make: Leaving directory `/opt/local/var/macports/build /_Volumes_Home_jeremy_src_macports_trunk_dports_www_webkit-gtk/webkit- gtk/work/webkit-1.2.7' shell command " cd "/opt/local/var/macports/build /_Volumes_Home_jeremy_src_macports_trunk_dports_www_webkit-gtk/webkit- gtk/work/webkit-1.2.7" && /usr/bin/make -j7 -w all " returned error 2 Error: Target org.macports.build returned: shell command failed (see log for details) Warning: the following items did not execute (for webkit-gtk): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Failed to install webkit-gtk Log for webkit-gtk is at: /opt/local/var/macports/logs /_Volumes_Home_jeremy_src_macports_trunk_dports_www_webkit-gtk/webkit- gtk/main.log Error: The following dependencies were not installed: webkit-gtk Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}}
On my perl 5.12 prefix: {{{ $ port provides /opt/local/lib/perl5/5.12.3/Switch.pm /opt/local/lib/perl5/5.12.3/Switch.pm is provided by: perl5.12 }}} So this looks like Switch.pm has vanished from perl5.14 -- Ticket URL: <https://trac.macports.org/ticket/29846> MacPorts <http://www.macports.org/> Ports system for Mac OS