problem firefox 4.0

Milan Buska milan.buska at gmail.com
Wed Mar 30 11:27:09 UTC 2011


Wed, Mar 30, 2011 at 11:27:35AM CEST, fredrik at rinnestam.se napsal(a):
> On Wed, Mar 30, 2011 at 11:04:12AM +0200, Milan Buska wrote:
> > Hi.
> > 
> > Compile package firefox 4.0 = error
> > 
> > prt-get install --log firefox
> > 
> > tail -n 20 /var/log/pkgbuild/firefox.log
> > 
> > c++ -o nsEnumeratorUtils.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DTARGET_XPCOM_ABI=\"x86-gcc3\" -I./../build  -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/usr/include/nspr -I/usr/include/nss       -fPIC  -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -O2 -march=i686 -mtune=generic -pipe -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -march=i686 -mtune=generic -pipe   -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsEnumeratorUtils.pp nsEnumeratorUtils.cpp
> > nsEnumeratorUtils.cpp:115:27: error: uninitialized const 'EmptyEnumeratorImpl::kInstance' [-fpermissive]
> > nsEnumeratorUtils.cpp:50:7: note: 'const class EmptyEnumeratorImpl' has no user-provided default constructor
> > make[4]: *** [nsEnumeratorUtils.o] Error 1
> > make[4]: Leaving directory `/var/cache/work/src/mozilla-2.0/xpcom/glue'
> > make[3]: *** [libs] Error 2
> > make[3]: Leaving directory `/var/cache/work/src/mozilla-2.0/xpcom'
> > make[2]: *** [libs_tier_platform] Error 2
> > make[2]: Leaving directory `/var/cache/work/src/mozilla-2.0'
> > make[1]: *** [tier_platform] Error 2
> > make[1]: Leaving directory `/var/cache/work/src/mozilla-2.0'
> > make: *** [default] Error 2
> > =======> ERROR: Building '/var/cache/pkg/firefox#4.0-1.pkg.tar.xz' failed
> > 
> > gcc version 4.6.0
> > 
> > Please advice where to start looking for error
> > 
> > regards
> > 
> > milan buska
> also, see https://bugzilla.mozilla.org/show_bug.cgi?id=645469
> 
> -- 
> 
> /Fredrik Rinnestam

I changed pkgmk.conf
export CXXFLAGS ="-O2 -march=i686 -mtune=generic -pipe"
export CXXFLAGS ="-O2 -march=i686 -mtune=generic -pipe -fpermissive"

compile O.K

Thanks for solution
> _______________________________________________
> CRUX mailing list
> CRUX at lists.crux.nu
> http://lists.crux.nu/mailman/listinfo/crux



More information about the CRUX mailing list