Subject: pkg/36470: pppd (samba) wont compile on
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <charlie@playlouder.com>
List: pkgsrc-bugs
Date: 06/11/2007 11:40:00
>Number: 36470
>Category: pkg
>Synopsis: pppd (samba) wont compile on
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 11 11:40:00 +0000 2007
>Originator: charlie@playlouder.com
>Release: NetBSD 4.0_BETA2
>Organization:
>Environment:
System: NetBSD backspace.state51.co.uk 4.0_BETA2 NetBSD 4.0_BETA2 (BACKSPACE) #1: Fri May 18 11:21:32 UTC 2007 root@backspace.state51.co.uk:/usr/src/netbsd-4/sys/arch/i386/compile/BACKSPACE i386
Architecture: i386
Machine: i386
>Description:
make dies.
>How-To-Repeat:
10:29 backspace:pkgsrc/net/pppd# make clean
===> su-do-clean [gmake-3.81] ===> Cleaning for gmake-3.81
===> su-do-clean [digest-20060826] ===> Cleaning for digest-20060826
===> su-do-clean [pppd-2.4.3nb1] ===> Cleaning for pppd-2.4.3nb1
10:29 backspace:pkgsrc/net/pppd# make
=> Required installed package digest>=20010302: digest-20060826 found
===> _flavor-check-vulnerable [pppd-2.4.3nb1] ===> Checking for vulnerabilities in pppd-2.4.3nb1
=> Checksum SHA1 OK for ppp-2.4.3.tar.gz
=> Checksum RMD160 OK for ppp-2.4.3.tar.gz
work.backspace -> /home/obj/pkgsrc/net/pppd/work.backspace
===> depends-message [pppd-2.4.3nb1] ===> Installing dependencies for pppd-2.4.3nb1
=> Required installed package gmake>=3.78: gmake-3.81 found
===> tools-message [pppd-2.4.3nb1] ===> Overriding tools for pppd-2.4.3nb1
===> extract-message [pppd-2.4.3nb1] ===> Extracting for pppd-2.4.3nb1
===> patch-message [pppd-2.4.3nb1] ===> Patching for pppd-2.4.3nb1
=> Applying pkgsrc patches for pppd-2.4.3nb1
===> wrapper-message [pppd-2.4.3nb1] ===> Creating toolchain wrappers for pppd-2.4.3nb1
===> configure-message [pppd-2.4.3nb1] ===> Configuring for pppd-2.4.3nb1
=> Checking for portability problems in extracted files
=> Fixing locale directory references.
Configuring for NetBSD
Creating Makefiles.
Makefile <= netbsd/Makefile.top
pppd/Makefile <= pppd/Makefile.netbsd
pppstats/Makefile <= pppstats/Makefile.netbsd
chat/Makefile <= chat/Makefile.netbsd
pppdump/Makefile <= pppdump/Makefile.netbsd
===> build-message [pppd-2.4.3nb1] ===> Building for pppd-2.4.3nb1
cd chat; /usr/pkg/bin/gmake all
gmake[1]: Entering directory `/home/obj/pkgsrc/net/pppd/work.backspace/ppp-2.4.3/chat'
cc -c -O2 -g -pipe -DTERMIOS -DSIGTYPE=void -DHAS_STRLFUNCS -o chat.o chat.c
chat.c:1296:22: warning: trigraph ??) ignored, use -trigraphs to enable
cc -o chat chat.o
gmake[1]: Leaving directory `/home/obj/pkgsrc/net/pppd/work.backspace/ppp-2.4.3/chat'
cd pppd; /usr/pkg/bin/gmake all
gmake[1]: Entering directory `/home/obj/pkgsrc/net/pppd/work.backspace/ppp-2.4.3/pppd'
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o main.o main.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o magic.o magic.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o fsm.o fsm.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o lcp.o lcp.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o ipcp.o ipcp.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o upap.o upap.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o chap-new.o chap-new.c
In file included from chap-new.c:40:
chap_ms.h:70: warning: '__packed__' attribute ignored
chap_ms.h:81: warning: '__packed__' attribute ignored
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o md5.o md5.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o ccp.o ccp.c
In file included from ccp.c:42:
chap_ms.h:70: warning: '__packed__' attribute ignored
chap_ms.h:81: warning: '__packed__' attribute ignored
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o ecp.o ecp.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o auth.o auth.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o options.o options.c
options.c: In function 'process_option':
options.c:789: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o demand.o demand.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o utils.o utils.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o sys-bsd.o sys-bsd.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o ipxcp.o ipxcp.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o tty.o tty.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o eap.o eap.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o chap-md5.o chap-md5.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o chap_ms.o chap_ms.c
In file included from chap_ms.c:91:
chap_ms.h:70: warning: '__packed__' attribute ignored
chap_ms.h:81: warning: '__packed__' attribute ignored
chap_ms.c: In function 'Set_Start_Key':
chap_ms.c:695: warning: pointer targets in passing argument 1 of 'NTPasswordHash' differ in signedness
chap_ms.c:696: warning: pointer targets in passing argument 1 of 'NTPasswordHash' differ in signedness
chap_ms.c: In function 'SetMasterKeys':
chap_ms.c:809: warning: pointer targets in passing argument 1 of 'NTPasswordHash' differ in signedness
chap_ms.c:810: warning: pointer targets in passing argument 1 of 'NTPasswordHash' differ in signedness
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o sha1.o sha1.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o pppcrypt.o pppcrypt.c
pppcrypt.c: In function 'DesSetkey':
pppcrypt.c:122: warning: implicit declaration of function 'setkey'
pppcrypt.c: In function 'DesEncrypt':
pppcrypt.c:137: warning: implicit declaration of function 'encrypt'
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o multilink.o multilink.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o tdb.o tdb.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -c -o spinlock.o spinlock.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DHAVE_MMAP -DHAS_STRLFUNCS -I../include -DCHAPMS=1 -DMPPE=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLGIN -DMAXOCTETS -Wl,-R/usr/pkg/lib -Wl,-E -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-bsd.o ipxcp.o tty.o eap.o chap-md5.o chap_ms.o sha1.o pppcrypt.o multilink.o tdb.o spinlock.o -lutil -lcrypt
gmake[1]: Leaving directory `/home/obj/pkgsrc/net/pppd/work.backspace/ppp-2.4.3/pppd'
cd pppstats; /usr/pkg/bin/gmake all
gmake[1]: Entering directory `/home/obj/pkgsrc/net/pppd/work.backspace/ppp-2.4.3/pppstats'
cc -O -I../include -o pppstats pppstats.c
gmake[1]: Leaving directory `/home/obj/pkgsrc/net/pppd/work.backspace/ppp-2.4.3/pppstats'
cd pppdump; /usr/pkg/bin/gmake all
gmake[1]: Entering directory `/home/obj/pkgsrc/net/pppd/work.backspace/ppp-2.4.3/pppdump'
cc -O -I../include/net -c -o pppdump.o pppdump.c
cc -O -I../include/net -c -o bsd-comp.o bsd-comp.c
cc -O -I../include/net -c -o deflate.o deflate.c
deflate.c: In function 'z_decompress':
deflate.c:283: error: 'Z_PACKET_FLUSH' undeclared (first use in this function)
deflate.c:283: error: (Each undeclared identifier is reported only once
deflate.c:283: error: for each function it appears in.)
gmake[1]: *** [deflate.o] Error 1
gmake[1]: Leaving directory `/home/obj/pkgsrc/net/pppd/work.backspace/ppp-2.4.3/pppdump'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/src/pkgsrc/net/pppd
*** Error code 1
Stop.
make: stopped in /usr/src/pkgsrc/net/pppd
>Fix:
>Unformatted:
netbsd-4