FS#27100 - [p3scan] doesn't build

Attached to Project: Community Packages
Opened by Andrea Scarpino (BaSh) - Saturday, 19 November 2011, 10:48 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 21 November 2011, 13:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
gcc -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c p3scan.c
p3scan.c: In function 'send_mailfile':
p3scan.c:1028:36: warning: variable 'gottxt' set but not used [-Wunused-but-set-variable]
p3scan.c: In function 'proxy':
p3scan.c:1570:8: warning: variable 'smtprstlb' set but not used [-Wunused-but-set-variable]
p3scan.c: In function 'main':
p3scan.c:2887:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
In file included from /usr/include/fcntl.h:267:0,
from p3scan.c:53:
In function 'open',
inlined from 'p3_mkstemp' at p3scan.c:369:9:
/usr/include/bits/fcntl2.h:45:26: error: call to '__open_too_many_args' declared with attribute error: open can be called either with 2 or 3 arguments, not more
p3scan.c: In function 'set_defaultparams':
p3scan.c:1201:21: warning: array subscript is above array bounds [-Warray-bounds]
make: *** [p3scan.o] Error 1

Additional info:
* p3scan 2.3.2-5

Steps to reproduce:
Try to build it.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 21 November 2011, 13:10 GMT
Reason for closing:  Fixed

Loading...