###
### Wed Jul 6 20:16:36 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for quagga-0.98.2
### Current pkg count:  2 installed packages: digest-20050323 qadsl-1.2
###
BULK> Full rebuild in progress...
BULK> Cleaning package quagga-0.98.2 and pre-requisite packages
===> Cleaning for quagga-0.98.2
===> Cleaning for gmake-3.80nb4
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for readline-5.0
===> Cleaning for perl-5.8.6nb4
BULK> Removing installed packages which are not needed to build quagga-0.98.2
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r qadsl-1.2
BULK> Installing packages which are required to build quagga-0.98.2.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gmake-3.80nb4.tgz
===========================================================================
Installing files needed by libiconv-1.9.2nb1:

	/usr/pkg/lib/charset.alias
	    [/usr/pkg/share/examples/libiconv/charset.alias]

===========================================================================
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.2nb1 (converters/libiconv) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libtool-base-1.5.18nb3.tgz
BULK> Required package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/readline-5.0.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/perl-5.8.6nb4.tgz

===========================================================================
$NetBSD: MESSAGE,v 1.1 2004/01/08 19:18:00 jlam Exp $

perl-5.8.6nb4 will use the following directory as the default
location of the site-specific Perl modules:

	/usr/pkg/lib/perl5/site_perl/5.8.6

===========================================================================

BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (quagga-0.98.2)
===> Checking for vulnerabilities in quagga-0.98.2
=> quagga-0.98.2.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch quagga-0.98.2.tar.gz from ftp://netbsd.stevens-tech.edu/pub/NetBSD/packages/distfiles/.
=> [2012251 bytes]
=> Checksum SHA1 OK for quagga-0.98.2.tar.gz.
=> Checksum RMD160 OK for quagga-0.98.2.tar.gz.
work -> /pkgobj/net/quagga/work
===> Extracting for quagga-0.98.2
==========================================================================
The following variables will affect the build process of this package,
quagga-0.98.2.  Their current value is shown below:

        * USE_INET6 = YES
        * USE_ZEBRA_OSPF_OPAQUELSA = YES
        * USE_ZEBRA_VTYSH = YES

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb3 found
===> Required installed package readline>=5.0: readline-5.0 found
===> Required installed package libtool-base>=1.5.18nb1: libtool-base-1.5.18nb3 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.6nb4 found
===> Patching for quagga-0.98.2
===> Overriding tools for quagga-0.98.2
===> Creating toolchain wrappers for quagga-0.98.2
===> Configuring for quagga-0.98.2
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2
checking for sparc-sun-solaris2-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether make sets $(MAKE)... (cached) yes
checking for sparc-sun-solaris2-ar... no
checking for ar... ar
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for egrep... grep -E
checking for AIX... no
checking for a sed that does not truncate output... /pkgobj/net/quagga/work/.tools/bin/sed
checking for non-GNU ld... /pkgobj/net/quagga/work/.wrapper/bin/ld
checking if the linker (/pkgobj/net/quagga/work/.wrapper/bin/ld) is GNU ld... no
checking for /pkgobj/net/quagga/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sparc-sun-solaris2-ar... ar
checking for sparc-sun-solaris2-strip... strip
checking for sparc-sun-solaris2-ranlib... ranlib
checking the maximum length of command line arguments... 262144
checking command to parse nm output from  object... failed
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking for cc option to produce PIC... -KPIC -DPIC
checking if cc PIC flag -KPIC -DPIC works... yes
checking if cc static flag -Bstatic works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/pkgobj/net/quagga/work/.wrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if zebra should be configurable to send Route Advertisements... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/conf.h usability... yes
checking sys/conf.h presence... yes
checking for sys/conf.h... yes
checking sys/ksym.h usability... no
checking sys/ksym.h presence... no
checking for sys/ksym.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for sys/types.h... (cached) yes
checking linux/version.h usability... no
checking linux/version.h presence... no
checking for linux/version.h... no
checking kvm.h usability... yes
checking kvm.h presence... yes
checking for kvm.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking asm/types.h usability... no
checking asm/types.h presence... no
checking for asm/types.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking net/if_dl.h usability... yes
checking net/if_dl.h presence... yes
checking for net/if_dl.h... yes
checking net/netopt.h usability... no
checking net/netopt.h presence... no
checking for net/netopt.h... no
checking inet/nd.h usability... yes
checking inet/nd.h presence... yes
checking for inet/nd.h... yes
checking net/route.h usability... no
checking net/route.h presence... yes
configure: WARNING: net/route.h: present but cannot be compiled
configure: WARNING: net/route.h:     check for missing prerequisite headers?
configure: WARNING: net/route.h: see the Autoconf documentation
configure: WARNING: net/route.h:     section "Present But Cannot Be Compiled"
configure: WARNING: net/route.h: proceeding with the preprocessor's result
configure: WARNING: net/route.h: in the future, the compiler will take precedence
configure: WARNING:     ## ----------------------------------------- ##
configure: WARNING:     ## Report this to http://bugzilla.quagga.net ##
configure: WARNING:     ## ----------------------------------------- ##
checking for net/route.h... yes
checking net/if.h usability... no
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h:     check for missing prerequisite headers?
configure: WARNING: net/if.h: see the Autoconf documentation
configure: WARNING: net/if.h:     section "Present But Cannot Be Compiled"
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: net/if.h: in the future, the compiler will take precedence
configure: WARNING:     ## ----------------------------------------- ##
configure: WARNING:     ## Report this to http://bugzilla.quagga.net ##
configure: WARNING:     ## ----------------------------------------- ##
checking for net/if.h... yes
checking net/if_var.h usability... no
checking net/if_var.h presence... no
checking for net/if_var.h... no
checking netinet/in_var.h usability... no
checking netinet/in_var.h presence... yes
configure: WARNING: netinet/in_var.h: present but cannot be compiled
configure: WARNING: netinet/in_var.h:     check for missing prerequisite headers?
configure: WARNING: netinet/in_var.h: see the Autoconf documentation
configure: WARNING: netinet/in_var.h:     section "Present But Cannot Be Compiled"
configure: WARNING: netinet/in_var.h: proceeding with the preprocessor's result
configure: WARNING: netinet/in_var.h: in the future, the compiler will take precedence
configure: WARNING:     ## ----------------------------------------- ##
configure: WARNING:     ## Report this to http://bugzilla.quagga.net ##
configure: WARNING:     ## ----------------------------------------- ##
checking for netinet/in_var.h... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for main in -lsocket... yes
checking for main in -lnsl... yes
checking for perl... /usr/pkg/bin/perl
checking for tputs in -ltermcap... yes
checking for main in -lreadline... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for rl_completion_matches in -lreadline... yes
checking whether byte ordering is bigendian... yes
checking for memset... yes
checking for memcpy... yes
checking for strerror... yes
checking for inet_aton... no
checking for daemon... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for if_nametoindex... yes
checking for if_indextoname... yes
checking for getifaddrs... no
checking for fcntl... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking zebra between kernel interface method... socket
checking for broken CMSG_FIRSTHDR... yes - using workaround
checking route read method check... getmsg
checking interface looking up method... ioctl
checking ipforward method check... solaris
checking for getaddrinfo... yes
checking whether does this OS have IPv6 stack... IPv4 only
checking for inet_ntop in -lc... yes
checking for inet_pton in -lc... yes
checking for crypt in -lcrypt... yes
checking for res_init in -lresolv... yes
checking for main in -lm... yes
checking for __inet_ntop... no
checking for __inet_pton... no
checking for __inet_aton... no
checking for regexec in -lc... yes
checking whether struct sockaddr has a sa_len field... no
checking whether struct sockaddr_in has a sin_len field... no
checking whether struct sockaddr_un has a sun_len field... no
checking whther socklen_t is defined... yes
checking whether struct sockaddr_dl exist... yes
checking whether struct ifaliasreq exist... no
checking whether struct in6_aliasreq exist... no
checking whether in6_aliasreq.ifra_lifetime exist... no
checking whether struct rt_addrinfo exist... no
checking whether struct in_pktinfo exist... no
checking whether getrusage is available... yes
checking whether prctl PR_SET_KEEPCAPS is available... no
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking directory to use for state file... /var/run/zebra
checking for working htonl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating zebra/Makefile
config.status: creating ripd/Makefile
config.status: creating ripngd/Makefile
config.status: creating bgpd/Makefile
config.status: creating ospfd/Makefile
config.status: creating watchquagga/Makefile
config.status: creating ospf6d/Makefile
config.status: creating isisd/Makefile
config.status: creating vtysh/Makefile
config.status: creating doc/Makefile
config.status: creating ospfclient/Makefile
config.status: creating tests/Makefile
config.status: creating m4/Makefile
config.status: creating redhat/Makefile
config.status: creating pkgsrc/Makefile
config.status: creating redhat/quagga.spec
config.status: creating lib/version.h
config.status: creating doc/defines.texi
config.status: creating pkgsrc/bgpd.sh
config.status: creating pkgsrc/ospf6d.sh
config.status: creating pkgsrc/ospfd.sh
config.status: creating pkgsrc/ripd.sh
config.status: creating pkgsrc/ripngd.sh
config.status: creating pkgsrc/zebra.sh
config.status: creating vtysh/extract.pl
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing info-time commands

