Bug 265661 - lang/sbcl: fix a regression in sbcl 2.2.7
Summary: lang/sbcl: fix a regression in sbcl 2.2.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kirill Ponomarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-05 18:08 UTC by jinxiaoyong
Modified: 2022-08-06 09:37 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (krion)


Attachments
upstream fix of a regression in sbcl 2.2.7 (1.21 KB, text/plain)
2022-08-05 18:08 UTC, jinxiaoyong
no flags Details
sbcl-2.2.7_2,1.diff (3.89 KB, patch)
2022-08-05 19:24 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (krion)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jinxiaoyong 2022-08-05 18:08:28 UTC
Created attachment 235706 [details]
upstream fix of a regression in sbcl 2.2.7

The regression in sbcl affects at least math/maxima, and results in a pre-GC failure during build.  See details at sbcl bug report: https://bugs.launchpad.net/sbcl/+bug/1983218

The patch is from a recent commit in upstream sbcl: https://sourceforge.net/p/sbcl/sbcl/ci/48d686f9
Comment 1 Dmitri Goutnik freebsd_committer freebsd_triage 2022-08-05 19:24:54 UTC
Created attachment 235710 [details]
sbcl-2.2.7_2,1.diff

Add the above patch and also a patch for missing ${LOCALBASE} paths on FreeBSD [1]. We can also pull these patches from the github.com/sbcl/sbcl mirror, please let me know if this would be preferable.

Builds fine in poudriere 130a.

[1] https://bugs.launchpad.net/sbcl/+bug/1981112
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-08-06 07:14:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b9ecf3b2bf6d15cedad7a96a04fe335c73a58cb

commit 5b9ecf3b2bf6d15cedad7a96a04fe335c73a58cb
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2022-08-06 07:12:45 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2022-08-06 07:12:45 +0000

    lang/sbcl: Fix a regression in sbcl 2.2.7

    PR:             265661
    Reported by:    dmgk, jinxiaoyong@gmail.com

 lang/sbcl/Makefile                                   |  4 ++--
 .../patch-src_runtime_Config.x86-64-freebsd (new)    | 20 ++++++++++++++++++++
 .../sbcl/files/patch-src_runtime_stringspace.c (new) | 16 ++++++++++++++++
 lang/sbcl/files/patch-tests_save1.test.sh (new)      | 20 ++++++++++++++++++++
 4 files changed, 58 insertions(+), 2 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-08-06 07:15:34 UTC
A commit in branch 2022Q3 references this bug:

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

commit c75e77f313a5fe9f81e9b6851f8a5c4daa18f2b5
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2022-08-06 07:12:45 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2022-08-06 07:14:26 +0000

    lang/sbcl: Fix a regression in sbcl 2.2.7

    PR:             265661
    Reported by:    dmgk, jinxiaoyong@gmail.com

    (cherry picked from commit 5b9ecf3b2bf6d15cedad7a96a04fe335c73a58cb)

 lang/sbcl/Makefile                                   |  4 ++--
 .../patch-src_runtime_Config.x86-64-freebsd (new)    | 20 ++++++++++++++++++++
 .../sbcl/files/patch-src_runtime_stringspace.c (new) | 16 ++++++++++++++++
 lang/sbcl/files/patch-tests_save1.test.sh (new)      | 20 ++++++++++++++++++++
 4 files changed, 58 insertions(+), 2 deletions(-)
Comment 4 shamaz.mazum 2022-08-06 09:37:15 UTC
Hi.

sbcl-2.2.7 is still unusable in FreeBSD. If you are interested, please look at this: https://bugs.launchpad.net/sbcl/+bug/1983248