These days UFS_LINK_MAX == 65500 so after . and .. that leaves 65498 for sub-directories.
When the below are all filled in with valid values (valid package counts in poudriere): Queued == Built+Failed+Skipped+Ignored+Remaining Under /usr/local/poudriere/data/.m/JAIL-TREE-SET/ref/.p/ : deps/ ends up with a sub-directory per Queued package. rdeps/ ends up with a sub-directory per Queued package. (At least, if I understand right.) The in progress: <https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=20261108_p9dd7d981b1e2_s7806832f23f> shows: Queued == 39130, the largest so far. For reference, including the amd64 based failure report: 39130 / 65498 approx.= 0.5975 (upper bound) (in progress arm64) 34648 / 65498 approx.= 0.5295 (lower bound) (2023-Oct-21 ports tree) 32767 / 65498 approx.= 0.5003 (upper bound) (do not know a date) main-arm64 when available but the amd64 figure involved in the original failure report (with a port tree date): 2026-Nov-08: 39130 / 65498 approx.= 0.5975 (upper bound) 2025-Nov-06: 37377 / 65498 approx.= 0.5707 (upper bound) 2024-Nov-19: 36154 / 65498 approx.= 0.5520 (upper bound) 2023-Oct-21: 34648 / 65498 approx.= 0.5295 (lower bound)(failure report) 32767 / 65498 approx.= 0.5003 (upper bound)(date?) The build-start/port-tree timed ones should give some idea of how close to linear it has been progressing over time. (It appeared no one had tried a "bulk -ca" like build for a UFS file system after 32767 had been passed until the failure report. It is not something officially tested on any regular basis.) Note: I'm not sure poudriere makes public such UFS failures in deps/ or rdeps/ . For the original problem report, it kept operating and the original problem report instead reported messages related to latest-per-pkg/ sub-directory creation failures. (latest-per-pkg/ for logs can be allowed to accumulate older package names and so need not be limited by Queued for its sub-directory count long term. But it does not get sub-directory contributions from Skipped or Ignored, just from Built and Failed.) -- === Mark Millard marklmi at yahoo.com
