I followed a few howtos and managed to create a jail to build ports with poudriere but I'm having errors with dependencies. Using a simple list of 2 ports, databases/mariadb1104-server and mail/postfix. Poudriere runs and build the 1st dependency which is ports-mgmt/pkg then stops at devel/ccache with the following in the ccache log file;
Restarting the build without the -c manages to build most dependencies but stops at print/indexinfo. Continuing to restart after each failure finally results in all dependencies being built.
I can't seem to find what I'm doing wrong.
Here is the output of the initial run.
Code:
root@tinderbox:/usr/local/etc # more /usr/local/poudriere/data/logs/bulk/143x64-default/2025-11-20_15h06m08s/logs/ccache-3.7.12_8.log
Build crashed: starting
build of devel/ccache | ccache-3.7.12_8 ended at Thu Nov 20 15:07:23 EST 2025
!!! build failure encountered !!!
I can't seem to find what I'm doing wrong.
Here is the output of the initial run.
Code:
# poudriere bulk -p default -j 143x64 -c -f /usr/local/etc/poudriere.d/pkglist2.txt
[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for 143x64-default
[00:00:00] Stashing existing package repository
[00:00:00] Mounting ccache from: /var/cache/ccache
[00:00:00] Mounting ports from: /usr/local/poudriere/ports/default
[00:00:00] Mounting packages from: /usr/local/poudriere/data/packages/143x64-default
[00:00:00] Mounting distfiles from: /usr/ports/distfiles
[00:00:00] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options
/etc/resolv.conf -> /usr/local/poudriere/data/.m/143x64-default/ref/etc/resolv.conf
[00:00:00] Starting jail 143x64-default
Updating /var/run/os-release done.
[00:00:00] Will build as root:wheel (0:0)
[00:00:01] Logs: /usr/local/poudriere/data/logs/bulk/143x64-default/2025-11-20_15h06m08s
[00:00:01] Loading MOVED for /usr/local/poudriere/data/.m/143x64-default/ref/usr/ports
[00:00:01] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS
[00:00:01] Inspecting ports tree for modifications to git checkout... no
[00:00:02] Ports top-level git hash: 6a1d487409
[00:00:02] Gathering ports metadata
[00:00:02] Calculating ports order and dependencies
[00:00:02] -c specified, cleaning all packages... done
[00:00:02] Trimming IGNORED and blacklisted ports
[00:00:02] pkg bootstrap missing: unable to inspect existing packages, cleaning all packages... done
[00:00:02] Sanity checking the repository
[00:00:02] Deleting stale symlinks... done
[00:00:02] Deleting empty directories... done
[00:00:02] Unqueueing existing packages
[00:00:02] Unqueueing orphaned build dependencies
[00:00:02] Sanity checking build queue
[00:00:02] Processing PRIORITY_BOOST
[00:00:02] Balancing pool
[143x64-default] [2025-11-20_15h06m08s] [balancing_pool] Queued: 71 Built: 0 Failed: 0 Skipped: 0 Ignored: 0 Fetched: 0 Tobuild: 71 Time: 00:00:01
[00:00:02] Recording filesystem state for prepkg... done
[00:00:02] Building 71 packages using up to 12 builders
[00:00:02] Hit CTRL+t at any time to see build progress and stats
[00:00:02] [01] [00:00:00] Builder starting
[00:00:03] [01] [00:00:01] Builder started
[00:00:03] [01] [00:00:00] Building ports-mgmt/pkg | pkg-2.4.2_1
[00:00:43] [01] [00:00:40] Finished ports-mgmt/pkg | pkg-2.4.2_1: Success
[00:00:43] [01] [00:00:00] Building devel/ccache | ccache-3.7.12_8
[00:00:43] [02] [00:00:00] Builder starting
[00:00:43] [03] [00:00:00] Builder starting
01/usr/bin/chpass rename-after-copy failed: Operation not permitted
01/usr/bin/passwd rename-after-copy failed: Operation not permitted
01/usr/bin/su rename-after-copy failed: Operation not permitted
01/usr/bin/crontab rename-after-copy failed: Operation not permitted
01/usr/bin/login rename-after-copy failed: Operation not permitted
01/libexec/ld-elf32.so.1 rename-after-copy failed: Operation not permitted
01/libexec/ld-elf.so.1 rename-after-copy failed: Operation not permitted
[00:00:43] [02] [00:00:00] Builder started
[00:00:43] [03] [00:00:00] Builder started
[00:00:43] [03] [00:00:00] Building dns/public_suffix_list | public_suffix_list-20251025
[00:00:43] [02] [00:00:00] Building devel/autoconf-switch | autoconf-switch-20220527
01/lib/libcrypt.so.5 rename-after-copy failed: Operation not permitted
01/lib/libc.so.7 rename-after-copy failed: Operation not permitted
01/lib/libthr.so.3 rename-after-copy failed: Operation not permitted
01/lib/librt.so.1 rename-after-copy failed: Operation not permitted
01/sbin/init rename-after-copy failed: Operation not permitted
[00:00:44] [03] [00:00:01] Finished dns/public_suffix_list | public_suffix_list-20251025: Success
[00:00:44] [02] [00:00:01] Finished devel/autoconf-switch | autoconf-switch-20220527: Success
[00:01:14] [01] [00:01:14] Finished devel/ccache | ccache-3.7.12_8: Failed: starting
[00:01:15] [01] [00:01:15] Skipping devel/autoconf | autoconf-2.72: Dependent port devel/ccache | ccache-3.7.12_8 starting
[00:01:15] [01] [00:01:15] Skipping devel/automake | automake-1.17: Dependent port devel/ccache | ccache-3.7.12_8 starting
[00:01:15] [01] [00:01:15] Skipping shells/bash | bash-5.3.3_2: Dependent port devel/ccache | ccache-3.7.12_8 starting
[00:01:15] [01] [00:01:15] Skipping devel/binutils@native | binutils-2.44,1: Dependent port devel/ccache | ccache-3.7.12_8 starting
....
....
[00:01:15] Stopping 12 builders
[00:01:15] Creating pkg repository
Creating repository in /tmp/packages: 100%
Packing files for repository: 100%
[00:01:15] Committing packages to repository: /usr/local/poudriere/data/packages/143x64-default/.real_1763669243 via .latest symlink
[00:01:15] Removing old packages
[00:01:15] Built ports: ports-mgmt/pkg dns/public_suffix_list devel/autoconf-switch
[00:01:15] Failed ports: devel/ccache:starting
[00:01:15] Skipped ports: archivers/brotli archivers/liblz4 archivers/zstd converters/libiconv converters/p5-Text-Unidecode databases/galera26 databases/mariadb114-client databases/mariadb114-server databases/unixODBC devel/autoconf devel/automake devel/binutils@native devel/bison devel/boost-jam devel/boost-libs devel/check devel/cmake-core devel/gettext-runtime devel/gettext-tools devel/gmake devel/icu devel/jsoncpp devel/libedit devel/libffi devel/libfmt devel/libtextstyle devel/libtool devel/libunistring devel/libuv devel/m4 devel/meson@py311 devel/ninja devel/p5-Locale-gettext devel/p5-Locale-libintl devel/pcre2 devel/pkgconf devel/py-build@py311 devel/py-flit-core@py311 devel/py-installer@py311 devel/py-packaging@py311 devel/py-pyproject-hooks@py311 devel/py-setuptools@py311 devel/py-wheel044@py311 devel/py-wheel@py311 devel/readline devel/xxhash dns/libidn2 dns/libpsl ftp/curl lang/perl5.42 lang/python311 mail/postfix@default math/gmp math/mpdecimal math/mpfr misc/help2man net/rsync print/indexinfo print/texinfo security/krb5@default security/libssh2 security/rhash shells/bash textproc/expat2 textproc/libxml2 textproc/p5-Unicode-EastAsianWidth www/libnghttp2
[143x64-default] [2025-11-20_15h06m08s] [committing] Queued: 71 Built: 3 Failed: 1 Skipped: 67 Ignored: 0 Fetched: 0 Tobuild: 0 Time: 00:01:14
[00:01:15] Logs: /usr/local/poudriere/data/logs/bulk/143x64-default/2025-11-20_15h06m08s
[00:01:15] Cleaning up
[00:01:15] Unmounting file systems