pkgsrc-Bugs archive

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

pkg/48580: www/firefox www/seamonkey



>Number:         48580
>Category:       pkg
>Synopsis:       www/firefox www/seamonkey
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 08 09:05:00 +0000 2014
>Originator:     Jose Luis Rodriguez Garcia
>Release:        pkgsrc-2013Q4 and pkgsrc-2013Q3
>Organization:
>Environment:
NetBSD mypc 6.1.2_PATCH NetBSD 6.1.2_PATCH (GENERIC) amd64

>Description:
Trying to compile firefox or seamonkey with mozilla-jemalloc, it fails with 
this bug (it is the same problem):

I have tried with pkgsrc-2013Q3 and pkgsrc-2013Q4

c++ -o mozalloc.o -c   -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -I../../xpcom 
-I/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc -I. 
-I../../dist/include  -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss 
-I/usr/pkg/include/nss -I/usr/pkg/include/nspr       -fPIC -DPIC  
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr 
-I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm 
-I/usr/X11R7/include/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus 
-DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF 
.deps/mozalloc.o.pp -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr 
-I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm 
-I/usr/X11R7/include/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus -Wall 
-Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits 
-Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -O2 
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/us
 r/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm 
-I/usr/X11R7/include/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus 
-fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions 
-fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -O2 
-fomit-frame-pointer  
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc/mozalloc.cpp
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc/mozalloc.cpp:
 In function 'size_t moz_malloc_usable_size(void*)':
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc/mozalloc.cpp:214:34:
 error: 'malloc_usable_size' was not declared in this scope
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc/mozalloc.cpp:220:1:
 error: control reaches end of non-void function
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/config/rules.mk:1129: 
recipe for target 'mozalloc.o' failed
gmake[2]: *** [mozalloc.o] Error 1
gmake[2]: Leaving directory 
'/pkg_comp/obj/pkgsrc/www/firefox/default/build/memory/mozalloc'
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/config/recurse.mk:16: 
recipe for target 'compile' failed
gmake[1]: *** [compile] Error 2
gmake[1]: Leaving directory '/pkg_comp/obj/pkgsrc/www/firefox/default/build'
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/config/rules.mk:694: 
recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox
pkg_comp:test.conf# 

>How-To-Repeat:
Add to /etc/mk.conf:
PKG_OPTIONS.seamonkey=mozilla-jemalloc
PKG_OPTIONS.firefox=mozilla-jemalloc

and:
cd /usr/pkgsrc/www/firefox; make install

>Fix:



Home | Main Index | Thread Index | Old Index