Re: Upgrading 5.3 6.0 buildworld failure in libkrb5

2005-12-06 Thread Gunther Nikl
On Mon, Dec 05, 2005 at 03:18:43PM -0800, Vizion wrote:
 I have tried repeatedly to get make buildworld for upgrading from freebsd
 5.3 to 6.0 but get repeated failure in libkrb5.

  Maybe you should update to the latest 5-STABLE before uprading to
  6-STABLE.

 I have tried with very helpful advice from freebsd-questions contributors:
 
 with and without ccache
 3x make cleandir prior to build
 additional cvsup of source tree

  I always build with an empty /usr/obj.

 /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/changepw.c:170:
  
 error: syntax error before chpw

  Dou you need kerberos? I disabeled it through a knob in /etc/make.conf.
  Check /usr/share/examples/etc/make.conf for details.

  Last weekend I upgraded my 5-STABLE installation to 6-STABLE and all
  went smoothly. First I built 6-STABLE from 5-STABLE, activated it and
  then I built 6-STABLE again.

  Gunther
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3 6.0 buildworld failure in libkrb5

2005-12-06 Thread Ruslan Ermilov
On Mon, Dec 05, 2005 at 03:18:43PM -0800, Vizion wrote:
 Hi
 
 I have tried repeatedly to get make buildworld for upgrading from freebsd 5.3 
 to 6.0 but get repeated failure in libkrb5.
 
 FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: AMD Athlon(tm)  (1593.54-MHz 686-class CPU)
   Origin = AuthenticAMD  Id = 0x6a0  Stepping = 0
   
 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
   AMD Features=0xc048MP,AMIE,DSP,3DNow!
 real memory  = 2080309248 (1983 MB)
 avail memory = 2030002176 (1935 MB)
 ACPI APIC Table: KM400A AWRDACPI
 
 I have tried with very helpful advice from freebsd-questions contributors:
 
 with and without ccache
 
 3x make cleandir prior to build
 additional cvsup of source tree
 
 but the problem still remains . 
 Hopefully someone on stable may have the answer.
 
 Here is my make.conf
 
 SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
 # added by use.perl 2005-11-18 10:51:36
 PERL_VER=5.8.7
 PERL_VERSION=5.8.7
 .if !defined(NOCCACHE)
 .if ${.CURDIR:M/usr/src*}
 CC=/usr/local/libexec/ccache/cc
 CXX=/usr/local/libexec/ccache/c++
 .else
 CC=cc
 CXX=c++
 .endif
 .else
 CC=/usr/bin/cc
 CXX=/usr/bin/c++
 .endif
 
The example of setting up ccache in /etc/make.conf is just plain
wrong.  It shouldn't be hardcoding CC to /usr/bin/cc, similarly
for CXX.  Comment out the ccache stuff completely in /etc/make.conf
(or at least the last else part), make sure your PATH doesn't
include the ccache path, and try again with an empty /usr/obj.
Please report back if it succeeded (it should).  Please send your
complaints to the ccache port MAINTAINER as he did not respond to
my email explaining the problem, and I'm getting really tired of
explaining this for the Nth time.


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer


pgpA7r82scSj2.pgp
Description: PGP signature


Re: Upgrading 5.3 6.0 buildworld failure in libkrb5

2005-12-06 Thread Vizion
On Tuesday 06 December 2005 04:00,  the author Ruslan Ermilov contributed to 
the dialogue on-
 Re: Upgrading 5.3  6.0 buildworld failure in libkrb5: 

On Mon, Dec 05, 2005 at 03:18:43PM -0800, Vizion wrote:
 Hi

 I have tried repeatedly to get make buildworld for upgrading from freebsd
 5.3 to 6.0 but get repeated failure in libkrb5.

 FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: AMD Athlon(tm)  (1593.54-MHz 686-class CPU)
   Origin = AuthenticAMD  Id = 0x6a0  Stepping = 0

 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC
