Re: Problem Building Libreoffice on Linux

2016-02-20 Thread David Tardon
Hi,

On Sat, Feb 20, 2016 at 02:52:45PM +1100, Chris Sherlock wrote:
> Is it worthwhile asking the RHEL guys to consider creating a Harfbuzz package?
> 
> From a comment in that bug I believe the only reason we now statically link 
> Harfbuzz is because RHEL doesn't have a package. Previously we also did it 
> was because of ABI stability issues, but these are apparently no longer a 
> problem.

That would not help, even if it were likely to happen. Our builds do not
target RHEL-6 specifically, they just use RHEL-6 as a baseline. Any
other few years old linux system will likely either not have harfbuzz or
it will have an old incompatible version.

D.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-19 Thread Chris Sherlock
Is it worthwhile asking the RHEL guys to consider creating a Harfbuzz package?

From a comment in that bug I believe the only reason we now statically link 
Harfbuzz is because RHEL doesn't have a package. Previously we also did it was 
because of ABI stability issues, but these are apparently no longer a problem.

Chris

> On 19 Feb 2016, at 11:10 PM, Michael Stahl  wrote:
> 
>> On 19.02.2016 10:10, Khaled Hosny wrote:
>>> On Thu, Feb 18, 2016 at 02:36:48PM +0100, Michael Stahl wrote:
 On 18.02.2016 14:17, Khaled Hosny wrote:
 I don’t think it is just the unit test that is failing, running the
 application will most likely crash as well. Building with system
 HarfBuzz should fix the issue, until a better fix is found.
>>> 
>>> commit 549130ab5d9616f7eb5504db31546b386737ccb2 on master should
>>> hopefully fix the problem of VCL exporting conflicting hb_* symbols.
>>> 
>>> Pranav please tell us if it still crashes.
>> 
>> This fixed the crash for me, it would be nice to backport this to other
>> active branches since it seems to affect anyone with a recent enough
>> system HarfBuzz.
> 
> okay, great; meanwhile it landed in libreoffice-5-1 as commit
> c2f19cda2b0c0ecea69e57bb0ae9a364e939b729, and in libreoffice-5-0 as
> commit 395995f03dd640aee28767f6d920901d91dd3bee
> 
> 
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-19 Thread Michael Stahl
On 19.02.2016 10:10, Khaled Hosny wrote:
> On Thu, Feb 18, 2016 at 02:36:48PM +0100, Michael Stahl wrote:
>> On 18.02.2016 14:17, Khaled Hosny wrote:
>>> I don’t think it is just the unit test that is failing, running the
>>> application will most likely crash as well. Building with system
>>> HarfBuzz should fix the issue, until a better fix is found.
>>
>> commit 549130ab5d9616f7eb5504db31546b386737ccb2 on master should
>> hopefully fix the problem of VCL exporting conflicting hb_* symbols.
>>
>> Pranav please tell us if it still crashes.
> 
> This fixed the crash for me, it would be nice to backport this to other
> active branches since it seems to affect anyone with a recent enough
> system HarfBuzz.

okay, great; meanwhile it landed in libreoffice-5-1 as commit
c2f19cda2b0c0ecea69e57bb0ae9a364e939b729, and in libreoffice-5-0 as
commit 395995f03dd640aee28767f6d920901d91dd3bee


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-19 Thread Khaled Hosny
On Thu, Feb 18, 2016 at 02:36:48PM +0100, Michael Stahl wrote:
> On 18.02.2016 14:17, Khaled Hosny wrote:
> > I don’t think it is just the unit test that is failing, running the
> > application will most likely crash as well. Building with system
> > HarfBuzz should fix the issue, until a better fix is found.
> 
> commit 549130ab5d9616f7eb5504db31546b386737ccb2 on master should
> hopefully fix the problem of VCL exporting conflicting hb_* symbols.
> 
> Pranav please tell us if it still crashes.

This fixed the crash for me, it would be nice to backport this to other
active branches since it seems to affect anyone with a recent enough
system HarfBuzz.

Regards,
Khaled
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-18 Thread Pranav Ganorkar
Sure Khaled. I would try running it with system harfbuzz as it is mentioned
in the bug report.

Regards,
Pranav

On Thu, Feb 18, 2016 at 6:47 PM, Khaled Hosny  wrote:

