[Bug 272571] security/sssd-devel: building with sudo options

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Jul 2023 16:41:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272571

            Bug ID: 272571
           Summary: security/sssd-devel: building with sudo options
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jhixson@FreeBSD.org
          Reporter: dvl@FreeBSD.org
             Flags: maintainer-feedback?(jhixson@FreeBSD.org)
          Assignee: jhixson@FreeBSD.org

We're using security/sudo with security/sssd-devel in house.

security/sudo now has a patch for building with security/sssd-devel (look for
SSSSD_DEVEL).

When this option is used, we get a build failure with security/sssd-devel:

$ sudo poudriere testport -j 132R -p 2023Q3sssd security/sssd-devel
…
[00:00:02] Error: Dependency loop detected:
These packages depend on each other: sudo-1.9.14p1_1 sssd-devel-2.9.0
….

To get sssd-devel to build when sudo has the SSSD/SSSD_DEVEL option selected, I
needed to remove the dependency upon security/sudo:

[dvl@ava-pkg-02prd:/usr/local/poudriere/ports/2023Q3sssd] $ diff -ruN
security/sssd-devel /usr/local/poudriere/ports/head/security/sssd-devel
diff -ruN security/sssd-devel/Makefile
/usr/local/poudriere/ports/head/security/sssd-devel/Makefile
--- security/sssd-devel/Makefile 2023-07-12 15:13:36.354826000 +0000
+++ /usr/local/poudriere/ports/head/security/sssd-devel/Makefile 2023-07-04
03:52:53.250238000 +0000
@@ -53,7 +53,8 @@
 libunistring.so:devel/libunistring \
 libuuid.so:misc/e2fsprogs-libuuid

-RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
+RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi \
+ sudo>0:security/sudo

.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300076

I do not know how that affects these options, but it works and works here.:


$ grep sudo security/sssd-devel/Makefile
--with-sudo \
--with-sudo-lib-path=${LOCALBASE}/lib \

Nothing urgent here, but I suspect this will also affect others eventually.

Thank you for getting us working with newer sssd. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.