Subject: pkg/25623: security/sudo fails to build if KERBEROS is defined
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jukka-netbsd@2004.salmi.ch>
List: pkgsrc-bugs
Date: 05/18/2004 13:20:46
>Number: 25623
>Category: pkg
>Synopsis: security/sudo fails to build if KERBEROS is defined
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 18 11:21:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Jukka Salmi
>Release: NetBSD 2.0E
>Organization:
>Environment:
System: NetBSD himo.salmi.ch 2.0E NetBSD 2.0E (GENERIC) #0: Mon May 17 12:11:15 CEST 2004 build@himo.salmi.ch:/build/nbsdc/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Using current pkgsrc, building security/sudo fails if KERBEROS is defined.
>How-To-Repeat:
$ grep ^KERB /etc/mk.conf
KERBEROS= # defined
$ cd /usr/pkgsrc/security/sudo && make build
[...]
* KRB5BASE (defined)
* KRB5_TYPE = heimdal
[...]
checking whether to try Kerberos V authentication... yes
[...]
checking for krb5-config... no
checking whether we are using Heimdal... yes
checking for main in -lroken... yes
[...]
gcc -o sudo check.o env.o getspwuid.o goodpath.o fileops.o find_path.o interfaces.o logging.o parse.o set_perms.o sudo.o tgetpass.o sudo_auth.o rfc1938.o kerb5.o passwd.o sudo.tab.o lex.yy.o alloc.o defaults.o -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lcrypt -lkrb5 -ldes -lcom_err -lasn1 -lroken -lskey -lcompat
/usr/lib/libkrb5.so: undefined reference to `RAND_write_file'
/usr/lib/libkrb5.so: undefined reference to `DES_set_odd_parity'
/usr/lib/libkrb5.so: undefined reference to `RAND_add'
/usr/lib/libkrb5.so: undefined reference to `SHA1_Init'
/usr/lib/libkrb5.so: undefined reference to `DES_cbc_cksum'
/usr/lib/libkrb5.so: undefined reference to `RAND_egd_bytes'
/usr/lib/libkrb5.so: undefined reference to `RC4_set_key'
/usr/lib/libkrb5.so: undefined reference to `SHA1_Update'
/usr/lib/libkrb5.so: undefined reference to `SHA1_Final'
/usr/lib/libkrb5.so: undefined reference to `MD4_Update'
/usr/lib/libkrb5.so: undefined reference to `RC4'
/usr/lib/libkrb5.so: undefined reference to `DES_ede3_cbc_encrypt'
/usr/lib/libkrb5.so: undefined reference to `RAND_file_name'
/usr/lib/libkrb5.so: undefined reference to `MD4_Final'
/usr/lib/libkrb5.so: undefined reference to `DES_is_weak_key'
/usr/lib/libkrb5.so: undefined reference to `MD5_Init'
/usr/lib/libkrb5.so: undefined reference to `RAND_status'
/usr/lib/libkrb5.so: undefined reference to `DES_set_key'
/usr/lib/libkrb5.so: undefined reference to `MD5_Final'
/usr/lib/libkrb5.so: undefined reference to `RAND_bytes'
/usr/lib/libkrb5.so: undefined reference to `DES_cbc_encrypt'
/usr/lib/libkrb5.so: undefined reference to `MD4_Init'
/usr/lib/libkrb5.so: undefined reference to `UI_UTIL_read_pw_string'
/usr/lib/libkrb5.so: undefined reference to `DES_pcbc_encrypt'
/usr/lib/libkrb5.so: undefined reference to `DES_cfb64_encrypt'
/usr/lib/libkrb5.so: undefined reference to `MD5_Update'
*** Error code 1
Stop.
make: stopped in /build/pkg/security/sudo/work/sudo-1.6.7p5
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/sudo
*** Error code 1
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: