tor-browser has not built for me since about June 14th. (15.1/amd64). I suspect something in the rustc ecosystem has changed. Even ports failout sees the errors: https://portsfallout.com/fallout/1330718/
(In reply to Craig Leres from comment #0) Hi, Thank you for the report. The issue is gerated file. https://github.com/mozilla/cbindgen/issues/1165 .I will send the patch after test in the poudriere build.
Created attachment 272241 [details] 0001-tor-browser-fix-build-16.0a1.patch
Build fine for me in poudriere 14.4 amd64.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=27af2df1a84271cf673dfa64d183709ed3be5f09 commit 27af2df1a84271cf673dfa64d183709ed3be5f09 Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2026-06-29 17:59:53 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2026-06-29 17:59:53 +0000 www/tor-browser: Unbreak build The issue appears to be cbindgen 0.29.4: https://github.com/mozilla/cbindgen/issues/1165 https://bugzilla.mozilla.org/show_bug.cgi?id=2046162 Obtained from: Martin Filla PR: 296327 www/tor-browser/Makefile | 2 +- www/tor-browser/files/patch-bug2046162 (new) | 30 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-)
Builds for me as well. Thanks for the patch!