ports/144597: port/openssh-portable fails to compile with KERBEROS enabled

Jonathan lordsith49 at hotmail.com
Tue Mar 9 20:30:02 UTC 2010


>Number:         144597
>Category:       ports
>Synopsis:       port/openssh-portable fails to compile with KERBEROS enabled
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 09 20:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan
>Release:        FreeBSD 7.2-p7
>Organization:
>Environment:
FreeBSD ns1.xx.myserver.net 7.2-RELEASE-p7 FreeBSD 7.2-RELEASE-p7 #0: Tue Mar  2 18:47:44 UTC 2010     root at master1.xx.myserver.net:/usr/obj/usr/src/sys/ENG0  i386

>Description:
>From make all install:


cc -O2 -fno-strict-aliasing -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset -fstack-protector-all -I. -I.  -I/include -DSSHDIR=\"/usr/local/etc/ssh\"  -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"  -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\"  -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"  -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\"  -D_PATH_SSH_PIDDIR=\"/var/run\"  -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"  -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c sftp-common.c
cc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o  sshpty.o sshlogin.o servconf.o serverloop.o  auth.o auth1.o auth2.o auth-options.o session.o  auth-chall.o auth2-chall.o groupaccess.o  auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o  auth2-none.o auth2-passwd.o auth2-pubkey.o auth2-jpake.o  monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o  auth-krb5.o  auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o  audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o -L. -Lopenbsd-compat/  -fstack-protector-all -L/lib -lssh -lopenbsd-compat -lwrap -lpam -lcrypto -lutil -lz  -lcrypt -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err -lasn1 -lroken
gss-serv-krb5.o(.text+0x4f0): In function `ssh_gssapi_krb5_updatecreds':
: undefined reference to `krb5_free_unparsed_name'
gss-serv-krb5.o(.text+0x508): In function `ssh_gssapi_krb5_updatecreds':
: undefined reference to `krb5_free_unparsed_name'
*** Error code 1

Stop in /usr/ports/security/openssh-portable/work/openssh-5.2p1.
*** Error code 1

Stop in /usr/ports/security/openssh-portable.
*** Error code 1

Stop in /usr/ports/security/openssh-portable.

>How-To-Repeat:
I have tested this on two servers:

cd /usr/ports/security/openssh-portable
make all install clean
Select the following options:
WITH_GSSAPI=true
WITH_KERB_GSSAPI=true

compile will error out with the above message.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list