pkgsrc-Bugs archive

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

Re: pkg/47206 (build problems with xulrunner 16.0.2: : 'malloc_usable_size' was not declared in this scope)

The following reply was made to PR pkg/47206; it has been noted by GNATS.

From: RichardPALO <>
To: <>
Subject: Re: pkg/47206 (build problems with xulrunner 16.0.2: :
Date: Thu, 22 Nov 2012 18:45:08 +0100

 Le 18.11.2012 20:47, a écrit :
 > Synopsis: build problems with xulrunner 16.0.2: : 
 > 'malloc_usable_size'
 > was not declared in this scope
 > Responsible-Changed-From-To: pkg-manager->tnn
 > Responsible-Changed-By: [1]
 > Responsible-Changed-When: Sun, 18 Nov 2012 19:47:10 +0000
 > Responsible-Changed-Why:
 > Over to maintainer.
 Hello, I just happened to notice the following in my log output:
 creating ./config.status
 creating config files and headers...
 invoking make to create js-config script
 find: bad option -path
 find: [-E] [-H | -L] path-list predicate-list
 rm -f js-config.tmp
 sed < > js-config.tmp
 -e 's|@prefix@|/tmp/pkgsrc/devel/xulrunner/work/mozilla-esr17/dist|'
 -e 's|@LIBRARY_NAME@|mozjs|'
 -e 's|@NSPR_CFLAGS@|-I/opt/pkg/include/nspr|'
 -e 's|@JS_CONFIG_LIBS@|-Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lffi
 -Wl,-R/opt/pkg/lib/nspr -L/opt/pkg/lib/nspr -lplds4 -lplc4 -lnspr4
 I found the following extract in
 ## Prevent regressing in our deprecation of non-preferred memory
 management functions.
 # We use all the files in the distribution so that different
 # don't give different results. We skip the contents of objdirs using
 # (it can't be done with %-expansion, because the files we want to skip
 # in the vpath).
 ALL_FILES=$(shell find $(srcdir) ( -name "*.cpp" -o -name "*.h" ) ! 
 "*/dist/*" ! -path "*/config/*")
 check-malloc-function-usage: $(filter-out %jsalloc.h %jscntxt.h 
   # js_malloc and friends are only used by other memory managers, and
   # never be used elsewhere directly.
   $(srcdir)/config/ "bjs_mallocb" 0
   "in" "cx->malloc_ or rt->malloc_" $^
   $(srcdir)/config/ "bjs_callocb" 0
   "in" "cx->calloc_ or rt->calloc_" $^
   $(srcdir)/config/ "bjs_reallocb" 0
   "in" "cx->realloc_ or rt->realloc_" $^
   $(srcdir)/config/ "bjs_freeb" 0
   "in" "cx->free_" $^
   # We desire these numbers to go down, not up. See "User guide to 
   # management within SpiderMonkey" in jsutil.h.
   $(srcdir)/config/ OffTheBooks:: 71
   "in" "{cx,rt}->{new_,array_new,malloc_,calloc_,realloc_}" 
   # This should go to zero, if possible.
   $(srcdir)/config/ UnwantedForeground:: 31
   "in" "{cx,rt}->{free_,delete_,array_delete}" $^
 Indeed, in illumos, '/usr/bin/find' does not seem to like '-path'.
 Perhaps this statement needs to be reworked to use -prune somehow...

Home | Main Index | Thread Index | Old Index