Opened 19 years ago

Closed 19 years ago

#5544 closed defect (fixed)

BUG: Mozilla will not build.

Reported by: wingdo@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: yves@…, markd@…
Port:

Description

Mozilla is needed as a dependency for a number of applications, yet it will not build. Below is the output from my failure to build.

sudo port install mozilla ---> Fetching mozilla ---> Attempting to fetch mozilla-source-1.8b1.tar.bz2 from http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.8b1/source/ ---> Verifying checksum(s) for mozilla ---> Extracting mozilla ---> Configuring mozilla ---> Building mozilla with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla" && make all" returned error 2 Command output: nsFontMetricsGTK.cpp g++-3.3 -o nsFontMetricsGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Darwin8.2.0\" -DOSARCH=\"Darwin\" -DUSE_XPRINT -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../x11shared -DXTHREADS -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/X11R6/include -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/xprintutil -I../../../dist/include/gfx -I../../../dist/include -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla/dist/include/nspr

-I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions

-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFontMetricsGTK.pp nsFontMetricsGTK.cpp nsGdkUtils.cpp g++-3.3 -o nsGdkUtils.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Darwin8.2.0\" -DOSARCH=\"Darwin\" -DUSE_XPRINT -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../x11shared -DXTHREADS -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/X11R6/include -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/xprintutil -I../../../dist/include/gfx -I../../../dist/include -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla/dist/include/nspr

-I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions

-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsGdkUtils.pp nsGdkUtils.cpp nsFontMetricsXft.cpp g++-3.3 -o nsFontMetricsXft.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Darwin8.2.0\" -DOSARCH=\"Darwin\" -DUSE_XPRINT -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../x11shared -DXTHREADS -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/X11R6/include -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/xprintutil -I../../../dist/include/gfx -I../../../dist/include -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla/dist/include/nspr

-I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions

-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFontMetricsXft.pp nsFontMetricsXft.cpp nsRegionGTK2.cpp g++-3.3 -o nsRegionGTK2.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Darwin8.2.0\" -DOSARCH=\"Darwin\" -DUSE_XPRINT -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../x11shared -DXTHREADS -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/X11R6/include -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/xprintutil -I../../../dist/include/gfx -I../../../dist/include -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla/dist/include/nspr

-I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions

-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsRegionGTK2.pp nsRegionGTK2.cpp nsNativeThemeGTK.cpp g++-3.3 -o nsNativeThemeGTK.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"Darwin8.2.0\" -DOSARCH=\"Darwin\" -DUSE_XPRINT -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../x11shared -DXTHREADS -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/X11R6/include -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content -I../../../dist/include/layout -I../../../dist/include/xprintutil -I../../../dist/include/gfx -I../../../dist/include -I/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla/dist/include/nspr

-I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions

-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsNativeThemeGTK.pp nsNativeThemeGTK.cpp ../../../dist/include/layout/nsIMenuParent.h:101: warning: `

nsNavigationDirection DirectionFromKeyCode_lr_tb[6]' defined but not used

../../../dist/include/layout/nsIMenuParent.h:114: warning: `

nsNavigationDirection DirectionFromKeyCode_rl_tb[6]' defined but not used

rm -f libgfx_gtk.dylib g++-3.3 -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -fPIC -arch ppc -o libgfx_gtk.dylib nsPrintdGTK.o gtk2drawing.o nsDeviceContextGTK.o nsDeviceContextSpecFactoryG.o nsDeviceContextSpecG.o nsDrawingSurfaceGTK.o nsGfxFactoryGTK.o nsGraphicsStateGTK.o nsImageGTK.o nsGCCache.o nsRenderingContextGTK.o nsScreenGtk.o nsScreenManagerGtk.o nsPrintOptionsGTK.o nsFontMetricsUtils.o nsAntiAliasedGlyph.o nsX11AlphaBlend.o nsXFontAAScaledBitmap.o nsXFontNormal.o nsFontMetricsGTK.o nsGdkUtils.o nsFontMetricsXft.o nsRegionGTK2.o nsNativeThemeGTK.o ../../../dist/lib/libgfxshared_s.a -bundle -L../../../dist/bin -L../../../dist/lib -lgkgfx -L../../../dist/bin -lmozjs ../../../dist/lib/libunicharutil_s.a -L../../../dist/bin -lxpcom -lxpcom_core -L../../../dist/bin -L/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -L/usr/X11R6/lib -lX11 -L/opt/local/lib -L/usr/X11R6/lib -lXft -lfreetype -lz -lXrender -lX11 -lfontconfig -L/opt/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfreetype -lfontconfig -lXrender -lX11 -lpng12 -lz -lxprintutil -L/usr/X11R6/lib -lXp -lXext -lX11 -lm ld: warning -prebind has no effect with -bundle ld: Undefined symbols: _pango_x_font_map_for_display _pango_x_font_subfont_xlfd _pango_x_list_subfonts gmake[4]: * [libgfx_gtk.dylib] Error 1 gmake[4]: Leaving directory `/private/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla/gfx/src/gtk' gmake[3]: * [libs] Error 2 gmake[3]: Leaving directory `/private/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla/gfx/src' gmake[2]: * [libs] Error 2 gmake[2]: Leaving directory `/private/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla/gfx' gmake[1]: * [libs] Error 2 gmake[1]: Leaving directory `/private/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_www_mozilla/work/mozilla' make: * [all] Error 2

Change History (6)

comment:1 Changed 19 years ago by mww@…

Summary: New Mozilla will not build.BUG: Mozilla will not build.

comment:2 Changed 19 years ago by matthew.c@…

The problem here is that that the linker isn't trying to link against libpangox. libpangox contains these symbols.

We probably should fix the makefile.am and send the patch up to the mozilla people.

comment:3 Changed 19 years ago by rhwood@…

blocked: 5494

comment:4 Changed 19 years ago by rhwood@…

blocked: 5495

comment:5 Changed 19 years ago by yves@…

Fixed !

comment:6 Changed 19 years ago by markd@…

Cc: yves@… markd@… added
Resolution: fixed
Status: newclosed

(In reply to comment #2)

Fixed !

Closing per Yves comment.

Note: See TracTickets for help on using tickets.