builworld failure after cvsup on 4.9

2004-02-09 Thread Nelis Lamprecht
Hi,

I am busy setting up a new dual HP server ( ML350 Xeon 2.8ghz ) and have
cvsup the latest source and compiling just the basic options to get SMP
working so I can continue my work. Make buildworld is failing with the
following error which makes no sense to me. ( using FreeBSD 4.9 -
RELENG_4 )

=== usr.bin
/usr/src/share/mk/bsd.subdir.mk, line 60: Inconsistent operator for
ftp
make: fatal errors encountered -- cannot continue
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.

The line/s in question:

${SUBDIR}::
@if test -d ${.TARGET}.${MACHINE_ARCH}; then \
cd ${.CURDIR}/${.TARGET}.${MACHINE_ARCH}; \
else \
cd ${.CURDIR}/${.TARGET}; \
fi; \
${MAKE} all


Any idea's ?

Below is my kernel config:

machine i386
cpu I686_CPU
ident   GUARDIAN
maxusers0
   
 
options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep
this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big
directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS
required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660
required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP
THIS!]
options SCSI_DELAY=5000 #Delay (in ms) before probing
SCSI
options UCONSOLE#Allow users to grab the console
options USER_LDT#allow user-level control of
i386 ldt
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time
extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in
debug
 
# Firewall support.
#options IPFILTER
#options IPFILTER_LOG
#options IPFILTER_DEFAULT_BLOCK
 
# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor
Kernel
options APIC_IO # Symmetric (APIC) I/O
 
device  isa
device  pci
 
# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
device  fd1 at fdc0 drive 1
 
# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering
 
# SCSI Controllers
device  ahc # AHA2940 and onboard AIC7xxx devices
 
# SCSI peripherals
device  scbus   # SCSI bus (required)
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  pass# Passthrough device (direct SCSI
access)
 
# RAID controllers interfaced to the SCSI subsystem
device  ciss# Compaq SmartRAID 5* series
 
# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1 flags 0x1
device  psm0at atkbdc? irq 12
 
device  vga0at isa?
 
# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? flags 0x100
 
# Floating point support - do not disable.
device  npx0at nexus? port IO_NPX irq 13
 
# Power management support (see LINT for more options)
#device apm0at nexus? disable flags 0x20 # Advanced Power
Management
 
# Serial (COM) ports
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  sio1at isa? port IO_COM2 irq 3
#device sio2at isa? disable 

Re: builworld failure after cvsup on 4.9

2004-02-09 Thread Kris Kennaway
On Mon, Feb 09, 2004 at 11:12:20AM +0200, Nelis Lamprecht wrote:
 Hi,
 
 I am busy setting up a new dual HP server ( ML350 Xeon 2.8ghz ) and have
 cvsup the latest source and compiling just the basic options to get SMP
 working so I can continue my work. Make buildworld is failing with the
 following error which makes no sense to me. ( using FreeBSD 4.9 -
 RELENG_4 )
 
 === usr.bin
 /usr/src/share/mk/bsd.subdir.mk, line 60: Inconsistent operator for
 ftp
 make: fatal errors encountered -- cannot continue
 *** Error code 1

Please post your supfile; it's possible you have updated to the wrong
version.

Kris


pgp0.pgp
Description: PGP signature


Re: builworld failure after cvsup on 4.9

2004-02-09 Thread Nelis Lamprecht
On Mon, 2004-02-09 at 13:32, Kris Kennaway wrote:

 
 Please post your supfile; it's possible you have updated to the wrong
 version.

I'm using *default release=cvs tag=RELENG_4 as mentioned. I have several
servers using the same but I suspect the src distribution on the disk to
be at fault and am now downloading the entire set. I first tried
removing the src and then re-installing from the cd, then I upgraded it
( tried 2 diff cvsup mirrors )which gave me the same error. I'll post my
result after cvsup of the entire src.

thanks,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


signature.asc
Description: This is a digitally signed message part


Re: builworld failure after cvsup on 4.9

2004-02-09 Thread Kent Stewart
On Monday 09 February 2004 01:12 am, Nelis Lamprecht wrote:
 Hi,

 I am busy setting up a new dual HP server ( ML350 Xeon 2.8ghz ) and
 have cvsup the latest source and compiling just the basic options to
 get SMP working so I can continue my work. Make buildworld is failing
 with the following error which makes no sense to me. ( using FreeBSD
 4.9 - RELENG_4 )

Are you using one of the versions of bash for your shell? Someone had a 
problem like that before and people running csh didn't.

Kent


 === usr.bin
 /usr/src/share/mk/bsd.subdir.mk, line 60: Inconsistent operator for
 ftp
 make: fatal errors encountered -- cannot continue
 *** Error code 1

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

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

 Stop in /usr/src.

 The line/s in question:

 ${SUBDIR}::
 @if test -d ${.TARGET}.${MACHINE_ARCH}; then \
 cd ${.CURDIR}/${.TARGET}.${MACHINE_ARCH}; \
 else \
 cd ${.CURDIR}/${.TARGET}; \
 fi; \
 ${MAKE} all


 Any idea's ?

 Below is my kernel config:

 machine i386
 cpu I686_CPU
 ident   GUARDIAN
 maxusers0

 options INET#InterNETworking
 options FFS #Berkeley Fast Filesystem
 options FFS_ROOT#FFS usable as root device
 [keep this!]
 options SOFTUPDATES #Enable FFS soft updates
 support options UFS_DIRHASH #Improve performance
 on big directories
 options MFS #Memory Filesystem
 options MD_ROOT #MD is a potential root
 device options NFS #Network Filesystem
 options NFS_ROOT#NFS usable as root device,
 NFS required
 options MSDOSFS #MSDOS Filesystem
 options CD9660  #ISO 9660 Filesystem
 options CD9660_ROOT #CD-ROM usable as root,
 CD9660 required
 options PROCFS  #Process filesystem
 options COMPAT_43   #Compatible with BSD 4.3
 [KEEP THIS!]
 options SCSI_DELAY=5000 #Delay (in ms) before probing
 SCSI
 options UCONSOLE#Allow users to grab the
 console options USER_LDT#allow user-level
 control of i386 ldt
 options USERCONFIG  #boot -c editor
 options VISUAL_USERCONFIG   #visual boot -c editor
 options KTRACE  #ktrace(1) support
 options SYSVSHM #SYSV-style shared memory
 options SYSVMSG #SYSV-style message queues
 options SYSVSEM #SYSV-style semaphores
 options P1003_1B#Posix P1003_1B real-time
 extensions
 options _KPOSIX_PRIORITY_SCHEDULING
 options ICMP_BANDLIM#Rate limit bad replies
 options KBD_INSTALL_CDEV# install a CDEV entry in
 /dev options AHC_REG_PRETTY_PRINT# Print register
 bitfields in debug

 # Firewall support.
 #options IPFILTER
 #options IPFILTER_LOG
 #options IPFILTER_DEFAULT_BLOCK

 # To make an SMP kernel, the next two are needed
 options SMP # Symmetric MultiProcessor
 Kernel
 options APIC_IO # Symmetric (APIC) I/O

 device  isa
 device  pci

 # Floppy drives
 device  fdc0at isa? port IO_FD1 irq 6 drq 2
 device  fd0 at fdc0 drive 0
 device  fd1 at fdc0 drive 1

 # ATA and ATAPI devices
 device  ata
 device  atadisk # ATA disk drives
 device  atapicd # ATAPI CDROM drives
 device  atapifd # ATAPI floppy drives
 device  atapist # ATAPI tape drives
 options ATA_STATIC_ID   #Static device numbering

 # SCSI Controllers
 device  ahc # AHA2940 and onboard AIC7xxx devices

 # SCSI peripherals
 device  scbus   # SCSI bus (required)
 device  da  # Direct Access (disks)
 device  sa  # Sequential Access (tape etc)
 device  pass# Passthrough device (direct SCSI
 access)

 # RAID controllers interfaced to the SCSI subsystem
 device  ciss# Compaq SmartRAID 5* series

 # atkbdc0 controls both the keyboard and the PS/2 mouse
 device  atkbdc0 at isa? port IO_KBD
 device  atkbd0  at atkbdc? irq 1 flags 0x1
 device  psm0at atkbdc? irq 12

 device  vga0at isa?

 # syscons is the default console driver, resembling an SCO console
 device  sc0 at isa? flags 0x100

 # Floating point support - do not disable.
 device  npx0at nexus? port IO_NPX irq 13

 # Power management support (see LINT for more options)
 #device apm0at nexus? disable flags 0x20 # Advanced Power
 Management

 # 

Re: builworld failure after cvsup on 4.9

2004-02-09 Thread Nelis Lamprecht
On Mon, 2004-02-09 at 14:45, Kent Stewart wrote:
 On Monday 09 February 2004 01:12 am, Nelis Lamprecht wrote:
  Hi,
 
  I am busy setting up a new dual HP server ( ML350 Xeon 2.8ghz ) and
  have cvsup the latest source and compiling just the basic options to
  get SMP working so I can continue my work. Make buildworld is failing
  with the following error which makes no sense to me. ( using FreeBSD
  4.9 - RELENG_4 )
 
 Are you using one of the versions of bash for your shell? Someone had a 
 problem like that before and people running csh didn't.

I use bash ( bash-2.05b.007 off the cd ) as a user, csh for root. Still busy
downloading src from a local mirror after which I'll do a quick cvsup from the 
main freebsd server, hopefully I'll have no more problems.

Nelis




signature.asc
Description: This is a digitally signed message part


Re: builworld failure after cvsup on 4.9

2004-02-09 Thread Nelis Lamprecht
To follow up on my original posting:

Buildworld appears to fail with the below error when one of the
following is omitted from the base system:

NO_BIND=true# do not build BIND
NO_OPENSSH= true# do not build OpenSSH
NO_OPENSSL= true# do not build OpenSSL (implies NO_OPENSSH)
NO_SENDMAIL=true# do not build sendmail and related programs
NOGAMES=true# do not build games (games/ subdir)

Unfortunately I do not have the time to go through each to find out
which is the cause of the problem, all I can say is when I commented out
all so everything was included buildworld was successful.

Regard,
Nelis

On Mon, 2004-02-09 at 11:12, Nelis Lamprecht wrote:
 Hi,
 
 I am busy setting up a new dual HP server ( ML350 Xeon 2.8ghz ) and have
 cvsup the latest source and compiling just the basic options to get SMP
 working so I can continue my work. Make buildworld is failing with the
 following error which makes no sense to me. ( using FreeBSD 4.9 -
 RELENG_4 )
 
 === usr.bin
 /usr/src/share/mk/bsd.subdir.mk, line 60: Inconsistent operator for
 ftp
 make: fatal errors encountered -- cannot continue
 *** Error code 1
  
 Stop in /usr/src.
 *** Error code 1
  
 Stop in /usr/src.
 *** Error code 1
  
 Stop in /usr/src.
 
 The line/s in question:
 
 ${SUBDIR}::
 @if test -d ${.TARGET}.${MACHINE_ARCH}; then \
 cd ${.CURDIR}/${.TARGET}.${MACHINE_ARCH}; \
 else \
 cd ${.CURDIR}/${.TARGET}; \
 fi; \
 ${MAKE} all
 
 
 Any idea's ?
 
 Below is my kernel config:
 
 machine i386
 cpu I686_CPU
 ident   GUARDIAN
 maxusers0
  

 options INET#InterNETworking
 options FFS #Berkeley Fast Filesystem
 options FFS_ROOT#FFS usable as root device [keep
 this!]
 options SOFTUPDATES #Enable FFS soft updates support
 options UFS_DIRHASH #Improve performance on big
 directories
 options MFS #Memory Filesystem
 options MD_ROOT #MD is a potential root device
 options NFS #Network Filesystem
 options NFS_ROOT#NFS usable as root device, NFS
 required
 options MSDOSFS #MSDOS Filesystem
 options CD9660  #ISO 9660 Filesystem
 options CD9660_ROOT #CD-ROM usable as root, CD9660
 required
 options PROCFS  #Process filesystem
 options COMPAT_43   #Compatible with BSD 4.3 [KEEP
 THIS!]
 options SCSI_DELAY=5000 #Delay (in ms) before probing
 SCSI
 options UCONSOLE#Allow users to grab the console
 options USER_LDT#allow user-level control of
 i386 ldt
 options USERCONFIG  #boot -c editor
 options VISUAL_USERCONFIG   #visual boot -c editor
 options KTRACE  #ktrace(1) support
 options SYSVSHM #SYSV-style shared memory
 options SYSVMSG #SYSV-style message queues
 options SYSVSEM #SYSV-style semaphores
 options P1003_1B#Posix P1003_1B real-time
 extensions
 options _KPOSIX_PRIORITY_SCHEDULING
 options ICMP_BANDLIM#Rate limit bad replies
 options KBD_INSTALL_CDEV# install a CDEV entry in /dev
 options AHC_REG_PRETTY_PRINT# Print register bitfields in
 debug
  
 # Firewall support.
 #options IPFILTER
 #options IPFILTER_LOG
 #options IPFILTER_DEFAULT_BLOCK
  
 # To make an SMP kernel, the next two are needed
 options SMP # Symmetric MultiProcessor
 Kernel
 options APIC_IO # Symmetric (APIC) I/O
  
 device  isa
 device  pci
  
 # Floppy drives
 device  fdc0at isa? port IO_FD1 irq 6 drq 2
 device  fd0 at fdc0 drive 0
 device  fd1 at fdc0 drive 1
  
 # ATA and ATAPI devices
 device  ata
 device  atadisk # ATA disk drives
 device  atapicd # ATAPI CDROM drives
 device  atapifd # ATAPI floppy drives
 device  atapist # ATAPI tape drives
 options ATA_STATIC_ID   #Static device numbering
  
 # SCSI Controllers
 device  ahc # AHA2940 and onboard AIC7xxx devices
  
 # SCSI peripherals
 device  scbus   # SCSI bus (required)
 device  da  # Direct Access (disks)
 device  sa  # Sequential Access (tape etc)
 device  pass# Passthrough device (direct SCSI
 access)
  
 # RAID controllers interfaced to the SCSI