From nobody Mon Sep 25 15:38:20 2023 X-Original-To: freebsd-ports@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 4RvRq457r2z4tjLM for ; Mon, 25 Sep 2023 15:38:24 +0000 (UTC) (envelope-from madpilot@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RvRq44SBfz4fwl; Mon, 25 Sep 2023 15:38:24 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695656304; 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: in-reply-to:in-reply-to:references:references; bh=WnwB8Y+hTz0QIR9sfk/CekVmQiXbqOWnM2iSxTOF6q0=; b=AyLtYWiNL5PcggtW+g8egjzMsSIfz6QYyi8cTXCIbkSZ7CvYawBZPDn4DyUb7+7AltJifJ IHbzS3PfoxMni/4ZSN0wZnDUK7ggg+5RtNxieFhF258UnVxhBdxLtC5BmrFwonVZf6g4IP tdLruWOURPSu+lAJ1SfeASFd+1CYK//nE2ezAhrnGrX+Uu++kQSz87ZjF7F3n2PCaY7XRG 9D+52Ne0Xg41nGus5E8WX4JX8Nu19nYwYgCHgJiuCgcrrPxlz0LMj4eQo+SwlqVORukHo8 ETxaUWhmzQLeK8KAo/DhOAwekEIY141UeY7kk0IZ6000gBCFt4fitHGXuv97xQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695656304; a=rsa-sha256; cv=none; b=eoTBTfiFgEm6pm+Lzle/dVLHq61cGkkExrLXpNrwUi0tSFfb7cNScDEf3I0Jjfsw4BaiTl V6gptm8BqbrXRG5gi3W7q30I8l8VW9Yb/x7fostd04+bqYuG3U0i7dR3LcEKdWjNXmR5Y7 wU2zkrxIMo9M0PmkA0ZyFGLLgW3xEe/V2KMLhpXqRjkL4xF/U6ZNik4nokK6vAJRxDO4M3 yujzM3TBL9HaKLvy/hqWjNjkvJn9/9lYfnCmXnqlipYhMwQw+8oxF4+MzcP/bj2GDtHwlf RJK5Z5kpOwHDKAIJSebfKJQgNTSWbZaSDbkx+PZiVkywTw7FviVQ+jnLDXt8qQ== 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=1695656304; 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: in-reply-to:in-reply-to:references:references; bh=WnwB8Y+hTz0QIR9sfk/CekVmQiXbqOWnM2iSxTOF6q0=; b=Q4cX4acfj8oM99nOIgqTqDScyrN27tDccNIQksFPsJlvAPvLbv5GkZXW6cJfXG5fIN18l8 R4swBiDbQnPDh0GwuPuM9T31VN43WANs8vw4ovhGk08Gbvfr+UBrXn19Dia8b9o7ysAUZt 0wPCxhDFe1PZz6GL1+0b9QrHAtliL1Uo2UOVclcw/gA5GOdvBSmuhsTy55RF5FrxEXPCYP RjvkfQk0FeKyS6+HUtPDzOzw4XXZYZZRjY/SKUNiIki7LVI5MJOAexn+LFHfq61ahxtcI0 AgfP+AIg7n9Of7l4vgOVoWLeNkWymSE3/czLZWgnil9ITrMd7zrX3Mgr494gvA== Received: from [IPV6:2a01:e11:2002:4280::13:1] (unknown [IPv6:2a01:e11:2002:4280::13:1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RvRq40lpQz1HBM; Mon, 25 Sep 2023 15:38:23 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Message-ID: <1e05be67-cb15-964e-c78b-e74e714257a9@FreeBSD.org> Date: Mon, 25 Sep 2023 17:38:20 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: dns/bind916 builds rust unexpectedly Content-Language: en-US To: Gareth de Vaux , freebsd-ports@freebsd.org References: From: Guido Falsi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 25/09/23 17:06, Gareth de Vaux wrote: > Hi all, I've just upgraded bind916 which brought half my system down since > it suddenly required a mountain of python packages and rust which needed > around 13GB (and hours) to build - space which I didn't have nor have ever > remotely expected to need for a ports build. > > My bind configuration options are basically the defaults: > > # grep OPTIONS_FILE_SET /var/db/ports/dns_bind916/options > OPTIONS_FILE_SET+=IDN > OPTIONS_FILE_SET+=JSON > OPTIONS_FILE_SET+=LMDB > OPTIONS_FILE_SET+=MANPAGES > OPTIONS_FILE_SET+=TCP_FASTOPEN > OPTIONS_FILE_SET+=GSSAPI_NONE > OPTIONS_FILE_SET+=DLZ_FILESYSTEM > > These are the top level dependencies: > > # make -C /usr/ports/dns/bind916 build-depends-list > /usr/ports/ports-mgmt/pkg > /usr/ports/textproc/py-sphinx This one, which calls in py-cryptography which requires rust. > /usr/ports/devel/pkgconf > /usr/ports/security/openssl > /usr/ports/converters/libiconv > /usr/ports/devel/libuv > /usr/ports/textproc/libxml2 > /usr/ports/dns/libidn2 > /usr/ports/devel/json-c > /usr/ports/databases/lmdb > /usr/ports/devel/libedit > > Does anyone know which option/dependency is causing this? I suspect > MANPAGES -> py-sphinx since it has 'py' but who knows. Which itself would > be crazy that just a manpage would trigger this kind of intense build. > That's it actually. sphynx is quite heavy. There is a more general aspect to this. In the rest of the unix world software is now almost universally build using CI systems and buildboxes, people use binary packages almost all the time in linux. Developers don't care to keep low overhead in their builds and with dependency. The ports tree cannot mitigate this external pressure. Anyway building from ports on live machines has always been bad practice for a lot of reasons. -- Guido Falsi