Gentoo Archives: gentoo-sparc

From: Jim Watson <jim@××××××××××××.au>
To: gentoo-sparc@l.g.o
Subject: Re: [gentoo-sparc] OpenOffice 2.3.0 on SPARC
Date: Fri, 28 Sep 2007 22:12:26
Message-Id: 46FD79BD.8020407@amarooas.com.au
In Reply to: Re: [gentoo-sparc] OpenOffice 2.3.0 on SPARC by Jim Watson
1 Jim Watson wrote:
2 > Alex Buell wrote:
3 >> -L/var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/solenv/unxlngs/lib
4 >>
5 >>
6 > That tells the version of source code is OOG680_m5
7 >
8 >> cd ../../unxlngs.pro/lib && regcomp -register -r pyuno_services.tmp -c
9 >> typeconverter.uno -c invocation.uno -c reflection.uno -c
10 >> introspection.uno -c invocadapt.uno -c proxyfac.uno -c
11 >> pythonloader.uno /bin/bash: line 1: 29606 Segmentation fault
12 >>
13 >
14 > That is the relevant part of the log. Next step is search the
15 > OpenOffice.org issues for some issue containing those words "pyuno"
16 > "regcomp" "segmentation" "fault" . I will have a look on the weekend
17 > and start a sparc build of that source version here ... takes a few days.
18 >
19 > jim
20 pyuno builds Ok here with the upstream sources on sparc.
21 I think gentoo use the ooobuild system? This uses patches to the
22 upstream sources.
23 http://svn.gnome.org/viewcvs/ooo-build/trunk/patches/src680/
24
25 Searching at OOo and debian suggests this might be relevant:
26 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441380
27
28 Have you got that patch applied: ooo80816.selinux.bridges
29
30 if so, remove the patch and rebuild and deliver module bridges. then try
31 pyuno again
32 this is how to rebuild a module upstream - hopefully it works for you:
33
34 $ cd /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5
35 $ source LinuxSparcEnv.Set.sh
36 $ cd bridges
37 $ rm -rf unxlngs.pro
38 $ build
39 $ deliver
40 $ cd ../pyuno
41 $ rm -rf unxlngs.pro
42 $ build
43 $ deliver
44
45 Now restart the build. there should not be any need to clean.
46
47 Plan B:
48 If it fails without that patch, try and get a backtrace in pyuno
49 Source the environment as above and copy the failed commands
50 Except use regcomp.bin in place of regcomp
51
52 $ cd pyuno
53 $ cd unxlngs.pro/lib
54 $ gdb --args regcomp.bin -register -r pyuno_services.tmp -c \
55 typeconverter.uno -c invocation.uno -c reflection.uno -c \
56 introspection.uno -c invocadapt.uno -c proxyfac.uno -c \
57 pythonloader.uno
58
59 jim
60
61 --
62 gentoo-sparc@g.o mailing list