Bug 282534 - lang/guile3: guile3-3.0.10 Segmentation fault
Summary: lang/guile3: guile3-3.0.10 Segmentation fault
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-11-04 11:22 UTC by Dirk Meyer
Modified: 2024-11-06 18:09 UTC (History)
0 users

See Also:
dinoex: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Meyer freebsd_committer freebsd_triage 2024-11-04 11:22:49 UTC
regression from guile3-3.0.9_2

clean rebuild of all dependencies on FreeBSD 14.1 amd64
a) packages build with poudriere
b) packages build with "make package" on a clean system

old and new graphic/graphviz fails to configure with option GUILE set.

with guile3-3.0.10:

graphic/graphviz $ make clean configure
checking for swig... /usr/local/bin/swig
checking for guile-config3.0... /usr/local/bin/guile-config-3.0
Segmentation fault (core dumped)
checking for guile.... /usr/local/bin/guile-3.0

/var/log/messages
kernel: pid 38431 (guile-3.0), jid 0, uid 1000: exited on signal 11 (core dumped)


with old guile3-3.0.9_2:

graphic/graphviz $ make clean configure
checking for swig... /usr/local/bin/swig
checking for guile-config3.0... /usr/local/bin/guile-config-3.0
checking for guile3.0... /usr/local/bin/guile-3.0
checking for guile-2.0 >= "3.0"... no
checking for guile-1.8 >= "3.0"... no
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-11-04 11:35:32 UTC
Thanks for the report. I am aware of so many similar issues. Last time, I fixed nlopt by changing the guile-config with pkgconf. In case you are interested here is a link to the commit.
https://cgit.freebsd.org/ports/commit/?id=b17b4e025cbce6e71c8a3451070a0eba738db6c1

or the patch here:
https://people.freebsd.org/~bofh/dropzone/nlopt-2.8.0.patch

The maintainer of nlopt used a slightly modified version of my patch, I believe.

If you are interested in a similar solution, let me know, then I will look into Graphviz.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-11-06 04:45:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c568e7c5e119dbb1f96cb0f37a9b20bea1ba6f3

commit 4c568e7c5e119dbb1f96cb0f37a9b20bea1ba6f3
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-11-06 04:42:09 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-11-06 04:42:09 +0000

    graphics/graphviz: update to 12.2.0

    PR: 282534
    - fix option GUILE

 graphics/graphviz/Makefile                 |  5 +----
 graphics/graphviz/distinfo                 |  6 +++---
 graphics/graphviz/files/patch-configure.ac | 15 +++------------
 graphics/graphviz/pkg-descr                |  2 +-
 4 files changed, 8 insertions(+), 20 deletions(-)
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2024-11-06 18:09:57 UTC
solved for graphviz.

but still, guile3 should not segfault at all.