Date: Wed, 11 Aug 2004 17:20:39 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: openoffice@FreeBSD.org Cc: harti@FreeBSD.org Subject: openoffice-1.1 build more broken than usual on 5.2-CURRENT Message-ID: <200408120020.i7C0KdBE018634@gw.catspoiler.org>
next in thread | raw e-mail | index | archive | help
I was last able to build openoffice-1.1 on July 30th, but now the build dies like this: gmake[3]: Entering directory `/usr/ports/editors/openoffice-1.1/work/mozilla/work/mozilla/nsprpub/config' gcc32 -o now.o -c -O -pipe now.c now.c:45:2: #error "Architecture not supported" now.c:123:2: #error "Architecture not supported" gmake[3]: *** [now.o] Error 1 gmake[3]: Leaving directory `/usr/ports/editors/openoffice-1.1/work/mozilla/work/mozilla/nsprpub/config' gmake[2]: *** [export] Error 2 gmake[2]: Leaving directory `/usr/ports/editors/openoffice-1.1/work/mozilla/work/mozilla/nsprpub' gmake[1]: *** [nspr] Error 2 gmake[1]: Leaving directory `/usr/ports/editors/openoffice-1.1/work/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 When the build was still working, the command to build now.o was: gcc32 -o now.o -c -O -pipe -pipe -ansi -Wall -pthread -fPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_THREAD_SAFE=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM now.c I was able to get past this point by removing CFLAGS="${CFLAGS)" from the line in files/Makefile.mozilla: @cd ${WRKDIR}/mozilla ; ${MAKE} CXX="${CXX}" CC="${CC}" CFLAGS="${CFLAGS }" USE_GCC=${USE_GCC} build WRKDIRPREFIX="" though this probably isn't the proper fix because we probably want to obey the optimization options. I think the trigger for the breakage was the recent changes to make's handling of MAKEFLAGS in 5.2-CURRENT.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408120020.i7C0KdBE018634>