Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2017 12:25:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217623] security/sssd: support for current krb5 and samba releases / update to sssd 1.15.0 ??
Message-ID:  <bug-217623-13-DnYxZQHH4k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217623-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217623-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #4 from Rick Miller <vmiller@hostileadmin.com> ---
The port passes the configure phase now after adding a number of configure
args:

--without-nfsv4-idmapd-plugin
--without-secrets
--without-python3-bindings
--without-kcm

It fails during the build phase citing the following error message (the ent=
ire
log is attached).  I am not a developer and do not have the expertise neces=
sary
to troubleshoot the build failure.  It's quite possible it may be a result =
of
the patch submitted.

/bin/sh ./libtool  --tag=3DCC   --mode=3Dcompile cc -DHAVE_CONFIG_H -I.  -W=
all -I..
-I./src/sss_client -I./src -I. -I/usr/local/include  -I/usr/local/include=20
-I/usr/local/include  -I/usr/local/include  -I/usr/local/include=20
-I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include=20
-I/usr/local/include  -I/usr/local/include  -I/usr/local/include=20
-I/usr/local/include   -I/usr/local/include=20=20
-DHOST_NAME_MAX=3D_POSIX_HOST_NAME_MAX -DLIBDIR=3D\"/usr/local/lib\"
-DVARDIR=3D\"/var\" -DSSS_STATEDIR=3D\"/var/lib/sss\"
-DSYSCONFDIR=3D\"/usr/local/etc\" -DSHLIBEXT=3D\"\"
-DSSSDDATADIR=3D\"/usr/local/share/sssd/sssd\"
-DSSSD_LIBEXEC_PATH=3D\"/usr/local/libexec/sssd\"
-DSSSD_CONF_DIR=3D\"/usr/local/etc/sssd\" -DSSS_NSS_MCACHE_DIR=3D\"/var/db/=
sss_mc\"
-DSSS_NSS_SOCKET_NAME=3D\"/var/run/sss/nss\"
-DSSS_PAM_SOCKET_NAME=3D\"/var/run/sss/pam\"
-DSSS_PAC_SOCKET_NAME=3D\"/var/run/sss/pac\"
-DSSS_PAM_PRIV_SOCKET_NAME=3D\"/var/run/sss/private/pam\"
-DSSS_SEC_SOCKET_NAME=3D\"/var/run/secrets.socket\"
-DSSS_SUDO_SOCKET_NAME=3D\"/var/run/sss/sudo\"
-DSSS_AUTOFS_SOCKET_NAME=3D\"/var/run/sss/autofs\"
-DSSS_SSH_SOCKET_NAME=3D\"/var/run/sss/ssh\"
-DLOCALEDIR=3D\"/usr/local/share/locale\"
-DBASE_FILE_STEM=3D\"sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin\"=
=20
-DLIBICONV_PLUG -I/usr/local/include  -Wall -Wshadow -Wstrict-prototypes
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef
-Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs
-fno-strict-aliasing -std=3Dgnu99 -I/usr/include  -O2 -pipe=20
-fstack-protector-all -DLIBICONV_PLUG -fstack-protector -DLDAP_DEPRECATED
-fno-strict-aliasing -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -MT
src/krb5_plugin/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.lo -MD=
 -MP
