The currently packaged 1.34.1 is a really unfortunate version because very often it crashes with this: ============================================================ Deno has panicked. This is a bug in Deno. Please report this at https://github.com/denoland/deno/issues/new. If you can reliably reproduce this panic, include the reproduction steps and re-run with the RUST_BACKTRACE=1 env var set and include the backtrace in your report. Platform: freebsd x86_64 Version: 1.34.1 Args: ["deno", "run", "--allow-all", "build.ts"] thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /wrkdirs/usr/ports/www/deno/work/deno-1.34.1/cargo-crates/dprint-swc-ext-0.9.0/src/view /generated.rs:12430:22 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace In the current v1.34.3 that dependency has been updated to dprint-swc-ext-0.10.0 which should fix that..
<https://github.com/denoland/deno/compare/v1.34.1...v1.34.3>
Created attachment 242913 [details] 0001-www-deno-update-to-1.34.3.patch Here's a patch!
Created attachment 242914 [details] retrieve rss with sysctl (In reply to Val Packett from comment #2) Thanks, I was updating the port on my side. Do you have time to review the attached file? it's based on OpenBSD's code.
Created attachment 242915 [details] disable upgrade and this one too.
both LGTM
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=44fc0f1cf985d7982ff549f26cb5a8b98fc1120f commit 44fc0f1cf985d7982ff549f26cb5a8b98fc1120f Author: Val Packett <val@packett.cool> AuthorDate: 2023-06-21 07:12:38 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-06-21 11:35:21 +0000 www/deno: update to 1.34.3 Important update due to dprint-swc-ext dependency bump fixing a panic. While here, avoid bringing in the rayon dependency via sysinfo. Changelog: https://github.com/denoland/deno/compare/v1.34.1...v1.34.3 PR: 272102 Sponsored by: https://www.patreon.com/valpackett www/deno/Makefile | 109 ++++++----- www/deno/distinfo | 214 +++++++++++---------- www/deno/files/patch-Cargo.lock | 98 +--------- ...rgo-crates_libffi-sys-2.2.1_build_not__msvc.rs} | 4 +- www/deno/files/patch-ext_fs_30__fs.js (gone) | 20 -- www/deno/files/patch-ext_fs_std__fs.rs (gone) | 11 -- www/deno/files/patch-runtime_Cargo.toml | 2 +- www/deno/files/patch-tools_wpt_utils.ts (gone) | 10 - 8 files changed, 177 insertions(+), 291 deletions(-)