Quagga configuration
--------------------
quagga version          : 0.98.2
host operationg system  : solaris2
source code location    : .
compiler                : cc
compiler flags          : -O -I/usr/pkg/include
linker flags            : -L/usr/pkg/lib -R/usr/pkg/lib -lm -lresolv -lcrypt  -lreadline -lreadline -ltermcap -lnsl -lsocket -L/usr/pkg/lib -R/usr/pkg/lib
state file directory    : /var/run/zebra
config file directory   : /usr/pkg/etc/zebra
example directory       : /usr/pkg/share/examples/quagga
user to run as		: quagga
group to run as		: quagga
group for vty sockets	: 
config file mask        : 0600
log file mask           : 0600

The above user and group must have read/write access to the state file
directory and to the config files in the config file directory.

===> Building for quagga-0.98.2
 /bin/ksh ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating zebra/Makefile
config.status: creating ripd/Makefile
config.status: creating ripngd/Makefile
config.status: creating bgpd/Makefile
config.status: creating ospfd/Makefile
config.status: creating watchquagga/Makefile
config.status: creating ospf6d/Makefile
config.status: creating isisd/Makefile
config.status: creating vtysh/Makefile
config.status: creating doc/Makefile
config.status: creating ospfclient/Makefile
config.status: creating tests/Makefile
config.status: creating m4/Makefile
config.status: creating redhat/Makefile
config.status: creating pkgsrc/Makefile
config.status: creating redhat/quagga.spec
config.status: creating lib/version.h
config.status: creating doc/defines.texi
config.status: creating pkgsrc/bgpd.sh
config.status: creating pkgsrc/ospf6d.sh
config.status: creating pkgsrc/ospfd.sh
config.status: creating pkgsrc/ripd.sh
config.status: creating pkgsrc/ripngd.sh
config.status: creating pkgsrc/zebra.sh
config.status: creating vtysh/extract.pl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing info-time commands
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/pkgobj/net/quagga/work/quagga-0.98.2'
Making all in lib
gmake[2]: Entering directory `/pkgobj/net/quagga/work/quagga-0.98.2/lib'
source='network.c' object='network.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/ksh ../depcomp \
/bin/ksh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/pkg/etc/zebra/\" -I. -I. -I.. -I.. -I.. -I../lib  -I/usr/pkg/include  -O -I/usr/pkg/include -c -o network.lo network.c
mkdir .libs
 cc -DHAVE_CONFIG_H "-DSYSCONFDIR=\"/usr/pkg/etc/zebra/\"" -I. -I. -I.. -I.. -I.. -I../lib -I/usr/pkg/include -O -I/usr/pkg/include -c network.c  -KPIC -DPIC -o .libs/network.o
"zassert.h", line 10: syntax error before or at: __attribute__
"zassert.h", line 10: warning: old-style declaration or incorrect type for: __attribute__
"zassert.h", line 10: warning: syntax error:  empty declaration
"./zebra.h", line 235: #warning: "CMSG_FIRSTHDR is broken on this platform, using a workaround"
"./zebra.h", line 267: #warning: "assuming 4-byte alignment for CMSG_SPACE"
"./zebra.h", line 273: #warning: "assuming 4-byte alignment for CMSG_LEN"
cc: acomp failed for network.c
gmake[2]: *** [network.lo] Error 1
gmake[2]: Leaving directory `/pkgobj/net/quagga/work/quagga-0.98.2/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkgobj/net/quagga/work/quagga-0.98.2'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/net/quagga
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /pkgobj/net/quagga/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/quagga

Please view the work log for quagga-0.98.2


BULK> quagga-0.98.2 was marked as broken:
-rw-r--r--   1 root     other      19265 Jul  6 20:21 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for quagga
BULK> Marking all packages which depend upon quagga-0.98.2 as broken:
BULK> Build for quagga-0.98.2 was not successful, aborting.