From: Theo Buehler Subject: Re: Porting astral-sh/uv To: Laurent Cheylus Cc: ports@openbsd.org Date: Fri, 4 Jul 2025 12:54:30 +0200 On Fri, Jul 04, 2025 at 10:38:46AM -0000, Laurent Cheylus wrote: > Hi Theo and ports@, > > On Fri, 4 Jul 2025 11:49:01 +0200, Theo Buehler wrote: > > > I have not yet figured out why the lzma-sys build doesn't pick up the > > system-provided liblzma from archivers/xz via pkg-config. IOW, why we > > need the MODCARGO_CRATES_KEEP = lzma-sys to make the build succeed? > > We need to keep xz sources to statically link liblzma for uv binary. But there's /usr/local/lib/liblzma.a for that... > See issue https://github.com/astral-sh/uv/issues/5572 and PR https:// > github.com/astral-sh/uv/pull/5577 This remains entirely silent about the why. They just added a bandaid.