Bug 105315 - firefox 2.0_2,1 fails to compile
Summary: firefox 2.0_2,1 fails to compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-09 01:40 UTC by Reed A. Cartwright
Modified: 2006-12-07 22:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reed A. Cartwright 2006-11-09 01:40:20 UTC
When trying to build Firefox 2.0 from ports the following compiler error occurs:

gmake[2]: Entering directory `/usr/ports/www/firefox/work/mozilla/extensions/java'
gmake[3]: Entering directory `/usr/ports/www/firefox/work/mozilla/extensions/java/xpcom'
gmake[4]: Entering directory `/usr/ports/www/firefox/work/mozilla/extensions/java/xpcom/src'
rm -f libjavaxpcom.so
c++ -I/usr/X11R6/include  -I/usr/X11R6/include  -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 -O2 -fno-strict-aliasing -pipe -march=prescott -O2 -fno-strict-aliasing -O2 -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-h,libjavaxpcom.so -o libjavaxpcom.so  nsAppFileLocProviderProxy.o nsJavaInterfaces.o nsJavaWrapper.o nsJavaXPTCStub.o nsJavaXPTCStubWeakRef.o nsJavaXPCOMBindingUtils.o    -L/usr/X11R6/lib -Wl,-rpath,/usr/local/lib/firefox   -L../../../../dist/bin -L../../../../dist/lib  -L../../../../dist/bin -lxpcom -lxpcom_core  -L../../../../dist/bin -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread  -Wl,-Bsymbolic -lc -lm -pthread -pthread -L/usr/local/lib -liconv   
nsJavaInterfaces.o(.text+0x1e): In function `Java_org_mozilla_xpcom_internal_GREImpl_termEmbedding':
: undefined reference to `XRE_TermEmbedding'
nsJavaInterfaces.o(.text+0x29b): In function `InitEmbedding_Impl(JNIEnv_*, _jobject*, _jobject*, _jobject*)':
: undefined reference to `XRE_InitEmbedding'
gmake[4]: *** [libjavaxpcom.so] Error 1
gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/extensions/java/xpcom/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/extensions/java/xpcom'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/extensions/java'
gmake[1]: *** [tier_50] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/www/firefox.

How-To-Repeat: Try to build firefox from port.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-11-09 23:06:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2006-12-07 22:14:51 UTC
ahze        2006-12-07 22:14:36 UTC

  FreeBSD ports repository

  Modified files:
    www/mozilla          Makefile.common 
  Log:
  Fix a bug to only allow some geckos to build java xpcom when WITH_JAVA
  is defined.
  
  PR:             ports/105315
  Reported by:    Reed A. Cartwright <reed@scit.us>
  
  Revision  Changes    Path
  1.19      +3 -2      ports/www/mozilla/Makefile.common
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Michael Johnson freebsd_committer freebsd_triage 2006-12-07 22:15:02 UTC
State Changed
From-To: open->closed

Fixed in www/mozilla/Makefile.common, thanks for reporting!