Hi everybody As Nicolas Christener already discussed with Andrew Rist we managed to create an aoo build on OpenSolaris 5.11 sparc using Solarisstudio 12.3 (2011/11/14 c37c9c3fb6a6). We used aoo version 3.4 revision 1243611. Andrew asked for a build 'recipe' with workarounds and 'tricks'. Here we go :)
We installed these packages: pkg install pkg:/SUNWmercurial pkg install pkg:/SUNWj6dev pkg install pkg:/SUNWjunit pkg install pkg:/SUNWant pkg install pkg:/SUNWgnu-gperf pkg install pkg:/SUNWgnome-common-devel pkg install pkg:/SUNWbison pkg install pkg:/SUNWflexlex pkg install SUNWxorg-headers pkg install SUNWgmake pkg install SUNWcurl pkg install SUNWsvn pkg install SUNWaconf Our build script: http://www.adfinis-sygroup.ch/aoo/build-all.sh Some workaround were necessary which I'm going to explain. First of all we had to make two minor changes: 1. Change the shebang in ooo/main/fetch_tarballs.sh from #/bin/sh to #/bin/bash 2. Modify ooo/main/bootstrap.1 to use gtar instead of tar. Some modules caused Errors: bridgetest ---------- Build failed: Write to ../unxsols4.pro/misc/sdf/sdext/source/minMaking: constructors.uno.so /usr/bin/bash: line 1: 13499 Segmentation Fault LD_LIBRARY_PATH=/build/apache-build/ooo/main/solver/340/unxsols4.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /build/apache-b uild/ooo/main/solver/340/unxsols4.pro/bin/uno -ro uno_services.rdb -ro uno_types.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject dmake: Error code 139, while making 'runtest' *Workaround* Diff: http://www.adfinis-sygroup.ch/aoo/bridgetest_diff.txt A proper fix would be nice. slideshow --------- This module failed to build. Solution: Either remove line 37 in apache-build/ooo/main/slideshow/source/engine/makefile.mk ("ENABLE_PRESENTER_EXTRA_UI is not used anymore") or don't set --enable-presenter-extra-ui (as it is not used anymore - see the referenced makefile) coinmp ------ Weird issue. This module failed because of multiple declarations: "CoinMP.h", line 114: Error: Multiple declaration for COIN_MSGLOG_CB. "CoinMP.h", line 120: Error: Multiple declaration for COIN_LPITER_CB. "CoinMP.h", line 127: Error: Multiple declaration for COIN_MIPNODE_CB. "CoinMP.h", line 131: Error: Multiple declaration for MSGLOGCALLBACK. "CoinMP.h", line 136: Error: Multiple declaration for ITERCALLBACK. "CoinMP.h", line 142: Error: Multiple declaration for MIPNODECALLBACK. 6 Error(s) detected. *Workaround* 1. Comment out lines 113-146 in ooo/ext_libraries/coinmp/unxsols4.pro/misc/build/CoinMP-1.6.0/CoinMP/src/CoinMP.h and continue the build. 2. Of course this also fails. But now you can remove the comments in CounMP.h and continue the build again. This time it passes. -> A proper fix would be nice. vcl --- We also run into this issue: [ build LNK ] Library/libvclplug_gtk.so Undefined first referenced symbol in file g_thread_init /build/apache-build/ooo/main/solver/340/unxsols4.pro/workdir/CxxObject/vcl/unx/gtk/app/gtkinst.o ld: fatal: symbol referencing errors. No output written to /build/apache-build/ooo/main/solver/340/unxsols4.pro/workdir/LinkTarget/Library/libvclplug_gtk.so gmake: *** [/build/apache-build/ooo/main/solver/340/unxsols4.pro/workdir/LinkTarget/Library/libvclplug_gtk.so] Error 2 dmake: Error code 2, while making 'all' *Solution* Set GTK_LIBS="$GTK_LIBS -lgthread-2.0 -lpthread -lthread. This issue was already fixed upstream so this workaround is not required anymore. Feel free to contact us concerning builds on OpenSolaris if we can support the project. We can't promise anything but we are dependent on sparc builds so we are going to help if possible. Kind regards Denis -- Adfinis SyGroup AG Denis Simonet, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel. 031 550 31 11
signature.asc
Description: OpenPGP digital signature
