Subject: Re: CVS commit: othersrc/bootstrap-pkgsrc/pax
To: Alistair G. Crooks <agc@netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: tech-pkg
Date: 11/04/2002 22:56:35
On Fri, Nov 01, 2002 at 04:56:56AM +1100, Charlie Allom wrote:
> 
> I'm going to bed.
> -- 
>  charlie@rubberduck.com
>  http://rubberduck.com/yeled/pgp.txt

Well here I am with the same machine but cc now - not gcc - running
64-bit instead of 32. Is all that OK?

she dies again :(

> sudo ./bootstrap --pkgsrcdir=/opt/src/pkgsrc
> --pkgdbdir=/usr/pkg/db/pkg
loading cache ./config.cache
checking for gcc... (cached) cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for a BSD compatible install... ./install-sh -c
checking for AIX... no
checking for minix/config.h... (cached) no
checking for POSIXized ISC... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ar.h... (cached) yes
checking for ranlib.h... (cached) no
checking for fcntl.h... (cached) yes
checking for paths.h... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for utime.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/cdefs.h... (cached) no
checking whether byte ordering is bigendian... (cached) yes
checking for working const... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for sys_siglist declaration in signal.h or unistd.h...
(cached) no
checking whether time.h and sys/time.h may both be included...
(cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached)
time.h
checking return type of signal handlers... (cached) void
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for vprintf... (cached) yes
checking for wait3 that fills in rusage... (cached) no
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for getopt... (cached) yes
checking for putenv... (cached) yes
checking for select... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for setenv... (cached) no
checking for getenv... (cached) yes
checking for vsnprintf... (cached) yes
checking for snprintf... (cached) yes
checking for strftime... (cached) yes
checking for sigaction... (cached) yes
checking for sigvec... (cached) no
checking for waitpid... (cached) yes
checking for wait4... (cached) yes
checking for wait3... (cached) yes
checking for getenv... (cached) yes
checking whether stat file-mode macros are broken... (cached) no
checking for st_rdev in struct stat... (cached) yes
Checking for MACHINE & MACHINE_ARCH... defaults: MACHINE=SunOS5,
MACHINE_ARCH=sun4
Using: MACHINE=SunOS5, MACHINE_ARCH=sun4
creating ./config.status
creating Makefile
creating makefile.boot
creating lst.lib/makefile.boot
creating config.h
config.h is unchanged

You can now run

        make -f makefile.boot bootstrap

to produce a fully functional bmake.  You can then use

        make -f makefile.boot install

for an initial installation.  If you already have macros installed 
you can use:

        ./bmake -f Makefile

to install etc.

cc -I. -I. -DHAVE_CONFIG_H  -I./missing -D__EXTENSIONS__
"-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\"" -DMAKE_BOOTSTRAP   -c
arch.c
"nonints.h", line 72: syntax error before or at: __attribute__
"nonints.h", line 72: warning: old-style declaration or incorrect type
for: __attribute__
"nonints.h", line 72: warning: syntax error:  empty declaration
"nonints.h", line 74: syntax error before or at: __attribute__
"nonints.h", line 74: warning: old-style declaration or incorrect type
for: __attribute__
"nonints.h", line 74: warning: old-style declaration or incorrect type
for: __noreturn__
"nonints.h", line 74: syntax error before or at: )
"nonints.h", line 74: warning: syntax error:  empty declaration
"nonints.h", line 76: syntax error before or at: __attribute__
"nonints.h", line 76: warning: old-style declaration or incorrect type
for: __attribute__
"nonints.h", line 76: warning: old-style declaration or incorrect type
for: __noreturn__
"nonints.h", line 76: syntax error before or at: )
"nonints.h", line 76: warning: syntax error:  empty declaration
"nonints.h", line 78: syntax error before or at: __attribute__
"nonints.h", line 78: warning: old-style declaration or incorrect type
for: __attribute__
"nonints.h", line 78: identifier redefined: __attribute__
        current : function() returning int
        previous: function() returning int : "nonints.h", line 72
"nonints.h", line 78: warning: syntax error:  empty declaration
"nonints.h", line 90: syntax error before or at: __attribute__
"nonints.h", line 90: warning: old-style declaration or incorrect type
for: __attribute__
"nonints.h", line 90: identifier redefined: __attribute__
        current : function() returning int
        previous: function() returning int : "nonints.h", line 78
"nonints.h", line 90: warning: syntax error:  empty declaration
"arch.c", line 479: cannot recover from previous errors
cc: acomp failed for arch.c
*** Error code 2
make: Fatal error: Command failed for target `arch.o'
bmake installation failed.
> which cc
/opt/SUNWspro/bin/cc
> which make
/usr/ccs/bin/make

-- 
 charlie@rubberduck.com
 http://rubberduck.com/yeled/pgp.txt