Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Mar 2021 22:41:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254117] lang/guile: installed port dumps core on startup
Message-ID:  <bug-254117-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254117

            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@freebsd.org
          Reporter: rsmith@xs4all.nl
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

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

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

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

Since I had previously built guile-3.0.0, which ran without problems, I sta=
rted
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254117-7788>