> I don’t think it is just the unit test that is failing, running the
> application will most likely crash as well. Building with system
> HarfBuzz should fix the issue, until a better fix is found.
>
> Regards,
> Khaled
>
> On Thu, Feb 18, 2016 at 06:37:37PM +0530, Pranav Ganorkar wrote:
> > Hi,
> >
> > I want to ask if there is some switch for temporarily disabling these
> unit
> > tests.
> >
> > I am building it on a 64-bit Archlinux machine.
> >
> > Regards,
> > Pranav
> >
> > On Thu, Feb 18, 2016 at 3:24 PM, Khaled Hosny 
> wrote:
> >
> > > On Thu, Feb 18, 2016 at 10:39:40AM +0100, Stephan Bergmann wrote:
> > > > On 02/17/2016 05:47 PM, Pranav Ganorkar wrote:
> > > > >Program received signal SIGSEGV, Segmentation fault.
> > > > >0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
> > > > >(gdb) bt
> > > > >#0  0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
> > > > >#1  0x2aaab1962f63 in hb_font_funcs_set_glyph_v_origin_func (
> > > > > ffuncs=0x1195950, func=0x2aaab93217d0, user_data=0x0,
> destroy=0x0)
> > > > > at hb-font.cc:411
> > > > >#2  0x2aaab9321adf in ?? () from /usr/lib/libharfbuzz.so.0
> > > > >#3  0x2aaab9321d3f in hb_ft_font_create () from
> > > > >/usr/lib/libharfbuzz.so.0
> > > > >#4  0x2aaab48de4a7 in ?? () from /usr/lib/libfreetype.so.6
> > > > >#5  0x2aaab48ded21 in ?? () from /usr/lib/libfreetype.so.6
> > > > >#6  0x2aaab4896a6d in FT_Load_Glyph () from
> > > /usr/lib/libfreetype.so.6
> > > > >#7  0x2aaab18c5fce in ServerFont::GetGlyphOutline(unsigned int,
> > > > >basegfx::B2DPolyPolygon&) const ()
> > > > >from
> > > /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
> > > >
> > > > So could be anything like a bug in your system's libharbufzz or
> > > libfreetype,
> > > > or a bug in how LO uses libfreetype, or maybe even some problem with
> a
> > > > specific font installed on your system.
> > > >
> > > > Doesn't ring any bell at least with me, but maybe for somebody else.
> > >
> > > Seems to be https://bugs.freedesktop.org/show_bug.cgi?id=94009,
> > >
> > > Regards,
> > > Khaled
> > >
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-18 Thread Michael Stahl
On 18.02.2016 14:17, Khaled Hosny wrote:
> I don’t think it is just the unit test that is failing, running the
> application will most likely crash as well. Building with system
> HarfBuzz should fix the issue, until a better fix is found.

commit 549130ab5d9616f7eb5504db31546b386737ccb2 on master should
hopefully fix the problem of VCL exporting conflicting hb_* symbols.

Pranav please tell us if it still crashes.


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-18 Thread Khaled Hosny
I don’t think it is just the unit test that is failing, running the
application will most likely crash as well. Building with system
HarfBuzz should fix the issue, until a better fix is found.

Regards,
Khaled

On Thu, Feb 18, 2016 at 06:37:37PM +0530, Pranav Ganorkar wrote:
> Hi,
> 
> I want to ask if there is some switch for temporarily disabling these unit
> tests.
> 
> I am building it on a 64-bit Archlinux machine.
> 
> Regards,
> Pranav
> 
> On Thu, Feb 18, 2016 at 3:24 PM, Khaled Hosny  wrote:
> 
> > On Thu, Feb 18, 2016 at 10:39:40AM +0100, Stephan Bergmann wrote:
> > > On 02/17/2016 05:47 PM, Pranav Ganorkar wrote:
> > > >Program received signal SIGSEGV, Segmentation fault.
> > > >0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
> > > >(gdb) bt
> > > >#0  0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
> > > >#1  0x2aaab1962f63 in hb_font_funcs_set_glyph_v_origin_func (
> > > > ffuncs=0x1195950, func=0x2aaab93217d0, user_data=0x0, destroy=0x0)
> > > > at hb-font.cc:411
> > > >#2  0x2aaab9321adf in ?? () from /usr/lib/libharfbuzz.so.0
> > > >#3  0x2aaab9321d3f in hb_ft_font_create () from
> > > >/usr/lib/libharfbuzz.so.0
> > > >#4  0x2aaab48de4a7 in ?? () from /usr/lib/libfreetype.so.6
> > > >#5  0x2aaab48ded21 in ?? () from /usr/lib/libfreetype.so.6
> > > >#6  0x2aaab4896a6d in FT_Load_Glyph () from
> > /usr/lib/libfreetype.so.6
> > > >#7  0x2aaab18c5fce in ServerFont::GetGlyphOutline(unsigned int,
> > > >basegfx::B2DPolyPolygon&) const ()
> > > >from
> > /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
> > >
> > > So could be anything like a bug in your system's libharbufzz or
> > libfreetype,
> > > or a bug in how LO uses libfreetype, or maybe even some problem with a
> > > specific font installed on your system.
> > >
> > > Doesn't ring any bell at least with me, but maybe for somebody else.
> >
> > Seems to be https://bugs.freedesktop.org/show_bug.cgi?id=94009,
> >
> > Regards,
> > Khaled
> >
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-18 Thread Pranav Ganorkar
Hi,

