###
### Sat Jul 10 09:42:10 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for rp-pppoe-3.5
### Current pkg count:  7 installed packages: digest-20021220 gettext-lib-0.11.5nb3 gmake-3.80nb3 libiconv-1.9.1nb2 libtool-base-1.5.6nb1 patch-2.5.4nb2 pkg_install-info-4.5nb2
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for rp-pppoe-3.5
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build rp-pppoe-3.5
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libiconv-1.9.1nb2
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkg_install-info-4.5nb2
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libtool-base-1.5.6nb1
BULK> rp-pppoe-3.5 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build rp-pppoe-3.5.
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (rp-pppoe-3.5)
===> Checking for vulnerabilities in rp-pppoe-3.5
=> rp-pppoe-3.5.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch rp-pppoe-3.5.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [189321 bytes]
=> Checksum OK for rp-pppoe-3.5.tar.gz.
work -> /pkgbuild/net/rp-pppoe/work
===> Extracting for rp-pppoe-3.5
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for rp-pppoe-3.5
===> Applying pkgsrc patches for rp-pppoe-3.5
===> Overriding tools for rp-pppoe-3.5
===> Configuring for rp-pppoe-3.5
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib -L/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... /usr/bin/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... NOTFOUND
checking for setsid... no
checking for id... /usr/xpg4/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... no

*** Oops!  I couldn't find pppd, the PPP daemon anywhere.
*** You must install pppd, version 2.3.10 or later.
*** I will keep going, but it may not work.


*** Oops.  I cannot figure out what version of pppd you have.
*** All I got back was 'found'
*** 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.5
cc -O    '-DPPPOE_PATH="/usr/pkg/sbin/pppoe"' '-DPPPD_PATH="NOTFOUND"'  '-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="NOTFOUND"'  '-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="NOTFOUND"'  '-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="NOTFOUND"'  '-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="NOTFOUND"'  '-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="NOTFOUND"'  '-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="NOTFOUND"'  '-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 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 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 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 /pkgbuild/net/rp-pppoe/work/rp-pppoe-3.5/src
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/rp-pppoe
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/rp-pppoe
BULK> rp-pppoe-3.5 was marked as broken:
-rw-r--r--   1 root     other       8777 Jul 10 09:42 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for rp-pppoe
BULK> Marking all packages which depend upon rp-pppoe-3.5 as broken:
BULK> Build for rp-pppoe-3.5 was not successful, aborting.