Re: Building procedure of krb5 is broken

2001-02-23 Thread Makoto MATSUSHITA


jhay A, maybe this will also fix "make release". It has been
jhay dying in the kerberos area the last few days.

Unfortunately, it does NOT fix "make release" breakage (already
reported by kuriyama-san). I've checked why, and make a patch to fix this.

--- src/kerberos5/lib/libgssapi/Makefile.dist   Wed Feb 14 01:56:50 2001
+++ src/kerberos5/lib/libgssapi/MakefileFri Feb 23 17:32:26 2001
@@ -7,7 +7,8 @@
-I${KRB5DIR}/lib/roken  \
-I${KRB5DIR}/lib/des\
-I${KRB5DIR}/include\
-   -I${ASN1OBJDIR}
+   -I${ASN1OBJDIR} \
+   -I${KRB5OBJDIR}
 
 SRCS=  \
8003.c  \

Some header files of libgssapi require krb5_err.h but there is no
krb5_err.h in source repository. krb5_err.h only lives under /usr/obj,
since krb5_err.h is *generated* from krb5_err.et. Adding -I${KRB5OBJDIR}
should fix the problem.

If you want to reproduce what's the problem, try:
cd /usr/src/kerberos5; make bootstrap

-- -
Makoto `MAR' MATSUSHITA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Building procedure of krb5 is broken

2001-02-22 Thread Jun Kuriyama

At 21 Feb 2001 13:45:55 GMT,
Makoto MATSUSHITA wrote:
 Anyway, I'll wait until tomorrow's job starts at current.jp.FreeBSD.org :-)

Hmmm, today's "make release" at current.jp failed.  It seems a patch
from matusita-san is required...

o Last 50 lines of today's log

ftp://current.jp.FreeBSD.org/pub/FreeBSD/snapshots/i386/5.0-CURRENT-20010222-JPSNAP.log

o Full of today's log

ftp://current.jp.FreeBSD.org/pub/FreeBSD/snapshots/i386/log/5.0-CURRENT-20010222-JPSNAP.log.gz


-- 
Jun Kuriyama [EMAIL PROTECTED] // IMG SRC, Inc.
 [EMAIL PROTECTED] // FreeBSD Project

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Building procedure of krb5 is broken

2001-02-21 Thread Jun Kuriyama

At 20 Feb 2001 09:44:01 GMT,
Makoto MATSUSHITA wrote:
 It seems that add 'CFLAGS+=-I${KRB5OBJDIR}' to
 src/kerberos5/lib/libgssapi/Makefile is required to fix this, since
 krb5_err.h is not in ${KRB5DIR}/lib/krb5.

In my environment, buildworld was finished with attached patch.  I
don't know KRB4 should be defined in this file or not.  But in
crypto/heimdal/kdc/headers.h, krb.h (this file is not exist in heimdal
distribution) is included if KRB4 is defined.

So if MAKE_KERBEROS5=YES is set in /etc/make.conf, buildworld is
failed because krb.h is not found.

Any ideas?


-- 
Jun Kuriyama [EMAIL PROTECTED] // IMG SRC, Inc.
 [EMAIL PROTECTED] // FreeBSD Project

 krb.diff


Re: Building procedure of krb5 is broken

2001-02-21 Thread Jacques A. Vidrine

On Wed, Feb 21, 2001 at 10:06:29PM +0900, Jun Kuriyama wrote:
 At 20 Feb 2001 09:44:01 GMT,
 Makoto MATSUSHITA wrote:
  It seems that add 'CFLAGS+=-I${KRB5OBJDIR}' to
  src/kerberos5/lib/libgssapi/Makefile is required to fix this, since
  krb5_err.h is not in ${KRB5DIR}/lib/krb5.
 
 In my environment, buildworld was finished with attached patch.  I
 don't know KRB4 should be defined in this file or not.  But in
 crypto/heimdal/kdc/headers.h, krb.h (this file is not exist in heimdal
 distribution) is included if KRB4 is defined.
 
 So if MAKE_KERBEROS5=YES is set in /etc/make.conf, buildworld is
 failed because krb.h is not found.

Last I looked (before assar's import), MAKE_KERBEROS5=yes required
that you also have MAKE_KERBEROS4=yes due to such dependencies.

Cheers,
-- 
Jacques Vidrine / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Building procedure of krb5 is broken

2001-02-21 Thread Assar Westerlund

"Jacques A. Vidrine" [EMAIL PROTECTED] writes:
 On Wed, Feb 21, 2001 at 10:06:29PM +0900, Jun Kuriyama wrote:
  So if MAKE_KERBEROS5=YES is set in /etc/make.conf, buildworld is
  failed because krb.h is not found.
 
 Last I looked (before assar's import), MAKE_KERBEROS5=yes required
 that you also have MAKE_KERBEROS4=yes due to such dependencies.

Which is bogus.  I think Jun Kuriyama's patch is correct and I'm
trying it now, but buildworld takes a little while to complete :-)

/assar

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Building procedure of krb5 is broken

2001-02-21 Thread Jun Kuriyama

At 21 Feb 2001 14:19:28 +0100,
Assar Westerlund wrote:
 Which is bogus.  I think Jun Kuriyama's patch is correct and I'm
 trying it now, but buildworld takes a little while to complete :-)

Just FYI, I've tested buildworld with that patch in environments
below. :-)

(1) MAKE_KERBEROS4=YES
(2) MAKE_KERBEROS4=YES and MAKE_KERBEROS5=YES
(3) MAKE_KERBEROS5=YES
(4) No MAKE_KERBEROS*


-- 
Jun Kuriyama [EMAIL PROTECTED] // IMG SRC, Inc.
 [EMAIL PROTECTED] // FreeBSD Project

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Building procedure of krb5 is broken

2001-02-21 Thread Makoto MATSUSHITA


kuriyama In my environment, buildworld was finished with attached
kuriyama patch.  I don't know KRB4 should be defined in this file or
kuriyama not.

Sorry I should say when building of krb5 is failed; make buildworld
seems OK, but 'make release' will fail during 'release.2'
target; there is no MAKE_KERBEROS* variable definition.

Anyway, I'll wait until tomorrow's job starts at current.jp.FreeBSD.org :-)

-- -
Makoto `MAR' MATSUSHITA

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Building procedure of krb5 is broken

2001-02-21 Thread John Hay

 Jun Kuriyama [EMAIL PROTECTED] writes:
  Just FYI, I've tested buildworld with that patch in environments
  below. :-)
  
  (1) MAKE_KERBEROS4=YES
  (2) MAKE_KERBEROS4=YES and MAKE_KERBEROS5=YES
  (3) MAKE_KERBEROS5=YES
  (4) No MAKE_KERBEROS*
 
 Thanks for your testing.  I've commited the fix.
 

A, maybe this will also fix "make release". It has been dying in
the kerberos area the last few days.

John
-- 
John Hay -- [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message