pkgsrc-Bugs archive

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

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



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

From: David Shao <davshao%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: John Marino <netbsd%marino.st@localhost>
Subject: Re: pkg/47233: xulrunner DragonFly x86_64 call of overloaded
 'FromTicks(long long int)' is ambiguous
Date: Thu, 22 Nov 2012 07:25:38 -0800

 When I give a pkgsrc current master reference for DragonFly, I do it
 to mainly give the date and time such as:
 
 Date:   Wed Nov 21 18:27:24 2012 -0800
 
 which refers to the time at which DragonFly's git repository for
 pkgsrc is synched with pkgsrc cvs.
 
 Latest xulrunner and firefox appear to build correctly on NetBSD amd64.
 
 However on DragonFly x86_64, the build fails with error:
 
 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
 
 On DragonFly i386, the xulrunner build fails with:
 
 ../../dist/bin/libxul.so: undefined reference to '(anonymous namespace)::errno'
 gmake[4]:*** [plugin-container] Error 1
 gmake[4]:Leaving directory
 '/usr/pkgsrc/devel/xulrunner/work/mozilla-esr17/ipc/app'
 gmake[3]: ***[tools] Error 2
 


Home | Main Index | Thread Index | Old Index