From nobody Mon Apr 6 14:10:53 2026 X-Original-To: pkgbase@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 4fqB7l0T6Fz6Y5gF; Mon, 06 Apr 2026 14:10:59 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fqB7k5RgLz3ld7; Mon, 06 Apr 2026 14:10:58 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775484658; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=QNsIwUVX9Wcq5WJuWd/O4Sj5YPdo8eaEHLhTGIIIeqk=; b=QCOIyBrGfGOrcpvWB5/L26/JBFACyY/XybEPTxpxYNp29XDw+DUKJRRttOY2BxTT7OXR3+ +k7+ZASHZG5WrKBFTyIHMmcoi4Cp3OHC1p1LtTEFxhb86Ah7rYlDXfDIb+yiUfF2yhYqV/ MuwV6a/XxkKAPgi9KZqR/g5arLUFjvJ6kLRfj1YZ++caXjavhH02S95gF20x3BQxSx5GJm xHN75P+fbLY7pZgJiNcLkJ6XebaH6VJa/4j0aen8XVDYbV06fZ0qYqnnlxd0CWpPMYDaWo hG0/1uZA4BP6JzHaS+Qba6X3GKYOxLBSfLIujPzisf7Rb8Bg+VWU6qUmD/S8dQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775484658; a=rsa-sha256; cv=none; b=GmmsUrjDQW2gFmvKDoCH32QKOmQRQsVJ0sl8ElDf6oGTPhNcWHoS37i4fP9IDXOPOvUUnW nu10XZ294zr9eqa+bSZTNJ0d9pH/jeBGQSWxq+ZFCeUliApaEX0PwMS9poZPkDzcd4OGdI AKPSo1sT1P60j4ZjqymW3O5QouUDd0Gq3cUaI/L0P9Y20NZFx+AEmQ7QAadccBD9oLooIS opXlyLCtNOnLiwwF4IL1ORbm6lyRSqc0+pFmUiLh64L9oCUowlnMRaDy1FDsAzWlZs8djZ ne3m0Cd7wfnjK2YZtZsNuKcLiQZAudjeFcBM5TFzIVmXQfp/Q3+CbkL4pMs0lA== 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=1775484658; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=QNsIwUVX9Wcq5WJuWd/O4Sj5YPdo8eaEHLhTGIIIeqk=; b=t28JSA3XV1YLHrSk7ZWeII7H/yr8XeGhZwcWeIoiuQTRkYT1dm9+FNabvuRKGWebpUQL4H Qn5ZyG7mzq7cpf81ASRwwxv4xISwe0Urf5aIbZNr99hbiShqODXQ09+Xja7MOeVTSw1Klg ih7xkpGO3d5Va9aIr1gHj1sXsmnLlKcgFbwXed0jjXn5M9rga2rBxMo56eTsEvWiv7vDFB XQdLu++df75gnvmjqcTwQgOcI0PAWH2XZlbHEVww/hmSoymvDGIg52qEY6fXlcHpGYymLd xzJoX6qRhwffN943ZQO5CGJDxcs+PLc1dHWIPq+D/T6IDUgm1oK30fq7//xIIQ== Received: from amaryllis.le-fay.org (amaryllis.le-fay.org [IPv6:2a00:1098:6b:400::9]) (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) (Authenticated sender: ivy/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4fqB7k1C7Pz18gZ; Mon, 06 Apr 2026 14:10:58 +0000 (UTC) (envelope-from ivy@freebsd.org) Date: Mon, 6 Apr 2026 15:10:53 +0100 From: Lexi Winter To: current@freebsd.org, pkgbase@freebsd.org Cc: bofh@freebsd.org, bapt@freebsd.org Subject: pkgbase breakage in main due to libucl upgrade Message-ID: Mail-Followup-To: current@freebsd.org, pkgbase@freebsd.org, bofh@freebsd.org, bapt@freebsd.org List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IQt+yfo8H1VcU/Nv" Content-Disposition: inline --IQt+yfo8H1VcU/Nv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hello, as a couple of people already reported[0][1] the pkgbase build is currently broken in main. this affects building packages for any version of FreeBSD when the build host is main abda442d92fd[2] or later. this is not trivial to fix. the issue is that libucl changed the lua bindings in an incompatible way, specifically to disable use of macros (which includes ".include") by default[3]. that breaks the API that the pkgbase build scripts rely on, and those scripts use the host flua. as an immediate fix, i have three diffs for review: - "packages: Fix build with libucl 0.9.3" https://reviews.freebsd.org/D56266 this change, which is backward-compatible with previous versions of lua libucl, fixes the ABI breakage. - "flua: Always build as a bootstrap tool" https://reviews.freebsd.org/D56270 "packages: Always use the bootstrap flua" https://reviews.freebsd.org/D56271 these changes mean we'll use the version of flua and libucl from the source tree to build packages, instead of the host versions, which protects us from future API breaks. if you're running into this issue right now, you can apply the patch =66rom D56266 to fix your build, and optionally the other two diffs if you like (but they aren't required). this has to be done on the src tree being built, *not* the build system. unfortunately, none of these changes fix the general problem which is that we can't build FreeBSD 15.0 on FreeBSD 16-CURRENT. i'm open to other suggestsions here, but i think the best approach is to revert the libucl commit that changed the ABI; while this is a security fix, the only things using flua are in the base system, and none of them should be affected by the issue being fixed. any thoughts? [0] https://lists.freebsd.org/archives/freebsd-current/2026-April/010080.ht= ml [1] https://lists.freebsd.org/archives/freebsd-pkgbase/2026-April/001284.ht= ml [2] https://cgit.freebsd.org/src/commit/?id=3Dabda442d92fdbadcf81c79bc9ddba= 001d133c429 [3] https://github.com/vstakhov/libucl/commit/8a0294f9eaa4e70342e562cb92792= bbe3df90e70 --IQt+yfo8H1VcU/Nv Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCadO+6QAKCRD1nT63mIK/ YNz7AP0VGjtB3DVG5tXn9u0KVUEprlM9fnW65CZSnudjIR68twEA8RpwlENE7ElS qcMDf5Q5oYN6eqBtgsL201FbJfUKtQ0= =QiIj -----END PGP SIGNATURE----- --IQt+yfo8H1VcU/Nv--