pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40979: zaptel does not build



>Number:         40979
>Category:       pkg
>Synopsis:       zaptel does not build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 08 00:00:01 +0000 2009
>Originator:     David Wetzel
>Release:        4.0.1
>Organization:
>Environment:
i386
>Description:
dave@netbsd32#make 
=> Bootstrap dependency digest>=20010302: found digest-20070803
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum SHA1 OK for zaptel-netbsd-20060127.tar.bz2
=> Checksum RMD160 OK for zaptel-netbsd-20060127.tar.bz2
===> Installing dependencies for zaptel-netbsd-20060127nb1
==========================================================================
The following variables will affect the build process of this package,
zaptel-netbsd-20060127nb1.  Their current value is shown below:

        * ZAPTEL_KERNEL_ENV (defined)

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Full dependency newt>=0.51.6nb2: found newt-0.51.6nb3
===> Overriding tools for zaptel-netbsd-20060127nb1
===> Extracting for zaptel-netbsd-20060127nb1
===> Patching for zaptel-netbsd-20060127nb1
===> Creating toolchain wrappers for zaptel-netbsd-20060127nb1
===> Configuring for zaptel-netbsd-20060127nb1
===> Building for zaptel-netbsd-20060127nb1
all ===> ztcfg
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I. -I../zaptel 
-DUSE_LOCAL_INCLUDE=1  -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -c ztcfg.c
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I. -I../zaptel 
-DUSE_LOCAL_INCLUDE=1  -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -c tonezone.c
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I. -I../zaptel 
-DUSE_LOCAL_INCLUDE=1  -DPREFIX=\"/usr/pkg\" -I/usr/pkg/include -c zonedata.c
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I. -I../zaptel 
-DUSE_LOCAL_INCLUDE=1  -DPREFIX=\"/usr/pkg\" -o ztcfg ztcfg.o tonezone.o 
zonedata.o -lm
ar r libtonezone.a tonezone.o zonedata.o
ar: creating libtonezone.a
all ===> test
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I../zaptel -I../ztcfg 
-I/usr/pkg/include -c zttool.c
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I../zaptel -I../ztcfg -o zttool 
zttool.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L../ztcfg -L/usr/pkg/lib 
-R/usr/pkg/lib -ltonezone -lnewt  -lslang
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I../zaptel -I../ztcfg 
-I/usr/pkg/include -c fxo_test.c
fxo_test.c: In function 'zt_dial':
fxo_test.c:142: warning: incompatible implicit declaration of built-in function 
'strncpy'
fxo_test.c: In function 'main':
fxo_test.c:253: warning: incompatible implicit declaration of built-in function 
'exit'
fxo_test.c:263: warning: incompatible implicit declaration of built-in function 
'exit'
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I../zaptel -I../ztcfg -o fxo_test 
fxo_test.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L../ztcfg -L/usr/pkg/lib 
-R/usr/pkg/lib -ltonezone
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I../zaptel -I../ztcfg 
-I/usr/pkg/include -c ztmonitor.c
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I../zaptel -I../ztcfg -o 
ztmonitor ztmonitor.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L../ztcfg 
-L/usr/pkg/lib -R/usr/pkg/lib -ltonezone  -lossaudio
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I../zaptel -I../ztcfg 
-I/usr/pkg/include -c zttest.c
cc -O2 -I/usr/pkg/include -I/usr/pkg/include -I../zaptel -I../ztcfg -o zttest 
zttest.o
all ===> zaptel
#   compile  zaptel/zaptel.o
cc -O2 -I/usr/pkg/include -g  -Werror  -ffreestanding  -fno-strict-aliasing 
-Wno-pointer-sign -I/usr/pkg/include  -nostdinc -I. 
-I/usr/src/pkgsrc/comms/zaptel-netbsd/work/zaptel-netbsd-20060127/zaptel 
-isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem 
/usr/src/sys/../common/include -D_KERNEL -D_LKM -c    zaptel.c
In file included from zaptel.h:328,
                 from zaptel.c:134:
mec2.h: In function 'init_cc':
mec2.h:110: error: invalid lvalue in assignment
mec2.h:122: error: invalid lvalue in assignment
mec2.h:124: error: invalid lvalue in assignment
mec2.h:128: error: invalid lvalue in assignment
mec2.h:132: error: invalid lvalue in assignment
mec2.h:135: error: invalid lvalue in assignment
zaptel.c: In function 'zaptelattach':
zaptel.c:201: error: invalid storage class for function 'zt_initfiles'
cc1: warnings being treated as errors
zaptel.c: At top level:
zaptel.c:336: warning: initialization from incompatible pointer type
zaptel.c:337: warning: initialization from incompatible pointer type
zaptel.c: In function 'zt_clone':
zaptel.c:1964: warning: passing argument 1 of 'falloc' from incompatible 
pointer type
*** Error code 1

Stop.
make: stopped in 
/usr/src/pkgsrc/comms/zaptel-netbsd/work/zaptel-netbsd-20060127/zaptel
*** Error code 1

Stop.
make: stopped in /usr/src/pkgsrc/comms/zaptel-netbsd/work/zaptel-netbsd-20060127
*** Error code 1

Stop.
make: stopped in /usr/src/pkgsrc/comms/zaptel-netbsd
*** Error code 1

Stop.
make: stopped in /usr/src/pkgsrc/comms/zaptel-netbsd


>How-To-Repeat:
type make in the ...pkgsrc/comms/zaptel-netbsd directory.
>Fix:



Home | Main Index | Thread Index | Old Index