Package: portslave
Version: 2004.03.26
Severity: serious
Tags: patch

Hi,

building the package portslave in a clean build environment
(with pbuilder) on i386 results in:

=========================================================================
[...]
make[2]: Entering directory `/tmp/buildd/portslave-2004.03.26/src'
gcc -O2  -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic 
-I../ppp-2.4.1/pppd -DNO_CHAP -I/usr/include/net -fPIC -DPIC -c -o libpsr_pic.o 
libpsr.c
libpsr.c:15:18: pppd.h: No such file or directory
libpsr.c:22:17: fsm.h: No such file or directory
libpsr.c:23:17: lcp.h: No such file or directory
libpsr.c:24:18: ipcp.h: No such file or directory
In file included from server.h:5,
                 from libpsr.c:26:
../pslave_cfg.h:34:18: pppd.h: No such file or directory
In file included from server.h:7,
                 from libpsr.c:26:
rwconf.h:27: error: parse error before "bool"
rwconf.h:27: warning: no semicolon at end of struct or union
[...]
libpsr.c: In function `ul_ppp_ipup':
libpsr.c:350: error: `ipparam' undeclared (first use in this function)
libpsr.c:352: error: invalid use of undefined type `struct auth'
libpsr.c:352: error: invalid use of undefined type `struct auth'
libpsr.c:353: error: invalid use of undefined type `struct auth'
libpsr.c:353: error: invalid use of undefined type `struct auth'
libpsr.c:354: error: invalid use of undefined type `struct auth'
libpsr.c:354: error: invalid use of undefined type `struct auth'
libpsr.c:355: error: invalid use of undefined type `struct auth'
libpsr.c:356: error: invalid use of undefined type `struct auth'
libpsr.c:356: error: `ipcp_gotoptions' undeclared (first use in this function)
libpsr.c:357: error: invalid use of undefined type `struct auth'
libpsr.c:360: error: invalid use of undefined type `struct auth'
libpsr.c: At top level:
libpsr.c:366: warning: `struct wordlist' declared inside parameter list
libpsr.c:367: error: conflicting types for `rad_make_wordlist'
libpsr.c:48: error: previous declaration of `rad_make_wordlist'
libpsr.c: In function `rad_make_wordlist':
libpsr.c:372: error: invalid application of `sizeof' to an incomplete type
libpsr.c:373: error: dereferencing pointer to incomplete type
libpsr.c:373: error: invalid use of undefined type `struct wordlist'
libpsr.c:374: error: dereferencing pointer to incomplete type
libpsr.c:375: error: dereferencing pointer to incomplete type
libpsr.c: At top level:
libpsr.c:33: error: storage size of `thisauth' isn't known
make[2]: *** [libpsr_pic.o] Error 1
make[2]: Leaving directory `/tmp/buildd/portslave-2004.03.26/src'
make[1]: *** [ALL] Error 2
make[1]: Leaving directory `/tmp/buildd/portslave-2004.03.26'
make: *** [build-stamp] Error 2
=========================================================================

Changing the -I reference in debian/rules from /usr/include/net to
/usr/include/pppd fixes this problem. If the bug is in ppp (i.e. ppp.h should
stay in /usr/include/net), feel free to reassign the bug there.

Thanks for considering.


--
DARTS - Debian Archive Regression Test Suite
http://darts.alioth.debian.org/

Please note that this report has not been generated fully automatically.
DARTS just helped finding the problem.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to