editors/openoffice-4 was built successfully a few days ago with gcc46. After upgrading to gcc47, the port no longer builds. 1 module(s): moz need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/moz When you have fixed the errors in that module you can resume the build by running: build --from moz *** Error code 1 Stop. make[1]: stopped in /usr/ports/editors/openoffice-4 Earlier in the log: g++47 -o nsFastLoadService.o -c -I../../dist/include/system_wrappers -include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD11\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=0000000000 -D_IMPL_NS_COM -I.. -I../../dist/include/string -I../../dist/include/xpcom -I../../dist/include -I../../dist/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsFastLoadService.pp ../../../xpcom/io/nsFastLoadService.cpp rm -f ../../../../unxfbsdi.pro/misc/cssreflection.idls cat /tmp/mkfRYNPz >>../../../../unxfbsdi.pro/misc/cssreflection.idls In file included from ../../dist/include/string/nsStringIterator.h:43:0, from ../../dist/include/string/nsAString.h:47, from ../../dist/include/string/nsSubstring.h:43, from ../../dist/include/string/nsString.h:44, from ../../dist/include/string/nsXPIDLString.h:43, from ../../../xpcom/io/nsFastLoadFile.cpp:45: ../../dist/include/string/nsCharTraits.h: In static member function 'static nsCharTraits<short unsigned int>::char_type nsCharTraits<short unsigned int>::ASCIIToLower(nsCharTraits<short unsigned int>::char_type)': ../../dist/include/string/nsCharTraits.h:280:61: warning: conversion to 'nsCharTraits<short unsigned int>::char_type {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../dist/include/string/nsCharTraits.h: In static member function 'static nsCharTraits<char>::char_type nsCharTraits<char>::ASCIIToLower(nsCharTraits<char>::char_type)': ../../dist/include/string/nsCharTraits.h:535:61: warning: conversion to 'nsCharTraits<char>::char_type {aka char}' from 'int' may alter its value [-Wconversion] In file included from ../../dist/include/string/nsStringIterator.h:43:0, from ../../dist/include/string/nsAString.h:47, from ../../../xpcom/io/nsBinaryStream.h:43, from ../../../xpcom/io/nsFastLoadFile.h:49, from ../../../xpcom/io/nsFastLoadService.cpp:47: ../../dist/include/string/nsCharTraits.h: In static member function 'static nsCharTraits<short unsigned int>::char_type nsCharTraits<short unsigned int>::ASCIIToLower(nsCharTraits<short unsigned int>::char_type)': ../../dist/include/string/nsCharTraits.h:280:61: warning: conversion to 'nsCharTraits<short unsigned int>::char_type {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../dist/include/string/nsCharTraits.h: In static member function 'static nsCharTraits<char>::char_type nsCharTraits<char>::ASCIIToLower(nsCharTraits<char>::char_type)': ../../dist/include/string/nsCharTraits.h:535:61: warning: conversion to 'nsCharTraits<char>::char_type {aka char}' from 'int' may alter its value [-Wconversion] Entering /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/udkapi/com/sun/star/loader In file included from ../../../xpcom/io/nsFastLoadFile.cpp:57:0: ../../../xpcom/io/nsFastLoadFile.h: At global scope: ../../../xpcom/io/nsFastLoadFile.h:297:19: error: conflicting type attributes specified for 'virtual nsresult nsFastLoadFileReader::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)' In file included from ../../../xpcom/io/nsFastLoadFile.cpp:56:0: ../../../xpcom/io/nsBinaryStream.h:113:5: error: overriding 'virtual nsresult nsBinaryInputStream::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)' ../../../xpcom/io/nsFastLoadFile.cpp: In function 'PRUint32 NS_AccumulateFastLoadChecksum(PRUint32*, const PRUint8*, PRUint32, PRBool)': ../../../xpcom/io/nsFastLoadFile.cpp:121:46: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:129:46: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:146:23: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:154:26: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:157:21: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:159:26: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:175:21: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:177:26: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:178:21: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:191:46: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:193:46: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:198:46: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:205:46: warning: conversion to 'PRUint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp: In member function 'virtual nsresult nsFastLoadFileReader::Read(char*, PRUint32, PRUint32*)': ../../../xpcom/io/nsFastLoadFile.cpp:573:37: warning: conversion to 'unsigned int:31' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:581:34: warning: conversion to 'unsigned int:31' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:589:31: warning: conversion to 'unsigned int:31' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp: In member function 'virtual nsresult nsFastLoadFileReader::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)': ../../../xpcom/io/nsFastLoadFile.cpp:614:31: warning: conversion to 'unsigned int:31' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp: In member function 'virtual nsresult nsFastLoadFileReader::ReadObject(PRBool, nsISupports**)': ../../../xpcom/io/nsFastLoadFile.cpp:1075:37: warning: conversion to 'PRUint32 {aka unsigned int}' from 'PRInt64 {aka long long int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:1143:52: warning: conversion to 'PRUint32 {aka unsigned int}' from 'PRInt64 {aka long long int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp:1143:52: warning: conversion to 'unsigned int:31' from 'PRUint32 {aka unsigned int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp: In member function 'virtual nsresult nsFastLoadFileWriter::SelectMuxedDocument(nsISupports*, nsISupports**)': ../../../xpcom/io/nsFastLoadFile.cpp:1461:39: warning: conversion to 'PRUint32 {aka unsigned int}' from 'PRInt64 {aka long long int}' may alter its value [-Wconversion] ../../../xpcom/io/nsFastLoadFile.cpp: In member function 'nsresult nsFastLoadFileWriter::WriteObjectCommon(nsISupports*, PRBool, PRUint32)': ../../../xpcom/io/nsFastLoadFile.cpp:2137:62: warning: conversion to 'PRUint32 {aka unsigned int}' from 'PRInt64 {aka long long int}' may alter its value [-Wconversion] In file included from ../../../xpcom/io/nsFastLoadService.cpp:47:0: ../../../xpcom/io/nsFastLoadFile.h: At global scope: ../../../xpcom/io/nsFastLoadFile.h:297:19: error: conflicting type attributes specified for 'virtual nsresult nsFastLoadFileReader::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)' In file included from ../../../xpcom/io/nsFastLoadFile.h:49:0, from ../../../xpcom/io/nsFastLoadService.cpp:47: ../../../xpcom/io/nsBinaryStream.h:113:5: error: overriding 'virtual nsresult nsBinaryInputStream::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)' ../../../xpcom/io/nsFastLoadService.cpp: In member function 'virtual nsrefcnt nsFastLoadService::Release()': ../../../xpcom/io/nsFastLoadService.cpp:63:1: warning: deleting object of polymorphic class type 'nsFastLoadService' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] ../../../xpcom/io/nsFastLoadService.cpp: In static member function 'static nsresult nsFastLoadService::Create(nsISupports*, const nsIID&, void**)': ../../../xpcom/io/nsFastLoadService.cpp:102:16: warning: deleting object of polymorphic class type 'nsFastLoadService' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] ../../../xpcom/io/nsFastLoadService.cpp: In member function 'virtual nsresult nsFastLoadService::WriteFastLoadPtr(nsIObjectOutputStream*, nsISupports*)': ../../../xpcom/io/nsFastLoadService.cpp:569:43: warning: conversion to 'PRUint32 {aka unsigned int}' from 'PRInt64 {aka long long int}' may alter its value [-Wconversion] : && LD_LIBRARY_PATH=/mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/bin/idlc -verbose @/tmp/mkn0U4b1 rm -f ../../../../unxfbsdi.pro/ucr/cssloader.db : && LD_LIBRARY_PATH=/mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/bin/regmerge ../../../../unxfbsdi.pro/ucr/cssloader.db UCR @/tmp/mkJvdbNZ : && LD_LIBRARY_PATH=/mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/bin/idlc -verbose @/tmp/mkInCnHD rm -f ../../../../unxfbsdi.pro/ucrdoc/cssloader.db : && LD_LIBRARY_PATH=/mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdi.pro/bin/regmerge ../../../../unxfbsdi.pro/ucrdoc/cssloader.db UCR @/tmp/mkb0uIWn gmake[5]: *** [nsFastLoadFile.o] Error 1 gmake[5]: *** Waiting for unfinished jobs.... gmake[5]: *** [nsFastLoadService.o] Error 1 gmake[5]: Leaving directory `/mnt2/tmp/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/moz/unxfbsdi.pro/misc/build/mozilla/I_objdir/xpcom/io' Fix: Google turned up this page: <https://aur.archlinux.org/packages/xulrunner192/?comments=all> with several suggested fixes. The first suggestion by techlive on on 2012-07-08 11:12 turned up a large number of instances of inconsistent usage of NS_METHOD vs. NS_IMETHOD_IMP. I eventually gave up on that and went with his last suggestion. It tranlates to this patch for the editors/openoffice-4 port. How-To-Repeat: Attempt to build editors/openoffice-4 on an i386 machine with gcc47.
Responsible Changed From-To: freebsd-ports-bugs->office Over to maintainer (via the GNATS Auto Assign Tool)
No longer relevant after upgrade to Apache OpenOffice 4.1.0.