Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE

2011-06-08 Thread Lawrence Stewart

On 06/07/11 19:05, Maho NAKATA wrote:

thanks, committed,


Working for me now too. Thanks Don for the pointer and Nakata for 
committing the fix.


Cheers,
Lawrence
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE

2011-06-07 Thread Maho NAKATA
thanks, committed,
best regards,
 nakata maho

From: Maho NAKATA cha...@mac.com
Subject: Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE
Date: Tue, 07 Jun 2011 13:40:24 +0900 (JST)

 Hi Don,
 
 Great. I'll apply as soon as possible.
 thanks,
  Nakata Maho
 
 From: Don Lewis truck...@freebsd.org
 Subject: Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE
 Date: Mon, 06 Jun 2011 17:30:04 -0700 (PDT)
 
 On  8 May, Maho NAKATA wrote:
 Hi
 
 Thanks for your report. I'm aware of this issue, since my OOo build
 is broken at the same place. Sorry and I don't have a clue yet, but,
 I guess from folllowing error message, somehow moz module
 invoke make instead gmake.
 Makefile:83: *** missing separator.  Stop.
 
 Actually, I think a gmake update is causing this problem.  See this
 OpenOffice.org ticket:
 http://openoffice.org/bugzilla/show_bug.cgi?id=114323
 
 It looks like it's fixed in OOo 3.4, but in the meantime I've been able
 to build 3.3 with the following patch (from Comment #1 on the ticket)
 added to the files/ directory for the port:
 
 ===
 --- moz/makefile.mk.orig 2011-01-18 05:34:25.0 -0800
 +++ moz/makefile.mk  2011-04-29 16:04:37.0 -0700
 @@ -86,7 +86,8 @@
  patches/dtoa.patch \
  patches/respect_disable_pango.patch \
  patches/arm_build_fix.patch \
 -patches/link_fontconfig.patch
 +patches/link_fontconfig.patch \
 +patches/brokenmakefile.patch
  
  # This file is needed for the W32 build when BUILD_MOZAB is set
  # (currently only vc8/vs2005 is supported when BUILD_MOZAB is set)
 --- /dev/null2011-04-29 16:00:00.0 -0700
 +++ moz/patches/brokenmakefile.patch 2011-04-29 16:04:55.0 -0700
 @@ -0,0 +1,13 @@
 +--- misc/mozilla/mailnews/extensions/smime/build/Makefile.in
 2010-09-04 16:00:38.0 +0100
  misc/build/mozilla/mailnews/extensions/smime/build/Makefile.in  
 2010-09-04 16:02:24.0 +0100
 +@@ -79,10 +79,6 @@
 +$(DIST)/lib/$(LIB_PREFIX)msgsmime_s.$(LIB_SUFFIX) \
 +$(NULL)
 + 
 +-ifndef MOZ_STATIC_MAIL_BUILD
 +-SHARED_LIBRARY_LIBS + = $(DIST)/lib/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
 +-endif
 +-
 + EXTRA_DSO_LDOPTS = \
 +$(LIBS_DIR) \
 +$(EXTRA_DSO_LIBS) \
 ===
 
 ___
 freebsd-openoff...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice
 To unsubscribe, send any mail to freebsd-openoffice-unsubscr...@freebsd.org
 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE

2011-06-06 Thread Don Lewis
On  8 May, Maho NAKATA wrote:
 Hi
 
 Thanks for your report. I'm aware of this issue, since my OOo build
 is broken at the same place. Sorry and I don't have a clue yet, but,
 I guess from folllowing error message, somehow moz module
 invoke make instead gmake.
 Makefile:83: *** missing separator.  Stop.

Actually, I think a gmake update is causing this problem.  See this
OpenOffice.org ticket:
http://openoffice.org/bugzilla/show_bug.cgi?id=114323

It looks like it's fixed in OOo 3.4, but in the meantime I've been able
to build 3.3 with the following patch (from Comment #1 on the ticket)
added to the files/ directory for the port:

===
--- moz/makefile.mk.orig2011-01-18 05:34:25.0 -0800
+++ moz/makefile.mk 2011-04-29 16:04:37.0 -0700
@@ -86,7 +86,8 @@
 patches/dtoa.patch \
 patches/respect_disable_pango.patch \
 patches/arm_build_fix.patch \
-patches/link_fontconfig.patch
+patches/link_fontconfig.patch \
+patches/brokenmakefile.patch
 
 # This file is needed for the W32 build when BUILD_MOZAB is set
 # (currently only vc8/vs2005 is supported when BUILD_MOZAB is set)
--- /dev/null   2011-04-29 16:00:00.0 -0700
+++ moz/patches/brokenmakefile.patch2011-04-29 16:04:55.0 -0700
@@ -0,0 +1,13 @@
+--- misc/mozilla/mailnews/extensions/smime/build/Makefile.in   2010-09-04 
16:00:38.0 +0100
 misc/build/mozilla/mailnews/extensions/smime/build/Makefile.in 
2010-09-04 16:02:24.0 +0100
+@@ -79,10 +79,6 @@
+   $(DIST)/lib/$(LIB_PREFIX)msgsmime_s.$(LIB_SUFFIX) \
+   $(NULL)
+ 
+-ifndef MOZ_STATIC_MAIL_BUILD
+-SHARED_LIBRARY_LIBS + = $(DIST)/lib/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
+-endif
+-
+ EXTRA_DSO_LDOPTS = \
+   $(LIBS_DIR) \
+   $(EXTRA_DSO_LIBS) \
===
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE

2011-06-06 Thread Maho NAKATA
Hi Don,

Great. I'll apply as soon as possible.
thanks,
 Nakata Maho

From: Don Lewis truck...@freebsd.org
Subject: Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE
Date: Mon, 06 Jun 2011 17:30:04 -0700 (PDT)

 On  8 May, Maho NAKATA wrote:
 Hi
 
 Thanks for your report. I'm aware of this issue, since my OOo build
 is broken at the same place. Sorry and I don't have a clue yet, but,
 I guess from folllowing error message, somehow moz module
 invoke make instead gmake.
 Makefile:83: *** missing separator.  Stop.
 
 Actually, I think a gmake update is causing this problem.  See this
 OpenOffice.org ticket:
 http://openoffice.org/bugzilla/show_bug.cgi?id=114323
 
 It looks like it's fixed in OOo 3.4, but in the meantime I've been able
 to build 3.3 with the following patch (from Comment #1 on the ticket)
 added to the files/ directory for the port:
 
 ===
 --- moz/makefile.mk.orig  2011-01-18 05:34:25.0 -0800
 +++ moz/makefile.mk   2011-04-29 16:04:37.0 -0700
 @@ -86,7 +86,8 @@
  patches/dtoa.patch \
  patches/respect_disable_pango.patch \
  patches/arm_build_fix.patch \
 -patches/link_fontconfig.patch
 +patches/link_fontconfig.patch \
 +patches/brokenmakefile.patch
  
  # This file is needed for the W32 build when BUILD_MOZAB is set
  # (currently only vc8/vs2005 is supported when BUILD_MOZAB is set)
 --- /dev/null 2011-04-29 16:00:00.0 -0700
 +++ moz/patches/brokenmakefile.patch  2011-04-29 16:04:55.0 -0700
 @@ -0,0 +1,13 @@
 +--- misc/mozilla/mailnews/extensions/smime/build/Makefile.in 2010-09-04 
 16:00:38.0 +0100
  misc/build/mozilla/mailnews/extensions/smime/build/Makefile.in   
 2010-09-04 16:02:24.0 +0100
 +@@ -79,10 +79,6 @@
 + $(DIST)/lib/$(LIB_PREFIX)msgsmime_s.$(LIB_SUFFIX) \
 + $(NULL)
 + 
 +-ifndef MOZ_STATIC_MAIL_BUILD
 +-SHARED_LIBRARY_LIBS + = $(DIST)/lib/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
 +-endif
 +-
 + EXTRA_DSO_LDOPTS = \
 + $(LIBS_DIR) \
 + $(EXTRA_DSO_LIBS) \
 ===
 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE

2011-05-14 Thread Lawrence Stewart

Hi Nakata,

Apologies for the delay in replying.

On 05/12/11 11:54, Maho NAKATA wrote:

Hi

I also reproduced in the tinderbox...


Thanks for looking at this. Your analysis that make is being invoked 
instead of gmake is something I hadn't considered, but sounds plausible. 
If you have any ideas or patches for me to try, let me know.


Cheers,
Lawrence
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE

2011-05-11 Thread Maho NAKATA
Hi

I also reproduced in the tinderbox...

From: Maho NAKATA cha...@mac.com
Subject: Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE
Date: Sun, 08 May 2011 22:12:35 +0900 (JST)

 Hi
 
 Thanks for your report. I'm aware of this issue, since my OOo build
 is broken at the same place. Sorry and I don't have a clue yet, but,
 I guess from folllowing error message, somehow moz module
 invoke make instead gmake.
 Makefile:83: *** missing separator.  Stop.
 
 thanks,
  Nakata Maho
 
 From: Lawrence Stewart lstew...@freebsd.org
 Subject: OO 3.3.0 fails to build moz module on amd64 8-STABLE
 Date: Sun, 08 May 2011 13:51:36 +1000
 
 Hi,
 
 I've attempted to build OO 3.3.0 on two separate machines set up from
 scratch recently and both are unable to complete the OO build.
 
 My most recent attempt to build is with a ports tree cvsup'd yesterday
 (2011-05-07) and all my installed ports were built from the ports tree
 and are up to date. Some details about the system:
 
 lstewart@lstewart-laptop uname -a
 FreeBSD lstewart-laptop 8.2-STABLE FreeBSD 8.2-STABLE #0 r221492: Fri
 May 6 00:41:20 EST 2011
 lstewart@lstewart-laptop:/usr/obj/usr/src/sys/GENERIC amd64
 
 Relevant lines from /etc/make.conf:
 
 .if ${.CURDIR:M*/editors/openoffice.org-3}
 WITH_KDE4=1
 LOCALIZED_LANG=en-GB
 .endif
 
 I'm running KDE 4.6.2.
 
 
 
 
 The problem stems from the moz build module. Here are the last few
 lines of console output when the make dies:
 
 ##
 Entering
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/drawinglayer/util
 
 drawinglayer deliver
 
 Entering
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/slideshow/util
 
 slideshow deliver
 
 1 module(s):
 moz
 need(s) to be rebuilt
 
 Reason(s):
 
 ERROR: error 65280 occurred while making
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz
 
 Attention: if you fix the errors in above module(s) you may prolongue
 your the build issuing command:
 
 build --from moz
 
 *** Error code 1
 
 Stop in /usr/ports/editors/openoffice.org-3.
 ##
 
 
 
 
 The OO build log for the moz module says this:
 
 ##
 gmake[5]: Entering directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build'
 Makefile:83: *** missing separator.  Stop.
 gmake[5]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build'
 gmake[4]: *** [export] Error 2
 gmake[4]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime'
 gmake[3]: *** [export] Error 2
 gmake[3]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions'
 gmake[2]: *** [export] Error 2
 gmake[2]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews'
 gmake[1]: *** [tier_99] Error 2
 gmake[1]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir'
 gmake: *** [default] Error 2
 dmake: Error code 2, while making
 './unxfbsdx.pro/misc/build/so_built_ooo_mozab'
 ##
 
 
 
 
 Sure enough, line 83 of
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build/Makefile
 looks like this:
 
 SHARED_LIBRARY_LIBS + =
 $(DIST)/lib/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
 
 The space between the + and = looks like the problem to me. Some
 sort of Makefile template problem perhaps?
 
 If I delete the space to make += and re-run make from the
 editors/openoffice.org-3 port dir, the build dies again in the moz
 module. The console output when the make dies this time looks like:
 
 ##
 Entering
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/drawinglayer/source/animation
 
 slideshow deliver
 
 Entering
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/drawinglayer/util
 
 drawinglayer deliver
 
 1 module(s):
 moz
 need(s) to be rebuilt
 
 Reason(s):
 
 ERROR: error 65280 occurred while making
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz
 
 Attention: if you fix the errors in above module(s) you may prolongue
 your the build issuing command:
 
 build --from moz
 
 *** Error code 1
 
 Stop in /usr/ports/editors/openoffice.org-3.
 ##
 
 
 
 
 
 and the last few lines of the OO build log output for the moz module
 says this:
 
 
 ##
 gmake[5]: Entering directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build'
 nsMsgSMIMEFactory.cpp
 c++ -o nsMsgSMIMEFactory.o -c
 -I../../../../dist/include/system_wrappers -include
 ../../../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API
 -DOSTYPE=\FreeBSD8\ -DOSARCH=\FreeBSD\ -DBUILD_ID

Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE

2011-05-09 Thread Alexey Shuvaev
On Sun, May 08, 2011 at 10:12:35PM +0900, Maho NAKATA wrote:
 Hi
 
 Thanks for your report. I'm aware of this issue, since my OOo build
 is broken at the same place. Sorry and I don't have a clue yet, but,
 I guess from folllowing error message, somehow moz module
 invoke make instead gmake.
  Makefile:83: *** missing separator.  Stop.
 
 thanks,
  Nakata Maho
 
 From: Lawrence Stewart lstew...@freebsd.org
 Subject: OO 3.3.0 fails to build moz module on amd64 8-STABLE
 Date: Sun, 08 May 2011 13:51:36 +1000
 
  Hi,
  
  I've attempted to build OO 3.3.0 on two separate machines set up from
  scratch recently and both are unable to complete the OO build.
  
  My most recent attempt to build is with a ports tree cvsup'd yesterday
  (2011-05-07) and all my installed ports were built from the ports tree
  and are up to date. Some details about the system:
  
  lstewart@lstewart-laptop uname -a
  FreeBSD lstewart-laptop 8.2-STABLE FreeBSD 8.2-STABLE #0 r221492: Fri
  May 6 00:41:20 EST 2011
  lstewart@lstewart-laptop:/usr/obj/usr/src/sys/GENERIC amd64
  
  Relevant lines from /etc/make.conf:
  
  .if ${.CURDIR:M*/editors/openoffice.org-3}
  WITH_KDE4=1
  LOCALIZED_LANG=en-GB

The workaround could be to add
WITHOUT_MOZILLA=yes
here.

  .endif
  
  I'm running KDE 4.6.2.
  
  
  
  
  The problem stems from the moz build module. Here are the last few
  lines of console output when the make dies:
  
HTH,
Alexey.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: OO 3.3.0 fails to build moz module on amd64 8-STABLE

2011-05-08 Thread Maho NAKATA
Hi

Thanks for your report. I'm aware of this issue, since my OOo build
is broken at the same place. Sorry and I don't have a clue yet, but,
I guess from folllowing error message, somehow moz module
invoke make instead gmake.
 Makefile:83: *** missing separator.  Stop.

thanks,
 Nakata Maho

From: Lawrence Stewart lstew...@freebsd.org
Subject: OO 3.3.0 fails to build moz module on amd64 8-STABLE
Date: Sun, 08 May 2011 13:51:36 +1000

 Hi,
 
 I've attempted to build OO 3.3.0 on two separate machines set up from
 scratch recently and both are unable to complete the OO build.
 
 My most recent attempt to build is with a ports tree cvsup'd yesterday
 (2011-05-07) and all my installed ports were built from the ports tree
 and are up to date. Some details about the system:
 
 lstewart@lstewart-laptop uname -a
 FreeBSD lstewart-laptop 8.2-STABLE FreeBSD 8.2-STABLE #0 r221492: Fri
 May 6 00:41:20 EST 2011
 lstewart@lstewart-laptop:/usr/obj/usr/src/sys/GENERIC amd64
 
 Relevant lines from /etc/make.conf:
 
 .if ${.CURDIR:M*/editors/openoffice.org-3}
 WITH_KDE4=1
 LOCALIZED_LANG=en-GB
 .endif
 
 I'm running KDE 4.6.2.
 
 
 
 
 The problem stems from the moz build module. Here are the last few
 lines of console output when the make dies:
 
 ##
 Entering
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/drawinglayer/util
 
 drawinglayer deliver
 
 Entering
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/slideshow/util
 
 slideshow deliver
 
 1 module(s):
 moz
 need(s) to be rebuilt
 
 Reason(s):
 
 ERROR: error 65280 occurred while making
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz
 
 Attention: if you fix the errors in above module(s) you may prolongue
 your the build issuing command:
 
 build --from moz
 
 *** Error code 1
 
 Stop in /usr/ports/editors/openoffice.org-3.
 ##
 
 
 
 
 The OO build log for the moz module says this:
 
 ##
 gmake[5]: Entering directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build'
 Makefile:83: *** missing separator.  Stop.
 gmake[5]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build'
 gmake[4]: *** [export] Error 2
 gmake[4]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime'
 gmake[3]: *** [export] Error 2
 gmake[3]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions'
 gmake[2]: *** [export] Error 2
 gmake[2]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews'
 gmake[1]: *** [tier_99] Error 2
 gmake[1]: Leaving directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir'
 gmake: *** [default] Error 2
 dmake: Error code 2, while making
 './unxfbsdx.pro/misc/build/so_built_ooo_mozab'
 ##
 
 
 
 
 Sure enough, line 83 of
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build/Makefile
 looks like this:
 
 SHARED_LIBRARY_LIBS + =
 $(DIST)/lib/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
 
 The space between the + and = looks like the problem to me. Some
 sort of Makefile template problem perhaps?
 
 If I delete the space to make += and re-run make from the
 editors/openoffice.org-3 port dir, the build dies again in the moz
 module. The console output when the make dies this time looks like:
 
 ##
 Entering
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/drawinglayer/source/animation
 
 slideshow deliver
 
 Entering
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/drawinglayer/util
 
 drawinglayer deliver
 
 1 module(s):
 moz
 need(s) to be rebuilt
 
 Reason(s):
 
 ERROR: error 65280 occurred while making
 /usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz
 
 Attention: if you fix the errors in above module(s) you may prolongue
 your the build issuing command:
 
 build --from moz
 
 *** Error code 1
 
 Stop in /usr/ports/editors/openoffice.org-3.
 ##
 
 
 
 
 
 and the last few lines of the OO build log output for the moz module
 says this:
 
 
 ##
 gmake[5]: Entering directory
 `/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build'
 nsMsgSMIMEFactory.cpp
 c++ -o nsMsgSMIMEFactory.o -c
 -I../../../../dist/include/system_wrappers -include
 ../../../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API
 -DOSTYPE=\FreeBSD8\ -DOSARCH=\FreeBSD\ -DBUILD_ID=00
 -I../../../../dist/include/xpcom -I../../../../dist/include/string
 -I../../../../dist/include/mime -I../../../../dist/include/msgcompose
 -I../../../../dist/include/pipnss -I../../../../dist

OO 3.3.0 fails to build moz module on amd64 8-STABLE

2011-05-07 Thread Lawrence Stewart

Hi,

I've attempted to build OO 3.3.0 on two separate machines set up from 
scratch recently and both are unable to complete the OO build.


My most recent attempt to build is with a ports tree cvsup'd yesterday 
(2011-05-07) and all my installed ports were built from the ports tree 
and are up to date. Some details about the system:


lstewart@lstewart-laptop uname -a
FreeBSD lstewart-laptop 8.2-STABLE FreeBSD 8.2-STABLE #0 r221492: Fri 
May  6 00:41:20 EST 2011 
lstewart@lstewart-laptop:/usr/obj/usr/src/sys/GENERIC  amd64


Relevant lines from /etc/make.conf:

.if ${.CURDIR:M*/editors/openoffice.org-3}
WITH_KDE4=1
LOCALIZED_LANG=en-GB
.endif

I'm running KDE 4.6.2.




The problem stems from the moz build module. Here are the last few 
lines of console output when the make dies:


##
Entering 
/usr/ports/editors/openoffice.org-3/work/OOO330_m20/drawinglayer/util


drawinglayer deliver

Entering /usr/ports/editors/openoffice.org-3/work/OOO330_m20/slideshow/util

slideshow deliver

1 module(s):
moz
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making 
/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz


Attention: if you fix the errors in above module(s) you may prolongue 
your the build issuing command:


build --from moz

*** Error code 1

Stop in /usr/ports/editors/openoffice.org-3.
##




The OO build log for the moz module says this:

##
gmake[5]: Entering directory 
`/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build'

Makefile:83: *** missing separator.  Stop.
gmake[5]: Leaving directory 
`/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build'

gmake[4]: *** [export] Error 2
gmake[4]: Leaving directory 
`/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime'

gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory 
`/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions'

gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory 
`/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews'

gmake[1]: *** [tier_99] Error 2
gmake[1]: Leaving directory 
`/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir'

gmake: *** [default] Error 2
dmake:  Error code 2, while making 
'./unxfbsdx.pro/misc/build/so_built_ooo_mozab'

##




Sure enough, line 83 of 
/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build/Makefile 
looks like this:


SHARED_LIBRARY_LIBS + = $(DIST)/lib/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)

The space between the + and = looks like the problem to me. Some 
sort of Makefile template problem perhaps?


If I delete the space to make += and re-run make from the 
editors/openoffice.org-3 port dir, the build dies again in the moz 
module. The console output when the make dies this time looks like:


##
Entering 
/usr/ports/editors/openoffice.org-3/work/OOO330_m20/drawinglayer/source/animation


slideshow deliver

Entering 
/usr/ports/editors/openoffice.org-3/work/OOO330_m20/drawinglayer/util


drawinglayer deliver

1 module(s):
moz
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making 
/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz


Attention: if you fix the errors in above module(s) you may prolongue 
your the build issuing command:


build --from moz

*** Error code 1

Stop in /usr/ports/editors/openoffice.org-3.
##





and the last few lines of the OO build log output for the moz module 
says this:



##
gmake[5]: Entering directory 
`/usr/ports/editors/openoffice.org-3/work/OOO330_m20/moz/unxfbsdx.pro/misc/build/mozilla/X_objdir/mailnews/extensions/smime/build'

nsMsgSMIMEFactory.cpp
c++ -o nsMsgSMIMEFactory.o -c -I../../../../dist/include/system_wrappers 
-include ../../../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\FreeBSD8\ -DOSARCH=\FreeBSD\ -DBUILD_ID=00 
-I../../../../dist/include/xpcom -I../../../../dist/include/string 
-I../../../../dist/include/mime -I../../../../dist/include/msgcompose 
-I../../../../dist/include/pipnss -I../../../../dist/include/necko 
-I../../../../dist/include/intl -I../../../../dist/include/caps 
-I../../../../dist/include/msgsmime -I../../../../dist/include 
-I../../../../dist/include/nspr-I/usr/local/include   -fPIC 
-I/usr/local/include  -I/usr/local/include -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 
-I/usr/local/include  -I/usr/local/include -DMOZILLA_CLIENT