Re: Errors building system on i386-current

2013-11-11 Thread Stuart Henderson
On 2013-11-09, Scott McEachern sc...@blackstaff.ca wrote:
 Using a clean install from the Nov. 8th i386 snapshot, I upgraded all 
 sources and ran into this while building the system:

The most common problem when building source is from a (current or past)
failure to run make obj before building. You could try this to remove all
files not in CVS (borrowed from xenocara/README) :-

cd /usr/src  cvs -q update -PAd -I - | awk '$1==? {print $2}' | xargs rm -f

I would then rm -rf /usr/obj/*, re-run make obj and attempt the build again.



Errors building system on i386-current

2013-11-09 Thread Scott McEachern
Using a clean install from the Nov. 8th i386 snapshot, I upgraded all 
sources and ran into this while building the system:


Your select() operates on 32 bits at a time.
Generating a list of signal names and numbers...
Checking the size of size_t...
Checking to see if you have socklen_t...
socks.h NOT found.
I'll be using ssize_t for functions returning a byte count.
Checking the size of st_ino...
Checking the sign of st_ino...
Your stdio uses signed chars.
Checking the size of uid_t...
Checking the sign of uid_t...
Checking the format string to be used for uids...
Determining whether we can use sysctl with KERN_PROC_PATHNAME to find 
executing program...

try.c: In function 'main':
try.c:23: error: 'KERN_PROC_PATHNAME' undeclared (first use in this 
function)

try.c:23: error: (Each undeclared identifier is reported only once
try.c:23: error: for each function it appears in.)
I'm unable to compile the test program.
I'll assume no sysctl with KERN_PROC_PATHNAME here.
Determining whether we can use _NSGetExecutablePath to find executing 
program...

try.c:4:25: error: mach-o/dyld.h: No such file or directory
I'm unable to compile the test program.
I'll assume no _NSGetExecutablePath here.
It appears we'll be able to prototype varargs functions.
Which compiler compiler (yacc) shall I use? [yacc]
assert.h found.
fp.h NOT found.
fp_class.h NOT found.
gdbm.h NOT found.
ieeefp.h found.
libutil.h NOT found.
mntent.h NOT found.
net/errno.h NOT found.
netinet/tcp.h found.
poll.h found.
prot.h NOT found.
Guessing which symbols your C compiler and preprocessor define...
tcsetattr() found.
You have POSIX termios.h... good!
stdbool.h found.
stddef.h found.
sys/access.h NOT found.
sys/filio.h found.
sys/ioctl.h found.
You have socket ioctls defined in sys/sockio.h.
syslog.h found.
sys/mode.h NOT found.
sys/poll.h found.
sys/resource.h found.
sys/security.h NOT found.
sys/statvfs.h found.
sys/un.h found.
sys/utsname.h found.
sys/wait.h found.
ustat.h NOT found.
utime.h found.
vfork.h NOT found.
Looking for extensions...

Duplicate directories detected for extension B-Lint
Configure cannot correctly recover from this - shall I abort?
/usr/src/gnu/usr.bin/perl/Configure: .: ../UU/myread: not found
*** Error 1 in gnu/usr.bin/perl (Makefile.bsd-wrapper:76 'config.sh')
*** Error 2 in gnu/usr.bin (bsd.subdir.mk:48 'depend')
*** Error 2 in gnu (bsd.subdir.mk:48 'depend')
*** Error 2 in . (bsd.subdir.mk:48 'depend')
*** Error 2 in /usr/src (Makefile:89 'build')

Just thought I'd let you know.

--
Scott McEachern

https://www.blackstaff.ca

Beware the Four Horsemen of the Information Apocalypse: terrorists, drug dealers, 
kidnappers, and child pornographers. Seems like you can scare any public into allowing 
the government to do anything with those four.  -- Bruce Schneier