I want to ask if there is some switch for temporarily disabling these unit
tests.

I am building it on a 64-bit Archlinux machine.

Regards,
Pranav

On Thu, Feb 18, 2016 at 3:24 PM, Khaled Hosny  wrote:

> On Thu, Feb 18, 2016 at 10:39:40AM +0100, Stephan Bergmann wrote:
> > On 02/17/2016 05:47 PM, Pranav Ganorkar wrote:
> > >Program received signal SIGSEGV, Segmentation fault.
> > >0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
> > >(gdb) bt
> > >#0  0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
> > >#1  0x2aaab1962f63 in hb_font_funcs_set_glyph_v_origin_func (
> > > ffuncs=0x1195950, func=0x2aaab93217d0, user_data=0x0, destroy=0x0)
> > > at hb-font.cc:411
> > >#2  0x2aaab9321adf in ?? () from /usr/lib/libharfbuzz.so.0
> > >#3  0x2aaab9321d3f in hb_ft_font_create () from
> > >/usr/lib/libharfbuzz.so.0
> > >#4  0x2aaab48de4a7 in ?? () from /usr/lib/libfreetype.so.6
> > >#5  0x2aaab48ded21 in ?? () from /usr/lib/libfreetype.so.6
> > >#6  0x2aaab4896a6d in FT_Load_Glyph () from
> /usr/lib/libfreetype.so.6
> > >#7  0x2aaab18c5fce in ServerFont::GetGlyphOutline(unsigned int,
> > >basegfx::B2DPolyPolygon&) const ()
> > >from
> /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
> >
> > So could be anything like a bug in your system's libharbufzz or
> libfreetype,
> > or a bug in how LO uses libfreetype, or maybe even some problem with a
> > specific font installed on your system.
> >
> > Doesn't ring any bell at least with me, but maybe for somebody else.
>
> Seems to be https://bugs.freedesktop.org/show_bug.cgi?id=94009,
>
> Regards,
> Khaled
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-18 Thread Khaled Hosny
On Thu, Feb 18, 2016 at 10:39:40AM +0100, Stephan Bergmann wrote:
> On 02/17/2016 05:47 PM, Pranav Ganorkar wrote:
> >Program received signal SIGSEGV, Segmentation fault.
> >0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
> >(gdb) bt
> >#0  0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
> >#1  0x2aaab1962f63 in hb_font_funcs_set_glyph_v_origin_func (
> > ffuncs=0x1195950, func=0x2aaab93217d0, user_data=0x0, destroy=0x0)
> > at hb-font.cc:411
> >#2  0x2aaab9321adf in ?? () from /usr/lib/libharfbuzz.so.0
> >#3  0x2aaab9321d3f in hb_ft_font_create () from
> >/usr/lib/libharfbuzz.so.0
> >#4  0x2aaab48de4a7 in ?? () from /usr/lib/libfreetype.so.6
> >#5  0x2aaab48ded21 in ?? () from /usr/lib/libfreetype.so.6
> >#6  0x2aaab4896a6d in FT_Load_Glyph () from /usr/lib/libfreetype.so.6
> >#7  0x2aaab18c5fce in ServerFont::GetGlyphOutline(unsigned int,
> >basegfx::B2DPolyPolygon&) const ()
> >from /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
> 
> So could be anything like a bug in your system's libharbufzz or libfreetype,
> or a bug in how LO uses libfreetype, or maybe even some problem with a
> specific font installed on your system.
> 
> Doesn't ring any bell at least with me, but maybe for somebody else.

