Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Oct 2011 20:42:19 +0200
From:      Oliver Heesakkers <freebsd@heesakkers.info>
To:        <freebsd-office@freebsd.org>
Subject:   Re: Still can't build libreoffice
Message-ID:  <f6a4f73e8e23ebcb8ca6024019fa8b53@huis.heesakkers.info>
In-Reply-To: <CANcjpOAc77joJQqnuGHV3ho=z5cLODS6oKbrgYRTzTmtwYjKaw@mail.gmail.com>
References:  <4E8818EF.10204@FreeBSD.org> <20111002195436.GA19540@azathoth.lan> <0619d7e3d76e8fee0fb5bcc76c4a9ff8@huis.heesakkers.info> <4E8A871E.6030007@FreeBSD.org> <CANcjpOAc77joJQqnuGHV3ho=z5cLODS6oKbrgYRTzTmtwYjKaw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Running on 1 CPU did not make a difference.
removing ports from receivers, even though I'm not currently a 
subscriber to freebsd-office

On 04.10.2011 15:41, George Liaskos wrote:
> On Tue, Oct 4, 2011 at 7:10 AM, Doug Barton <dougb@freebsd.org> 
> wrote:
>> ERROR: error 65280 occurred while making
>> 
>> /home/tmp/home/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/cppuhelper/qa/unourl
>>
>>  it seems that the error is inside 'cppuhelper', please re-run build
>>  inside this module to isolate the error and/or test your fix:
>> 
>> -----------------------------------------------------------------------
>
> The project's wiki is very helpful on how to debug build errors. [1]
> You need to rerun build / gmake inside the failing module to get the
> actual error.
>
> [1] 
> http://wiki.documentfoundation.org/Development/Native_Build#Partial_build
>

Going through this gave the idea to start the build until it hangs, 
then:

cd $PORTSDIR/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2
source ./FreeBSDAMDEnv.Set.sh
cd cppuhelper
export GDBCPPUNITTRACE="gdb --args"
build debug=true verbose=t dbglevel=2
run (inside gdb)
quit (to leave gdb)
exit
make

everything finishes without problem and I can continue the build
I had to repeat that process in testtools but in sd it stopped working:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 801c07400 (LWP 107683/cppunittester)]
0x000000080828a5c4 in SvtViewOptions::Exists () from 
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libutlfb.so
(gdb) bt
#0  0x000000080828a5c4 in SvtViewOptions::Exists () from 
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libutlfb.so
#1  0x000000080828ddb6 in SvtViewOptions::AcquireOptions () from 
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libutlfb.so
#2  0x00000008030b012b in SfxApplication::SfxApplication () from 
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libsfxfb.so
#3  0x00000008030b02c5 in SfxApplication::GetOrCreate () from 
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libsfxfb.so
#4  0x00000008030fd8a9 in SfxModule::Invalidate () from 
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libsfxfb.so
#5  0x00000008030fdad2 in SfxModule::SfxModule () from 
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libsfxfb.so
#6  0x00000008022d6b0b in SdModule::SdModule () at dockwin.hxx:370
#7  0x00000008022d4b40 in SdDLL::Init () at dockwin.hxx:370
#8  0x00000008021bfd09 in (anonymous namespace)::Test::Test () from 
../../unxfbsd.pro/lib/libqa_unit.so
#9  0x00000008021bfdb4 in CppUnit::ConcretTestFixtureFactory<(anonymous 
namespace)::Test>::makeFixture () from 
../../unxfbsd.pro/lib/libqa_unit.so
#10 0x00000008021be1d5 in CppUnit::TestSuiteBuilderContext<(anonymous 
namespace)::Test>::makeFixture () from 
../../unxfbsd.pro/lib/libqa_unit.so
#11 0x00000008021be2be in (anonymous namespace)::Test::addTestsToSuite 
() from ../../unxfbsd.pro/lib/libqa_unit.so
#12 0x00000008021be643 in (anonymous namespace)::Test::suite () from 
../../unxfbsd.pro/lib/libqa_unit.so
#13 0x00000008021be711 in CppUnit::TestSuiteFactory<(anonymous 
namespace)::Test>::makeTest () from ../../unxfbsd.pro/lib/libqa_unit.so
#14 0x000000080088054e in CppUnit::TestFactoryRegistry::addTestToSuite 
() from /usr/local/lib/libcppunit-1.12.so.1
#15 0x000000080088082b in CppUnit::TestFactoryRegistry::makeTest () 
from /usr/local/lib/libcppunit-1.12.so.1
#16 0x0000000000402842 in main ()
(gdb) frame 0
#0  0x000000080828a5c4 in SvtViewOptions::Exists () from 
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libutlfb.so
(gdb) info f
Stack level 0, frame at 0x7fffffff8f50:
  rip = 0x80828a5c4 in SvtViewOptions::Exists() const; saved rip 
0x80828ddb6
  called by frame at 0x7fffffff8fb0
  Arglist at 0x7fffffff8e80, args:
  Locals at 0x7fffffff8e80, Previous frame's sp is 0x7fffffff8f50
  Saved registers:
   rbx at 0x7fffffff8f18, rbp at 0x7fffffff8f20, r12 at 0x7fffffff8f28, 
r13 at 0x7fffffff8f30, r14 at 0x7fffffff8f38, r15 at 0x7fffffff8f40, rip 
at 0x7fffffff8f48

In another terminal I did:
# ldd 
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libutlfb.so
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib/libutlfb.so:
         libuno_salhelpergcc3.so.3 => not found (0)
         libcomphelpgcc3.so => not found (0)
         libucbhelper4gcc3.so => not found (0)
         libuno_cppuhelpergcc3.so.3 => not found (0)
         libuno_cppu.so.3 => not found (0)
         libi18nisolang1gcc3.so => not found (0)
         libtlfb.so => not found (0)
         libuno_sal.so.3 => not found (0)
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x80137b000)
         libm.so.5 => /lib/libm.so.5 (0x801672000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x801890000)
         libthr.so.3 => /lib/libthr.so.3 (0x801a9d000)
         libc.so.7 => /lib/libc.so.7 (0x80084a000)

Suggestions anyone?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f6a4f73e8e23ebcb8ca6024019fa8b53>