[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46447] Octave fails to build docs / make chec
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #46447] Octave fails to build docs / make check when OpenGL present but FontConfig absent |
Date: |
Sat, 14 Nov 2015 23:05:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 |
URL:
<http://savannah.gnu.org/bugs/?46447>
Summary: Octave fails to build docs / make check when OpenGL
present but FontConfig absent
Project: GNU Octave
Submitted by: lachlan
Submitted on: Sat 14 Nov 2015 11:05:20 PM GMT
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Installation Failure
Status: None
Assigned to: None
Originator Name: Lachlan
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
When OpenGL is absent, ../configure correctly disables its use. However, when
OpenGL is present but FontConfig, FLTK config and OSMesa are absent, build
fails with
warning: ft_render: invalid bounding box, cannot render
warning: called from
__axis_label__ at line 30 column 3
ylabel at line 53 column 8
plotimages at line 93 column 5
warning: ft_render: invalid bounding box, cannot render
warning: called from
__axis_label__ at line 30 column 3
title at line 51 column 8
plotimages at line 94 column 5
panic: Segmentation fault -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
/bin/bash: line 1: 21281 Segmentation fault /tmp/octavetmp/run-octave -f
-q -H -p /home/lachlan/src/octave/doc/interpreter/ --eval "plotimages
('doc/interpreter/', 'extended', 'eps');"
make[2]: *** [doc/interpreter/extended.eps] Error 139
make[2]: Leaving directory `/tmp/octavetmp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/octavetmp'
make: *** [all] Error 2
>From memory, the SEGV is in libinterp/corefcn/txt-eng-ft.cc
void
ft_render::update_line_bbox (void)
{
// Called after a font change, when in MODE_BBOX mode, to update the
// current line bbox with the new font metrics. This also includes the
// current yoffset, that is the offset of the current glyph's baseline
// the line's baseline.
if (mode == MODE_BBOX)
{
int asc = font.get_face ()->size->metrics.ascender >> 6;
because font.get_face () is NULL. However, the "correct" fix is probably to
disable OpenGL. I haven't yet chased down which particular dependency is
causing the crash, but I assume it is FontConfig.
Being unable to make the docs is unfortunate, but I'm particularly worried
that it seems impossible to "make check" if making the docs fails. Would it
be possible allow "make check" to run without requiring the docs to be built?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46447>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46447] Octave fails to build docs / make check when OpenGL present but FontConfig absent,
Lachlan Andrew <=