Re: [MacPorts] #9807: Mozilla wont build
#9807: Mozilla wont build --------------------------------------------------------+------------------- Reporter: thorsten.johannvorderbrueggen@t-online.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.2 Resolution: | Keywords: --------------------------------------------------------+------------------- Changes (by jmpp@macports.org): * priority: High => Normal Old description:
Building mozilla during devhelp build!
gmake[4]: Leaving directory `/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_mozilla/work/mozilla/extensions/p3p/src' /opt/local/bin/perl -I../../config ../../config/preprocessor.pl -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \ -DHAS_TMPL_RETENTION\ resources/content/p3p.xsl.in > p3p200010.xsl ../../config/preprocessor.pl: invalid argument to -D: HAS_TMPL_RETENTIONresources/content/p3p.xsl.in gmake[3]: *** [p3p200010.xsl] Fehler 2 gmake[3]: *** Datei >>p3p200010.xsl<< wird gel"oscht gmake[3]: Leaving directory `/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_mozilla/work/mozilla/extensions/p3p' gmake[2]: *** [libs] Fehler 2 gmake[2]: Leaving directory `/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_mozilla/work/mozilla/extensions' gmake[1]: *** [libs] Fehler 2 gmake[1]: Leaving directory `/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_mozilla/work/mozilla' make: *** [all] Error 2
-----------
Solution: in mozilla/extension/p3p add a space in every line who has a -D*. Example:
wrong line p3p200010.xsl: resources/content/p3p.xsl.in Makefile.in @$(RM) -f $@ $(PP) -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \ -DHAS_TMPL_RETENTION\ $< > $@
corrected line p3p200010.xsl: resources/content/p3p.xsl.in Makefile.in @$(RM) -f $@ $(PP) -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \ -DHAS_TMPL_RETENTION \ $< > $@
New description: Building mozilla during devhelp build! {{{ gmake[4]: Leaving directory `/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_mozilla/work/mozilla/extensions/p3p/src' /opt/local/bin/perl -I../../config ../../config/preprocessor.pl -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \ -DHAS_TMPL_RETENTION\ resources/content/p3p.xsl.in > p3p200010.xsl ../../config/preprocessor.pl: invalid argument to -D: HAS_TMPL_RETENTIONresources/content/p3p.xsl.in gmake[3]: *** [p3p200010.xsl] Fehler 2 gmake[3]: *** Datei >>p3p200010.xsl<< wird gel"oscht gmake[3]: Leaving directory `/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_mozilla/work/mozilla/extensions/p3p' gmake[2]: *** [libs] Fehler 2 gmake[2]: Leaving directory `/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_mozilla/work/mozilla/extensions' gmake[1]: *** [libs] Fehler 2 gmake[1]: Leaving directory `/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_mozilla/work/mozilla' make: *** [all] Error 2 }}} Solution: in mozilla/extension/p3p add a space in every line who has a -D*. Example: wrong line p3p200010.xsl: resources/content/p3p.xsl.in Makefile.in @$(RM) -f $@ $(PP) -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \ -DHAS_TMPL_RETENTION\ $< > $@ corrected line p3p200010.xsl: resources/content/p3p.xsl.in Makefile.in @$(RM) -f $@ $(PP) -DNAMESPACE=http://www.w3.org/2000/10/18/P3Pv1 \ -DHAS_TMPL_RETENTION \ $< > $@ Comment: To the people pasting terminal output in this ticket, please read the WikiFormatting guidelines to learn how to do it properly*, as otherwise such blocks seriously mess up the display. * About doing it __properly__, for instance, fourth comment did use the `{{{ }}}` wrappers, but without leaving a new line between them and the paste, thus preventing them from working. Thanks! -jmpp -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/9807#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts