make buildworld failing - multiple definitions of pam_* in libpam

2007-05-24 Thread tennevin.yves

Hello,
I've been trying to update my system recently.
(using cvsup to sync the sources, *default release=cvs tag=RELENG_6)

uname -a
FreeBSD machine.somewhere 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Thu 
Sep 28 23:13:24 CEST 2006   
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NOYAU_IPFW  amd64



make buildworld

...

cc -O -pipe -fPIC  -I/usr/src/lib/libpam/libpam 
-I/usr/src/lib/libpam/libpam/../../../contrib/openpam/include 
-DLIB_MAJ=3 -DOPENPAM_MODULES_DIR='/usr/lib/' -std=iso9899:1999 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -c 
/usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/pam_setcred.c
cc -O -pipe -fPIC  -I/usr/src/lib/libpam/libpam 
-I/usr/src/lib/libpam/libpam/../../../contrib/openpam/include 
-DLIB_MAJ=3 -DOPENPAM_MODULES_DIR='/usr/lib/' -std=iso9899:1999 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -c 
/usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/pam_setenv.c
cc -O -pipe -fPIC  -I/usr/src/lib/libpam/libpam 
-I/usr/src/lib/libpam/libpam/../../../contrib/openpam/include 
-DLIB_MAJ=3 -DOPENPAM_MODULES_DIR='/usr/lib/' -std=iso9899:1999 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -c 
/usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/pam_start.c
cc -O -pipe -fPIC  -I/usr/src/lib/libpam/libpam 
-I/usr/src/lib/libpam/libpam/../../../contrib/openpam/include 
-DLIB_MAJ=3 -DOPENPAM_MODULES_DIR='/usr/lib/' -std=iso9899:1999 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -c 
/usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/pam_strerror.c
cc -O -pipe -fPIC  -I/usr/src/lib/libpam/libpam 
-I/usr/src/lib/libpam/libpam/../../../contrib/openpam/include 
-DLIB_MAJ=3 -DOPENPAM_MODULES_DIR='/usr/lib/' -std=iso9899:1999 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -c 
/usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/pam_verror.c
cc -O -pipe -fPIC  -I/usr/src/lib/libpam/libpam 
-I/usr/src/lib/libpam/libpam/../../../contrib/openpam/include 
-DLIB_MAJ=3 -DOPENPAM_MODULES_DIR='/usr/lib/' -std=iso9899:1999 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -c 
/usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/pam_vinfo.c
cc -O -pipe -fPIC  -I/usr/src/lib/libpam/libpam 
-I/usr/src/lib/libpam/libpam/../../../contrib/openpam/include 
-DLIB_MAJ=3 -DOPENPAM_MODULES_DIR='/usr/lib/' -std=iso9899:1999 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -c 
/usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/pam_vprompt.c
cc -O -pipe -fPIC  -I/usr/src/lib/libpam/libpam 
-I/usr/src/lib/libpam/libpam/../../../contrib/openpam/include 
-DLIB_MAJ=3 -DOPENPAM_MODULES_DIR='/usr/lib/' -std=iso9899:1999 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -c /usr/src/lib/libpam/libpam/pam_debug_log.c
cc -O -pipe -fPIC  -I/usr/src/lib/libpam/libpam 
-I/usr/src/lib/libpam/libpam/../../../contrib/openpam/include 
-DLIB_MAJ=3 -DOPENPAM_MODULES_DIR='/usr/lib/' -std=iso9899:1999 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -c 
/usr/src/lib/libpam/libpam/../../../contrib/openpam/lib/openpam_static.c
ld -o openpam_static_modules.o -r --whole-archive openpam_static.o 
../modules/pam_chroot/libpam_chroot.a ../modules/pam_deny/libpam_deny.a 
../modules/pam_echo/libpam_echo.a ../modules/pam_exec/libpam_exec.a 
../modules/pam_ftpusers/libpam_ftpusers.a 
../modules/pam_group/libpam_group.a ../modules/pam_guest/libpam_guest.a 
../modules/pam_krb5/libpam_krb5.a ../modules/pam_ksu/libpam_ksu.a 
../modules/pam_lastlog/libpam_lastlog.a 
../modules/pam_login_access/libpam_login_access.a 
../modules/pam_nologin/libpam_nologin.a 
../modules/pam_opie/libpam_opie.a 
../modules/pam_opieaccess/libpam_opieaccess.a 
../modules/pam_passwdqc/libpam_passwdqc.a 
../modules/pam_permit/libpam_permit.a 
../modules/pam_radius/libpam_radius.a 
../modules/pam_rhosts/libpam_rhosts.a 
../modules/pam_rootok/libpam_rootok.a 
../modules/pam_securetty/libpam_securetty.a 
../modules/pam_self/libpam_self.a ../modules/pam_ssh/libpam_ssh.a 
../modules/pam_tacplus/libpam_tacplus.a ../modules/pam_unix/libpam_unix.a
../modules/pam_deny/libpam_deny.a(pam_deny.o)(.text+0x50): In function 
`pam_sm_open_session':

: multiple 

make buildworld failing

2002-02-18 Thread Tom Glover


Trying to build the latest stable and it fails as per below. Does not seem
to be anything in the mailing list archives to point me in the right
direction.

Current version is version 4.2

Any ideas?

---

building static ficl library
ranlib libficl.a
=== sys/boot/i386
=== sys/boot/i386/mbr
as  -o mbr.o /usr/src/sys/boot/i386/mbr/mbr.s
ld -N -e start -Ttext 0x600 -o mbr.out mbr.o
objcopy -S -O binary mbr.out mbr
=== sys/boot/i386/boot0
as  --defsym FLAGS=0xf --defsym TICKS=0xb6  /usr/src/sys/boot/i386/boot0/boot0.s -o 
boot0.o
ld -N -e start -Ttext 0x600 -o boot0.out boot0.o
objcopy -S -O binary boot0.out boot0
=== sys/boot/i386/kgzldr
(cd /usr/src/sys/boot/i386/kgzldr; m4  -DSIOPRT=0x3f8 
/usr/src/sys/boot/i386/kgzldr/start.s) | as  -o start.o
m4: not found
cc -fno-builtin -Os -DKZIP -mpreferred-stack-boundary=2   
-I/usr/obj/usr/src/i386/usr/include  -c /usr/src/sys/boot/i386/kgzldr/boot.c
cc -fno-builtin -Os -DKZIP -mpreferred-stack-boundary=2   
-I/usr/obj/usr/src/i386/usr/include  -c 
/usr/src/sys/boot/i386/kgzldr/../../../kern/inflate.c
cc -fno-builtin -Os -DKZIP -mpreferred-stack-boundary=2   
-I/usr/obj/usr/src/i386/usr/include  -c /usr/src/sys/boot/i386/kgzldr/lib.c
(cd /usr/src/sys/boot/i386/kgzldr; m4  -DSIOPRT=0x3f8 
/usr/src/sys/boot/i386/kgzldr/crt.s) | as  -o crt.o
m4: not found
(cd /usr/src/sys/boot/i386/kgzldr; m4  -DSIOPRT=0x3f8 
/usr/src/sys/boot/i386/kgzldr/sio.s) | as  -o sio.o
m4: not found
cc -nostdlib -static -r -o kgzldr.o start.o boot.o inflate.o lib.o crt.o sio.o
=== sys/boot/i386/btx
=== sys/boot/i386/btx/btx
(cd /usr/src/sys/boot/i386/btx/btx; m4  btx.s) |  as  --defsym BTX_FLAGS=0x0 -o btx.o
m4: not found
ld -N -e start -Ttext 0x9000 -o btx.out btx.o
/usr/obj/usr/src/i386/usr/libexec/elf/ld: warning: cannot find entry symbol start; 
defaulting to 9000
objcopy -S -O binary btx.out btx
=== sys/boot/i386/btx/btxldr
(cd /usr/src/sys/boot/i386/btx/btxldr; m4 -DLOADER_ADDRESS=0x20 btxldr.s ) |  as  
-o btxldr.o
m4: not found
ld -N -e start -Ttext 0x20 -o btxldr.out btxldr.o
/usr/obj/usr/src/i386/usr/libexec/elf/ld: warning: cannot find entry symbol start; 
defaulting to 0020
objcopy -S -O binary btxldr.out btxldr
=== sys/boot/i386/btx/lib
as  -elf -o btxcsu.o /usr/src/sys/boot/i386/btx/lib/btxcsu.s
as  -elf -o btxsys.o /usr/src/sys/boot/i386/btx/lib/btxsys.s
as  -elf -o btxv86.o /usr/src/sys/boot/i386/btx/lib/btxv86.s
ld  -elf -i -o crt0.o btxcsu.o btxsys.o btxv86.o
=== sys/boot/i386/boot2
as  --defsym FLAGS=0x80 /usr/src/sys/boot/i386/boot2/boot1.s -o boot1.o
ld -nostdlib -static -N -e start -Ttext 0x7c00 -o boot1.out boot1.o
objcopy -S -O binary boot1.out boot1
dd if=/dev/zero of=boot2.ldr bs=512 count=1 2/dev/null
nm -t d boot1.out | awk '/([0-9])+ T xread/  { x = $1 - ORG1; printf(#define XREADORG 
0x7%x\n, x) }'  ORG1=`printf %d 0x7c00`  boot2.h
cc -elf -I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Os -fno-builtin -fforce-addr 
-fdata-sections  -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd  
-mpreferred-stack-boundary=2  -Wall -Waggregate-return -Wbad-function-cast 
-Wcast-align  -Wmissing-declarations -Wmissing-prototypes -Wnested-externs  
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings 
-mpreferred-stack-boundary=2   -I/usr/obj/usr/src/i386/usr/include  -c 
/usr/src/sys/boot/i386/boot2/boot2.c
as  --defsym SIOPRT=0x3f8  --defsym SIOFMT=0x3  --defsym SIOSPD=9600  
/usr/src/sys/boot/i386/boot2/sio.s -o sio.o
ld -nostdlib -static -N -Ttext 0x1000 -o boot2.out  
/usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x1000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l 
boot2.ldr  -o boot2.ld -P 1 boot2.bin
btxld: /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx: Not a BTX kernel
*** Error code 1

Stop in /usr/src/sys/boot/i386/boot2.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


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



Re: make buildworld failing

2000-10-09 Thread Vivek Khera

 "a" == andrew  [EMAIL PROTECTED] writes:

a On Sun, 8 Oct 2000, Wilko Bulte wrote:

 People already having root privs are not stopped by it. Or is it only aimed
 at the higher securelevels?

a I assume its for secure levels 1 and above and if you were a security
a conscious site I imagine it would be a very useful feature.

My question is why does /usr/obj need the schg flag set on anything in
the first place?  It basically means that on a secure system you have
to reboot to single user just to delete the build tree.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-301-545-6996
GPG  MIME spoken herehttp://www.khera.org/~vivek/


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



Re: make buildworld failing

2000-10-09 Thread Chris Faulhaber

On Mon, Oct 09, 2000 at 10:21:49AM -0400, Vivek Khera wrote:
  "a" == andrew  [EMAIL PROTECTED] writes:
 
 a On Sun, 8 Oct 2000, Wilko Bulte wrote:
 
  People already having root privs are not stopped by it. Or is it only aimed
  at the higher securelevels?
 
 a I assume its for secure levels 1 and above and if you were a security
 a conscious site I imagine it would be a very useful feature.
 
 My question is why does /usr/obj need the schg flag set on anything in
 the first place?  It basically means that on a secure system you have
 to reboot to single user just to delete the build tree.
 

It doesn't (as of 4.x).  Previous branches did set the schg flag, however
4.x and 5.x no longer do this.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


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



make buildworld failing

2000-10-08 Thread Simon J Mudd

I successfully cvsup'ed the source to stable on 17/09/00 and decided 
to upgrade to the latest version of -STABLE with cvsup.

The cvsup command works fine, but make buildworld fails at the same place
with the same error message:

- SNIP -
=== gnu/libexec/uucp/uupick
/usr/obj/usr/src/gnu/libexec/uucp/uupick created for /usr/src/gnu/libexec/uucp/uupick
=== gnu/libexec/uucp/uusched
/usr/obj/usr/src/gnu/libexec/uucp/uusched created for /usr/src/gnu/libexec/uucp/uusched
=== gnu/libexec/uucp/uustat
mkdir: /usr/obj/usr/src/gnu/libexec/uucp/uustat: File exists
*** Error code 1

Stop in /usr/src/gnu/libexec/uucp/uustat.
*** Error code 1

Stop in /usr/src/gnu/libexec/uucp.
*** Error code 1

Stop in /usr/src/gnu/libexec.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
unicorn#
- END -

Have I missed something obvious with what's goind wrong?

Regards,

Simon
-- 
Simon J Mudd, Madrid SPAINTel: +34-91-408 4878email: [EMAIL PROTECTED]



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



Re: make buildworld failing

2000-10-08 Thread Kent Stewart



Simon J Mudd wrote:
 
 I successfully cvsup'ed the source to stable on 17/09/00 and decided
 to upgrade to the latest version of -STABLE with cvsup.
 
 The cvsup command works fine, but make buildworld fails at the same place
 with the same error message:

I would remove /usr/obj/* before I try again. You will have to 
cd /usr/obj
chflags -R noschg *
rm -rf *

There won't be anything left to have a file exist.

Kent

 
 - SNIP -
 === gnu/libexec/uucp/uupick
 /usr/obj/usr/src/gnu/libexec/uucp/uupick created for /usr/src/gnu/libexec/uucp/uupick
 === gnu/libexec/uucp/uusched
 /usr/obj/usr/src/gnu/libexec/uucp/uusched created for 
/usr/src/gnu/libexec/uucp/uusched
 === gnu/libexec/uucp/uustat
 mkdir: /usr/obj/usr/src/gnu/libexec/uucp/uustat: File exists
 *** Error code 1
 
 Stop in /usr/src/gnu/libexec/uucp/uustat.
 *** Error code 1
 
 Stop in /usr/src/gnu/libexec/uucp.
 *** Error code 1
 
 Stop in /usr/src/gnu/libexec.
 *** Error code 1
 
 Stop in /usr/src/gnu.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 unicorn#
 - END -
 
 Have I missed something obvious with what's goind wrong?
 
 Regards,
 
 Simon
 --
 Simon J Mudd, Madrid SPAINTel: +34-91-408 4878email: [EMAIL PROTECTED]
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-stable" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:[EMAIL PROTECTED]
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


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



Re: make buildworld failing on libssh

2000-05-25 Thread Adam Mackler

On Thu, 25 May 2000, Kris Kennaway wrote:

 On Wed, 24 May 2000, Adam Mackler wrote:
 
  I have cvsuped the RELENG_4 stable-supfile with the 
  international secure-supfile, and when I make buildworld it fails,
  saying:
 
 Wrong supfile - you grabbed -current.

once again proving that the most mind-numbing problems are the
ones with one-line solutionsi knew it had to be somethng stupid and
minor.  i thank you (and so does my scalp, now that i can stop pulling my
hair out)!

now, the only mystery left is how did it work for so long?
that's the real problem with FreeBSD--it's so robust that just because
everything is working doesn't mean I'm doing it right.

Thank you very much again!

adam




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



Re: make buildworld failing on libssh

2000-05-25 Thread Kent Stewart



Kris Kennaway wrote:
 
 On Thu, 25 May 2000, Adam Mackler wrote:
 
  now, the only mystery left is how did it work for so long?
 
 Until recently the 5.0 crypto code hadnt diverged from 4.0 very much (and
 would have worked fine)

It is still broken right now any way. It doesn't know how to make
twe.4.

Kent

 
 Kris
 
 
 In God we Trust -- all others must submit an X.509 certificate.
 -- Charles Forsythe [EMAIL PROTECTED]
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-stable" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:[EMAIL PROTECTED]
http://www.3-cities.com/~kstewart/index.html
FreeBSD News http://daily.daemonnews.org/

SETI(Search for Extraterrestrial Intelligence) @ HOME
http://setiathome.ssl.berkeley.edu/

Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR
http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html


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



3.4S-4.0S upgrade: make buildworld failing

2000-03-21 Thread Scott Allendorf

I am attempting to upgrade from 3.4-STABLE (cvsupped/built late last
week) to 4.0-STABLE cvsupped this morning into a clean /usr/src.  The
supfile was /usr/src/share/examples/cvsup/stable-supfile with cvs-crypto
uncommented and RELENG_3 changed to RELENG_4.  Whenever MAKE_KERBEROS4 is
uncommented in /etc/make.conf, "make buildworld" fails with the error
shown below.  Adding "RSAREF= YES" to /etc/make.conf does not change
anything.  Commenting out the MAKE_KERBEROS4 definition allows the build
to complete.  Is anyone else seeing this?  Is it pilot error or have I
stumbled onto a problem or an omission in the instructions in
/usr/src/UPDATING?

Cheers,

Scott

Script started on Tue Mar 21 13:03:32 2000

host# grep -v ^\# /etc/make.conf
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
COMPAT1X=   yes
COMPAT20=   yes
COMPAT21=   yes
COMPAT22=   yes
HAVE_MOTIF= yes
USA_RESIDENT=   YES
MAKE_KERBEROS4= yes
SUP_UPDATE= yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPFILE=/usr/local/etc/cvsup/stable-supfile
SUPFILE2=   /usr/local/etc/cvsup/ports-supfile
TOP_TABLE_SIZE= 101

host# cd /usr/src
host# ls /usr/obj
host# make buildworld

--
 Rebuilding the temporary build tree
--

... All was well until ...

=== libkadm
ln -sf /usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/include/protos.H 
protos.h
rm -f .depend
mkdep -f .depend -a
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/include 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm/../../include 
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/krb 
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kdb 
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm 
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/roken 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm 
-I/usr/src/kerberosIV/lib/libkadm/../../include -DHAVE_CONFIG_H 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm/../../include -DBINDIR=\"/usr/bin\" 
-DSBINDIR=\"/usr/sbin\" -I/usr/obj/usr/src/i386/usr/include  
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_cli_wrap.c 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_stream.c 
/usr/src/kerberosIV/lib/libkadm/..!
/../../crypto/kerberosIV/lib/kadm/kadm_supp.c 
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm/kadm_err.c 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/check_password.c
In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:75,
 from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_cli_wrap.c:30:
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb/krb_err.h:17: invalid macro 
name
In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:78,
 from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_cli_wrap.c:30:
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm/kadm_err.h:13: warning: 
`ERROR_TABLE_BASE_' redefined
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb/krb_err.h:13: warning: this 
is the location of the previous definition
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm/kadm_err.h:17: invalid macro 
name
In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:75,
 from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_stream.c:38:
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb/krb_err.h:17: invalid macro 
name
In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:78,
 from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_stream.c:38:
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm/kadm_err.h:13: warning: 
`ERROR_TABLE_BASE_' redefined
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb/krb_err.h:13: warning: this 
is the location of the previous definition
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm/kadm_err.h:17: invalid macro 
name
In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:75,
 from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_supp.c:36:
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb/krb_err.h:17: invalid macro 
name
In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:78,
 from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_supp.c:36:

Re: 3.4S-4.0S upgrade: make buildworld failing

2000-03-21 Thread Christopher J . Gibbons

I ran into the exact same situation when I upgraded from 3.4,
commenting out the KERBEROS line in make.conf does indeed cause the
build to complete and you can perform the upgrade as provided in
/usr/src/UPDATING.

Once upgraded, I believe you can rebuild the system yet again
under 4.0 and enable KERBEROS in make.conf, although I haven't tried 
it I think I saw it posted here before...might be an exercise for myself 
later tonight. ;-)

Hope this helps,

+---
| Christopher J. Gibbons   UNIX Systems Admin.   [EMAIL PROTECTED]
+---

From: Scott Allendorf [EMAIL PROTECTED]
Subject: 3.4S-4.0S upgrade: make buildworld failing
Date: Tue, 21 Mar 2000 15:25:29 -0600 (CST)

 I am attempting to upgrade from 3.4-STABLE (cvsupped/built late last
 week) to 4.0-STABLE cvsupped this morning into a clean /usr/src.  The
 supfile was /usr/src/share/examples/cvsup/stable-supfile with cvs-crypto
 uncommented and RELENG_3 changed to RELENG_4.  Whenever MAKE_KERBEROS4 is
 uncommented in /etc/make.conf, "make buildworld" fails with the error
 shown below.  Adding "RSAREF= YES" to /etc/make.conf does not change
 anything.  Commenting out the MAKE_KERBEROS4 definition allows the build
 to complete.  Is anyone else seeing this?  Is it pilot error or have I
 stumbled onto a problem or an omission in the instructions in
 /usr/src/UPDATING?
 
 Cheers,
 
 Scott
 
 Script started on Tue Mar 21 13:03:32 2000
 
 host# grep -v ^\# /etc/make.conf
 CFLAGS= -O -pipe
 COPTFLAGS= -O -pipe
 COMPAT1X= yes
 COMPAT20= yes
 COMPAT21= yes
 COMPAT22= yes
 HAVE_MOTIF=   yes
 USA_RESIDENT= YES
 MAKE_KERBEROS4=   yes
 SUP_UPDATE= yes
 SUP=/usr/local/bin/cvsup
 SUPFLAGS=   -g -L 2
 SUPFILE=/usr/local/etc/cvsup/stable-supfile
 SUPFILE2=   /usr/local/etc/cvsup/ports-supfile
 TOP_TABLE_SIZE= 101
 
 host# cd /usr/src
 host# ls /usr/obj
 host# make buildworld
 
 --
  Rebuilding the temporary build tree
 --
 
 ... All was well until ...
 
 === libkadm
 ln -sf /usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/include/protos.H 
protos.h
 rm -f .depend
 mkdep -f .depend -a
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/include 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm/../../include 
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/krb 
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kdb 
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm 
-I/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/roken 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm 
-I/usr/src/kerberosIV/lib/libkadm/../../include -DHAVE_CONFIG_H 
-I/usr/obj/usr/src/kerberosIV/lib/libkadm/../../include -DBINDIR=\"/usr/bin\" 
-DSBINDIR=\"/usr/sbin\" -I/usr/obj/usr/src/i386/usr/include  
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_cli_wrap.c 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_stream.c 
/usr/src/kerberosIV/lib/libkadm/..!
 !
 /../../crypto/kerberosIV/lib/kadm/kadm_supp.c 
/usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm/kadm_err.c 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/check_password.c
 In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:75,
  from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_cli_wrap.c:30:
 /usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb/krb_err.h:17: invalid macro 
name
 In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:78,
  from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_cli_wrap.c:30:
 /usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm/kadm_err.h:13: warning: 
`ERROR_TABLE_BASE_' redefined
 /usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb/krb_err.h:13: warning: this 
is the location of the previous definition
 /usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkadm/kadm_err.h:17: invalid 
macro name
 In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:75,
  from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_stream.c:38:
 /usr/obj/usr/src/kerberosIV/lib/libkadm/../../lib/libkrb/krb_err.h:17: invalid macro 
name
 In file included from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_locl.h:78,
  from 
/usr/src/kerberosIV/lib/libkadm/../../../crypto/kerberosIV/lib/kadm/kadm_s