Seems to be https://bugs.freedesktop.org/show_bug.cgi?id=94009,

Regards,
Khaled
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-18 Thread Stephan Bergmann

On 02/17/2016 05:47 PM, Pranav Ganorkar wrote:

Program received signal SIGSEGV, Segmentation fault.
0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
(gdb) bt
#0  0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
#1  0x2aaab1962f63 in hb_font_funcs_set_glyph_v_origin_func (
 ffuncs=0x1195950, func=0x2aaab93217d0, user_data=0x0, destroy=0x0)
 at hb-font.cc:411
#2  0x2aaab9321adf in ?? () from /usr/lib/libharfbuzz.so.0
#3  0x2aaab9321d3f in hb_ft_font_create () from
/usr/lib/libharfbuzz.so.0
#4  0x2aaab48de4a7 in ?? () from /usr/lib/libfreetype.so.6
#5  0x2aaab48ded21 in ?? () from /usr/lib/libfreetype.so.6
#6  0x2aaab4896a6d in FT_Load_Glyph () from /usr/lib/libfreetype.so.6
#7  0x2aaab18c5fce in ServerFont::GetGlyphOutline(unsigned int,
basegfx::B2DPolyPolygon&) const ()
from /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so


So could be anything like a bug in your system's libharbufzz or 
libfreetype, or a bug in how LO uses libfreetype, or maybe even some 
problem with a specific font installed on your system.


Doesn't ring any bell at least with me, but maybe for somebody else.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-17 Thread Pranav Ganorkar
Hi,

Using gdb , the backtrace I obtain is:

**
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libuno_sal.so.3-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libuno_sal.so.3-gdb.py
line to your configuration file "/home/pranav/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/pranav/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the
shell:
info "(gdb)Auto-loading safe path"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x2c62a700 (LWP 8199)]
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libuno_cppu.so.3-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libtllo.so-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libbasegfxlo.so-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
warning: File "/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/
libsvllo.so-gdb.py" auto-loading has been declined by your `auto-load
safe-path' set to "$debugdir:$datadir/auto-load".
---Type  to continue, or q  to quit---

Program received signal SIGSEGV, Segmentation fault.
0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
(gdb) bt
#0  0x2aaab93213d3 in ?? () from /usr/lib/libharfbuzz.so.0
#1  0x2aaab1962f63 in hb_font_funcs_set_glyph_v_origin_func (
ffuncs=0x1195950, func=0x2aaab93217d0, user_data=0x0, destroy=0x0)
at hb-font.cc:411
#2  0x2aaab9321adf in ?? () from /usr/lib/libharfbuzz.so.0
#3  0x2aaab9321d3f in hb_ft_font_create () from
/usr/lib/libharfbuzz.so.0
#4  0x2aaab48de4a7 in ?? () from /usr/lib/libfreetype.so.6
#5  0x2aaab48ded21 in ?? () from /usr/lib/libfreetype.so.6
#6  0x2aaab4896a6d in FT_Load_Glyph () from /usr/lib/libfreetype.so.6
#7  0x2aaab18c5fce in ServerFont::GetGlyphOutline(unsigned int,
basegfx::B2DPolyPolygon&) const ()
   from /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
#8  0x2aaab17e6b2b in SalLayout::GetOutline(SalGraphics&,
std::vector >&) const ()
   from /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
#9  0x2aaab16d72bd in
OutputDevice::GetTextOutlines(std::vector >&, rtl::OUString const&, int, int,
int, bool, unsigned long, long const*) const ()
   from /mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libvcllo.so
