From nobody Sun Aug 23 14:59:01 2026 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hScd41hh9z6pRy0 for ; Sun, 23 Aug 2026 14:59:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hScd417jsz3nwG for ; Sun, 23 Aug 2026 14:59:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787497144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dAX6IHNbDtFZuDaVm7UVBX4sm5lbTjnS2I7UCEkwIds=; b=hTCxLBmEakp0154yUrGGtf9UKmGEM9q65FGfEnzAYVYiDKwZoyj2i/K3YXnSqAn92Mwvdh gqtxTh80Tfh8d+mQXaGTLOZ3YLDYGZA2dtsqFsotKReQYA1gJA+nXM4HNKttJ3tUP45SMQ chcSl2ExiDsdvGVA+7lPgHIrc1z2jdGSri+8z1if+bI+3xJxd4uNnyAAFx3VK2JM9YOJUo qLO1L+CoD7isoZH2KV3jI7NOaR6rmvizDRVhRXEL6x7MCIVaG5I2Rl4DP0QNVGH4zYtEU2 e6bDLnr1zqLByWdjaJzBfyWIVmrchwtMKgYUhiVW6zeV5l6OD5IKji8jeyKvWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787497144; a=rsa-sha256; cv=none; b=FWdkyuoZWMi9inDTlF0owDsRAIbzy+U4JBD1DDbyLB2L6V9QE5lYYy4VrDQnEkZocUPy5K OKSq/KCRa0Q6xiw4jEv+mAfTO1/xrYOZW/NiT29Fax/O0B+y7LNA4IfXbvavl8P9n+VyWd A0FET6Fde27f/gI1dz7Dm++F+KRnbbTdfBDhw4dB/yLWPR3EifVEuosQr/SHwcjsjTvYXv krEICleWcfKQWux3OpVpum0vPFmH8ldEeUXLYyPQOePaymujLUkteFEqLZlqPLa/CEx8Ps OD8NGDCbBosEPvVpo8gPNRXYgHU2/vUWL7wF4jqol0f8mtuAwWuyoN13hajoXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787497144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dAX6IHNbDtFZuDaVm7UVBX4sm5lbTjnS2I7UCEkwIds=; b=YxmwPBNqiIt4tfiCaYliJtEy4MfUqAwc4yB1a8+sjsRL71ia+lznON4bybzU4LxPxC/4y/ NM2/CjQf/9rGwxz905ZzGg8BOcV3KpU5p7X2BruRUCGI0WgfKH2NcOLELdyeNLf+vrRs9c 1Udx4ZCsz163WTUaWS4FEkoK3uQj42AI0QTO4VotgIvWNsaGAdXgtqCLNtBX0lkTLGSal1 jSTk7ZCai91dM8uXN1bktC4FZr+HAYQEt4A0d+dzw5tpCDxeRlVCcQNcrpcIU6FB12o/Q8 0LSkS/+qzBSMt6CiDasiTAAqbFWx+YgKFkFEij4511DcS86H/EIfd3RnrYW5vA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4hScd36tg8z6qj for ; Sun, 23 Aug 2026 14:59:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 67NEx3n5030513 for ; Sun, 23 Aug 2026 14:59:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 67NEx3e6030510 for ports-bugs@FreeBSD.org; Sun, 23 Aug 2026 14:59:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 297814] riscv: remove COMPAT11 dependency for 223 ports Date: Sun, 23 Aug 2026 14:59:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297814 Bug ID: 297814 Summary: riscv: remove COMPAT11 dependency for 223 ports Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: asomers@FreeBSD.org CC: alexey@pentode.fi, bofh@freebsd.org, driesm@freebsd.org, lcook@freebsd.org, nivit@FreeBSD.org, pizzamig@freebsd.org, sunpoet@FreeBSD.org, vishwin@freebsd.org, vladislav.movchan@gmail.com CC: alexey@pentode.fi, bofh@freebsd.org, driesm@freebsd.org, lcook@freebsd.org, nivit@FreeBSD.org, pizzamig@freebsd.org, sunpoet@FreeBSD.org, vishwin@freebsd.org, vladislav.movchan@gmail.com Rust uses FFI to bind C libraries, which makes cross-compiling a breeze. B= ut it also means that Rust programs don't automatically pick up newer versions= of functions that employ ELF symbol versioning. As a result, for years Rust s= tuck with a FreeBSD 11 ABI. That is a particular problem for RISCV, which doesn= 't enable COMPAT11 in the kernel by default. So FreeBSD RISCV users can't run most Rust programs unless they rebuild a custom kernel. But as of libc-0.2.176 Rust now uses a FreeBSD 12 ABI. So any program that uses it can run on a vanilla FreeBSD RISCV kernel. But that was nearly a year ago, and many ports haven't updated. Fortunatel= y, libc is highly backwards compatible. I'm only aware of two Rust crates that won't work with libc-0.2.186: nix < 0.25.0 and mio < 0.8.3. For any port t= hat doesn't depend on one of those, we can simply patch the port to use a newer libc version, and resolve the COMPAT11 problem. This patch does just that, for 223 ports. Notes on specific ports: * x11/wezterm: I have tested this myself. The others I have build-tested only. * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * devel/tokei: delete a long obsolete patch file * emulators/fab-agon-emulator: the build currently fails on 16.0-CURRENT. But it doesn't appear to be the result of this change. * archivers/py-cramjam x11-fonts/py-shaperglot These crates contained extra entries in CARGO_CRATES that didn't need to be there, perhaps because they were created using Rust's ver= sion 1 resolver. Remove the extras. * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, = too. * devel/cargo-generate editors/lapce finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkchec www/lychee These creates contained an extra entry in CARGO_CRATES for openssl-src. I don't know why. Remove it. * www/tuifeed Alone among all the crates touched, this one uses cargo's --loc= ked argument. So I had to create a patch-Cargo.lock file for it. There are several other ports that still use old versions of libc. But for various reasons, each needs more attention that I can afford in this already-large commit. --=20 You are receiving this mail because: You are the assignee for the bug.=