On Mon, 2016-11-07 at 12:08 +0100, Lukas Slebodnik wrote:
> On (20/10/16 06:58), Joakim Tjernlund wrote:
> >
> > On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
> > >
> > > === SSSD 1.14.2 ===
> > >
> > > The SSSD team is proud to announce the release of version 1.14.2 of
> > > the System Security Services Daemon.
> > >
> > > As always, the source is available from
https://fedorahosted.org/sssd
> > >
> > > RPM packages will be made available for Fedora shortly.
> > >
> > > == Feedback ==
> > > Please provide comments, bugs and other feedback via the sssd-devel
> > > or sssd-users mailing lists:
> > > https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
> > > https://lists.fedorahosted.org/mailman/listinfo/sssd-users
> > >
> >
> > hmm, I still get:
> > libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC
-DPIC src/providers/krb5/.libs/libsss_krb5_la-
> > krb5_init.o -Wl,-rpath
-Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs
> > -Wl,-rpath -Wl,/usr/lib64/sssd
-L/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-
> > abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so
-lpopt -lldb -ldbus-1 -lpcre
> > /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so
/usr/lib64/libbasicobjects.so
> > /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so
/usr/lib64/liblber.so
> > -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0
/var/tmp/portage/sys-
> > auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so
/var/tmp/portage/sys-auth/sssd-
> > 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so
/var/tmp/portage/sys-auth/sssd-
> > 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so
./.libs/libsss_crypt.so -lcrypto
> > ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc
/var/tmp/portage/sys-auth/sssd-
> > 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so
./.libs/libsss_krb5_common.so -lkeyutils
> > /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname
-Wl,libsss_krb5.so -o
> > .libs/libsss_krb5.so
> > ./.libs/libsss_util.so: undefined reference to `timer_settime'
> > ./.libs/libsss_util.so: undefined reference to `timer_delete'
> > ./.libs/libsss_util.so: undefined reference to `timer_create'
> > collect2: error: ld returned 1 exit status
> > libtool: link: x86_64-pc-linux-gnu-gcc -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=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE
> > -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy
src/sss_client/sss_ssh_knownhostsproxy-
> > common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o
> > src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath
-Wl,/usr/lib64 -Wl,--as-
> > needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre
/usr/lib64/libini_config.so
> > /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so
/usr/lib64/libref_array.so
> > /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv
-lsasl2 -lgnutls
> > /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0
/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-
> > 1.14.2-abi_x86_64.amd64/.libs/libsss_child.so
/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-
> > abi_x86_64.amd64/.libs/libsss_cert.so
/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-
> > abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto
./.libs/libsss_debug.so
> > ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so
/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-
> > 1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt
-Wl,-rpath -Wl,/usr/lib64/sssd
> > Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed
> > make[2]: *** [sss_ssh_authorizedkeys] Error 1
> > make[2]: *** Waiting for unfinished jobs....
> > ./.libs/libsss_util.so: undefined reference to `timer_settime'
> > ./.libs/libsss_util.so: undefined reference to `timer_delete'
> > ./.libs/libsss_util.so: undefined reference to `timer_create'
> > collect2: error: ld returned 1 exit status
> > Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed
> > make[2]: *** [sss_ssh_knownhostsproxy] Error 1
> >
> > I thought this was fixed(linking with librt that is)?
> >
> Could you test attached patch?
Works as expected,
Tested-by: Joakim Tjernlund <joakim.tjernlund(a)infinera.com>
>Also, could you fix this warning:
> /etc/init.d/sssd[3049]: /etc/init.d/sssd uses runscript, please convert to
openrc-run.
>
>Just apply
> sed -i 's:#!/sbin/runscript:#!/sbin/openrc-run:' src/sysv/gentoo/sssd.in
>
I would appreciate if you or gentoo maintaner provide such patch
for src/sysv/gentoo/sssd.in.