Subject: Re: pkg/31998: pkgsrc/security/kth-krb4 fails to build on OS X 10.4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: david l goodrich <dlg@dorkzilla.org>
List: pkgsrc-bugs
Date: 11/04/2005 15:43:02
The following reply was made to PR pkg/31998; it has been noted by GNATS.

From: david l goodrich <dlg@dorkzilla.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/31998: pkgsrc/security/kth-krb4 fails to build on OS X 10.4
Date: Fri, 4 Nov 2005 00:51:33 -0600

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-1-308554913
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
 
 
 On Nov 3, 2005, at 9:53 PM, gnats-admin@netbsd.org wrote:
 
 > Thank you very much for your problem report.
 > It has the internal identification `pkg/31998'.
 > The individual assigned to look at your
 > report is: pkg-manager.
 >
 >
 >> Category:       pkg
 >> Responsible:    pkg-manager
 >> Synopsis:       pkgsrc/security/kth-krb4 fails to build on OS X 10.4
 >> Arrival-Date:   Fri Nov 04 03:53:00 +0000 2005
 >>
 >
 >
 >
 
 the source for kth-krb4 needs to be patched to add the following  
 constants (give or take, i was generous in trying to get it to work)
 http://dorkzilla.org/~dlg/kth-krb4.patch
 
 that solves the initial problem, but another emerges.  see below...
    --david
 
 dlg@elektra:/Volumes/local/pkgsrc/security/kth-krb4$ sudo bmake
 ===> Checking for vulnerabilities in kth-krb4-1.2.1nb5
 ===> Building for kth-krb4-1.2.1nb5
 Making all in include
 /Volumes/local/pkg/bin/bmake  all-am
 Making all in lib
 Making all in roken
 /Volumes/local/pkg/bin/bmake  all-am
 Making all in vers
 Making all in com_err
 Making all in krb
 /bin/sh ../../libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H -I. - 
 I. -I../../include  -I../../include -I../../lib/roken -I../../lib/ 
 roken -DROKEN_RENAME  -DDES_QUAD_CKSUM_BROKEN=1  -no-cpp-precomp -I/ 
 Volumes/local/pkg/include -I/usr/include -Wall -Wmissing-prototypes - 
 Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested- 
 externs -DINET6 -O2 -I/Volumes/local/pkg/include -I/usr/include -c -o  
 encrypt_ktext.lo `test -f 'encrypt_ktext.c' || echo './'`encrypt_ktext.c
 gcc -pipe -DHAVE_CONFIG_H -I. -I../../include -I../../lib/roken - 
 DROKEN_RENAME -DDES_QUAD_CKSUM_BROKEN=1 -no-cpp-precomp -I/Volumes/ 
 local/pkgsrc/security/kth-krb4/work/.buildlink/include -Wall - 
 Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing- 
 declarations -Wnested-externs -DINET6 -O2 -c encrypt_ktext.c  -fno- 
 common -DPIC -o .libs/encrypt_ktext.o
 In file included from encrypt_ktext.c:34:
 krb_locl.h:170:1: warning: "des_quad_cksum" redefined
 In file included from /usr/include/openssl/des.h:101,
                   from krb.h:51,
                   from krb_locl.h:126,
                   from encrypt_ktext.c:34:
 /usr/include/openssl/des_old.h:186:1: warning: this is the location  
 of the previous definition
 encrypt_ktext.c: In function `encrypt_ktext':
 encrypt_ktext.c:45: error: incompatible type for argument 1 of `memset'
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/local/pkgsrc/security/kth-krb4/work/ 
 krb4-1.2.1/lib/krb
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/local/pkgsrc/security/kth-krb4/work/ 
 krb4-1.2.1/lib
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/local/pkgsrc/security/kth-krb4/work/ 
 krb4-1.2.1
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/local/pkgsrc/security/kth-krb4
 ===>
 ===> There was an error during the ``build'' phase.
 ===> Please investigate the following for more information:
 ===>      * log of the build
 ===>      * /Volumes/local/pkgsrc/security/kth-krb4/work/.work.log
 ===>
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/local/pkgsrc/security/kth-krb4
 dlg@elektra:/Volumes/local/pkgsrc/security/kth-krb4$
 
 --Apple-Mail-1-308554913
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (Darwin)
 
 iD8DBQFDawV9HDmo5jqnP4QRAtm9AJ9usd+PqzIjamvtnsAkjnRkND7IwwCfZxkX
 1cHPFwigrCNJ1JEmh14Q1mA=
 =QTqJ
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-1-308554913--