Opened 13 years ago
Closed 12 years ago
#29846 closed defect (fixed)
webkit-gtk fails to build with perl 5.14 due to missing Switch.pm
Reported by: | jeremyhu (Jeremy Huddleston Sequoia) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | dbevans (David B. Evans) | |
Port: | webkit-gtk perl5.14 |
Description
---> 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
Change History (5)
comment:1 Changed 13 years ago by jmroot (Joshua Root)
comment:2 follow-up: 3 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
That link says none were removed... that seems to contradict what we see here... is Switch.pm just not getting installed for some reason?
comment:3 Changed 13 years ago by ghosthound
Owner: | changed from ricci@… to macports-tickets@… |
---|
Replying to jeremyhu@…:
That link says none were removed... that seems to contradict what we see here... is Switch.pm just not getting installed for some reason?
That link has been updated for perl 5.14.1 (at this time). See: http://search.cpan.org/~jesse/perl-5.14.0/pod/perldelta.pod#Removed_Modules_and_Pragmata
comment:4 Changed 13 years ago by jmroot (Joshua Root)
Cc: | devans@… added |
---|---|
Port: | webkit-gtk added |
Added p5-switch in r92273.
comment:5 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
http://search.cpan.org/dist/perl/pod/perldelta.pod#Removed_Modules_and_Pragmata
So I guess we need a p5-switch port.