A,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc048MP,AMIE,DSP,3DNow!
 real memory  = 2080309248 (1983 MB)
 avail memory = 2030002176 (1935 MB)
 ACPI APIC Table: KM400A AWRDACPI

 I have tried with very helpful advice from freebsd-questions contributors:

 with and without ccache

 3x make cleandir prior to build
 additional cvsup of source tree

 but the problem still remains .
 Hopefully someone on stable may have the answer.

 Here is my make.conf

 SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
 # added by use.perl 2005-11-18 10:51:36
 PERL_VER=5.8.7
 PERL_VERSION=5.8.7
 .if !defined(NOCCACHE)
 .if ${.CURDIR:M/usr/src*}
 CC=/usr/local/libexec/ccache/cc
 CXX=/usr/local/libexec/ccache/c++
 .else
 CC=cc
 CXX=c++
 .endif
 .else
 CC=/usr/bin/cc
 CXX=/usr/bin/c++
 .endif

The example of setting up ccache in /etc/make.conf is just plain
wrong.  It shouldn't be hardcoding CC to /usr/bin/cc, similarly
for CXX.  Comment out the ccache stuff completely in /etc/make.conf
(or at least the last else part), make sure your PATH doesn't
include the ccache path, and try again with an empty /usr/obj.
Please report back if it succeeded (it should).  Please send your
complaints to the ccache port MAINTAINER as he did not respond to
my email explaining the problem, and I'm getting really tired of
explaining this for the Nth time.

Thanks very much - I am building right now --after deinstalling ccache, make 
cleandir x3 and an empty /usr/obj. I will post the results here

Thanks again for taking the time to reply

david
-- 
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading 5.3 6.0 buildworld failure in libkrb5

2005-12-05 Thread Vizion
Hi

I have tried repeatedly to get make buildworld for upgrading from freebsd 5.3 
to 6.0 but get repeated failure in libkrb5.

FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm)  (1593.54-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x6a0  Stepping = 0
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc048MP,AMIE,DSP,3DNow!
real memory  = 2080309248 (1983 MB)
avail memory = 2030002176 (1935 MB)
ACPI APIC Table: KM400A AWRDACPI

I have tried with very helpful advice from freebsd-questions contributors:

with and without ccache
3x make cleandir prior to build
additional cvsup of source tree

but the problem still remains . 
Hopefully someone on stable may have the answer.

Here is my make.conf

SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
# added by use.perl 2005-11-18 10:51:36
PERL_VER=5.8.7
PERL_VERSION=5.8.7
.if !defined(NOCCACHE)
.if ${.CURDIR:M/usr/src*}
CC=/usr/local/libexec/ccache/cc
CXX=/usr/local/libexec/ccache/c++
.else
CC=cc
CXX=c++
.endif
.else
CC=/usr/bin/cc
CXX=/usr/bin/c++
.endif

I show the output from pkg_info below the build result

# cd /usr/src  make NOCCACHE=1 buildworld   make NOCCACHE=1 buildkernel

/* NOTE: I get the same failure for the same function in linkrb5 no matter 
what I try: */

/libkrb5/../../../crypto/heimdal/lib/krb5/net_write.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/padata.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/principal.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/prog_setup.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/prompter_posix.c
 /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/rd_cred.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/rd_error.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/rd_priv.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/rd_rep.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/rd_req.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/rd_safe.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/read_message.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/recvauth.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/replay.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/send_to_kdc.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/sendauth.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/set_default_realm.c
 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/sock_principal.c
 /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/store.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/store_emem.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/store_fd.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/store_mem.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/ticket.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/time.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/transited.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/verify_init.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/verify_user.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/version.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/warn.c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/write_message.c
/usr/bin/cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5 
-I/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/asn1 
-I/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/roken -I. 
-DHAVE_CONFIG_H -I/usr/src/kerberos5/lib/libkrb5/../../include -DINET6  
-c /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/acl.c
/usr/bin/cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5 
-I/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/asn1 
-I/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/roken -I. 
-DHAVE_CONFIG_H -I/usr/src/kerberos5/lib/libkrb5/../../include -DINET6  
-c /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/add_et_list.c
/usr/bin/cc -O2 -fno-strict-aliasing -pipe  
-I/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5 
-I/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/asn1 
-I/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/roken -I. 
-DHAVE_CONFIG_H -I/usr/src/kerberos5/lib/libkrb5/../../include -DINET6  
-c 
/usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/addr_families.c
/usr/bin/cc -O2 -fno-strict-aliasing -pipe