pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45193: firefox build error - stl wrappers can't find throw_gcc.h



>Number:         45193
>Category:       pkg
>Synopsis:       firefox build error - stl wrappers can't find throw_gcc.h
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 30 16:55:00 +0000 2011
>Originator:     Alex Hornung
>Release:        DragonFly 2.11
>Organization:
DragonFly BSD
>Environment:
DragonFly alex-pc.local 2.11-DEVELOPMENT DragonFly 
v2.11.0.605.gc3dc9-DEVELOPMENT #0: Fri Jul 29 13:17:18 UTC 2011     
root%pkgbox64.dragonflybsd.org@localhost:/usr/obj/usr/src/sys/X86_64_GENERIC  
x86_64

>Description:
I get the following build error when building firefox on DragonFly. I simply 
don't know why the mozalloc stuff isn't built and put in place before, so that 
throw_gcc.h is in mozilla/ inc dir.


gmake[3]: Entering directory 
`/usr/pkgsrc/www/firefox/work/mozilla-release/browser'
gmake[4]: Entering directory 
`/usr/pkgsrc/www/firefox/work/mozilla-release/browser/base'
/usr/pkgsrc/www/firefox/work/mozilla-release/config/nsinstall -R -m 644 
content/openLocationLastURL.jsm content/NetworkPrioritizer.jsm 
content/domplate.jsm content/stylePanel.jsm ../../dist/bin/modules
/usr/pkg/bin/python2.6 ../../config/JarMaker.py \
   -j ../../dist/bin/chrome \
  -t ../.. -f flat  -DNDEBUG -DTRIMMED -DOSTYPE=\"DragonFly2\" 
