Re: pkg/60059: math/gnumeric 10.0_2025Q4 segfaults on RPi4

"Ramiro Aceves via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
The following reply was made to PR pkg/60059; it has been noted by GNATS.

From: Ramiro Aceves <[email protected]>
To: [email protected]
Cc: Benny Siegert <[email protected]>
Subject: Re: pkg/60059: math/gnumeric 10.0_2025Q4 segfaults on RPi4
Date: Sun, 8 Mar 2026 22:10:49 +0100

 El 7/3/26 a las 12:25, Benny Siegert via gnats escribió:
 > The following reply was made to PR pkg/60059; it has been noted by GNATS.
 > 
 > From: Benny Siegert <[email protected]>
 > To: [email protected]
 > Cc: [email protected], [email protected], [email protected]
 > Subject: Re: pkg/60059: math/gnumeric 10.0_2025Q4 segfaults on RPi4
 > Date: Sat, 7 Mar 2026 11:22:58 +0000 (UTC)
 > 
 >   On Fri, 6 Mar 2026, [email protected] via gnats wrote:
 >   
 >   > Gnumeric segfalts as soon as you enter 2 o 3 numeric values in cells.
 >   
 >   I updated goffice0.10 and gnumeric in pkgsrc-HEAD. Can you try updating
 >   just these two directories and rebuilding? Maybe that fixes it.
 >   
 >   --
 >   Benny
 >   
 
 Hi Benny,
 
 First, I upgraded pkgsrc source to 2025Q4 to match my installed packages branch.
 Then I did:
 
 cvs update -dP -A
 
 in theese two directories:
 
 /usr/pkgsrc/math/gnumeric112
 /usr/pkgsrc/misc/goffice0.10
 
 But compilation ended with error:
 
 
 netbsd-raspa4# make install
 => Bootstrap dependency digest>=20211023: found digest-20220214
 => Checksum BLAKE2s OK for gnumeric-1.12.60.tar.xz
 => Checksum SHA512 OK for gnumeric-1.12.60.tar.xz
 ===> Installing dependencies for gnumeric-1.12.60
 ==========================================================================
 The supported build options for gnumeric are:
 
 	psiconv
 
 You can select which build options to use by setting PKG_DEFAULT_OPTIONS
 or the following variable.  Its current value is shown:
 
 	PKG_OPTIONS.gnumeric (not defined)
 
 ==========================================================================
 ==========================================================================
 The following variables will affect the build process of this package,
 gnumeric-1.12.60.  Their current value is shown below:
 
          * JPEG_DEFAULT = libjpeg-turbo
          * PYTHON_VERSION_DEFAULT = 313
 
 Based on these variables, the following variables have been set:
 
          * JPEGBASE (defined, but empty)
          * JPEG_TYPE = libjpeg-turbo
          * PYPACKAGE = python313
 
 You may want to abort the process now with CTRL-C and change the value
 of variables in the first group before continuing.  Be sure to run
 `/usr/bin/make clean' after the changes.
 
 ...
 ...
 ...
 ...
 
 
 I removed all...
 
 ...
 ...
 ...
 ...
 
    CC       libspreadsheet_la-rangefunc-strings.lo
    CC       libspreadsheet_la-rangefunc.lo
    CC       libspreadsheet_la-ranges.lo
    CC       libspreadsheet_la-rendered-value.lo
    CC       libspreadsheet_la-search.lo
    CC       libspreadsheet_la-selection.lo
 rendered-value.c: In function 'gnm_rendered_value_new':
 rendered-value.c:539:2: warning: 'pango_find_base_dir' is deprecated [-Wdeprecated-declarations]
    539 |  dir = (text && *text)? pango_find_base_dir (text, -1): PANGO_DIRECTION_LTR;
        |  ^~~
 In file included from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/pango-1.0/pango/pango-types.h:239,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/pango-1.0/pango/pango-font.h:26,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/pango-1.0/pango/pango-attributes.h:25,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/pango-1.0/pango/pango.h:25,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/gtk-3.0/gdk/gdktypes.h:35,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/gtk-3.0/gdk/gdk.h:32,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/gtk-3.0/gtk/gtk.h:30,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/libgoffice-0.10/goffice/goffice.h:37,
                   from ./gnumeric.h:5,
                   from rendered-value.c:24:
 /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/pango-1.0/pango/pango-bidi-type.h:107:16: note: declared here
    107 | PangoDirection pango_find_base_dir          (const gchar *text,
        |                ^~~~~~~~~~~~~~~~~~~
 selection.c: In function 'sv_is_singleton_selected':
 selection.c:104:2: warning: #warning FIXME Should we be using the selection rather than the cursor? [-Wcpp]
    104 | #warning FIXME Should we be using the selection rather than the cursor?
        |  ^~~~~~~
 selection.c: In function 'sv_selection_to_plot':
 selection.c:1672:2: warning: #warning TODO If last series is incomplete try to shift data out of optional dimensions. [-Wcpp]
   1672 | #warning TODO If last series is incomplete try to shift data out of optional dimensions.
        |  ^~~~~~~
    CC       libspreadsheet_la-session.lo
    CC       libspreadsheet_la-sf-bessel.lo
    CC       libspreadsheet_la-sf-dpq.lo
    CC       libspreadsheet_la-sf-gamma.lo
    CC       libspreadsheet_la-sf-trig.lo
    CC       libspreadsheet_la-sheet-autofill.lo
    CC       libspreadsheet_la-sheet-conditions.lo
    CC       libspreadsheet_la-sheet-control-gui.lo
    CC       libspreadsheet_la-sheet-control.lo
 sheet-control-gui.c: In function 'resize_pane_finish':
 sheet-control-gui.c:1437:2: warning: #warning GTK3: replace this? [-Wcpp]
   1437 | #warning GTK3: replace this?
        |  ^~~~~~~
 sheet-control-gui.c: In function 'cb_resize_pane_motion':
 sheet-control-gui.c:1492:2: warning: #warning GTK3: what replaces p->in_drag? [-Wcpp]
   1492 | #warning GTK3: what replaces p->in_drag?
        |  ^~~~~~~
    CC       libspreadsheet_la-sheet-diff.lo
    CC       libspreadsheet_la-sheet-filter.lo
    CC       libspreadsheet_la-sheet-merge.lo
    CC       libspreadsheet_la-sheet-object-cell-comment.lo
    CC       libspreadsheet_la-sheet-object-component.lo
    CC       libspreadsheet_la-sheet-object-graph.lo
 sheet-object-graph.c: In function 'sog_cb_save_as':
 sheet-object-graph.c:336:2: warning: #warning "This violates model gui barrier" [-Wcpp]
    336 | #warning "This violates model gui barrier"
        |  ^~~~~~~
    CC       libspreadsheet_la-sheet-object-image.lo
    CC       libspreadsheet_la-sheet-object-widget.lo
    CC       libspreadsheet_la-sheet-object.lo
 sheet-object-image.c: In function 'so_image_view_set_bounds':
 sheet-object-image.c:72:4: warning: 'go_gdk_pixbuf_tile' is deprecated: Use 'go_image_get_pixbuf' instead [-Wdeprecated-declarations]
     72 |    GdkPixbuf *newimage = go_gdk_pixbuf_tile (placeholder,
        |    ^~~~~~~~~
 In file included from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/libgoffice-0.10/goffice/utils/goffice-utils.h:161,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/libgoffice-0.10/goffice/app/goffice-app.h:68,
                   from /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/libgoffice-0.10/goffice/goffice.h:60,
                   from ./gnumeric.h:5,
                   from sheet-object-image.c:9:
 /usr/pkgsrc/math/gnumeric112/work/.buildlink/include/libgoffice-0.10/goffice/utils/go-gdk-pixbuf.h:37:12: note: declared here
     37 | GdkPixbuf *go_gdk_pixbuf_tile  (GdkPixbuf const *src,
        |            ^~~~~~~~~~~~~~~~~~
 sheet-object.c: In function 'sheet_object_populate_menu_real':
 sheet-object.c:279:2: warning: #warning "Two highly dubious icon names here" [-Wcpp]
    279 | #warning "Two highly dubious icon names here"
        |  ^~~~~~~
    CC       libspreadsheet_la-sheet-style.lo
    CC       libspreadsheet_la-sheet-utils.lo
    CC       libspreadsheet_la-sheet-view.lo
    CC       libspreadsheet_la-sheet.lo
 sheet.c: In function 'sheet_dup':
 sheet.c:6614:2: warning: #warning selection is in view [-Wcpp]
   6614 | #warning selection is in view
        |  ^~~~~~~
 sheet.c:6615:2: warning: #warning freeze/thaw is in view [-Wcpp]
   6615 | #warning freeze/thaw is in view
        |  ^~~~~~~
    CC       libspreadsheet_la-sort.lo
    CC       libspreadsheet_la-stf-export.lo
    CC       libspreadsheet_la-stf-parse.lo
    CC       libspreadsheet_la-stf.lo
 stf.c: In function 'stf_text_to_columns':
 stf.c:299:2: warning: #warning Add UI for this [-Wcpp]
    299 | #warning Add UI for this
        |  ^~~~~~~
    CC       libspreadsheet_la-style-border.lo
    CC       libspreadsheet_la-style-color.lo
    CC       libspreadsheet_la-style-conditions.lo
    CC       libspreadsheet_la-style.lo
    CC       libspreadsheet_la-undo.lo
    CC       libspreadsheet_la-validation.lo
    CC       libspreadsheet_la-value-sheet.lo
    CC       libspreadsheet_la-value.lo
    CC       libspreadsheet_la-wbc-gtk-actions.lo
    CC       libspreadsheet_la-wbc-gtk-edit.lo
 wbc-gtk-actions.c:3615:2: warning: #warning "Add justify" [-Wcpp]
   3615 | #warning "Add justify"
        |  ^~~~~~~
 wbc-gtk-actions.c:3616:2: warning: #warning "h/v distributed?" [-Wcpp]
   3616 | #warning "h/v distributed?"
        |  ^~~~~~~
 wbc-gtk-actions.c: In function 'wbc_gtk_init_zoom':
 wbc-gtk-actions.c:4133:2: warning: #warning TODO : Add zoom to selection [-Wcpp]
   4133 | #warning TODO : Add zoom to selection
        |  ^~~~~~~
    CC       libspreadsheet_la-wbc-gtk.lo
 wbc-gtk.c: In function 'cb_accept_input_selected_merged':
 wbc-gtk.c:2001:2: warning: #warning FIXME: this creates 2 undo items! [-Wcpp]
   2001 | #warning FIXME: this creates 2 undo items!
        |  ^~~~~~~
 wbc-gtk.c: In function 'cb_editline_focus_in':
 wbc-gtk.c:2139:2: warning: #warning GTK3: what can we do there for gtk3? [-Wcpp]
   2139 | #warning GTK3: what can we do there for gtk3?
        |  ^~~~~~~
 wbc-gtk.c: At top level:
 wbc-gtk.c:5351:2: warning: #warning merge these and clarfy whether we want the visible scg, or the logical (view) scg [-Wcpp]
   5351 | #warning merge these and clarfy whether we want the visible scg, or the logical (view) scg
        |  ^~~~~~~
    CC       libspreadsheet_la-workbook-cmd-format.lo
    CC       libspreadsheet_la-workbook-control.lo
    CC       libspreadsheet_la-workbook-view.lo
    CC       libspreadsheet_la-workbook.lo
    CC       libspreadsheet_la-xml-sax-read.lo
 xml-sax-read.c: In function 'xml_sax_orientation':
 xml-sax-read.c:3127:2: warning: #warning TODO: we should also handle inversion [-Wcpp]
   3127 | #warning TODO: we should also handle inversion
        |  ^~~~~~~
    CC       libspreadsheet_la-xml-sax-write.lo
    CC       libspreadsheet_la-gnmresources.lo
    CC       ssconvert.o
 xml-sax-write.c: In function 'xml_write_print_info':
 xml-sax-write.c:432:2: warning: #warning TODO: we should also handle inversion [-Wcpp]
    432 | #warning TODO: we should also handle inversion
        |  ^~~~~~~
    CC       ssindex.o
    CC       ssgrep.o
    CC       ssdiff.o
    CC       sstest.o
    CC       dialogs/libspreadsheet_la-dao-gui-utils.lo
 sstest.c:901:61: error: unknown type name 'bool'
    901 | check_help_expression (const char *text, GnmFunc const *fd, bool localized)
        |                                                             ^~~~
 sstest.c: In function 'gnm_func_sanity_check1':
 sstest.c:1123:9: error: implicit declaration of function 'check_help_expression' [-Werror=implicit-function-declaration]
   1123 |     if (check_help_expression (text + 1, fd, was_translated)) {
        |         ^~~~~~~~~~~~~~~~~~~~~
 sstest.c:1123:9: error: nested extern declaration of 'check_help_expression' [-Werror=nested-externs]
    CC       dialogs/libspreadsheet_la-dialog-about.lo
 cc1: some warnings being treated as errors
 gmake[3]: *** [Makefile:2331: sstest.o] Error 1
 gmake[3]: *** Waiting for unfinished jobs....
 gmake[3]: Leaving directory '/usr/pkgsrc/math/gnumeric112/work/gnumeric-1.12.60/src'
 gmake[2]: *** [Makefile:1660: all] Error 2
 gmake[2]: Leaving directory '/usr/pkgsrc/math/gnumeric112/work/gnumeric-1.12.60/src'
 gmake[1]: *** [Makefile:669: all-recursive] Error 1
 gmake[1]: Leaving directory '/usr/pkgsrc/math/gnumeric112/work/gnumeric-1.12.60'
 gmake: *** [Makefile:528: all] Error 2
 *** Error code 2
 
 Stop.
 make[1]: stopped in /usr/pkgsrc/math/gnumeric112
 *** Error code 1
 
 Stop.
 make: stopped in /usr/pkgsrc/math/gnumeric112
 netbsd-raspa4#
 
 Thanks.
 Ramiro.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.