Date: Sat, 29 Jun 2013 00:36:34 GMT From: Dewayne <dewayne@heuristicsystems.com.au> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/180074: samba-3.6.16 link failure winbind_krb5_locator Message-ID: <201306290036.r5T0aYPk017020@oldred.freebsd.org> Resent-Message-ID: <201306290040.r5T0e05Z076235@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180074 >Category: misc >Synopsis: samba-3.6.16 link failure winbind_krb5_locator >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 29 00:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dewayne >Release: FreeBSD9.1 Stable >Organization: >Environment: FreeBSD b1.hs 9.1-STABLE FreeBSD 9.1-STABLE #0: Wed Jun 26 16:28:09 EST 2013 root@:/usr/obj/usr/src/sys/hqdev-amd64-padlock-smp-vga i386 >Description: >From the compilation log; during the link phase, of samba-3.6.16, the linker is is looking for bin/winbind_krb5_locator.so the correct location is nsswitch/winbind_krb5_locator.so per: Compiling ../nsswitch/wins_freebsd.c Linking ../nsswitch/nss_wins.so Compiling ../nsswitch/pam_winbind.c Linking shared library bin/pam_winbind.so Compiling ../nsswitch/winbind_krb5_locator.c Linking bin/winbind_krb5_locator.so cc: ^?ELF^A^A^A: No such file or directory gmake: *** [bin/winbind_krb5_locator.so] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/net/samba36. === === === Naively changing source3/Makefile from EXTRA_ALL_TARGETS = bin/winbind_krb5_locator.so to EXTRA_ALL_TARGETS = nsswitch/winbind_krb5_locator.so But this only creates a problem further down the build process. Next failure is reproduced by cd /var/ports/usr/ports/net/samba36/work/samba-3.6.16/source3 && gmake clean && gmake .. Compiling ../nsswitch/pam_winbind.c Linking shared library bin/pam_winbind.so gmake: *** No rule to make target `nsswitch/winbind_krb5_locator.so', needed by `all'. Stop. The build "stops" occur on both i386 and amd64 machines. >How-To-Repeat: cd /usr/ports/net/samba36 && make clean && make or cd /var/ports/usr/ports/net/samba36/work/samba-3.6.16/source3 && gmake clean && gmake For reference, make showconfig ===> The following configuration options are available for samba36-3.6.16: ACL_SUPPORT=on: ACL support ADS=on: Active Directory support AIO_SUPPORT=on: Asyncronous IO support AVAHI=off: Zeroconf support via Avahi CUPS=on: CUPS printing system support DNSUPDATE=off: Dynamic DNS update(require ADS) EXP_MODULES=off: Experimental modules FAM_SUPPORT=off: File Alteration Monitor IPV6=off: IPv6 protocol support LDAP=on: LDAP support MAX_DEBUG=off: Maximum debugging PAM_SMBPASS=off: PAM authentication vs passdb backends POPT=on: System-wide POPT library PTHREADPOOL=on: Pthread pool QUOTAS=on: Disk quota support SMBTORTURE=off: smbtorture SWAT=off: SWAT WebGUI SYSLOG=off: Syslog support UTMP=off: UTMP accounting support WINBIND=on: WinBIND support >Fix: Unknown. A naive look at the problem suggests to change EXTRA_ALL_TARGETS source3/Makefile to EXTRA_ALL_TARGETS = nsswitch/winbind_krb5_locator.so however this is contrary to successful builds on a samba-4.0.6 machine that has WINBIND_KRB5_LOCATOR="bin/winbind_krb5_locator.$SHLIBEXT" in the configure.in file. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306290036.r5T0aYPk017020>