openoffice build fails in current

Ganbold ganbold at micom.mng.net
Fri Jul 6 10:12:08 UTC 2007


Hi,

I'm trying to build Openoffice in today's current.
Build make -DWITHOUT_MOZILLA -DWITHOUT_GNOMEVFS command fails with:
...
          /bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT="" \
        HEADERS="ansidecl.h" DEFINES="" \
        /bin/sh .././..//gcc-3.4.1/gcc/mkconfig.sh tconfig.h
./xgcc -B./ -B/usr/local/i386-portbld-freebsd7.0/bin/ -isystem 
/usr/local/i386-portbld-freebsd7.0/include -isystem 
/usr/local/i386-portbld-freebsd7.0/sys-include 
-L/usr/ports/lang/gcc-ooo/work/build/gcc/../ld -O2 -DIN_GCC    -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include  -I. -I. 
-I.././..//gcc-3.4.1/gcc -I.././..//gcc-3.4.1/gcc/. 
-I.././..//gcc-3.4.1/gcc/../include   -g0 -finhibit-size-directive 
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss 
-fno-unit-at-a-time  \
           -c .././..//gcc-3.4.1/gcc/crtstuff.c -DCRT_BEGIN \
          -o crtbegin.o
In file included from .././..//gcc-3.4.1/gcc/tsystem.h:79,
                 from .././..//gcc-3.4.1/gcc/crtstuff.c:62:
./include/stdio.h:70: error: parse error before "__not_va_list__"
./include/stdio.h:265: error: parse error before "__GNUC_DUMMY_VA_LIST"
./include/stdio.h:266: error: parse error before "__GNUC_DUMMY_VA_LIST"
./include/stdio.h:268: error: parse error before "__GNUC_DUMMY_VA_LIST"
./include/stdio.h:273: error: parse error before "__GNUC_DUMMY_VA_LIST"
./include/stdio.h:275: error: parse error before "__GNUC_DUMMY_VA_LIST"
./include/stdio.h:277: error: parse error before "__GNUC_DUMMY_VA_LIST"
./include/stdio.h:278: error: parse error before "__GNUC_DUMMY_VA_LIST"
./include/stdio.h:350: error: parse error before "__GNUC_DUMMY_VA_LIST"
gmake[2]: *** [crtbegin.o] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc-ooo/work/build/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc-ooo/work/build/gcc'
gmake: *** [bootstrap-lean] Error 2
*** Error code 2

Stop in /usr/ports/lang/gcc-ooo.
*** Error code 1

Stop in /usr/ports/editors/openoffice.org-2.
-----------------------------------------------------------------------------------------------

I also tried make -DWITHOUT_MOZILLA -DWITHOUT_GNOMEVFS WITH_GNUGCJ=yes.
It fails with:

===>   openoffice.org-2.2.1 depends on file: 
/usr/local/libdata/ldconfig/gcc41-withgcjawt - not found
===>    Verifying install for 
/usr/local/libdata/ldconfig/gcc41-withgcjawt in 
/usr/ports/lang/gcc41-withgcjawt
===>  Building for gcc-withgcjawt-4.1.3_20070618
gmake[1]: Entering directory 
`/usr/ports/lang/gcc41-withgcjawt/work/build/build-i386-portbld-freebsd7.0/libiberty'
gmake[2]: Entering directory 
`/usr/ports/lang/gcc41-withgcjawt/work/build/build-i386-portbld-freebsd7.0/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory 
`/usr/ports/lang/gcc41-withgcjawt/work/build/build-i386-portbld-freebsd7.0/libiberty/testsuite'
gmake[1]: Leaving directory 
`/usr/ports/lang/gcc41-withgcjawt/work/build/build-i386-portbld-freebsd7.0/libiberty'
gmake[1]: Entering directory 
`/usr/ports/lang/gcc41-withgcjawt/work/build/build-i386-portbld-freebsd7.0/fixincludes'
gmake[1]: *** No rule to make target `i386-portbld-freebsd7.0', needed 
by `all'.  Stop.
gmake[1]: Leaving directory 
`/usr/ports/lang/gcc41-withgcjawt/work/build/build-i386-portbld-freebsd7.0/fixincludes'
gmake: *** [all-build-fixincludes] Error 2
*** Error code 2

Stop in /usr/ports/lang/gcc41-withgcjawt.
*** Error code 1

Stop in /usr/ports/editors/openoffice.org-2.

Any idea?


thanks,

Ganbold

-- 
Q: Why do people who live near Niagara Falls have flat foreheads? A: 
Because every morning they wake up thinking "What *is* that noise? Oh, 
right, *of course*!



More information about the freebsd-ports mailing list