[Bug 254117] lang/guile: installed port dumps core on startup

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 7 22:41:59 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254117

            Bug ID: 254117
           Summary: lang/guile: installed port dumps core on startup
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh at freebsd.org
          Reporter: rsmith at xs4all.nl
          Assignee: bofh at freebsd.org
             Flags: maintainer-feedback?(bofh at freebsd.org)

Created attachment 223080
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223080&action=edit
Patch to remove stripping the precompiled modules.

After installing the port (be it from a package or a local build), the "guile"
program dumps core on startup:

    Pre-boot error; key: misc-error, args: ("load-thunk-from-memory" "expected
p_filesz == p_memsz" () #f)Abort (core dumped)

Since I had previously built guile-3.0.0, which ran without problems, I started
looking at the differences.

In the post-install phase of the port, the pre-compiled modules (with the "go"
extension) are stripped, which is not something that I had done. This also
explains the error message.

So I removed the post-install target, rebuilt and re-installed the port and it
works.
I ran "check-guile -i /usr/local/bin/guile" and it passed OK:

Totals for this test run:
passes:                 42787
failures:               46
unexpected passes:      0
expected failures:      10
unresolved test cases:  66
untested test cases:    1
unsupported test cases: 1
errors:                 0

This is identical to the result I got for 3.0.0.

So I've added a patch to remove the stripping of the precompiled modules.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list