Bug 261417 - lang/julia: unbreak build when using libcurl 7.81
Summary: lang/julia: unbreak build when using libcurl 7.81
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-23 23:16 UTC by Eric Reardon
Modified: 2022-01-25 09:30 UTC (History)
1 user (show)

See Also:


Attachments
Patch (5.72 KB, patch)
2022-01-23 23:16 UTC, Eric Reardon
rizor.reardon: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Reardon 2022-01-23 23:16:08 UTC
Created attachment 231256 [details]
Patch

julia 1.7.1 and early will segfault during the build phase if built with version 7.81 of libcurl.
https://github.com/JuliaLang/Downloads.jl/issues/172
https://github.com/conda-forge/julia-feedstock/issues/169#issuecomment-1007411498
the fix is in the master branch upstream  but has not been backported to a release yet so this patch is nessary to continue building julia.
i have tested this with poudriere testport on 12.2 12.3 and 13.0 and have reinstalled and use this patch myself and it seems to work fine.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2022-01-24 16:11:57 UTC
^Triage: Please set the maintainer-approval attachment flag (to +) on patches for ports you maintain to signify approval.
--
Attachment -> Details -> maintainer-approval [+]

Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-01-25 09:29:11 UTC
A commit in branch main references this bug:

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

commit 175c1f57e85c9a0936731219240483df64c43691
Author:     Eric Reardon <rizor.reardon@yahoo.com>
AuthorDate: 2022-01-24 16:09:02 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-01-25 09:25:59 +0000

    lang/julia: unbreak build when using libcurl 7.81

    See:

     * https://github.com/JuliaLang/Downloads.jl/issues/172
     * https://github.com/conda-forge/julia-feedstock/issues/169#issuecomment-1007411498

    PR:     261417
    Reported by:    rizor.reardon@yahoo.com

 lang/julia/Makefile                                      |  8 +++++++-
 ...cf837a331fce023b31f1d3699700c_src_Curl_Multi.jl (new) | 16 ++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2022-01-25 09:30:03 UTC
Committed,

Thanks!