#10 0x2aaabebc4c78 in
drawinglayer::primitive2d::TextLayouterDevice::getTextOutlines(std::vector >&, rtl::OUString const&, unsigned
int, unsigned int, std::vector > const&)
const ()
---Type  to continue, or q  to quit---
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#11 0x2aaabebc8be6 in
drawinglayer::primitive2d::TextSimplePortionPrimitive2D::getTextOutlinesAndTransformation(std::vector >&, basegfx::B2DHomMatrix&) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#12 0x2aaabebc939a in
drawinglayer::primitive2d::TextSimplePortionPrimitive2D::create2DDecomposition(drawinglayer::geometry::ViewInformation2D
const&) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#13 0x2aaabeb8632b in
drawinglayer::primitive2d::BufferedDecompositionPrimitive2D::get2DDecomposition(drawinglayer::geometry::ViewInformation2D
const&) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#14 0x2aaabebe98d1 in
drawinglayer::processor2d::TextAsPolygonExtractor2D::processBasePrimitive2D(drawinglayer::primitive2d::BasePrimitive2D
const&) ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#15 0x2aaabebe5ed4 in
drawinglayer::processor2d::BaseProcessor2D::process(drawinglayer::primitive2d::Primitive2DContainer
const&) ()
---Type  to continue, or q  to quit---
   from
/mnt/D-Drive/LibreOffice/libreoffice/instdir/program/libdrawinglayerlo.so
#16 0x2aaabe8debf2 in
svgio::svgreader::SvgStyleAttributes::add_text(drawinglayer::primitive2d::Primitive2DContainer&,
drawinglayer::primitive2d::Primitive2DContainer&) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/CppunitTest/libtest_svgio.so
#17 0x2aaabe8e499d in
svgio::svgreader::SvgTextNode::decomposeSvgNode(drawinglayer::primitive2d::Primitive2DContainer&,
bool) const ()
   from
/mnt/D-Drive/LibreOffice/libreoffic

Re: Problem Building Libreoffice on Linux

2016-02-17 Thread Michael Stahl
On 17.02.2016 16:20, Dennis Roczek wrote:
> please check the thread "Unit test failure on building LibreOffice on
> Windows" from yesterday. I really guess it contains the same problem:
> wrong Visual Studio version plus wrong compiling flags.

i suggest that the problems are unrelated and that calling GCC a "wrong
Visual Studio version" is a bit of a stretch :)


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-17 Thread Dennis Roczek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi Pranav,

please check the thread "Unit test failure on building LibreOffice on
Windows" from yesterday. I really guess it contains the same problem:
wrong Visual Studio version plus wrong compiling flags.

Regards,

Dennis Roczek

Am 17.02.2016 um 13:28 schrieb Pranav Ganorkar:
> Hi, When I try the 'bt' command as suggested by Micheal, the following
 is
> the output:
> 
> 
>  make CppunitTest_svgio CPPUNITTRACE="gdb --args"
> 
> ***
> make -j 4 -rs -f /mnt/D-Drive/LibreOffice/libreoffice/Makefile.gbuild
> CppunitTest_svgio
> [CUT] svgio
> GNU gdb (GDB) 7.10.1
> Copyright (C) 2015 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later >
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copy
ing"
> and "show warranty" for details.
> This GDB was configured as "x86_64-unknown-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
> .
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from
> /mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/Executable/cpp
unittester...(no
> debugging symbols found)...done.
> (gdb) bt
> No stack.
> **
*
> 
> On Wed, Feb 17, 2016 at 5:09 PM, Pranav Ganorkar 
> wrote:
> 
>> Hi Thorsten , When I build on Windows 64-bit using Cygwin, I get the
>> following error:
>>
>> *

