FS#59055 - [graphviz] gvpack, using gts 0.7.6-4, segfaults immediately

Attached to Project: Arch Linux
Opened by CJ Kucera (apocalyptech) - Monday, 18 June 2018, 16:54 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 20 June 2018, 06:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The "gvpack" package from graphviz 2.40.1-11 seems to segfault immediately on run. Not sure if this is something Arch-specific or if it's an upstream issue. Output on the console is:

$ gvpack
gvpack: Relink `/usr/lib/libgts-0.7.so.5' with `/usr/lib/libm.so.6' for IFUNC symbol `cos'
Segmentation fault (core dumped)

The error seems to imply that the problem might actually be in libgts, rather than graphviz. I've tried manually recompiling both graphviz and gts, thinking that perhaps there was just some version incompatibility and they merely needed rebuilds, but I get the same segfault behavior with freshly-compiled graphviz and gts.

Let me know if there's more info which would be relevant here. Thanks!
This task depends upon

Closed by  Gaetan Bisson (vesath)
Wednesday, 20 June 2018, 06:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  gts-0.7.6-5 in [extra]
Comment by Gaetan Bisson (vesath) - Wednesday, 20 June 2018, 06:40 GMT
So gts should be linked against libm but isn't. I fixed this in our package by adding `-lm` to $LDFLAGS but could you report this issue to upstream gts so they can properly fix it? Cheers.

Loading...