[RFC] LibreOffice build issues

Sergio de Almeida Lenzi lenzi.sergio at gmail.com
Thu Jul 26 13:26:13 UTC 2012


Em Qui, 2012-07-26 às 15:18 +0300, Andriy Gapon escreveu:

> on 26/07/2012 03:31 Jung-uk Kim said the following:
> > I guess you had installed OpenSSL from ports. ;-)
> 
> Yes, bingo.
> 


for me (amd64,freebsd 8.3 stable, dual Xeon, 12 cpu) run time=90
minutes.
It only builds with:
clang-devel (3.2)
flags (WITH-CLANG)...
and a modified===>  patch-testtools__source__bridgetest__makefile.m
that treats BSD like OSX PPC GCC...
the test dumps core (signal 6, 11) in the test...

On FreeBSD 9,10 builds OK..

==========================================================
--- testtools/source/bridgetest/makefile.mk.orig        2012-07-03
08:01:28.000000000 -0300
+++ testtools/source/bridgetest/makefile.mk     2012-07-25
21:08:23.000000000 -0300
@@ -56,6 +56,8 @@
 my_components += testComponent
 .END
 
+CFLAGSCXX += -fPIC
+
 .IF "$(GUI)"=="WNT"
 .IF "$(compcheck)" != ""
 CFLAGSCXX += -DCOMPCHECK
@@ -143,16 +145,16 @@
 
 #################################################################
 
-runtest : $(DLLDEST)$/uno_types.rdb $(DLLDEST)$/uno_services.rdb
makefile.mk \
-        $(SHL1TARGETN) $(SHL2TARGETN) $(SHL3TARGETN)
+runtest:
+       echo RUNTEST
+
+#runtest : $(DLLDEST)$/uno_types.rdb $(DLLDEST)$/uno_services.rdb
makefile.mk \
+#        $(SHL1TARGETN) $(SHL2TARGETN) $(SHL3TARGETN)
 .IF "$(CROSS_COMPILING)"!="YES"
 .IF "$(COM)$(OS)$(CPU)" == "GCCMACOSXP"
     @echo "Mac OSX PPC GCC fails this test!, likely broken UNO bridge.
Fix me."
 .ELSE
-        cd $(DLLDEST) && $(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/uno \
-        -ro uno_services.rdb -ro uno_types.rdb \
-        -s com.sun.star.test.bridge.BridgeTest -- \
-        com.sun.star.test.bridge.CppTestObject
+       echo "Broken on FreeBSD 8.x 7.x"
 .ENDIF
 ==================================================================


More information about the freebsd-ports mailing list