NetBSD Problem Report #9806

Received: (qmail 22866 invoked from network); 6 Apr 2000 05:43:50 -0000
Message-Id: <200004060542.WAA16835@nbwww.isc.org>
Date: Wed, 5 Apr 2000 22:42:35 -0700 (PDT)
From: mbw@netbsd.org
Reply-To: mbw@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: security/srp_client fails to compile (can't find kerberos header files)
X-Send-Pr-Version: www-1.0

>Number:         9806
>Category:       pkg
>Synopsis:       security/srp_client fails to compile (can't find kerberos header files)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 06 05:44:00 +0000 2000
>Closed-Date:    Thu Mar 14 11:53:00 +0000 2002
>Last-Modified:  Thu Mar 14 11:53:00 +0000 2002
>Originator:     Michael Wolfson
>Release:        1.4.2
>Organization:
>Environment:
NetBSD fatmac 1.4.2 NetBSD 1.4.2 (FATMAC) #0: Mon Mar 20 00:36:27 EST 2000     mw@fatmac:/usr/src/sys/arch/hp300/compile/FATMAC hp300
>Description:

security/srp_client (1.4.4) from pkgsrc.tar.gz dated Apr 1, 2000 fails to find some kerberos (?) header files.  I have correctly installed the appropriate secr.tgz file for this system:
# ls -l /usr/include/kerberosIV/des.h 
-r--r--r--  1 root  wheel  3727 Dec  9  1995 /usr/include/kerberosIV/des.h

cc -DPACKAGE=\"telnet98\" -DVERSION=\"1.0.1\" -DHAVE_LIBUTIL=1 -DTERMCAP=1 -DFIL
IO_H=1 -DHAVE_STRING_H=1 -DNO_BSD_SETJMP=1 -DWORDS_BIGENDIAN=1 -DSTDC_HEADERS=1 
-DHAVE_STRCASECMP=1 -DHAVE_SETENV=1 -DHAVE_GETOPT=1 -DHAVE_STRDUP=1 -DHAVE_STRCA
SECMP=1 -DHAVE_STRFTIME=1 -DHAVE_STRERROR=1 -DHAVE_HERROR=1 -DHAVE_STRCHR=1 -DHA
VE_STRRCHR=1 -DHAVE_MKTIME=1 -DENCRYPTION=1 -DAUTHENTICATION=1 -DSRP=1 -DKRB4=1 
-DCAST_ENCRYPTION=1 -DDES_ENCRYPTION=1 -DENV_HACK=1 -DOLD_ENVIRON=1 -DKLUDGELINE
MODE=1 -DDIAGNOSTICS=1 -DTJW=1 -DDEFAULT_IM=\"\\r\\nBSD\ UNIX\ \(%h\)\ \(%t\)\\r
\\n\\r\\r\\n\\r\" -DLINEMODE=1 -DUSE_TERMIO=1  -I. -I. -I.. -I../../include -Dun
ix=1 -I/usr/pkg/include -I/usr/include/kerberos -O2 -c kerberos.c
kerberos.c:62: des.h: No such file or directory
kerberos.c:63: krb.h: No such file or directory
*** Error code 1

Stop.
>How-To-Repeat:

Using pkgsrc.tar.gz dated Apr 1, 2000
cd security/srp_client
make
>Fix:


>Release-Note:
>Audit-Trail:

From: Michael Wolfson <mw@costello.cnf.cornell.edu>
To: gnats-bugs@netbsd.org
Cc:  
Subject: Re: pkg/9806
Date: Thu, 7 Sep 2000 19:19:55 -0400

 I just updated to the latest pkgsrc version of security/srp_client (as of
 Sept 5, 2000), and it has new problems.

 First, only one of the master sites still has this ancient version of
 srp_client (1.4.4).

 In any case, the output of make:

 [...]
 cc -DPACKAGE=\"telnet98\" -DVERSION=\"1.0.1\" -DHAVE_LIBUTIL=1 -DTERMCAP=1
 -DFIL
 IO_H=1 -DHAVE_STRING_H=1 -DNO_BSD_SETJMP=1 -DWORDS_BIGENDIAN=1
 -DSTDC_HEADERS=1
 -DHAVE_STRCASECMP=1 -DHAVE_SETENV=1 -DHAVE_GETOPT=1 -DHAVE_STRDUP=1
 -DHAVE_STRCA
 SECMP=1 -DHAVE_STRFTIME=1 -DHAVE_STRERROR=1 -DHAVE_HERROR=1 -DHAVE_STRCHR=1
 -DHA
 VE_STRRCHR=1 -DHAVE_MKTIME=1 -DENCRYPTION=1 -DAUTHENTICATION=1 -DSRP=1
 -DKRB4=1
 -DCAST_ENCRYPTION=1 -DDES_ENCRYPTION=1 -DENV_HACK=1 -DOLD_ENVIRON=1
 -DKLUDGELINE
 MODE=1 -DDIAGNOSTICS=1 -DTJW=1 -DDEFAULT_IM=\"\\r\\nBSD\ UNIX\ \(%h\)\
 \(%t\)\\r
 \\n\\r\\r\\n\\r\" -DLINEMODE=1 -DUSE_TERMIO=1  -I. -I. -I.. -I../../include
 -Dun
 ix=1 -I/usr/pkg/include -I/usr/include/kerberosIV -O2 -c kerberos.c
 In file included from kerberos.c:73:
 encrypt.h:65: syntax error before `.'
 kerberos.c: In function `kerberos4_send':
 kerberos.c:227: warning: passing arg 1 of `des_key_sched' from incompatible
 poin
 ter type
 kerberos.c:227: warning: passing arg 2 of `des_key_sched' from incompatible
 poin
 ter type
 kerberos.c:228: warning: passing arg 1 of
 `des_init_random_number_generator' fro
 m incompatible pointer type
 kerberos.c:229: warning: passing arg 1 of `des_new_random_key' from
 incompatible
  pointer type
 kerberos.c:230: warning: passing arg 1 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:230: warning: passing arg 2 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:230: warning: passing arg 3 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:231: warning: passing arg 1 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:231: warning: passing arg 2 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:231: warning: passing arg 3 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:243: warning: passing arg 1 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:243: warning: passing arg 2 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:243: warning: passing arg 3 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c: In function `kerberos4_is':
 kerberos.c:328: warning: passing arg 1 of
 `des_init_random_number_generator' fro
 m incompatible pointer type
 kerberos.c:329: warning: passing arg 1 of `des_key_sched' from incompatible
 poin
 ter type
 kerberos.c:329: warning: passing arg 2 of `des_key_sched' from incompatible
 poin
 ter type
 kerberos.c:336: warning: passing arg 1 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:336: warning: passing arg 2 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:336: warning: passing arg 3 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:345: warning: passing arg 1 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:345: warning: passing arg 2 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:345: warning: passing arg 3 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:353: warning: passing arg 1 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:353: warning: passing arg 2 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:353: warning: passing arg 3 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c: In function `kerberos4_reply':
 kerberos.c:398: warning: passing arg 1 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:398: warning: passing arg 2 of `des_ecb_encrypt' from
 incompatible po
 inter type
 kerberos.c:398: warning: passing arg 3 of `des_ecb_encrypt' from
 incompatible po
 inter type
 *** Error code 1

 Stop.


State-Changed-From-To: open->feedback 
State-Changed-By: wiz 
State-Changed-When: Sat Jan 19 17:30:50 PST 2002 
State-Changed-Why:  
The problem reported should be fixed since 2001/03; I just committed 
another fix to make it compile on -current (1.5ZA). 
Could you please verify that your problem is solved? 
State-Changed-From-To: feedback->closed 
State-Changed-By: wiz 
State-Changed-When: Thu Mar 14 03:52:53 PST 2002 
State-Changed-Why:  
Feedback timeout 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.