Bug 277372 - security/sudo: dependency loop with security/sssd2
Summary: security/sudo: dependency loop with security/sssd2
Status: Closed DUPLICATE of bug 277371
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-28 09:33 UTC by Slawomir Wojciech Wojtczak
Modified: 2024-02-28 22:30 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2024-02-28 09:33:39 UTC
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
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2024-02-28 16:56:57 UTC

*** This bug has been marked as a duplicate of bug 277371 ***
Comment 2 Slawomir Wojciech Wojtczak 2024-02-28 22:30:39 UTC
I was not sure where the change should occur that is why I have 'poked' both *security/sudo* and *security/sssd2* ports.

Seems the latter was the proper one :)

Regards,
vermaden