>> [build CUT] sc_subsequent_export_test
>> [build CUT] sc_bugfix_test
>> [build CUT] sc_html_export_test
>>
>> C:/sources/libreoffice/test/source/xmltesttools.cxx:70:SdExportTest::
testBnc822341
>> equality assertion failed
>> - Expected: 1
>> - Actual  : 0
>> - In , XPath
>> '/ContentType:Types/ContentType:Override[@ContentType='application/vn
d.openxmlformats-officedocument.wordprocessingml.document']'
>> number of nodes is incorrect
>>
>> C:/sources/libreoffice/test/source/xmltesttools.cxx(70) : error : Ass
ertion
>> Test name: SdExportTest::testBnc822341
>> equality assertion failed
>> - Expected: 1
>> - Actual  : 0
>> - In , XPath
>> '/ContentType:Types/ContentType:Override[@ContentType='application/vn
d.openxmlformats-officedocument.wordprocessingml.document']'
>> number of nodes is incorrect
>>
>> Failures !!!
>> Run: 47   Failure total: 1   Failures: 1   Errors: 0
>>
>> Error: a unit test failed, please do one of:
>> make CppunitTest_sd_export_tests CPPUNITTRACE=TRUE # which is a short
cut
>> for the following line
>> make CppunitTest_sd_export_tests
>> CPPUNITTRACE="'C:/PROGRA~2/MICROS~1.0/VC//../Common7/IDE/devenv.exe'
>> /debugexe" # for interactive debugging in Visual Studio
>> make CppunitTest_sd_export_tests CPPUNITTRACE="drmemory -free_max_fra
mes
>> 20" # for memory checking (install Dr.Memory first, and put it to you
r PATH)
>>
>> C:/sources/libreoffice/solenv/gbuild/CppunitTest.mk:90: recipe for ta
rget
>> 'C:/sources/libreoffice/workdir/CppunitTest/sd_export_tests.test' fai
led
>> make[1]: ***
>> [C:/sources/libreoffice/workdir/CppunitTest/sd_export_tests.test] Err
or 1
>> make[1]: *** Waiting for unfinished jobs
>> Makefile:249: recipe for target 'build' failed
>> make: *** [build] Error 2
>>
>> *
**
>>
>> Here also it seems that the unit tests are failing...is there some wa
y i
>> can disable these tests as I can see that the other modules are build
ing
>> very much fine on both linux and windows...
>>
>> Regards,
>> Pranav
>>
>> On Wed, Feb 17, 2016 at 4:41 PM, Pranav Ganorkar 
>> wrote:
>>
>>> Hi Thorsten,
>>>
>>> I currently have the source code on NTFS drive of windows as you hav
e
>>> already pointed out. I built with the default switches and the lates
t
>>> changes merged from upstream. I think I should try building it on my
 linux
>>> home partition.
>>>
>>> Regards,
>>> Pranav
>>>
>>> On Wed, Feb 17, 2016 at 2:07 AM, Thorsten Behrens <
>>> t...@documentfoundation.org> wrote:
>>>
 Hi Pranav,

 you write:
> No core file identified in directory
>
 /mnt/D-Drive/LibreOffice/libreoffice/workdir/CppunitTest/svgio.test
.core
> To show backtraces for crashes during test execution,
> enable core files with:
>
>ulimit -c unlimited
>
> [CUT] vcl_timer
>
> Error: a unit test failed, please do one of:
> make CppunitTest_svgio CPPUNITTRACE="gdb --args"
> # for interactive debugging on Linux
> make CppunitTest_svgio VALGRIND=memcheck
> # for memory checking
> m

Re: Problem Building Libreoffice on Linux

2016-02-17 Thread Stephan Bergmann

On 02/17/2016 01:28 PM, Pranav Ganorkar wrote:

  make CppunitTest_svgio CPPUNITTRACE="gdb --args"

***
make -j 4 -rs -f /mnt/D-Drive/LibreOffice/libreoffice/Makefile.gbuild
CppunitTest_svgio
[CUT] svgio
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/Executable/cppunittester...(no
debugging symbols found)...done.
(gdb) bt
No stack.


You need to type "run" first, then wait for the debugged program to run 
and crash, and when the "(gdb)" prompt appears again, then type "bt".


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-17 Thread Pranav Ganorkar
Hi, When I try the 'bt' command as suggested by Micheal, the following is
the output:


 make CppunitTest_svgio CPPUNITTRACE="gdb --args"

***
make -j 4 -rs -f /mnt/D-Drive/LibreOffice/libreoffice/Makefile.gbuild
CppunitTest_svgio
[CUT] svgio
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
/mnt/D-Drive/LibreOffice/libreoffice/workdir/LinkTarget/Executable/cppunittester...(no
debugging symbols found)...done.
(gdb) bt
No stack.
***

On Wed, Feb 17, 2016 at 5:09 PM, Pranav Ganorkar 
wrote:

