Opened 18 years ago

Closed 15 years ago

#9807 closed defect (wontfix)

Mozilla wont build

Reported by: thorsten.johannvorderbrueggen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: afb@…
Port: mozilla

Description (last modified by jmpp@…)

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 \ $< > $@

Attachments (1)

patch-p3p-Makefile.in (971 bytes) - added by afb@… 16 years ago.
patch-p3p-Makefile.in

Download all attachments as: .zip

Change History (11)

comment:1 Changed 17 years ago by pipping@…

Milestone: Available Ports

comment:2 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:3 Changed 16 years ago by frstan@…

doing a complie and looking at the -d output it seems there are a lot of "Depreciated" errors (not warnings). Posibly turning this off would allow compile?

gmake[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/src/linking' gcc -o prlink.o -c -I/opt/local/include -O2 -pipe -Wmost -fno-common -no-cpp-precomp -pthread -O2 -fPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -Di386=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr -I../../../pr/include -I../../../pr/include/private -I/Developer/Headers/FlatCarbon prlink.c In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:21,

from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20, from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /Developer/Headers/FlatCarbon/CodeFragments.h:1, from prlink.c:48:

/usr/include/signal.h:84: error: syntax error before numeric constant prlink.c: In function 'pr_LoadViaCFM': prlink.c:701: warning: 'ResolveAliasFile' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h:1035) prlink.c: In function 'pr_FindSymbolInLib': prlink.c:1400: warning: 'c2pstrcpy' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:578) prlink.c: In function 'PR_GetLibraryFilePathname': prlink.c:1629: warning: assignment discards qualifiers from pointer target type gmake[5]: * [prlink.o] Error 1 gmake[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/src/linking' gmake[4]: * [export] Error 2 gmake[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/src' gmake[3]: * [export] Error 2 gmake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr' gmake[2]: * [export] Error 2

comment:4 Changed 16 years ago by keflavich@…

I have a similar (same?) error; has this been resolved?

{{{---> Building firefox-x11 with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla" && make all " returned error 2 Command output: mv -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr/_darwin.cfg /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr/prcpucfg.h cd private; /usr/bin/make export ../../../config/./nsinstall -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/include/private -m 444 ./pprio.h ./pprthred.h ./prpriv.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr/private cd obsolete; /usr/bin/make export ../../../config/./nsinstall -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/include/obsolete -m 444 ./pralarm.h ./probslet.h ./protypes.h ./prsem.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr/obsolete ../../config/./nsinstall -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/nsprpub/pr/include -m 444 ./nspr.h ./pratom.h ./prbit.h ./prclist.h ./prcmon.h ./prcountr.h ./prcvar.h ./prdtoa.h ./prenv.h ./prerr.h ./prerror.h ./prinet.h ./prinit.h ./prinrval.h ./prio.h ./pripcsem.h ./prlink.h ./prlock.h ./prlog.h ./prlong.h ./prmem.h ./prmon.h ./prmwait.h ./prnetdb.h ./prolock.h ./prpdce.h ./prprf.h ./prproces.h ./prrng.h ./prrwlock.h ./prshm.h ./prshma.h ./prsystem.h ./prthread.h ./prtime.h ./prtpool.h ./prtrace.h ./prtypes.h ./prvrsion.h ./prwin16.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr cd src; /usr/bin/make export cd io; /usr/bin/make export make[5]: Nothing to be done for `export'. cd linking; /usr/bin/make export /usr/bin/gcc-4.0 -o prlink.o -c -I/opt/local/include -O2 -pipe -Wmost -fno-common -no-cpp-precomp -pthread -O2 -fPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -Di386=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/dist/include/nspr -I../../../pr/include -I../../../pr/include/private -I/Developer/Headers/FlatCarbon prlink.c In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:21,

from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20, from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /Developer/Headers/FlatCarbon/CodeFragments.h:1, from prlink.c:48:

/usr/include/signal.h:84: error: syntax error before numeric constant prlink.c: In function 'pr_LoadViaCFM': prlink.c:701: warning: 'ResolveAliasFile' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h:1035) prlink.c: In function 'pr_FindSymbolInLib': prlink.c:1400: warning: 'c2pstrcpy' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:578) prlink.c: In function 'PR_GetLibraryFilePathname': prlink.c:1629: warning: assignment discards qualifiers from pointer target type make[5]: * [prlink.o] Error 1 make[4]: * [export] Error 2 make[3]: * [export] Error 2 make[2]: * [export] Error 2 make[1]: * [nspr] Error 2 make: * [all] Error 2

Error: The following dependencies failed to build: gnome-desktop-suite yelp firefox-x11 libgtkhtml zenity Error: Status 1 encountered during processing.}}}

comment:5 Changed 16 years ago by jmpp@…

Description: modified (diff)
Priority: HighNormal

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

Changed 16 years ago by afb@…

Attachment: patch-p3p-Makefile.in added

patch-p3p-Makefile.in

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Cc: afb@… added; thorsten.johannvorderbrueggen@… removed
Port: mozilla added

Guess you might as well commit this, Anders?

comment:7 Changed 15 years ago by wsiegrist@…

Does anyone still need the mozilla port? Or can we remove it in favor of seamonkey?

comment:8 Changed 15 years ago by afb@…

Does anyone still use the seamonkey port ? Should it mabybe be updated then ?

comment:9 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:10 Changed 15 years ago by tobypeterson

Resolution: wontfix
Status: newclosed

mozilla port appears to have been removed

Note: See TracTickets for help on using tickets.