Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CRUX (http://www.linux-archive.org/crux/)
-   -   problem firefox 4.0 (http://www.linux-archive.org/crux/507402-problem-firefox-4-0-a.html)

Milan Buska 03-30-2011 09:04 AM

problem firefox 4.0
 
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

compiles on gcc 4.6.0 gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.6.0/configure --prefix=/usr --libexecdir=/usr/lib --mandir=/usr/man --enable-languages=c,c++,objc --enable-cloog-backend=isl --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --enable-lto --enable-plugin --enable-gold --enable-ld=default --enable-gnu-unique-object --enable-linker-build-id --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-plugin-ld=ld.gold --with-ppl --with-cloog --with-x=no
Thread model: posix
gcc version 4.6.0

Please advice where to start looking for error

regards

milan buska
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

Fredrik Rinnestam 03-30-2011 09:18 AM

problem firefox 4.0
 
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
>
> compiles on gcc 4.6.0 gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
> Target: i686-pc-linux-gnu
> Configured with: ../gcc-4.6.0/configure --prefix=/usr --libexecdir=/usr/lib --mandir=/usr/man --enable-languages=c,c++,objc --enable-cloog-backend=isl --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --enable-lto --enable-plugin --enable-gold --enable-ld=default --enable-gnu-unique-object --enable-linker-build-id --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-plugin-ld=ld.gold --with-ppl --with-cloog --with-x=no
> Thread model: posix
> gcc version 4.6.0
>
> Please advice where to start looking for error
>
> regards
>
> milan buska

Use gcc from ports.

--

/Fredrik Rinnestam
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

Fredrik Rinnestam 03-30-2011 09:27 AM

problem firefox 4.0
 
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
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

Milan Buska 03-30-2011 11:27 AM

problem firefox 4.0
 
Wed, Mar 30, 2011 at 11:27:35AM CEST, fredrik@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@lists.crux.nu
> http://lists.crux.nu/mailman/listinfo/crux
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux


All times are GMT. The time now is 10:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.