AOO341 Solaris SPARC
Hello Everybody We have compiled Apache OpenOffice 3.4.1 for Solaris SPARC http://adfinis-sygroup.ch/aoo-solaris-sparc We tested it on: - OpenSolaris 2009.06 SPARC - Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC it does NOT run on: - Oracle Solaris 11 11/11 SPARC We are investigating the problem. Best, Jean-Louis -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel.: +41 31 550 31 11 signature.asc Description: Message signed with OpenPGP using GPGMail
Patch for fetch_tarballs.sh on Soloaris
Hi Sed on solaris doesn't understand [[:space:]], I changed those to \s. See patch. Best, Jean-Louis fetch_tarballs_sed_solaris.patch Description: Binary data -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch signature.asc Description: Message signed with OpenPGP using GPGMail
Crash when saving with password (OpenSolaris)
Hello When I save an odt file with a password I get a SEGV in mozilla (netscape portable runtime). As a test, I removed the call to deleteRootsModule() in nssinitializer.cxx, which allows me to save the file, but it will then crash later when calling NSS_Shutdown(). It seems to crash when trying to lock. See the attached stacktrace. Unfortunately mozilla seems still be built with optimizations even though this is a debug build. t@1 (l@1) signal SEGV (no mapping at the fault address) in NSSRWLock_LockRead_Util at 0xef93c4d8 0xef93c4d8: NSSRWLock_LockRead_Util+0x0014: ld [%i5], %o0 As another test I build against system-mozilla. Best, Jean-Louis (dbx) where [1] NSSRWLock_LockRead_Util(0x0, 0xef258b84, 0x22dc, 0x2000, 0x1, 0x0), at 0xef93c4d8 =>[2] __unnamed_BAAA$T2dhPlpV::deleteRootsModule() (optimized), at 0xef2d80dc (line ~134) in "nssinitializer.cxx" [3] __unnamed_BAAA$T2dhPlpV::nsscrypto_initialize(xMSF = CLASS, out_nss_init = true) (optimized), at 0xef2d8754 (line ~296) in "nssinitializer.cxx" [4] __unnamed_BAAA$T2dhPlpV::InitNSSInitialize::operator()(this = 0xffbfd4cc) (optimized), at 0xef2d9dd8 (line ~113) in "nssinitializer.cxx" [5] ONSSInitializer::initNSS(this = , xMSF = CLASS) (optimized), at 0xef2d8d28 (line ~283) in "instance.hxx" [6] ONSSInitializer::getDigestContext(this = 0xefc9c608, nDigestID = 2, aParams = CLASS) (optimized), at 0xef2d8e40 (line ~432) in "nssinitializer.cxx" [7] comphelper::OStorageHelper::CreatePackageEncryptionData(0xffbfd770, 0xffbfd76c, 0xffbfd768, 0xefc9c61c, 0xfe665334, 0xfe65dff0), at 0xfe5a7320 [8] sfx2::FileDialogHelper_Impl::execute(0xeff9b3f0, 0xffbfd81c, 0xffbfdbd0, 0x1, 0xf6566c14, 0x4), at 0xf623a978 [9] sfx2::FileDialogHelper::Execute(0x11aa338, 0xffbfdbd0, 0xffbfdbb4, 0xfe2b1c94, 0x8001, 0x4f400), at 0xf623ff24 [10] ModelData_Impl::OutputFileDialog(0xffbfe3e0, 0x11aa338, 0xbaf8, 0x157e, 0xffbfdbd4, 0x0), at 0xf6304458 [11] SfxStoringHelper::GUIStoreModel(0xffbfe0f0, 0xffbfe060, 0x0, 0xffbfe680, 0xf652bab5, 0xffbfe658), at 0xf63087a4 [12] SfxObjectShell::ExecFile_Impl(0x51a920, 0xffbfea9c, 0x0, 0x157e, 0x0, 0xffbfe67c), at 0xf63257a0 [13] SfxDispatcher::Call_Impl(0x10dbab0, 0x51a920, 0xf658211c, 0xffbfea9c, 0xffbfe977, 0xf6566c14), at 0xf63f5710 [14] SfxDispatchController_Impl::dispatch(0x1193a20, 0xfe71191c, 0x9, 0xffbfec14, 0xffbfeaf0, 0x0), at 0xf62174dc [15] SfxOfficeDispatch::dispatch(0xeff929e4, 0xffbfecfc, 0xffbfecf8, 0xfdd432c0, 0xf6566c14, 0x5ac00), at 0xf62152d8 [16] framework::MenuBarManager::Select(0xf004731c, 0x1, 0xa, 0xf53cc320, 0xf53c7ec8, 0xffbfed20), at 0xf5282cb8 [17] Menu::Select(0x10b5b60, 0x0, 0x4, 0xffbfed88, 0x0, 0xfe304408), at 0xfcc36d88 [18] Menu::ImplCallSelect(0x10b5b60, 0x0, 0xfcde7324, 0x0, 0xfcc36d24, 0xfce029cc), at 0xfcc3c45c [19] ImplHandleUserEvent(0x11f2768, 0xfcc3c440, 0x117f5a0, 0x11f2778, 0xf, 0x0), at 0xfccc293c [20] ImplWindowFrameProc(0x559890, 0x0, 0x16, 0xfccc30b0, 0x11f2768, 0x5599c0), at 0xfccc338c [21] SalDisplay::DispatchInternalEvent(0x5ea00, 0x22c80, 0xfccc3164, 0x16, 0x11f2768, 0x559b00), at 0xfb6e1490 [22] GtkXLib::userEventFn(0x26e80, 0xfcdf3554, 0xfcdf3540, 0xfd6d6978, 0x0, 0x250d0), at 0xfd69b26c [23] g_main_dispatch(0x523d8, 0x523e0, 0xfb4edf68, 0x0, 0xfb4ebd90, 0xfb447d20), at 0xfb443988 [24] g_main_context_dispatch(0xfb4ee140, 0x523e0, 0x28, 0xfb4ee13c, 0x523e0, 0x523d8), at 0xfb445054 [25] g_main_context_iterate(0x523d8, 0x0, 0x1, 0xfb4ee148, 0x1, 0x1), at 0xfb44560c [26] g_main_context_iteration(0x0, 0x0, 0x523e0, 0x44, 0x1, 0x523d8), at 0xfb445898 [27] GtkXLib::Yield(0x26e80, 0x1, 0x0, 0x1, 0x0, 0xfcdf3540), at 0xfd69b428 [28] ImplYield(0x1, 0xfcdf3554, 0x0, 0x0, 0x1, 0x0), at 0xfca065a4 [29] Application::Execute(0x1, 0xfcdf3554, 0xfcdf3540, 0xfcde7324, 0x374, 0x0), at 0xfca02f48 [30] desktop::Desktop::Main(this = 0xffbff82c) (optimized), at 0xfe9b50cc (line ~2159) in "app.cxx" [31] ImplSVMain(0x0, 0xfcdf3540, 0x1, 0x0, 0xfcde7324, 0x4000), at 0xfca09e84 [32] SVMain(0xb0, 0x8002, 0xffbff828, 0x2, 0x8000, 0x4000), at 0xfca0a044 [33] soffice_main() (optimized), at 0xfe9e41b0 (line ~45) in "sofficemain.cxx" [34] sal_main() (optimized), at 0x10ca0 (line ~31) in "main.c" [35] main(argc = 1, argv = 0xffbff984) (optimized), at 0x10c84 (line ~30) in "main.c" -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Sal Shadow API on Solaris
Hello I did that error when copy&pasting the path in the mail. The file actually is main/sal/osl/unx/system.h So the build-system should define OLD_SHADOW_API on OpenSolaris? Best, Jean On 02.04.2012, at 17:32, Pedro Giffuni wrote: > Hmm... this sounds wrong:for Solaris you should be including > sal/osl/unx/system.hnot the OS2 header. > Pedro. > > --- Lun 2/4/12, Jean-Louis 'Hans' Fuchs > ha scritto: > ... > > Hello > main/sal/osl/os2/system.h > 586 #ifdef OLD_SHADOW_API587 if (getspnam_r(pszUserName, > &spwdStruct, buffer, sizeof buffer) != NULL)588 #else589 > if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buffer, NULL) == > 0)590 #endif > The build on OpenSolaris 2009.06 fails because it has the 4 param function. I > defined OLD_SHADOW_API and it works. IMO it should be defined by the > build-env. > Best, Jean-Louis > > -- > Adfinis SyGroup AG > Jean-Louis 'Hans' Fuchs, Software Engineer > Keltenstrasse 98 | CH-3018 Bern > Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch > > -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch signature.asc Description: Message signed with OpenPGP using GPGMail
Re: ParagraphData copy constructor not found
Hello Armin Thanks that worked although I had to change EDITENG_DLLPUBLIC to __global. Best, Jean On 05.04.2012, at 12:06, Armin Le Grand wrote: > On 05.04.2012 11:29, Jean-Louis 'Hans' Fuchs wrote: >> Hello >> >> I get an undefined symbol error for "ParagraphData::ParagraphData(const >> ParagraphData&)". I checked that the library libediteng.so is included, that >> the symbol is there and that it really demangles to the signature. See below. >> >> Has anybody an idea what I could try next? >> Is it possible to disable that module? Since this is a debug build that I >> need soon and in the release build this doesn't happen. > > ParagraphData is not used in dlgedfunc.cxx (in reportdesigner), it is also > not exported from libediteng (see paragraphdata.hxx). Seems to be a solaris > compiler thingy; somehow (maybe includes and inlines) he wants that > constructor. > > ParagraphData is not used outside editengine module, thus it is okay not to > export it (each single export makes the startup slower, thus this was > optimized once). If you find no solution, you may add EDITENG_DLLPUBLIC to > the ParagraphData definition in paragraphdata.hxx, rebuild and deliver > editeng module and try again. > > Should look like this: > > class EDITENG_DLLPUBLIC ParagraphData > { > ... > > > Please do not check this in, it's only a workarund. > > HTH! > > Sincerely, > Armin > > >> Best, >> Jean >> >> oobuild@sundev: ~/aoo-build-debug/ooo/main/reportdesign/unxsols4 $ >> /opt/solarisstudio12.3//bin/CC -w -mt -z combreloc -PIC -temp=/tmp >> -norunpath -library=no%Cstd -R'$ORIGIN:$ORIGIN/../ure-link/lib' -z text -G >> -Bdirect -z defs -M ../unxsols4/misc/component_rptui.map -L../unxsols4/lib >> -L../lib -L/build/aoo-build-debug/ooo/main/solenv/unxsols4/lib >> -L/build/aoo-build-debug/ooo/main/solver/340/unxsols4/lib >> -L/build/aoo-build-debug/ooo/main/solenv/unxsols4/lib >> -L/build/aoo-build-debug/ooo/main/solenv/unxsols4/libsolaris.2.6 -L/lib >> -L/usr/lib -L/usr/local/lib -L/usr/dt/lib -L/usr/openwin/lib >> -L/usr/jdk/instances/jdk1.6.0/lib >> -L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc >> -L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/xawt >> -L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/native_threads -L/usr/X11/lib >> ../unxsols4/slo/rptui_version.o -o ../unxsols4/lib/librptui.so >> ../unxsols4/slo/RptUndo.o ../unxsols4/slo/ColorListener.o >> ../unxsols4/slo/UITools.o ../unxsols4/slo/rptuiservices.o ../unxsols4/slo/ > toolbox > controller.o ../unxsols4/slo/statusbarcontroller.o > ../unxsols4/slo/FunctionHelper.o ../unxsols4/slo/dlgpage.o > ../unxsols4/slo/Condition.o ../unxsols4/slo/CondFormat.o > ../unxsols4/slo/GroupExchange.o ../unxsols4/slo/PageNumber.o > ../unxsols4/slo/DateTime.o ../unxsols4/slo/AddField.o > ../unxsols4/slo/Navigator.o ../unxsols4/slo/GroupsSorting.o > ../unxsols4/slo/Formula.o ../unxsols4/slo/uistrings.o > ../unxsols4/slo/DefaultInspection.o ../unxsols4/slo/ReportComponentHandler.o > ../unxsols4/slo/GeometryHandler.o ../unxsols4/slo/DataProviderHandler.o > ../unxsols4/slo/metadata.o ../unxsols4/slo/SectionWindow.o > ../unxsols4/slo/ReportController.o ../unxsols4/slo/ReportControllerObserver.o > ../unxsols4/slo/FormattedFieldBeautifier.o ../unxsols4/slo/FixedTextColor.o > ../unxsols4/slo/ReportSection.o ../unxsols4/slo/SectionView.o > ../unxsols4/slo/ViewsWindow.o ../unxsols4/slo/ScrollHelper.o > ../unxsols4/slo/StartMarker.o ../unxsols4/slo/EndMarker.o > ../unxsols4/slo/dlgedfunc.o ../unxsols4/slo/dlgedfa > c.o ../u > nxsols4/slo/dlgedclip.o ../unxsols4/slo/ReportWindow.o > ../unxsols4/slo/DesignView.o ../unxsols4/slo/propbrw.o -lediteng -lsvxcore > -lsvx -lsfx -lsvt -ltk -lvcl -lsvl -lsot -lutl -ltl -ldbtools -lcomphelpC52 > -luno_cppuhelperC52 -luno_cppu -lfwe -li18nisolang1C52 -luno_sal -ldbu -lrpt > -lfor -lforui -Bdynamic -lpthread -lCrun -lm -lc -Bdynamic > -lstlport_sunpro_debug >> Undefined first referenced >> symbol in file >> ParagraphData::ParagraphData(const ParagraphData&) >> ../unxsols4/slo/dlgedfunc.o >> ld: fatal: symbol referencing errors. No output written to >> ../unxsols4/lib/librptui.so >> oobuild@sundev: ~/aoo-build-debug/ooo/main/reportdesign/unxsols4 $ >> >> oobuild@sundev: ~/aoo-build-debug/ooo/main/reportdesign/unxsols4 $ nm >> ../unxsols4/slo/dlgedfunc.o | grep ParagraphData | grep UNDEF >> [772] | 0| 0|FUNC |GLOB |0|UNDEF >> |__1cNParagraphData2t6Mrk0_v_ >> >> oobuild
Re: Alv2 headers in XML
Hello Oliver I built a later revision with your fixes. It succeeds. Thanks. Best, Jean On 29.03.2012, at 12:11, Oliver-Rainer Wittmann wrote: > Hi, > > On 29.03.2012 12:06, Jean-Louis 'Hans' Fuchs wrote: >> Hello >> >> With the new Alv2 headers in XML files Shell escape will fail on OpenSolaris. >> >> 13 Entering /build/aoo-build/ooo/main/io/inc >> 14 >> 15 >> 16 Entering /build/aoo-build/ooo/main/io/source/connector >> 17 >> 18 Syntax error unexpected element in file: >> ../../unxsols4.pro/misc/connectr.xml in line 2. >> 19 dmake: Error code 3, while making 'Shell escape' >> 20 >> >> I'm glad to help with any additional information or tests. >> >> I reverted all revisions that added a header to XML files, which solved the >> problem for now. >> > > On which revision based your tests? > > I have already submitted corresponding fixes for these ALv2 header changes - > see revision 1305252. > > > Best regards, Oliver. -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch signature.asc Description: Message signed with OpenPGP using GPGMail
Sal Shadow API on Solaris
Hello main/sal/osl/os2/system.h 586 #ifdef OLD_SHADOW_API 587 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buffer) != NULL) 588 #else 589 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buffer, NULL) == 0) 590 #endif The build on OpenSolaris 2009.06 fails because it has the 4 param function. I defined OLD_SHADOW_API and it works. IMO it should be defined by the build-env. Best, Jean-Louis -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch signature.asc Description: Message signed with OpenPGP using GPGMail
#ifdef __cplusplus in CoinMP (Solaris Studio)
Hello I have the following error when compiling CoinMP.cpp "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. gmake[3]: *** [CoinMP.lo] Error 1 I think I found the problem in CoinMP.h: 109 #ifdef __cplusplus 110 extern "C" { 111 #endif Here __cplusplus is not defined, I tested that with a #error. I don't know a good solution. Probably the best one is to define it via CPPFlags. If you need to look for an alternative define, I use Solaris Studio. I'm glad to help with more information or tests. Best, Jean-Louis -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch signature.asc Description: Message signed with OpenPGP using GPGMail
Solaris Sparc Build Bot?
Hello It is important to us that the solaris sparc build stays well maintained. Therefore we'd like to have a continuous/nightly build, where developers can check the build logs in order to see whether their latest checkin works on solaris sparc. I refer to https://issues.apache.org/jira/browse/INFRA-4197. My questions: * Does build bot refer to the above? * Is the there a solaris sparc build bot, already? * If not, can we run that build bot? * Is updating the code and calling configure, build enough? I sometimes had to remove .pro directory that my changes got accepted. * Where do I have to post the results? * What results have to be sent? You can find our latest build here: http://adfinis-sygroup.ch/aoo-solaris-sparc Best, Jean-Louis -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel. 031 381 70 47 signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Alv2 headers in XML
Hello On 29.03.2012, at 15:22, Andre Fischer wrote: > You are building the office under OpenSolaris? What configure switches do > you use? Our current build script: https://gist.github.com/52733dcd71191dd6395e I was on revision 1304871. I started a new build with the latest revision. I'll send you latest result. > > Let's try to find a solution that leaves the license header in place. Of course. I have some short term goals I have to achieve, but I we want to be able to build aoo on solaris in future. Best, Jean-Louis -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel. 031 381 70 47 signature.asc Description: Message signed with OpenPGP using GPGMail
Alv2 headers in XML
Hello With the new Alv2 headers in XML files Shell escape will fail on OpenSolaris. 13 Entering /build/aoo-build/ooo/main/io/inc 14 15 16 Entering /build/aoo-build/ooo/main/io/source/connector 17 18 Syntax error unexpected element in file: ../../unxsols4.pro/misc/connectr.xml in line 2. 19 dmake: Error code 3, while making 'Shell escape' 20 I'm glad to help with any additional information or tests. I reverted all revisions that added a header to XML files, which solved the problem for now. Best, Jean-Louis -- Adfinis SyGroup AG Jean-Louis 'Hans' Fuchs, Software Engineer Keltenstrasse 98 | CH-3018 Bern Tel. 031 381 70 47 signature.asc Description: Message signed with OpenPGP using GPGMail