The security/sssd port is marked as DEPRACATED but its NOT POSSIBLE to use security/sssd2 instead with security/sudo because of dependency loop. > [00:01:03] Error: Dependency loop detected: > These packages depend on each other: > sudo-1.9.15p5_4 > sssd2-2.9.4_3 The security/sudo configured with SSSD2 below: # poudriere options -c -n -p idm security/sudo // DESELECT: [ ] PAM // SELECT: (*) GSSAPI_MIT // SELECT: ( ) SSSD // SELECT: (*) SSSD2 My question: HOW TO BUILD security/sudo ALONG WITH security/sssd2 WITH POUDRIERE? Complete log below. # cat /usr/local/etc/poudriere.d/idm security/krb5 security/sudo security/cyrus-sasl2 security/cyrus-sasl2-gssapi security/pam_mkhomedir net/openldap26-client net/samba416 # poudriere bulk -j 14-0-S-amd64 -b latest -p idm -f /usr/local/etc/poudriere.d/idm [00:00:01] Creating the reference jail... done [00:00:02] Mounting system devices for 14-0-S-amd64-idm [00:00:02] Stashing existing package repository [00:00:02] Mounting ccache from: /var/ccache [00:00:02] Mounting ports from: /usr/local/poudriere/ports/idm [00:00:02] Mounting packages from: /usr/local/poudriere/data/packages/14-0-S-amd64-idm [00:00:02] Mounting distfiles from: /usr/ports/distfiles [00:00:02] Copying /var/db/ports from: /usr/local/etc/poudriere.d/idm-options [00:00:02] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf /etc/resolv.conf -> /usr/local/poudriere/data/.m/14-0-S-amd64-idm/ref/etc/resolv.conf [00:00:02] Starting jail 14-0-S-amd64-idm [00:00:02] Will build as nobody:nobody (65534:65534) [00:00:04] Logs: /usr/local/poudriere/data/logs/bulk/14-0-S-amd64-idm/2024-02-28_09h24m08s [00:00:04] WWW: http://10.0.0.124//build.html?mastername=14-0-S-amd64-idm&build=2024-02-28_09h24m08s [00:00:04] Loading MOVED for /usr/local/poudriere/data/.m/14-0-S-amd64-idm/ref/usr/ports [00:00:04] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS [00:00:04] Inspecting ports tree for modifications to git checkout... no [00:00:08] Ports top-level git hash: 9d360f8a4 [00:00:08] Gathering ports metadata [00:00:10] Calculating ports order and dependencies [00:00:11] Trimming IGNORED and blacklisted ports [00:00:11] Package fetch: Looking for missing packages to fetch from pkg+http://pkg.FreeBSD.org/${ABI}/latest Updating FreeBSD repository catalogue... [14-0-S-amd64-idm] Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 [14-0-S-amd64-idm] Fetching packagesite.pkg: 100% 7 MiB 489.5kB/s 00:15 Processing entries: 100% FreeBSD repository update completed. 33847 packages processed. All repositories are up to date. [00:01:00] Package fetch: Will fetch 4 packages from remote or local pkg cache The following packages will be fetched: New packages to be FETCHED: e2fsprogs-libuuid: 1.47.0 (35 KiB: 5.58% of the 632 KiB to download) jose: 12 (110 KiB: 17.39% of the 632 KiB to download) libnfs: 5.0.2_1 (236 KiB: 37.33% of the 632 KiB to download) oniguruma: 6.9.9 (251 KiB: 39.70% of the 632 KiB to download) Number of packages to be fetched: 4 632 KiB to be downloaded. [14-0-S-amd64-idm] Fetching libnfs-5.0.2_1.pkg: 100% 236 KiB 241.5kB/s 00:01 [14-0-S-amd64-idm] Fetching oniguruma-6.9.9.pkg: 100% 251 KiB 256.9kB/s 00:01 [14-0-S-amd64-idm] Fetching jose-12.pkg: 100% 110 KiB 112.5kB/s 00:01 [14-0-S-amd64-idm] Fetching e2fsprogs-libuuid-1.47.0.pkg: 100% 35 KiB 36.1kB/s 00:01 [00:01:02] Package fetch: Using cached copy of jose-12 [00:01:02] Package fetch: Using cached copy of e2fsprogs-libuuid-1.47.0 [00:01:02] Package fetch: Using cached copy of libnfs-5.0.2_1 [00:01:02] Package fetch: Using cached copy of oniguruma-6.9.9 [00:01:02] Sanity checking the repository [00:01:02] Checking packages for incremental rebuild needs [00:01:03] Deleting stale symlinks... done [00:01:03] Deleting empty directories... done [00:01:03] Package fetch: Generating logs for fetched packages [00:01:03] Unqueueing existing packages [00:01:03] Unqueueing orphaned build dependencies [00:01:03] Sanity checking build queue [00:01:03] Error: Dependency loop detected: These packages depend on each other: sudo-1.9.15p5_4 sssd2-2.9.4_3 [14-0-S-amd64-idm] [2024-02-28_09h24m08s] [crashed] Queued: 9 Built: 0 Failed: 0 Skipped: 0 Ignored: 0 Fetched: 4 Tobuild: 5 Time: 00:01:00 [00:01:04] Logs: /usr/local/poudriere/data/logs/bulk/14-0-S-amd64-idm/2024-02-28_09h24m08s [00:01:04] WWW: http://10.0.0.124//build.html?mastername=14-0-S-amd64-idm&build=2024-02-28_09h24m08s [00:01:04] Cleaning up [00:01:04] Unmounting file systems Exiting with status 1 Regards, vermaden
*** Bug 277372 has been marked as a duplicate of this bug. ***
I was fixed on sssd-devel by dvl and regressed when sssd2 was introduced. On it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=dbb99230a5c36c7d9f9be8b29bb186cec857886d commit dbb99230a5c36c7d9f9be8b29bb186cec857886d Author: Renato Botelho <garga@FreeBSD.org> AuthorDate: 2024-02-28 17:06:28 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2024-02-28 17:11:29 +0000 security/sssd2: Fix circular dependency with sudo Re-apply 2f448a87ed31 and remove sudo from the list of dependencies to fix circular dependency issue when sudo is built with SSSD2 option. Previous commit was made by dvl@ on now retired sssd-devel port. PR: 277371 Reported by: Slawomir Wojciech Wojtczak <vermaden@interia.pl> Sponsored by: Rubicon Communications, LLC ("Netgate") security/sssd2/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Thank You very much - that solved the problem. Regards, vermaden