Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2024 13:07:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276175] security/sssd: Linker failure:
Message-ID:  <bug-276175-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 276175
           Summary: security/sssd: Linker failure:
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jhixson@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(jhixson@FreeBSD.org)
          Assignee: jhixson@FreeBSD.org

Port security/sssd fails due to a linker error, see below. Environment is a
CURRENT host, running jails, within such a jail a CURRENT host is acting as
poudriere builder.  Main host is a recent CURRENT (FreeBSD 15.0-CURRENT #23
main-n267336-09af4bf2c98: Mon Jan  1 20:07:52 CET 2024 amd64).

The linker error shown below occurs in several different scenarios on the
builder host, the port itself tagged with either FLAVOUR security/sssd@defa=
ult
or security/sssd@smb, while configured with the default settings, or
configuring with option SMB=3DOn set and both variants of FLAVOURs (it is F=
LAVOR
in the syntax of the ports framework, for the record). In either ways, the
failure occurs.

[...]

=3D>> Building security/sssd
build started at Sun Jan  7 12:50:20 UTC 2024
port directory: /usr/ports/security/sssd
package name: sssd-smb-1.16.5_10
building for: FreeBSD myhost 15.0-CURRENT FreeBSD 15.0-CURRENT 1500008 amd64
maintained by: jhixson@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 4218 Nov  8 22:44
/usr/ports/security/sssd/Makefile
Ports top last git commit: 09561c04660a
Ports top unclean checkout: no
Port dir last git commit: b2fdcc987fc0
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.99.20231211
Host OSVERSION: 1500008
Jail OSVERSION: 1500008
Job Id: 01

---Begin Environment---
SHELL=3D/bin/sh
OSVERSION=3D1500008
UNAME_v=3DFreeBSD 15.0-CURRENT 1500008
UNAME_r=3D15.0-CURRENT
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
MM_CHARSET=3DUTF-8
LANG=3DC.UTF-8
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
MAKE_OBJDIR_CHECK_WRITABLE=3D0
LOCALBASE=3D/usr/local
USER=3Droot
POUDRIERE_NAME=3Dpoudriere-git
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.4.99.20231211
MAKEOBJDIRPREFIX=3D/pool/sources/CURRENT/obj/
MASTERMNT=3D/pool/poudriere/data/.m/head-amd64-head-default/ref
LC_COLLATE=3DC
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
OUTPUT_REDIRECTED_STDERR=3D4
OUTPUT_REDIRECTED=3D1
PWD=3D/pool/poudriere/data/.m/head-amd64-head-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3D3
P_PORTS_FEATURES=3DFLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=3Dhead-amd64-head-default
SCRIPTPREFIX=3D/usr/local/share/poudriere
SCRIPTNAME=3Dbulk.sh
OLDPWD=3D/pool/poudriere/data/.m/head-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=3Dpoudriere-git-3.4.99.20231211
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3D
FLAVOR=3Dsmb
MAKE_ARGS=3D FLAVOR=3Dsmb
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for sssd-smb-1=
.16.5_10:
     DOCS=3Don: Build and/or install documentation
     SMB=3Don: Install IPA and AD providers (requires Samba4)
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---


[...]
/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
-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=20
-I/usr/local/include   -DLIBDIR=3D\"/usr/local/lib\" -DVARDIR=3D\"/var\"
-DSSS_STATEDIR=3D\"/var/db/sss\" -DSYSCONFDIR=3D\"/usr/local/etc\" -DSHLIBE=
XT=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/pipes/nss\"
-DSSS_PAM_SOCKET_NAME=3D\"/var/run/sss/pipes/pam\"
-DSSS_PAC_SOCKET_NAME=3D\"/var/run/sss/pipes/pac\"
-DSSS_PAM_PRIV_SOCKET_NAME=3D\"/var/run/sss/pipes/private/pam\"
-DSSS_SEC_SOCKET_NAME=3D\"/var/run/secrets.socket\"
-DSSS_SUDO_SOCKET_NAME=3D\"/var/run/sss/pipes/sudo\"
-DSSS_AUTOFS_SOCKET_NAME=3D\"/var/run/sss/pipes/autofs\"
-DSSS_SSH_SOCKET_NAME=3D\"/var/run/sss/pipes/ssh\"
-DLOCALEDIR=3D\"/usr/local/share/locale\"
-DBASE_FILE_STEM=3D\"libsss_ldap_common_la-ipa_dn\"  -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/local/include  -O2 -pipe=20
-fstack-protector-all -DLIBICONV_PLUG -DLDAP_DEPRECATED
-fstack-protector-strong -fno-strict-aliasing  -D_FILE_OFFSET_BITS=3D64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -MT
src/providers/ipa/libsss_ldap_common_la-ipa_dn.lo -MD -MP -MF
src/providers/ipa/.deps/libsss_ldap_common_la-ipa_dn.Tpo -c -o
src/providers/ipa/libsss_ldap_common_la-ipa_dn.lo `test -f
'src/providers/ipa/ipa_dn.c' || echo './'`src/providers/ipa/ipa_dn.c
/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
-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=20
-I/usr/local/include   -DLIBDIR=3D\"/usr/local/lib\" -DVARDIR=3D\"/var\"
-DSSS_STATEDIR=3D\"/var/db/sss\" -DSYSCONFDIR=3D\"/usr/local/etc\" -DSHLIBE=
XT=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/pipes/nss\"
-DSSS_PAM_SOCKET_NAME=3D\"/var/run/sss/pipes/pam\"
-DSSS_PAC_SOCKET_NAME=3D\"/var/run/sss/pipes/pac\"
-DSSS_PAM_PRIV_SOCKET_NAME=3D\"/var/run/sss/pipes/private/pam\"
-DSSS_SEC_SOCKET_NAME=3D\"/var/run/secrets.socket\"
-DSSS_SUDO_SOCKET_NAME=3D\"/var/run/sss/pipes/sudo\"
-DSSS_AUTOFS_SOCKET_NAME=3D\"/var/run/sss/pipes/autofs\"
-DSSS_SSH_SOCKET_NAME=3D\"/var/run/sss/pipes/ssh\"
-DLOCALEDIR=3D\"/usr/local/share/locale\" -DBASE_FILE_STEM=3D\"_py3sss_la-p=
ysss\"=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/local/include/python3.9
-I/usr/local/include/python3.9  -Wno-unused-result -Wsign-compare
-Wunreachable-code -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=
=20
-DNDEBUG  -O2 -pipe  -fstack-protector-all -DLIBICONV_PLUG -DLDAP_DEPRECATED
-fstack-protector-strong -fno-strict-aliasing  -D_FILE_OFFSET_BITS=3D64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -MT src/python/_py3sss_la-pysss.lo
-MD -MP -MF src/python/.deps/_py3sss_la-pysss.Tpo -c -o
src/python/_py3sss_la-pysss.lo `test -f 'src/python/pysss.c' || echo
'./'`src/python/pysss.c
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_getgrnam_r' failed: symbol not defined
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_getgrgid_r' failed: symbol not defined
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_getgrent_r' failed: symbol not defined
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_setgrent' failed: symbol not defined
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_endgrent' failed: symbol not defined
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_getpwnam_r' failed: symbol not defined
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_getpwuid_r' failed: symbol not defined
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_getpwent_r' failed: symbol not defined
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_setpwent' failed: symbol not defined
ld: error: version script assignment of 'EXPORTED' to symbol
'__nss_compat_endpwent' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)

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