Date: Sun, 15 Dec 2019 14:37:39 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Why does poudriere insist on rebuilding the same packages over and over Message-ID: <2f765131-c56f-f963-2f28-22d71e857ab8@FreeBSD.org> In-Reply-To: <20191215075741.5df439b4@scorpio> References: <20191215075741.5df439b4@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eQBrEspgD2WGqPd1BWgQTE4i4wxhz5fUt Content-Type: multipart/mixed; boundary="DcgxuHJHlmcK48zGzb5wn1VS3zFBtZrJw" --DcgxuHJHlmcK48zGzb5wn1VS3zFBtZrJw Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 15/12/2019 12:57, Gerard E. Seibert wrote: > This is probably a dumb question, but I'll ask it anyway. Why does > 'poudriere' insist on rebuild the same package, over and over, when > there has been no change. >=20 > EXAMPLE: >=20 > This morning I decided to install /usr/ports/x11/xscreensaver. > Poudriere insisted on rebuilding hundreds of ports, > including "ports-mgmt/pkg", even though they had not changed. I had > just updated the ports tree with poudriere and updated all of the files= > on my system. There was no reason to rebuild all of the existing files.= > It seems that the "ports-mgmt/pkg" file is rebuild every time poudriere= > runs. >=20 > Is there a configuration setting to stop? It wastes a lot of time and > resources to continually rebuild everything. >=20 > NOTE: >=20 > I made on change on an installed port the other day, and poudriere > insisted on rebuild 1039 ports. That is just crazy. That's not normal. poudriere shouldn't need to rebuild as much as that -- and anything it does rebuild it will print out the reason why. In particular, seeing pkg(8) continually being rebuilt without good reason is a sign of something gone awry. Off-hand I can think of three reasons off hand why poudriere might want to rebuild /every/ package: 1) You updated the poudriere jail -- that is, you ran poudriere jail -j yourjail -u or similar, so that you updated the OS within your jail. poudriere will rebuild all packages when the underlying jail gets updated. Just updating a ports tree wouldn't have this effect. In many cases, you don't need to always apply every available update to your poudriere jails straight away. poudriere jails are relatively inexposed to attack, and typically the packages you build will not be affected at all by any vulerabilities in software within the build jail. Just keep your host system scrupulously up to date and you'll be fine. The biggest exception to this rule are packages that install statically linked binaries on occasions where there is a vulnerability in one of the system libraries. Thankfully that combination is pretty rare. 2) You're giving 'poudriere bulk' the '-c' flag, which says to clean and rebuild everything. This is just poudriere doing what you tell it to. 3) Your system clock is doing weird things, and poudriere is getting confused because it can't tell what time it is. Cheers, Matthew --DcgxuHJHlmcK48zGzb5wn1VS3zFBtZrJw-- --eQBrEspgD2WGqPd1BWgQTE4i4wxhz5fUt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl32RTNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5OfQyw//YkgDX3U4eFCIzFcMzDJJ4ItQFhD22njhjf7uSl3V3VD0DSudxjROp89E MC8HVjmjS1KgMIRi2VB6C98QNhG3nTwzcmEpTTbfe4C6zu5TBjiwLPb4K+sV5KBT qBuEuctlDGfRivW9bEmeS1WbZ7wVTXYWoAV22hZ+c3/r+r6lY86bUdgQPva9uAWv a/rJm80w/ms1sDGzLt9zI9DiHVp+qsBlPJdmWzRT9EkXEkdSGiGRVuW3vD3BiLmU Z8HQFIp2pK6EtdNPFE4/cynzce8cOlCRk6bT4dMe4v+z6G7PIguLGSvkzyeFPAey 9A8O1JNPofTyXcOpQSNqn+LEytw1J11IdQmNnzFFI0Vg2rllXfvQTBze07oSpP2a tWvJ7G4s4lHzCXoyyFt0Qo8G4HIE/rEjLcvGpfrio+R05fxmKjtOF3a6vEXo14Bh YtaIOr5JKxnD4qzkv6zw4B4W7+SVRR1sZcDdUv+h6C3/n5OMlqzeYQwPt8T/WD7F tNFkQkc0GtCancAD1WMi98xjS7IKm0kUYD+d4YQcGZvjBz7K5NFNORYCr2Q2OGZe O2lxu+Yy5p9HFuuTywQC237pnhAhjpDe0l2wCuYKDLkXfd1hvJXj7Wy0AJg07men GrSo1iJVZg2oXK7HOdJ1dVHTihVt2IknCuZdFFcq/G9EkODBMn0= =B3PZ -----END PGP SIGNATURE----- --eQBrEspgD2WGqPd1BWgQTE4i4wxhz5fUt--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2f765131-c56f-f963-2f28-22d71e857ab8>