Re: poudriere bulk -a fails on UFS: "Too many links" under logs/bulk/latest-per-pkg/ and then "Failed: starting"

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Sat, 04 Nov 2023 23:45:45 UTC
Mark Millard wrote on 2023/11/05 07:54:
> (I've not checked if /usr/local/poudriere/data/logs/bulk/latest-per-pkg/
> is the only issue. It is just the first context to stop the build.)

Sorry, I didn't read it very carefully and confused the logs directory with the packages directory :)
I think we can delete the old logs.
But just do the following.

poudriere logclean 30	# If the last 30 days are to be kept.

There is a -N count option in poudriere-logclean, but I think it would cause less problems if it were not used.
Because awk is behaving strangely.
It occurs that logs with old dates continue to be kept.
It could also leave directories for packages whose names no longer exist.
I don't know if awk behavior has been fixed in newer versions of FreeBSD.
It is strange, at least in 12.x.

Regards.