Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2023 16:41:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272571] security/sssd-devel: building with sudo options
Message-ID:  <bug-272571-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272571

            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 f=
or
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
=E2=80=A6
[00:00:02] Error: Dependency loop detected:
These packages depend on each other: sudo-1.9.14p1_1 sssd-devel-2.9.0
=E2=80=A6.

To get sssd-devel to build when sudo has the SSSD/SSSD_DEVEL option selecte=
d, 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=3D cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
+RUN_DEPENDS=3D cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi \
+ sudo>0:security/sudo

.include <bsd.port.options.mk>
.if ${OPSYS} =3D=3D 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=3D${LOCALBASE}/lib \

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272571-7788>