pkgsrc-Bugs archive

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

pkg/47233: xulrunner DragonFly x86_64 call of overloaded 'FromTicks(long long int)' is ambiguous



>Number:         47233
>Category:       pkg
>Synopsis:       xulrunner DragonFly x86_64 call of overloaded 'FromTicks(long 
>long int)' is ambiguous
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 22 03:30:00 +0000 2012
>Originator:     David Shao
>Release:        DragonFly 3.3-DEVELOPMENT x86_64
>Organization:
>Environment:
DragonFly 3.3-DEVELOPMENT x86_64
>Description:
For DragonFly 3.3-DEVELOPMENT x86_64, using current pkgsrc master

commit ef0db6940115a90d3f7a10097e7cce8865771711
Author: pkgsrc fixup <pkgsrc%dragonflybsd.org@localhost>
Date:   Wed Nov 21 12:28:22 2012 -0800

# pkg_rolling-replace -uv
produces an error building devel/xulrunner 17.0:

WARNING: [subst.mk:pkgconfig] Ignoring non-existent file 
"./xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in".
WARNING: [subst.mk:pkgconfig] Ignoring non-existent file 
"./xulrunner/installer/mozilla-gtkmozembed.pc.in".
INFO: [subst.mk:pkgconfig] Nothing changed in 
./xulrunner/installer/mozilla-plugin.pc.in.
...
checking for 64-bit OS... yes
checking for Python version >= 2.5 but not 3.x... yes
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 for int64... no
checking for uint... yes
checking for uint_t... no
...
configure: warning: Cannot build gnomevfs without required libraries. Removing 
gnomevfs from MOZ_EXTENSIONS.
...
checking for stdint.h... yes
checking for inttypes.h... yes
checking for sys/int_types.h... no
...
configuring in js/src
running /bin/sh ./configure  --enable-application=xulrunner --enable-libxul 
--disable-tests --disable-pedantic --enable-crypto --enable-optimize=-O2 
--with-pthreads --disable-javaxpcom --enable-default-toolkit=cairo-gtk2 
--enable-svg --enable-mathml --enable-system-cairo --enable-system-pixman 
--with-system-libvpx --enable-system-hunspell --enable-system-ffi 
--with-system-nss --with-system-nspr --with-system-jpeg --with-system-zlib 
--with-system-bz2 --with-system-libevent=/usr/pkg --enable-system-sqlite 
--disable-crashreporter --disable-libnotify --disable-necko-wifi 
--enable-chrome-format=flat --disable-gnomevfs --disable-dbus --disable-gnomeui 
--disable-libnotify --disable-jemalloc --disable-debug --disable-debug-symbols 
--enable-install-strip --with-libintl-prefix=/usr/pkg --prefix=/usr/pkg 
--build=x86_64-pc-dragonfly --host=x86_64-pc-dragonfly --mandir=/usr/pkg/man 
--enable-threadsafe --enable-ctypes --disable-shared-js 
--with-dist-dir=../../dist --prefix=/usr/pkgsrc/deve
 l/xulrunner/work/mozilla-esr17/dist --cache-file=../.././config.cache 
--srcdir=.
loading cache ../.././config.cache
checking host system type... x86_64-pc-dragonfly
checking target system type... x86_64-pc-dragonfly
checking build system type... x86_64-pc-dragonfly
...
c++ -o FileUtils.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers 
-include ../../config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM 
-DTARGET_XPCOM_ABI=\"x86_64-gcc3\" -I../../xpcom/glue/../build  
-I../../xpcom/glue -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 -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 -fshort-wchar -pthread -pipe  -DNDEBUG 
-DTRIMMED -O2 -fomit-frame-pointer  -I/usr/include -I/usr/pkg/include -I/u
 sr/pkg/include/gettext -I/usr/pkg/include/nspr -I/usr/pkg/include/freetype2 
-DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/FileUtils.o.pp 
/usr/pkgsrc/devel/xulrunner/work/mozilla-esr17/xpcom/glue/FileUtils.cpp
In file included from ../../dist/include/mozilla/FunctionTimer.h:11,
                 from 
/usr/pkgsrc/devel/xulrunner/work/mozilla-esr17/xpcom/glue/FileUtils.cpp:20:
../../dist/include/mozilla/TimeStamp.h: In static member function 'static 
mozilla::TimeDuration mozilla::TimeDuration::FromTicks(double)':
../../dist/include/mozilla/TimeStamp.h:133: error: call of overloaded 
'FromTicks(long long int)' is ambiguous
../../dist/include/mozilla/TimeStamp.h:123: note: candidates are: static 
mozilla::TimeDuration mozilla::TimeDuration::FromTicks(int64_t)
../../dist/include/mozilla/TimeStamp.h:129: note:                 static 
mozilla::TimeDuration mozilla::TimeDuration::FromTicks(double)
../../dist/include/mozilla/TimeStamp.h:137: error: call of overloaded 
'FromTicks(long long int)' is ambiguous
../../dist/include/mozilla/TimeStamp.h:123: note: candidates are: static 
mozilla::TimeDuration mozilla::TimeDuration::FromTicks(int64_t)
../../dist/include/mozilla/TimeStamp.h:129: note:                 static 
mozilla::TimeDuration mozilla::TimeDuration::FromTicks(double)
gmake[4]: *** [FileUtils.o] Error 1
gmake[4]: Leaving directory 
`/usr/pkgsrc/devel/xulrunner/work/mozilla-esr17/xpcom/glue'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory 
`/usr/pkgsrc/devel/xulrunner/work/mozilla-esr17/xpcom'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-esr17'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-esr17'
gmake: *** [all] Error 2
*** Error code 2


>How-To-Repeat:

>Fix:
For DragonFly 3.3-DEVELOPMENT x86_64, using current pkgsrc master

commit ef0db6940115a90d3f7a10097e7cce8865771711
Author: pkgsrc fixup <pkgsrc%dragonflybsd.org@localhost>
Date:   Wed Nov 21 12:28:22 2012 -0800

# pkg_rolling-replace -uv
produces an error building devel/xulrunner 17.0:



Home | Main Index | Thread Index | Old Index