-MF
src/krb5_plugin/.deps/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.=
Tpo
-c -o src/krb5_plugin/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.=
lo
`test -f 'src/krb5_plugin/sssd_krb5_locator_plugin.c' || echo
'./'`src/krb5_plugin/sssd_krb5_locator_plugin.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -Wall -I.. -I./src/sss_client -I.=
/src
-I. -I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include/dbus-1.0
-I/usr/local/lib/dbus-1.0/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-DHOST_NAME_MAX=3D_POSIX_HOST_NAME_MAX -DLIBDIR=3D\"/usr/local/lib\"
-DVARDIR=3D\"/var\" -DSSS_STATEDIR=3D\"/var/lib/sss\"
-DSYSCONFDIR=3D\"/usr/local/etc\" -DSHLIBEXT=3D\"\"
-DSSSDDATADIR=3D\"/usr/local/share/sssd/sssd\"
-DSSSD_LIBEXEC_PATH=3D\"/usr/local/libexec/sssd\"
-DSSSD_CONF_DIR=3D\"/usr/local/etc/sssd\" -DSSS_NSS_MCACHE_DIR=3D\"/var/db/=
sss_mc\"
-DSSS_NSS_SOCKET_NAME=3D\"/var/run/sss/nss\"
-DSSS_PAM_SOCKET_NAME=3D\"/var/run/sss/pam\"
-DSSS_PAC_SOCKET_NAME=3D\"/var/run/sss/pac\"
-DSSS_PAM_PRIV_SOCKET_NAME=3D\"/var/run/sss/private/pam\"
-DSSS_SEC_SOCKET_NAME=3D\"/var/run/secrets.socket\"
-DSSS_SUDO_SOCKET_NAME=3D\"/var/run/sss/sudo\"
-DSSS_AUTOFS_SOCKET_NAME=3D\"/var/run/sss/autofs\"
-DSSS_SSH_SOCKET_NAME=3D\"/var/run/sss/ssh\"
-DLOCALEDIR=3D\"/usr/local/share/locale\"
-DBASE_FILE_STEM=3D\"sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin\"
-DLIBICONV_PLUG -I/usr/local/include -Wall -Wshadow -Wstrict-prototypes
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef
-Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs
-fno-strict-aliasing -std=3Dgnu99 -I/usr/include -O2 -pipe -fstack-protecto=
r-all
-DLIBICONV_PLUG -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -MT
src/krb5_plugin/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.lo -MD=
 -MP
-MF
src/krb5_plugin/.deps/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.=
Tpo
-c src/krb5_plugin/sssd_krb5_locator_plugin.c  -fPIC -DPIC -o
src/krb5_plugin/.libs/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.o
In file included from src/krb5_plugin/sssd_krb5_locator_plugin.c:36:
In file included from ./src/util/sss_krb5.h:30:
/usr/local/include/krb5/krb5.h:112:5: warning: 'TARGET_OS_MAC' is not defin=
ed,
evaluates to 0 [-Wundef]
#if TARGET_OS_MAC
    ^
/usr/local/include/krb5/krb5.h:8459:5: warning: 'TARGET_OS_MAC' is not defi=
ned,
evaluates to 0 [-Wundef]
#if TARGET_OS_MAC
    ^
In file included from src/krb5_plugin/sssd_krb5_locator_plugin.c:36:
./src/util/sss_krb5.h:89:14: error: typedef redefinition with different typ=
es
('void (krb5_context, void *, krb5_timestamp, krb5_timestamp, krb5_boolean)=
' vs
'void (*)(krb5_context, void *, krb5_timestamp, krb5_timestamp, krb5_boolea=
n)')
typedef void krb5_expire_callback_func(krb5_context context, void *data,
             ^
/usr/local/include/krb5/krb5.h:7185:17: note: previous definition is here
(KRB5_CALLCONV *krb5_expire_callback_func)(krb5_context context, void *data,
                ^
In file included from src/krb5_plugin/sssd_krb5_locator_plugin.c:36:
./src/util/sss_krb5.h:112:5: warning:
'HAVE_KRB5_GET_INIT_CREDS_OPT_SET_FAST_FLAGS' is not defined, evaluates to 0
[-Wundef]
#if HAVE_KRB5_GET_INIT_CREDS_OPT_SET_FAST_FLAGS
    ^
3 warnings and 1 error generated.
gmake[3]: *** [Makefile:19246:
src/krb5_plugin/sssd_krb5_locator_plugin_la-sssd_krb5_locator_plugin.lo] Er=
ror
1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/sssd/work/sssd-1.1=
5.3'
gmake[2]: *** [Makefile:31837: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/sssd/work/sssd-1.1=
5.3'
gmake[1]: *** [Makefile:9575: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/sssd/work/sssd-1.1=
5.3'
*** Error code 1

Stop.
make: stopped in /usr/ports/security/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-217623-13-DnYxZQHH4k>