Bug 277697 - lang/julia: 1.9.4, unbreak build
Summary: lang/julia: 1.9.4, unbreak build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 14:48 UTC by Hiroo Ono
Modified: 2024-03-17 21:05 UTC (History)
1 user (show)

See Also:


Attachments
unbreak build (27.22 KB, patch)
2024-03-14 14:48 UTC, Hiroo Ono
no flags Details | Diff
unbreak build + elfctl wxneeded (27.62 KB, patch)
2024-03-14 15:56 UTC, Hiroo Ono
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroo Ono 2024-03-14 14:48:38 UTC
Created attachment 249163 [details]
unbreak build

Attached is a patch to unbreak build of julia 1.9.4.
The patch file llvm-patch-backport-version-fixes is borrowed from devel/llvm14.
Build tested on stable/14 (amd64), with option DEBUG and NATIVE on and off.
(I tried 1.10.2, but "unreachable reached. illegal instruction" error occurred during bootstrap. It seems to need debugging.)
Comment 1 Hiroo Ono 2024-03-14 15:56:22 UTC
Created attachment 249166 [details]
unbreak build + elfctl wxneeded

merged #276113
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2024-03-16 08:56:18 UTC
testbuilds@work
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2024-03-16 12:33:56 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-03-16 12:34:19 UTC
A commit in branch main references this bug:

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

commit 09e6bef0b8f4a221753585e0f46ac8eea06f6ddc
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2024-03-16 12:32:43 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-03-16 12:32:43 +0000

    lang/julia: unbreak build

    - unbreak build
    - elfctl wxneeded

    PR:             277697, 276113

 lang/julia/Makefile             |  8 ++++++--
 lang/julia/files/patch-Make.inc | 33 ++++++++++++++++++++++++---------
 2 files changed, 30 insertions(+), 11 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-03-17 21:05:57 UTC
A commit in branch main references this bug:

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

commit 7372ce767408762e9ff2674b0dd71af6f37b2e5b
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2024-03-17 21:04:00 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-03-17 21:05:02 +0000

    lang/julia: fix build by adding the missing patches

    PR:             277697
    Reported-by:    Hiroo Ono <hiroo@oikumene.net>
    Pointy-hat-to:  pi

 .../files/llvm-patch-backport-version-fixes (new)  | 375 +++++++++++++++++++++
 lang/julia/files/patch-deps_llvm.mk (new)          |  45 +++
 lang/julia/files/patch-src_Makefile (new)          |  77 +++++
 lang/julia/files/patch-src_flisp_Makefile (new)    |  36 ++
 4 files changed, 533 insertions(+)