-DOSARCH=DragonFly -DMOZ_APP_VERSION=5.0 
-DAPP_LICENSE_BLOCK=/usr/pkgsrc/www/firefox/work/mozilla-release/browser/base/./content/overrides/app-license.html
 -DPRE_RELEASE_SUFFIX=""""  -DHAVE_SHELL_SERVICE=1 
-DCONTEXT_COPY_IMAGE_CONTENTS=1 -DMENUBAR_CAN_AUTOHIDE=1 -DHAVE_64BIT_OS=1 
-DMOZILLA_VERSION=\"5.0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V=1 
-DNS_ALWAYS_INLINE=__attribute__\(\(always_inline\)\) 
-DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) 
-DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) 
-DNS_NORETURN=__attribute__\(\(noreturn\)\) -DMOZ_PHOENIX=1 
-DMOZ_BUILD_APP=browser -DMOZ_X11=1 -DMOZ_WIDGET_GTK2=1 -DMOZ_PDF_PRINTING=1 
-DMOZ_ENABLE_XREMOTE=1 -DMOZ_OFFICIAL_BRANDING=1 
-DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DMOZ_PANGO=1 -DIBMBIDI=1 
-DACCESSIBILITY=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_OGG=1 
-DATTRIBUTE_ALIGNED_MAX=64 -DMOZ_WEBM=1
  -DMOZ_WAVE=1 -DMOZ_SYDNEYAUDIO=1 -DMOZ_MEDIA=1 -DMOZ_VORBIS=1 -DMOZ_XTF=1 
-DMOZ_CRASHREPORTER_ENABLE_PERCENT=100 -DMOZ_MATHML=1 -DMOZ_CSS_ANIMATIONS=1 
-DMOZ_SVG=1 -DMOZ_SMIL=1 -DMOZ_UPDATER=1 -DMOZ_UPDATE_CHANNEL=default 
-DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_NATIVE_SQLITE=1 -DMOZ_SAFE_BROWSING=1 
-DMOZ_URL_CLASSIFIER=1 -DMOZ_DEBUG_SYMBOLS=1 -DMOZ_LOGGING=1 
-DHAVE___CXA_DEMANGLE=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_STATIC_JS=1 
-DMOZ_ENABLE_LIBXUL=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DMOZ_TREE_CAIRO=1 
-DHAVE_UINT64_T=1 -DMOZ_TREE_PIXMAN=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 
-DMOZ_RDF=1 -DBUILD_CTYPES=1 -DMOZ_MORKREADER=1 -DMOZ_PLACES=1 
-DMOZ_SERVICES_SYNC=1 -DMOZ_APP_UA_NAME=\"\" -DMOZ_APP_UA_VERSION=\"5.0\" 
-DMOZ_UA_FIREFOX_VERSION=\"5.0\" -DMOZ_UA_BUILDID=\"20100101\" 
-DMOZ_DLL_SUFFIX=\".so\" -DHAVE_FONTCONFIG_FCFREETYPE_H=1 -DXP_UNIX=1 
-DUNIX_ASYNC_DNS=1 -DMOZ_ACCESSIBILITY_ATK=1 -DATK_MAJOR_VERSION=2 
-DATK_MINOR_VERSION=0 -DATK_REV_VERSION=1                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
           \
  ./jar.mn
processing ./jar.mn
/usr/pkgsrc/www/firefox/work/mozilla-release/config/nsinstall 
./content/tabview/modules/* ../../dist/bin/modules/tabview
gmake[4]: Leaving directory 
`/usr/pkgsrc/www/firefox/work/mozilla-release/browser/base'
gmake[4]: Entering directory 
`/usr/pkgsrc/www/firefox/work/mozilla-release/browser/components'
gmake[5]: Entering directory 
`/usr/pkgsrc/www/firefox/work/mozilla-release/browser/components/about'
AboutRedirector.cpp
c++ -o AboutRedirector.o -c -I../../../dist/stl_wrappers 
-I../../../dist/system_wrappers -include ../../../config/gcc_hidden.h 
-DOSTYPE=\"DragonFly2\" -DOSARCH=DragonFly -I./../build -I. -I. 
-I../../../dist/include -I../../../dist/include/nsprpub 
-I/usr/pkg/lib/xulrunner-sdk/include 
-I/usr/pkg/lib/xulrunner-sdk/include/nsprpub 
-I/usr/pkg/include/xulrunner/unstable -I/usr/pkg/include/xulrunner   
-I/usr/pkg/include/xulrunner         -fPIC -I/usr/include -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -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 
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 
-fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -g -O2  
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DMOZILLA_CLIENT 
-include ../../../mozilla-config.h -MD -MF .deps/AboutRedirector.pp
  AboutRedirector.cpp
In file included from 
/usr/pkgsrc/www/firefox/work/.buildlink/include/xulrunner/mozilla/mozalloc.h:51,
                 from 
/usr/pkgsrc/www/firefox/work/.buildlink/include/xulrunner/nscore.h:50,
                 from 
/usr/pkgsrc/www/firefox/work/.buildlink/include/xulrunner/nsrootidl.h:11,
                 from 
/usr/pkgsrc/www/firefox/work/.buildlink/include/xulrunner/nsISupports.h:10,
                 from 
/usr/pkgsrc/www/firefox/work/.buildlink/include/xulrunner/nsIAboutModule.h:10,
                 from AboutRedirector.h:43,
                 from AboutRedirector.cpp:42:
../../../dist/stl_wrappers/new:92:33: error: mozilla/throw_gcc.h: No such file 
or directory
gmake[5]: *** [AboutRedirector.o] Error 1
gmake[5]: Leaving directory 
`/usr/pkgsrc/www/firefox/work/mozilla-release/browser/components/about'
gmake[4]: *** [about_libs] Error 2
gmake[4]: Leaving directory 
`/usr/pkgsrc/www/firefox/work/mozilla-release/browser/components'
gmake[3]: *** [components_libs] Error 2
gmake[3]: Leaving directory 
`/usr/pkgsrc/www/firefox/work/mozilla-release/browser'
gmake[2]: *** [libs_tier_app] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla-release'
gmake[1]: *** [tier_app] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla-release'
gmake: *** [all] Error 2
*** Error code 2
>How-To-Repeat:
build firefox on DragonFly.
>Fix:



Home | Main Index | Thread Index | Old Index