Bug 282615 - devel/wasmer: Update to 5.0.1
Summary: devel/wasmer: Update to 5.0.1
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: Robert Clausecker
URL: https://github.com/wasmerio/wasmer/bl...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-07 20:45 UTC by Krešimir Jozić
Modified: 2024-11-14 08:57 UTC (History)
1 user (show)

See Also:


Attachments
devel/wasmer: Update to 5.0.1 (4.46 KB, patch)
2024-11-07 20:45 UTC, Krešimir Jozić
kjozic: maintainer-approval+
Details | Diff
wasmer-5.0.1 build log on amd64 FreeBSD 14.1 (161.73 KB, text/plain)
2024-11-12 10:31 UTC, Robert Clausecker
no flags Details
devel/wasmer: Update to 5.0.1 (4.27 KB, patch)
2024-11-12 16:43 UTC, Krešimir Jozić
kjozic: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krešimir Jozić 2024-11-07 20:45:17 UTC
Created attachment 255016 [details]
devel/wasmer: Update to 5.0.1
Comment 1 Krešimir Jozić 2024-11-07 20:45:57 UTC
Update to 5.0.1

Enable LLVM and SINGLEPASS compilers.
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2024-11-12 10:31:44 UTC
Created attachment 255116 [details]
wasmer-5.0.1 build log on amd64 FreeBSD 14.1

Build fails on amd64 FreeBSD 14.1, see attached log file.
It also seems to fail on FreeBSD 13.3.
Please check and resubmit.
Comment 3 Krešimir Jozić 2024-11-12 16:43:35 UTC
Created attachment 255120 [details]
devel/wasmer: Update to 5.0.1
Comment 4 Krešimir Jozić 2024-11-12 16:44:31 UTC
(In reply to Robert Clausecker from comment #2)

Done. Can you try to rebuild it?
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2024-11-12 17:42:10 UTC
That builds fine.

Please make sure you build test your patches before you submit them.

I reckon it should be possible to enable LLVM and SINGLEPASS if you add USES=llvm and add the right Rust flags so LLVM is found.
Comment 6 Krešimir Jozić 2024-11-12 19:10:43 UTC
(In reply to Robert Clausecker from comment #5)

It used to work but they introduced changes which caused it to stop working. Like entire aarch64 architecture...
Comment 7 commit-hook freebsd_committer freebsd_triage 2024-11-14 08:45:23 UTC
A commit in branch main references this bug:

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

commit bb7efe76a4edeb99645c315e70c181a5d2613ad3
Author:     Krešimir Jozić <kjozic@gmail.com>
AuthorDate: 2024-11-12 15:40:44 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-14 08:43:26 +0000

    devel/wasmer: Update to 5.0.1

    Changelog: https://github.com/wasmerio/wasmer/blob/main/CHANGELOG.md#501---06112024

    PR:             282615

 devel/wasmer/Makefile        |  3 +--
 devel/wasmer/Makefile.crates |  4 +++-
 devel/wasmer/distinfo        | 14 +++++++++-----
 3 files changed, 13 insertions(+), 8 deletions(-)
Comment 8 Robert Clausecker freebsd_committer freebsd_triage 2024-11-14 08:57:28 UTC
Thank you for your contribution.