Date: Wed, 12 Jun 2024 10:01:56 +0300 From: Matthias Fechner <mfechner@freebsd.org> To: Tatsuki Makino <tatsuki_makino@hotmail.com>, "ports@freebsd.org" <ports@freebsd.org> 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 Message-ID: <f871b1a2-ad83-443f-bc99-a7c68f7b3817@freebsd.org> In-Reply-To: <SI2PR01MB5036A85310ED74E56E77A8E3FAC02@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> References: <b9d28cb8-4071-4d16-9e5b-54b833fe65e8@FreeBSD.org> <SI2PR01MB50369A901B50909246BC3AADFAC42@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <187dec33-ae28-435b-9dce-04968da0a45d@FreeBSD.org> <SI2PR01MB5036D9886E3A182BDBD2BE49FAC62@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <20240610205803.f570190ee66b5ae75ae67770@dec.sakura.ne.jp> <SI2PR01MB50369AF6AF90C4257287A87FFAC72@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <3a71aa5d-caec-460a-acf1-3ae29eca4759@freebsd.org> <SI2PR01MB5036A85310ED74E56E77A8E3FAC02@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div class="moz-cite-prefix">Am 12.06.2024 um 06:42 schrieb Tatsuki Makino:<br> </div> <blockquote type="cite" cite="mid:SI2PR01MB5036A85310ED74E56E77A8E3FAC02@SI2PR01MB5036.apcprd01.prod.exchangelabs.com"> <pre><pre class="moz-quote-pre" wrap="">Matthias Fechner wrote on 2024/06/11 15:43: </pre><blockquote type="cite" style="color: #007cff;"><pre class="moz-quote-pre" wrap="">I use the command like: poudriere pkgclean -y -f pkglist -j 141amd64 </pre></blockquote><pre class="moz-quote-pre" wrap="">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.</pre></pre> </blockquote> <p>no, that pkglist is a text file with all ports you normally install with `pkg install`.</p> <p>It does not include dependencies that pkg marks as automatically installed.<br> poudriere is clever enough to handle that automatically for you.</p> <p>If you need a little more background, here is my work-sheet for poudriere:<br> <a class="moz-txt-link-freetext" href="https://wiki.idefix.fechner.net/freebsd/poudriere/">https://wiki.idefix.fechner.net/freebsd/poudriere/</a></p> <p>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).<br> 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).<br> </p> <pre class="moz-signature" cols="72"> 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 </pre> </body> </html> --------------0KVsp3BG50ykUxILAvAm6LTH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f871b1a2-ad83-443f-bc99-a7c68f7b3817>