pkgsrc-Bugs archive

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

pkg/47722: devel/xulrunner DragonFly i386 no matching function for call to 'NS_MIN(int64_t&, __gnu_cxx::__enable_if<true, double>::__type)'



>Number:         47722
>Category:       pkg
>Synopsis:       devel/xulrunner DragonFly i386 no matching function for call 
>to 'NS_MIN(int64_t&, __gnu_cxx::__enable_if<true, double>::__type)'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 06 22:30:01 +0000 2013
>Originator:     David Shao
>Release:        DragonFly 3.5-DEVELOPMENT i386
>Organization:
>Environment:
DragonFly 3.5-DEVELOPMENT i386
>Description:
Latest pkgsrc current master appears to have a build problem for 
devel/xulrunner 20.0 specific to DragonFly i386 (3.5-DEVELOPMENT).

DragonFly 3.5-DEVELOPMENT master through
commit 354a411ad769fee8ba18dfbab6ce3a0cadd7a5c1
Date:   Tue Apr 2 21:23:19 2013 +0200

    development.7: Mention dragonfly.vim.

Pkgsrc master through
commit b7cbaac42e19d3d22dad86446859db2e632bdd01
Date:   Sat Apr 6 12:35:21 2013 -0700

Compilers:
$ cc --version
cc 4.7.2 [DragonFly] Release/2012-09-20

$ c++ --version
c++ 4.7.2 [DragonFly] Release/2012-09-20

The build for devel/xulrunner fails with:

checking for custom <stdint.h> implementation... none specified
defined(@array) is deprecated at ./config/milestone.pl line 58.
        (Maybe you should just omit the defined()?)
defined(@array) is deprecated at ./config/milestone.pl line 58.
        (Maybe you should just omit the defined()?)
checking whether the linker supports Identical Code Folding... no
checking for ANSI C header files... yes
checking for working const... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for __stdcall... no
checking for ssize_t... yes
checking for st_blksize in struct stat... yes
checking for siginfo_t... yes
checking for int64... no
checking for uint... yes
checking for uint_t... no
checking for uname.domainname... no
checking for uname.__domainname... no
checking for gcc c++0x headers bug without rtti... no
checking for usable char16_t (2 bytes, unsigned)... yes
checking for usable wchar_t (2 bytes, unsigned)... no
checking for visibility(hidden) attribute... yes
checking for visibility(default) attribute... yes
checking for visibility pragma support... yes
checking For gcc visibility bug with class-level attributes (GCC bug 26905)... 
no
checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no
checking for gcc PR49911... no
checking for gcc pr39608... no
checking for llvm pr8927... no
checking for __force_align_arg_pointer__ attribute... yes
...
checking for modern C++ template specialization syntax support... yes
checking whether partial template specialization works... yes
checking whether the C++ "using" keyword resolves ambiguity... yes
checking for C++ dynamic_cast to void*... yes
checking whether C++ requires implementation of unused virtual methods... no
checking for trouble comparing to zero near std::operator!=()... no
...
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_DRAGONFLY=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 -I/usr/include -I/usr/pkg/include 
-I/usr/pkg/include/gettext -I/usr/pkg/include/nspr -I/usr/pkg/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 -g -I/usr/include 
 -I/usr/pkg/include -I/usr/pkg/include/gettext -I/usr/pkg/include/nspr 
-I/usr/pkg/include/freetype2 -fno-exceptions -fno-strict-aliasing -fno-rtti 
-ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe 
 -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer  -I/usr/include -I/usr/pkg/include 
-I/usr/pkg/include/gettext -I/usr/pkg/include/nspr -I/usr/pkg/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:532:83:
 note: candidate is:
In file included from ../../dist/include/nsTArray.h:17:0,
                 from ../../dist/include/nsCOMArray.h:12,
                 from 
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/xpcom/io/nsMultiplexInputStream.cpp:18:
../../dist/include/nsAlgorithm.h:31:1: note: template<class T> const T& 
NS_MIN(const T&, const T&)
../../dist/include/nsAlgorithm.h:31:1: note:   template argument 
deduction/substitution failed:
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/xpcom/io/nsMultiplexInputStream.cpp:532:83:
 note:   deduced conflicting types for parameter 'const T' ('long long int' and 
'__gnu_cxx::__enable_if<true, double>::__type {aka double}')
/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 [-Wunused-function]
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



>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index