###
### Sun Jul 31 14:16:30 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for rp-pppoe-3.5nb1
### Current pkg count:  6 installed packages: digest-20050323 gettext-lib-0.11.5nb4 gmake-3.80nb4 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 pkg_install-info-4.5nb3
###
BULK> Full rebuild in progress...
BULK> Cleaning package rp-pppoe-3.5nb1 and pre-requisite packages
===> Cleaning for rp-pppoe-3.5nb1
BULK> Removing installed packages which are not needed to build rp-pppoe-3.5nb1
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libiconv-1.9.2nb1
Executing `/usr/bin/rm -f /usr/pkg/lib/charset.alias'
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkg_install-info-4.5nb3
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libtool-base-1.5.18nb3
BULK> Installing packages which are required to build rp-pppoe-3.5nb1.
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (rp-pppoe-3.5nb1)
===> Checking for vulnerabilities in rp-pppoe-3.5nb1
=> Checksum SHA1 OK for rp-pppoe-3.5.tar.gz.
=> Checksum RMD160 OK for rp-pppoe-3.5.tar.gz.
work -> /pkgobj/net/rp-pppoe/work
===> Extracting for rp-pppoe-3.5nb1
===> Patching for rp-pppoe-3.5nb1
===> Applying pkgsrc patches for rp-pppoe-3.5nb1
===> Overriding tools for rp-pppoe-3.5nb1
===> Creating toolchain wrappers for rp-pppoe-3.5nb1
===> Configuring for rp-pppoe-3.5nb1
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/dlpi.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for net/if_arp.h... yes
checking for netinet/if_ether.h... yes
checking for getopt.h... no
checking for sys/uio.h... yes
checking for sys/param.h... yes
checking for fcntl.h... (cached) yes
checking for net/bpf.h... no
checking for netpacket/packet.h... no
checking for net/ethernet.h... no
checking for asm/types.h... no
checking for linux/if_packet.h... no
checking for linux/if_ether.h... no
checking for linux/if_pppox.h... no
checking for sys/socket.h... yes
checking for sys/cdefs.h... no
checking for linux/if.h... no
checking for net/if.h... yes
checking for net/if_dl.h... yes
checking for net/if_ether.h... no
checking for net/if_types.h... yes
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) yes
checking for net/if_dl.h... (cached) yes
checking for working const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for echo... (cached) /usr/ucb/echo
checking for struct sockaddr_ll... no
checking for N_HDLC line discipline... no
checking for 8-bit clean memcmp... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... no
checking for strerror... yes
checking for strtol... yes
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 4
checking for pppd... /usr/bin/pppd
checking for setsid... no
checking for id... /usr/xpg4/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... no

*** Oops.  I cannot figure out what version of pppd you have.
*** All I got back was 'tty'
*** I will keep going, but it may not work.

checking packing order of bit fields... normal
updating cache ./config.cache
creating ./config.status
creating Makefile
creating libevent/Makefile
creating ../scripts/adsl-connect
creating ../scripts/adsl-start
creating ../scripts/adsl-stop
creating ../scripts/adsl-init
creating ../scripts/adsl-init-suse
creating ../scripts/adsl-init-turbolinux
creating ../scripts/adsl-setup
creating ../gui/Makefile
creating ../gui/tkpppoe
creating config.h

On this platform, the following targets will be built:
        pppoe pppoe-server pppoe-sniff

Type 'make' to compile the software.
===> Building for rp-pppoe-3.5nb1
cc -O    '-DPPPOE_PATH="/usr/pkg/sbin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"'  '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"'  '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o pppoe.o pppoe.c
cc -O    '-DPPPOE_PATH="/usr/pkg/sbin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"'  '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"'  '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o if.o if.c
cc -O    '-DPPPOE_PATH="/usr/pkg/sbin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"'  '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"'  '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o debug.o debug.c
cc -O    '-DPPPOE_PATH="/usr/pkg/sbin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"'  '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"'  '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o common.o common.c
"common.c", line 446: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
cc -O    '-DPPPOE_PATH="/usr/pkg/sbin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"'  '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"'  '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o ppp.o ppp.c
cc -O    '-DPPPOE_PATH="/usr/pkg/sbin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"'  '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"'  '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o discovery.o discovery.c
cc -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o
cc -O    '-DPPPOE_PATH="/usr/pkg/sbin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"'  '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"'  '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o pppoe-server.o pppoe-server.c
"pppoe-server.c", line 537: incomplete struct/union/enum MD5Context: ctx
"pppoe-server.c", line 540: warning: argument #1 is incompatible with prototype:
	prototype: pointer to struct  {array[4] of unsigned int state, array[2] of unsigned int count, union  {..} buf_un} : "/usr/include/sys/md5.h", line 62
	argument : pointer to struct MD5Context {}
"pppoe-server.c", line 541: warning: argument #1 is incompatible with prototype:
	prototype: pointer to struct  {array[4] of unsigned int state, array[2] of unsigned int count, union  {..} buf_un} : "/usr/include/sys/md5.h", line 63
	argument : pointer to struct MD5Context {}
"pppoe-server.c", line 541: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "/usr/include/sys/md5.h", line 63
	argument : pointer to const unsigned char
"pppoe-server.c", line 542: warning: argument #1 is incompatible with prototype:
	prototype: pointer to struct  {array[4] of unsigned int state, array[2] of unsigned int count, union  {..} buf_un} : "/usr/include/sys/md5.h", line 63
	argument : pointer to struct MD5Context {}
"pppoe-server.c", line 542: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "/usr/include/sys/md5.h", line 63
	argument : pointer to const unsigned char
"pppoe-server.c", line 543: warning: argument #1 is incompatible with prototype:
	prototype: pointer to struct  {array[4] of unsigned int state, array[2] of unsigned int count, union  {..} buf_un} : "/usr/include/sys/md5.h", line 63
	argument : pointer to struct MD5Context {}
"pppoe-server.c", line 543: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "/usr/include/sys/md5.h", line 63
	argument : pointer to const unsigned char
"pppoe-server.c", line 544: warning: argument #2 is incompatible with prototype:
	prototype: pointer to struct  {array[4] of unsigned int state, array[2] of unsigned int count, union  {..} buf_un} : "/usr/include/sys/md5.h", line 64
	argument : pointer to struct MD5Context {}
"pppoe-server.c", line 1498: warning: statement not reached
"pppoe-server.c", line 2039: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
cc: acomp failed for pppoe-server.c
*** Error code 2

Stop.
bmake: stopped in /pkgobj/net/rp-pppoe/work/rp-pppoe-3.5/src
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/net/rp-pppoe

Please view the work log for rp-pppoe-3.5nb1


BULK> rp-pppoe-3.5nb1 was marked as broken:
-rw-r--r--   1 root     other       9317 Jul 31 14:17 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for rp-pppoe
BULK> Marking all packages which depend upon rp-pppoe-3.5nb1 as broken:
BULK> Build for rp-pppoe-3.5nb1 was not successful, aborting.