pkgsrc-Users archive

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

xulrunner192 build issue: 'conflicting type attributes specified' overriding ReadSegments method



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anybody already come across the following on a i386 platform:
> gmake[4]: Entering directory '/tmp/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/xpcom/io'
> nsFastLoadFile.cpp
> g++ -o nsFastLoadFile.o -c -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS -D_IMPL_NS_COM -I.. -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/tmp/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/dist/include/nspr -I/tmp/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/dist/include/nss      -I/opt/local/include   -fPIC  -I/usr/include -I/opt/local/include -I/opt/local/include/libdrm -I/opt/local/include/freetype2  -I/opt/local/include -fno-rtti -fno-exceptions -Wno-long-long -O2 -I/usr/include -I/opt/local/include -I/opt/local/include/libdrm -I/opt/local/include/freetype2 -fno-strict-aliasing -fshort-wchar -pthread  -DNDEBUG -DTRIMMED -O2  -I/usr/include -I/opt/local/include -I/opt/local/include/libdrm -I/opt/local/include/freetype2  -I/opt/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsFastLoadFile.pp nsFastLoadFile.cpp
> nsFastLoadService.cpp
> g++ -o nsFastLoadService.o -c -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS -D_IMPL_NS_COM -I.. -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/tmp/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/dist/include/nspr -I/tmp/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/dist/include/nss      -I/opt/local/include   -fPIC  -I/usr/include -I/opt/local/include -I/opt/local/include/libdrm -I/opt/local/include/freetype2  -I/opt/local/include -fno-rtti -fno-exceptions -Wno-long-long -O2 -I/usr/include -I/opt/local/include -I/opt/local/include/libdrm -I/opt/local/include/freetype2 -fno-strict-aliasing -fshort-wchar -pthread  -DNDEBUG -DTRIMMED -O2  -I/usr/include -I/opt/local/include -I/opt/local/include/libdrm -I/opt/local/include/freetype2  -I/opt/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsFastLoadService.pp nsFastLoadService.cpp
> In file included from nsFastLoadService.cpp:47:0:
> nsFastLoadFile.h:298:19: error: conflicting type attributes specified for 'virtual nsresult nsFastLoadFileReader::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)'
>      NS_IMETHODIMP ReadSegments(nsWriteSegmentFun aWriter, void* aClosure,
>                    ^
> In file included from ../../dist/include/nsIBinaryInputStream.h:10:0,
>                  from ../../dist/include/nsIObjectInputStream.h:10,
>                  from nsBinaryStream.h:44,
>                  from nsFastLoadFile.h:49,
>                  from nsFastLoadService.cpp:47:
> nsBinaryStream.h:113:5: error:   overriding 'virtual nsresult nsBinaryInputStream::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)'
>      NS_DECL_NSIINPUTSTREAM
>      ^
> In file included from nsFastLoadFile.cpp:58:0:
> nsFastLoadFile.h:298:19: error: conflicting type attributes specified for 'virtual nsresult nsFastLoadFileReader::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)'
>      NS_IMETHODIMP ReadSegments(nsWriteSegmentFun aWriter, void* aClosure,
>                    ^
> In file included from ../../dist/include/nsIBinaryInputStream.h:10:0,
>                  from ../../dist/include/nsIObjectInputStream.h:10,
>                  from nsBinaryStream.h:44,
>                  from nsFastLoadFile.cpp:57:
> nsBinaryStream.h:113:5: error:   overriding 'virtual nsresult nsBinaryInputStream::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)'
>      NS_DECL_NSIINPUTSTREAM
>      ^
> ../../config/rules.mk:1408: recipe for target 'nsFastLoadService.o' failed
> gmake[4]: *** [nsFastLoadService.o] Error 1
> gmake[4]: *** Waiting for unfinished jobs....
> ../../config/rules.mk:1408: recipe for target 'nsFastLoadFile.o' failed

FWIW, I'm building with pkgsrc gcc49 on SunOS i386 (Illumos).

Can't seem to find much else but that others have seen the issue.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUS9sLAAoJECAB22fHtp27FjMH/1zYf7ihqteyFyvLuGeP3w7G
sZGXi1DNTjJORbspIlUKBqhLBYY3BxsvF8bG+qfE96pr8RFpMWDx0bK0PxwGk6Md
cBcUn/ZhVKUe61IhKktPWnj04ahDp+rO65AKLVVYPCK/6nPd2FtaNcZ+gZQFOmfr
imiFe2xzzUiJQ0a8YryIYsbqBUHTCVvbhs6lb4S3V8cq4hWx/TEnJwxkSCTTh/0a
5+QES2RNSdIHjATi/ygNqEXP52BBenjASJ4W7EH/YwuZ157r7DiFzKpS4XcS1px7
Rx5wJ6cN6aN5/pjiwOrm+u1ikrt5MAQF3n+b01bJRmRl8bIZjHD3wA3Y64Smi1I=
=AjOw
-----END PGP SIGNATURE-----



Home | Main Index | Thread Index | Old Index