Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2023 16:14:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272453] security/sssd: not possible to create a package
Message-ID:  <bug-272453-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 272453
           Summary: security/sssd: not possible to create a package
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jhixson@FreeBSD.org
          Reporter: vermaden@interia.pl
          Assignee: jhixson@FreeBSD.org
             Flags: maintainer-feedback?(jhixson@FreeBSD.org)

Hi,

I have tried to create the security/sudo package but it was not possible.

These are the ports I wanted to create packages:

- security/sudo
- security/sssd
- security/cyrus-sasl2-gssapi
- net/openldap26-client

These are the options I have set in 'make config':

    export PORTS=3D/usr/ports
    setenv PORTS /usr/ports

    make -C ${PORTS}/security/cyrus-sasl2-gssapi config
    (*) GSSAPI_MIT

    make -C ${PORTS}/net/openldap26-client config
    [x] GSSAPI

    make -C ${PORTS}/security/sudo config
    [ ] PAM (deselect)
    [x] SSSD
    (*) GSSAPI_MIT

    make -C ${PORTS}/security/sssd config
    [x] SMB

I have tried to make that package both in dedicated Poudriere setup and als=
o in
a clena Jail. Both failed the same way.

This is the error message when I try to 'make package' for security/sssd po=
rt:

(...)
--- sample_approval.lo ---
--- sample_approval.map ---
--- sample_approval.lo ---
/bin/sh ../../libtool --tag=3Ddisable-static --mode=3Dcompile cc -c -I../..=
/include
-I../.. -DZLIB_CONST -I/usr/include -D_FORTIFY_SOURCE=3D2 -I/usr/local/incl=
ude
-O2 -pipe  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasi=
ng=20
-fvisibility=3Dhidden   -fstack-protector-strong -fstack-clash-protection
-fcf-protection ./sample_approval.c
libtool: compile:  cc -c -I../../include -I../.. -DZLIB_CONST -I/usr/include
-D_FORTIFY_SOURCE=3D2 -I/usr/local/include -O2 -pipe -I/usr/local/include
-fstack-protector-strong -fno-strict-aliasing -fvisibility=3Dhidden
-fstack-protector-strong -fstack-clash-protection -fcf-protection
./sample_approval.c  -fPIC -DPIC -o .libs/sample_approval.o
--- sample_approval.la ---
/bin/sh ../../libtool --tag=3Ddisable-static --mode=3Dlink cc -L/usr/local/=
lib=20
-lgcc -L/usr/local/lib -lintl -Wl,-rpath,/usr/local/lib:/usr/lib
-fstack-protector-strong  -Wl,--enable-new-dtags
-Wl,--allow-multiple-definition -Wc,-fstack-protector-strong
-Wc,-fstack-clash-protection -Wc,-fcf-protection -Wl,-z,relro -Wl,-z,now
-Wl,-z,noexecstack -Wl,--version-script,sample_approval.map -o
sample_approval.la sample_approval.lo ../../lib/util/libsudo_util.la -module
-avoid-version -rpath /usr/local/libexec/sudo -shrext .so
libtool: link: cc -shared  -fPIC -DPIC  .libs/sample_approval.o   -Wl,-rpath
-Wl,/usr/ports/security/sudo/work/sudo-1.9.14/lib/util/.libs -Wl,-rpath
-Wl,/usr/local/libexec/sudo -L/usr/local/lib
../../lib/util/.libs/libsudo_util.so -lgcc -lintl -lcrypto  -Wl,-rpath
-Wl,/usr/local/lib:/usr/lib -fstack-protector-strong -Wl,--enable-new-dtags
-Wl,--allow-multiple-definition -fstack-protector-strong
-fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -W=
l,-z
-Wl,noexecstack -Wl,--version-script -Wl,sample_approval.map   -Wl,-soname
-Wl,sample_approval.so -o .libs/sample_approval.so
libtool: link: ( cd ".libs" && rm -f "sample_approval.la" && ln -s
"../sample_approval.la" "sample_approval.la" )
=3D=3D=3D>  Staging for sudo-1.9.14
=3D=3D=3D>   sudo-1.9.14 depends on executable: sssd - not found
=3D=3D=3D>  Installing for sssd-1.16.5_9
=3D=3D=3D>  Checking if sssd is already installed
=3D=3D=3D>   Registering installation for sssd-1.16.5_9 as automatic
pkg-static: Unable to access file
/usr/ports/security/sssd/work-default/stage/usr/local/lib/krb5/plugins/auth=
data/sssd_pac_plugin.so:No
such file or directory
pkg-static: Unable to access file
/usr/ports/security/sssd/work-default/stage/usr/local/libexec/sssd/sssd_pac=
:No
such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/sssd
*** Error code 1

Stop.
make: stopped in /usr/ports/security/sudo
=3D=3D=3D>  Building package for openldap26-client-2.6.4
=3D=3D=3D>  Building package for cyrus-sasl-gssapi-2.1.28







Regards,
vermaden

--=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-272453-7788>