pkgsrc-Users archive

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

latest xulrunner (20.1) fails to compile on NetBSD 6.1_RC3 i386



Just updated pkgsrc under 6.1_RC3 and attempted to build Firefox.
xulrunner is failing to compile:
It bombs out compiling nsMultiplexInputStream.cpp with a defined but not
used error. I had a quick look and the function is called from an
NS_ASSERTION.

c++ -o nsMultiplexInputStream.o -c -I../../dist/stl_wrappers
-I../../dist/system_wrappers -include ../../config/gcc_hidden.h
-DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM
-DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET
-DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API
-DNO_NSPR_10_SUPPORT -DEXCLUDE_SKIA_DEPENDENCIES  -DOS_POSIX=1
-DOS_NETBSD=1 -DOS_BSD=1  -D_IMPL_NS_COM -I../../ipc/chromium/src
-I../../ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I.. -I../../xpcom/io
-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/X11R7/include
-I/usr/X11R7/include/freetype2 -Wall -Wpointer-arith
-Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body
-Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof
-Wno-variadic-macros -Wcast-align -O2 -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/nspr -I/usr/X11R7/include
-I/usr/X11R7/include/freetype2 -fno-exceptions -fno-strict-aliasing
-Dunix -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions
-std=gnu++0x -fno-tree-vrp -pthread -pipe  -DNDEBUG -DTRIMMED -O2
-fomit-frame-pointer  -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/nspr -I/usr/X11R7/include
-I/usr/X11R7/include/freetype2 -DMOZILLA_CLIENT -include
../../mozilla-config.h -MD -MF .deps/nsMultiplexInputStream.o.pp 
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/xpcom/io/nsMultiplexInputStream.cpp
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/xpcom/io/nsMultiplexInputStream.cpp:
In member function 'virtual nsresult
nsMultiplexInputStream::Seek(__int32_t, __int64_t)':
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/xpcom/io/nsMultiplexInputStream.cpp:532:83:
error: no matching function for call to 'NS_MIN(__int64_t&,
__gnu_cxx::__enable_if<true, double>::__type)'
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/xpcom/io/nsMultiplexInputStream.cpp:
At global scope:
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/xpcom/io/nsMultiplexInputStream.cpp:93:1:
warning: 'bool SeekableStreamAtBeginning(nsIInputStream*)' defined but
not used
gmake[4]: *** [nsMultiplexInputStream.o] Error 1
gmake[4]: Leaving directory
`/usr/pkgsrc/devel/xulrunner/work/mozilla-release/xpcom/io'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/usr/pkgsrc/devel/xulrunner/work/mozilla-release/xpcom'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory
`/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory
`/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
gmake: *** [all] Error 2
*** Error code 2

Dave

-- 
============================================
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
============================================



Home | Main Index | Thread Index | Old Index