Anyone managed to build openoffice under 4.8?

Julian Elischer julian at elischer.org
Fri May 23 11:30:02 PDT 2003


under both 4.8 and 4.8-STABLE

Am I the only person having this problem?


cd /usr/ports
rm  -rf *
cvs up -dPA
cd editors/openoffice
make

always ends after a couple of hours compiling at:
(lines wrapped manuallly for readability)

g++32 -o mimecms.o -c -DENABLE_SMIME
-DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" 
-DOJI  
-I../../../dist/include/xpcom 
-I../../../dist/include/string
-I../../../dist/include/msgbase 
-I../../../dist/include/msgbaseutil
-I../../../dist/include/pref 
-I../../../dist/include/js 
-I../../../dist/include/necko
-I../../../dist/include/uconv 
-I../../../dist/include/unicharutil
-I../../../dist/include/msgcompose 
-I../../../dist/include/editor 
-I../../../dist/include/dom
-I../../../dist/include/intl 
-I../../../dist/include/msgimap
-I../../../dist/include/exthandler 
-I../../../dist/include/mailnews 
-I../../../dist/include/msgdb
-I../../../dist/include/chardet 
-I../../../dist/include/caps
-I../../../dist/include/mimetype 
-I../../../dist/include/uriloader 
-I../../../dist/include/xpconnect
-I../../../dist/include/nkcache 
-I../../../dist/include/pipnss
-I../../../dist/include/imglib2 
-I../../../dist/include/msgsmime 
-I../../../dist/include/mime
-I../../../dist/include
-I/usr/ports/editors/openoffice/work/mozilla/work/mozilla/dist/include/nspr 
-I/usr/local/include 
-I/usr/local/include 
-I/usr/local/include
-I/usr/X11R6/include   
-fPIC  
-I/usr/X11R6/include  
-I/usr/X11R6/include 
-fno-rtti
-fno-exceptions -Wall -Wconversion -Wpointer-arith 
-Wbad-function-cast -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-long-long -O -pipe
-fshort-wchar -pipe  -DNDEBUG -DTRIMMED 
-ffunction-sections  -I/usr/X11R6/include
-I/usr/X11R6/include -DMOZILLA_CLIENT 
-include ../../../config-defs.h mimecms.cpp
In file included from
/usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.3/inclu
de/g++-v3/backward/new.h:33,
                 from
../../../dist/include/string/nsBufferHandleUtils.h:36,
                 from
../../../dist/include/string/nsSharableString.h:35,
                 from
../../../dist/include/string/nsPromiseFlatString.h:28,
                 from ../../../dist/include/string/nsString2.h:70,
                 from ../../../dist/include/string/nsString.h:54,
                 from
../../../dist/include/uconv/nsICharsetConverterManager2.h: 27,
                 from modlmime.h:50,
                 from mimehdrs.h:41,
                 from mimei.h:218,
                 from mimeobj.h:41,
                 from mimecont.h:41,
                 from mimecryp.h:42,
                 from mimecms.h:41,
                 from mimecms.cpp:39:
/usr/local/lib/gcc-lib/i386-portbld-freebsd4.8/3.2.3/include/g++-v3/backward/bac
kward_warning.h:32:2: warning: #warning This file includes at least one
deprecated or antiquated header. Please consider using one of the 32 headers
found in section 17.4.1.2 of the C++ standard. Examples include substituting the
<X> header
 for the <X.h> header for C++ includes, or <sstream> instead of the
deprecated h
eader <strstream.h>. To disable this warning use -Wno-deprecated.
mimecms.cpp:57: warning: aggregate has a partly bracketed initializer
mimecms.cpp:57: warning: aggregate has a partly bracketed initializer
mimecms.cpp:57: warning: aggregate has a partly bracketed initializer
mimecms.cpp: In function `int 
   MimeEncryptedCMSClassInitialize(MimeEncryptedCMSClass*)':
mimecms.cpp:75: warning: unused variable `MimeObjectClass*oclass'
mimecms.cpp: In function `PRBool
MimeCMSHeadersAndCertsMatch(MimeObject*, 
   nsICMSMessage*, char**)':
mimecms.cpp:254: warning: unused variable `int n'
mimecms.cpp:262: warning: unused variable `int n'
mimecms.cpp: In function `char* MimeCMS_generate(void*)':
mimecms.cpp:717: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[4]: *** [mimecms.o] Error 1
gmake[4]: Leaving directory
`/usr/ports/editors/openoffice/work/mozilla/work/moz
illa/mailnews/mime/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/usr/ports/editors/openoffice/work/mozilla/work/moz
illa/mailnews/mime'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/usr/ports/editors/openoffice/work/mozilla/work/moz
illa/mailnews'
gmake[1]: *** [tier_97] Error 2
gmake[1]: Leaving directory
`/usr/ports/editors/openoffice/work/mozilla/work/moz
illa'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/ports/editors/openoffice/work/mozilla.
*** Error code 1

Stop in /usr/ports/editors/openoffice.
*** Error code 1

Stop in /usr/ports/editors/openoffice.


Interestingly, Mozilla builds fine if doen by itself.




More information about the freebsd-ports mailing list