From nobody Wed Jun 12 07:01:56 2024 X-Original-To: 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 4Vzc0m5J2Kz5NscT for ; Wed, 12 Jun 2024 07:02:00 +0000 (UTC) (envelope-from mfechner@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4Vzc0m4tQwz4PmL; Wed, 12 Jun 2024 07:02:00 +0000 (UTC) (envelope-from mfechner@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718175720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4WL04b4CPjWQcomoFdxv976kD8wNodtCHksFhvaKhJw=; b=uKCEaxZjbuGptU166d7/emAOTe89mnQixfD0PiVlsg8xRZ/SrVdbTqBVx4nOfhUSeeLsRy 4zbzERK40T9vYXXws9m/jJd9HXmjGfK1JiuAFtptvlBnc3vFM1S2GA1lheTEYIwRjzXW5z BW6XOv04QMmeXWWqfoDtJlPnPp++Rn4OTGpnvalJBoMDuvtn18Qyq9ZjAKth2XelleXNzl S/4fpx5Q70z0xQFZyZqh6XwB5xPUlw2vzlZbM0XuHcTX7RzXiuBH8v5k+Sit89lRrRv0pz iSyuJn9472YLe849Fdn5E7Clu++KmCzWiBBBMNdwa+xGIG3oU4mv1NxqlEF7cQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718175720; a=rsa-sha256; cv=none; b=Wq4Pybyi7RNs4cPLrMo7NIzwGSgNxWMZYcKtXHy4OFrX5xHgKVFrLMyjUd57jxcg6N7/CL liJ96lA0V8LztR5/e/l5zYsgaBYokJ9fJOCnNBhkQpB/CnLmgqTFxyGqawdpff4aswUDDn BIUWLhwqYjhpK/FlH56oRzxoJizksWWIUFQCiUK43ldy1s+Qx2hh/WQ2fhshOqEQSsfSFr rJ1b6JJf7seVakCccROl2LAbx1yqq2r4qK9tB2mEfyClHwClnQAvOixTBIYJroB5xrJ11T jk8AmUzhrCDGR+pXJUA8MjI8cELFJTt5KJq/PM1nYS5TTSQKA2vXZ+TMCZB1yA== 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=1718175720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4WL04b4CPjWQcomoFdxv976kD8wNodtCHksFhvaKhJw=; b=CXCYtqZ7KT9xG8SyLfH547G9HkvKc+l22Ih6wuOs+lniJ64jXnyDm3TTciT6TSXeZ4DUxD HHxr0QIO8kQpQ7KkG77t+afIEqTxD11G+6ewQRujlYPS7++lOzQqmXY42tiGmTHfDFZiB9 vlcAnKhkpbcwWv1O11TnbI3tD8Hlgy2khfaCEHyYz9GsxT7O7s16iWHyhGxeoWw1dPJAAk lVCUi0Jtz+oor08N9jopHDfUGrVETWr7JvYe4St+GMeUqL5sOA3csUGQ+bY0P8noPtvpmk /BNsm2uTvkeqoSNmKyLq1VvRGoG6pkZ4u87rXH5Ylr1MeOPAJkQiWmQSkbGnLA== Received: from [192.168.0.151] (unknown [212.108.138.138]) (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: mfechner) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Vzc0l5lWDz12Tq; Wed, 12 Jun 2024 07:01:59 +0000 (UTC) (envelope-from mfechner@freebsd.org) Content-Type: multipart/alternative; boundary="------------0KVsp3BG50ykUxILAvAm6LTH" Message-ID: Date: Wed, 12 Jun 2024 10:01:56 +0300 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: After following the advise from UPDATING about pythoin-3.11, 'pkg add' now says: pkg: "Cannot solve problem using SAT solver" and attempts to install and then offers to remove py39- packages To: Tatsuki Makino , "ports@freebsd.org" References: <187dec33-ae28-435b-9dce-04968da0a45d@FreeBSD.org> <20240610205803.f570190ee66b5ae75ae67770@dec.sakura.ne.jp> <3a71aa5d-caec-460a-acf1-3ae29eca4759@freebsd.org> Content-Language: en-US From: Matthias Fechner In-Reply-To: This is a multi-part message in MIME format. --------------0KVsp3BG50ykUxILAvAm6LTH Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 12.06.2024 um 06:42 schrieb Tatsuki Makino: > Matthias Fechner wrote on 2024/06/11 15:43: >> I use the command like: >> poudriere pkgclean -y -f pkglist -j 141amd64 > It seems to me that this pkglist should include build-time dependent ports in addition to the required ports. > The loss of rust, which is not dependent on at runtime, would be a huge loss of time 🙂 > > Changing the subject, what are the ports of python that will exist in py39 flavor but not in py311 flavor? > When it was decided to change the default version of python to 3.11, it seems that this problem was also solved. no, that pkglist is a text file with all ports you normally install with `pkg install`. It does not include dependencies that pkg marks as automatically installed. poudriere is clever enough to handle that automatically for you. If you need a little more background, here is my work-sheet for poudriere: https://wiki.idefix.fechner.net/freebsd/poudriere/ there you can see, how I setup my package building and how I use it, there is also an example how the pkglist can look like (but that is customized to my personal needs). So include in your pkglist only the ports you require for your servers (this also reduces the build-time, as you normally do not need all packages build). Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook --------------0KVsp3BG50ykUxILAvAm6LTH Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 12.06.2024 um 06:42 schrieb Tatsuki Makino:
Matthias Fechner wrote on 2024/06/11 15:43:
I use the command like:
poudriere pkgclean -y -f pkglist -j 141amd64
It seems to me that this pkglist should include build-time dependent ports in addition to the required ports.
The loss of rust, which is not dependent on at runtime, would be a huge loss of time 🙂

Changing the subject, what are the ports of python that will exist in py39 flavor but not in py311 flavor?
When it was decided to change the default version of python to 3.11, it seems that this problem was also solved.

no, that pkglist is a text file with all ports you normally install with `pkg install`.

It does not include dependencies that pkg marks as automatically installed.
poudriere is clever enough to handle that automatically for you.

If you need a little more background, here is my work-sheet for poudriere:
https://wiki.idefix.fechner.net/freebsd/poudriere/

there you can see, how I setup my package building and how I use it, there is also an example how the pkglist can look like (but that is customized to my personal needs).
So include in your pkglist only the ports you require for your servers (this also reduces the build-time, as you normally do not need all packages build).

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
--------------0KVsp3BG50ykUxILAvAm6LTH--