Am Thu, Sep 26, 2024 at 07:58:17PM -0000 schrieb Ryan Slominski:
> Hi,
>    I'm looking for tips on building sssd in a devcontainer.  The simplest 
> naive thing:
> 
> https://github.com/slominskir/sssd-devcontainer/blob/main/Dockerfile
> 
> ```Dockerfile
> FROM fedora:40

Hi,

Fedora 40 is not using the very latest of SSSD, in the git tree there
might be already newer features added which require additional
dependencies which are not listed in the Fedora 40 spec file and hence
are not included with `dnf builddep`.

With respect to libcap, you can either add `dnf install libcap-devel` to
your command line or use Fedora 41 which uses a more recent version of
SSSD which already includes the `libcap-devel` dependency.

In general you can also grep the 'BuildRequires' from
contrib/sssd.spec.in or call './contrib/ci/run -d' before calling
autoreconf.

I hope there is one solution which will work for your use case.

bye,
Sumit

> 
> RUN dnf install 'dnf-command(builddep)' tini git -y ; dnf builddep sssd -y
> 
> ENTRYPOINT ["/usr/bin/tini", "--"]
> CMD ["sleep", "infinity"]
> ```
> 
> Configure step fails with:
> 
> checking for CAP... no
> configure: error: libcap is missing
> 
> Ran with:
> docker build . -t dev
> docker run --rm --name dev dev
> docker exec -it dev bash
> cd /opt
> git clone https://github.com/SSSD/sssd
> cd sssd
> autoreconf -if
> ./configure
> 
> Regards,
> 
> Ryan
> -- 
> _______________________________________________
> sssd-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedorahosted.org/archives/list/[email protected]
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue

-- 
_______________________________________________
sssd-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to