> Hi Thorsten , When I build on Windows 64-bit using Cygwin, I get the
> following error:
>
> *
> [build CUT] sc_subsequent_export_test
> [build CUT] sc_bugfix_test
> [build CUT] sc_html_export_test
>
> C:/sources/libreoffice/test/source/xmltesttools.cxx:70:SdExportTest::testBnc822341
> equality assertion failed
> - Expected: 1
> - Actual  : 0
> - In , XPath
> '/ContentType:Types/ContentType:Override[@ContentType='application/vnd.openxmlformats-officedocument.wordprocessingml.document']'
> number of nodes is incorrect
>
> C:/sources/libreoffice/test/source/xmltesttools.cxx(70) : error : Assertion
> Test name: SdExportTest::testBnc822341
> equality assertion failed
> - Expected: 1
> - Actual  : 0
> - In , XPath
> '/ContentType:Types/ContentType:Override[@ContentType='application/vnd.openxmlformats-officedocument.wordprocessingml.document']'
> number of nodes is incorrect
>
> Failures !!!
> Run: 47   Failure total: 1   Failures: 1   Errors: 0
>
> Error: a unit test failed, please do one of:
> make CppunitTest_sd_export_tests CPPUNITTRACE=TRUE # which is a shortcut
> for the following line
> make CppunitTest_sd_export_tests
> CPPUNITTRACE="'C:/PROGRA~2/MICROS~1.0/VC//../Common7/IDE/devenv.exe'
> /debugexe" # for interactive debugging in Visual Studio
> make CppunitTest_sd_export_tests CPPUNITTRACE="drmemory -free_max_frames
> 20" # for memory checking (install Dr.Memory first, and put it to your PATH)
>
> C:/sources/libreoffice/solenv/gbuild/CppunitTest.mk:90: recipe for target
> 'C:/sources/libreoffice/workdir/CppunitTest/sd_export_tests.test' failed
> make[1]: ***
> [C:/sources/libreoffice/workdir/CppunitTest/sd_export_tests.test] Error 1
> make[1]: *** Waiting for unfinished jobs
> Makefile:249: recipe for target 'build' failed
> make: *** [build] Error 2
>
> ***
>
> Here also it seems that the unit tests are failing...is there some way i
> can disable these tests as I can see that the other modules are building
> very much fine on both linux and windows...
>
> Regards,
> Pranav
>
> On Wed, Feb 17, 2016 at 4:41 PM, Pranav Ganorkar 
> wrote:
>
>> Hi Thorsten,
>>
>> I currently have the source code on NTFS drive of windows as you have
>> already pointed out. I built with the default switches and the latest
>> changes merged from upstream. I think I should try building it on my linux
>> home partition.
>>
>> Regards,
>> Pranav
>>
>> On Wed, Feb 17, 2016 at 2:07 AM, Thorsten Behrens <
>> t...@documentfoundation.org> wrote:
>>
>>> Hi Pranav,
>>>
>>> you write:
>>> > No core file identified in directory
>>> >
>>> /mnt/D-Drive/LibreOffice/libreoffice/workdir/CppunitTest/svgio.test.core
>>> > To show backtraces for crashes during test execution,
>>> > enable core files with:
>>> >
>>> >ulimit -c unlimited
>>> >
>>> > [CUT] vcl_timer
>>> >
>>> > Error: a unit test failed, please do one of:
>>> > make CppunitTest_svgio CPPUNITTRACE="gdb --args"
>>> > # for interactive debugging on Linux
>>> > make CppunitTest_svgio VALGRIND=memcheck
>>> > # for memory checking
>>> > make CppunitTest_svgio DEBUGCPPUNIT=TRUE
>>> > # for exception catching
>>> >
>>> Did you try one of the above suggestions? There are usually three
>>> reasons a unit test would fail:
>>>
>>> * something is truly broken on master (compare with red tinderboxes on
>>>   http://tinderbox.libreoffice.org/MASTER/status.html)
>>> * you have a buggy setup (noticing D-Drive in your path above,
>>>   building on a vfat partition from linux is generally not working)
>>> * you are building on a syste

Re: Problem Building Libreoffice on Linux

2016-02-16 Thread Michael Stahl
On 16.02.2016 18:05, Pranav Ganorkar wrote:
> Hi, I am trying to build Libreoffice on linux but it fails at this point:

> /bin/sh: line 1: 23247 Segmentation fault  (core dumped)

well clearly it crashed, only question is why...

> Error: a unit test failed, please do one of:
> make CppunitTest_svgio CPPUNITTRACE="gdb --args"
> # for interactive debugging on Linux

try that and when it crashes type "bt" and post the backtrace.



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem Building Libreoffice on Linux

2016-02-16 Thread Thorsten Behrens
Hi Pranav,

you write:
> No core file identified in directory
> /mnt/D-Drive/LibreOffice/libreoffice/workdir/CppunitTest/svgio.test.core
> To show backtraces for crashes during test execution,
> enable core files with:
> 
>ulimit -c unlimited
> 
> [CUT] vcl_timer
> 
> Error: a unit test failed, please do one of:
> make CppunitTest_svgio CPPUNITTRACE="gdb --args"
> # for interactive debugging on Linux
> make CppunitTest_svgio VALGRIND=memcheck
> # for memory checking
> make CppunitTest_svgio DEBUGCPPUNIT=TRUE
> # for exception catching
> 
Did you try one of the above suggestions? There are usually three
reasons a unit test would fail:

* something is truly broken on master (compare with red tinderboxes on
  http://tinderbox.libreoffice.org/MASTER/status.html)
* you have a buggy setup (noticing D-Drive in your path above,
  building on a vfat partition from linux is generally not working)
* you are building on a system, or a particular configure switch
  combination, that is not yet supported & will need manual fixing

Your question does not provide enough context to guess which of the
cases you're hitting.

HTH,

-- Thorsten


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Problem Building Libreoffice on Linux

2016-02-16 Thread Pranav Ganorkar
Hi, I am trying to build Libreoffice on linux but it fails at this point:

**
[CUT] vcl_fontmetric
[CUT] vcl_complextext
[CUT] vcl_filters_test
/bin/sh: line 1: 23247 Segmentation fault  (core dumped)
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs
MALLOC_CHECK_=2 MALLOC_PERTURB_=153 $W/LinkTarget/Executable/cppunittester
$W/LinkTarget/CppunitTest/libtest_svgio.so --headless
"-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share"
"-env:UserInstallation=file://$W/CppunitTest/svgio.test.user"
"-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry
xcsxcu:file://$W/unittest/registry"
"-env:UNO_TYPES=file://$I/program/types/offapi.rdb
file://$I/program/types.rdb"
"-env:UNO_SERVICES=file://$W/ComponentTarget/CppunitTest/svgio/svgio.component
file://$W/Rdb/ure/services.rdb
file://$W/ComponentTarget/configmgr/source/configmgr.component
file://$W/ComponentTarget/dtrans/util/mcnttype.component
file://$W/ComponentTarget/framework/util/fwk.component
file://$W/ComponentTarget/i18npool/util/i18npool.component
file://$W/ComponentTarget/package/source/xstor/xstor.component
file://$W/ComponentTarget/package/util/package2.component
file://$W/ComponentTarget/toolkit/util/tk.component
file://$W/ComponentTarget/sfx2/util/sfx.component
file://$W/ComponentTarget/ucb/source/core/ucb1.component
file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component
file://$W/ComponentTarget/unotools/util/utl.component
file://$W/ComponentTarget/sax/source/expatwrap/expwrap.component"
-env:URE_INTERNAL_LIB_DIR=file://$I/program
-env:LO_LIB_DIR=file://$I/program
-env:LO_JAVA_DIR=file://$I/program/classes --protector
$W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector
--protector $W/LinkTarget/Library/unobootstrapprotector.so
unobootstrapprotector --protector
$W/LinkTarget/Library/libvclbootstrapprotector.so vclbootstrapprotector
"-env:CPPUNITTESTTARGET=$W/CppunitTest/svgio.test" >
$W/CppunitTest/svgio.test.log 2>&1
[CUT] vcl_mapmode
[CUT] vcl_outdev
[CUT] vcl_wmf_test

No core file identified in directory
/mnt/D-Drive/LibreOffice/libreoffice/workdir/CppunitTest/svgio.test.core
To show backtraces for crashes during test execution,
enable core files with:

   ulimit -c unlimited

[CUT] vcl_timer

Error: a unit test failed, please do one of:
make CppunitTest_svgio CPPUNITTRACE="gdb --args"
# for interactive debugging on Linux
make CppunitTest_svgio VALGRIND=memcheck
# for memory checking
make CppunitTest_svgio DEBUGCPPUNIT=TRUE
# for exception catching

/mnt/D-Drive/LibreOffice/libreoffice/solenv/gbuild/CppunitTest.mk:90:
recipe for target
'/mnt/D-Drive/LibreOffice/libreoffice/workdir/CppunitTest/svgio.test' failed
make[1]: ***
[/mnt/D-Drive/LibreOffice/libreoffice/workdir/CppunitTest/svgio.test] Error
1
make[1]: *** Waiting for unfinished jobs
Makefile:246: recipe for target 'build' failed
make: *** [build] Error 2
***
How to rectify it so that it builds properly

Regards,
Pranav
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice