Bug#733396: ptlib: FTBFS: ptlib/common/getdate.y:112:18: error: conflicting types for 'PTime_yyparse'
David Suárez
david.sephirot at gmail.com
Sat Dec 28 18:20:14 UTC 2013
Source: ptlib
Version: 2.10.10~dfsg-2.1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131226 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> make[4]: Entering directory `/«PKGBUILDDIR»/src'
> [CC] ptclib/psasl.cxx
> [CC] ptclib/pldap.cxx
> [CC] ptclib/pils.cxx
> [CC] ptclib/pssl.cxx
> [CC] ptclib/vsdl.cxx
> [CC] ptclib/podbc.cxx
> ptclib/podbc.cxx: In member function 'void PODBCRecord::Data(PINDEX, PODBC::Field&)':
> ptclib/podbc.cxx:1331:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> SQLBindCol(m_hStmt, Column, SQL_LONGVARCHAR, (SQLPOINTER)Column, 0, &b.dataLen);
> ^
> [CC] ptlib/common/vfakeio.cxx
> [CC] ptlib/common/videoio.cxx
> [CC] ptlib/common/vconvert.cxx
> [CC] ptlib/common/pvidchan.cxx
> [CC] ptlib/common/tinyjpeg.cxx
> [CC] ptlib/common/jidctflt.cxx
> [CC] ptlib/unix/shmvideo.cxx
> [CC] ptlib/common/sound.cxx
> [CC] ptclib/pxml.cxx
> [CC] ptclib/pxmlrpc.cxx
> In file included from /«PKGBUILDDIR»/include/ptlib/psync.h:43:0,
> from /«PKGBUILDDIR»/include/ptlib/critsec.h:34,
> from /«PKGBUILDDIR»/include/ptlib/contain.h:42,
> from /«PKGBUILDDIR»/include/ptlib.h:56,
> from ptclib/pxmlrpc.cxx:34:
> ptclib/pxmlrpc.cxx: In member function 'PXMLElement* PXMLRPCBlock::GetParam(PINDEX) const':
> /«PKGBUILDDIR»/include/ptlib/object.h:108:18: warning: converting 'false' to pointer type 'PXMLElement*' [-Wconversion-null]
> # define PFalse false
> ^
> ptclib/pxmlrpc.cxx:730:12: note: in expansion of macro 'PFalse'
> return PFalse;
> ^
> [CC] ptclib/pxmlrpcs.cxx
> [CC] ptclib/psoap.cxx
> [CC] ptclib/vxml.cxx
> [CC] ptclib/xmpp.cxx
> [CC] ptclib/xmpp_c2s.cxx
> [CC] ptclib/xmpp_muc.cxx
> [CC] ptclib/xmpp_roster.cxx
> [CC] ptclib/pdns.cxx
> [CC] ptclib/enum.cxx
> [CC] ptclib/ptts.cxx
> [CC] ptclib/asner.cxx
> [CC] ptclib/pasn.cxx
> [CC] ptclib/snmpclnt.cxx
> [CC] ptclib/snmpserv.cxx
> [CC] ptclib/psnmp.cxx
> [CC] ptclib/snmp.cxx
> [CC] ptclib/rfc1155.cxx
> [CC] ptclib/ftpclnt.cxx
> [CC] ptclib/ftpsrvr.cxx
> [CC] ptclib/ftp.cxx
> [CC] ptclib/telnet.cxx
> [CC] ptclib/pstun.cxx
> [CC] ptclib/pnat.cxx
> [CC] ptclib/socks.cxx
> [CC] ptlib/unix/pipechan.cxx
> [CC] ptlib/unix/remconn.cxx
> [CC] ptclib/pwavfile.cxx
> [CC] ptclib/pwavfiledev.cxx
> [CC] ptclib/dtmf.cxx
> [CC] ptlib/unix/serchan.cxx
> [CC] ptclib/modem.cxx
> [CC] ptclib/inetmail.cxx
> [CC] ptclib/url.cxx
> [CC] ptclib/http.cxx
> [CC] ptclib/httpclnt.cxx
> [CC] ptclib/html.cxx
> [CC] ptclib/httpsrvr.cxx
> [CC] ptclib/httpform.cxx
> [CC] ptlib/unix/svcproc.cxx
> ptlib/unix/svcproc.cxx: In member function 'int PServiceProcess::InitialiseService()':
> ptlib/unix/svcproc.cxx:353:22: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result]
> seteuid(getuid()); // Switch back to starting uid for next call
> ^
> ptlib/unix/svcproc.cxx:355:17: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result]
> seteuid(uid);
> ^
> ptlib/unix/svcproc.cxx:366:24: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result]
> seteuid(getuid()); // Switch back to starting uid for next call
> ^
> ptlib/unix/svcproc.cxx:375:19: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result]
> seteuid(uid);
> ^
> [CC] ptclib/httpsvc.cxx
> [CC] ptclib/shttpsvc.cxx
> [CC] ptlib/unix/config.cxx
> [CC] ptclib/pvidfile.cxx
> [CC] ptclib/pvfiledev.cxx
> [CC] ptclib/pffvdev.cxx
> [CC] ptlib/unix/uicmp.cxx
> [CC] ptlib/unix/socket.cxx
> [CC] ptlib/unix/udll.cxx
> [CC] ptlib/unix/channel.cxx
> [CC] ptlib/unix/osutil.cxx
> [CC] ptlib/unix/tlib.cxx
> [CC] ptlib/unix/switch.cxx
> [CC] ptclib/cli.cxx
> [CC] ptclib/threadpool.cxx
> [CC] ptclib/ipacl.cxx
> [CC] ptclib/qchannel.cxx
> [CC] ptclib/delaychan.cxx
> [CC] ptclib/memfile.cxx
> [CC] ptclib/cypher.cxx
> [CC] ptclib/random.cxx
> [CC] ptclib/inetprot.cxx
> [CC] ptlib/common/notifier_ext.cxx
> [CC] ptclib/vcard.cxx
> [CC] ptclib/guid.cxx
> bison ptlib/common/getdate.y -o ptlib/common/getdate.tab.c
> ptlib/common/getdate.y:135.1-12: warning: deprecated directive, use '%pure-parser' [-Wdeprecated]
> %pure_parser
> ^^^^^^^^^^^^
> ptlib/common/getdate.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr]
> ptlib/common/getdate.y: warning: 18 reduce/reduce conflicts [-Wconflicts-rr]
> [CC] ptlib/common/getdate.tab.c
> ptlib/common/getdate.y:112:18: error: conflicting types for 'PTime_yyparse'
> #define yyparse PTime_yyparse
> ^
> ptlib/common/getdate.tab.c:271:5: note: in expansion of macro 'yyparse'
> int yyparse (void);
> ^
> ptlib/common/getdate.y:112:18: note: previous declaration of 'PTime_yyparse' was here
> #define yyparse PTime_yyparse
> ^
> ptlib/common/getdate.y:120:12: note: in expansion of macro 'yyparse'
> static int yyparse(void *);
> ^
> ptlib/common/getdate.y: In function 'PTime_yyparse':
> ptlib/common/getdate.y:105:38: error: 'parseParam' undeclared (first use in this function)
> #define VARIABLE ((struct Variables*)parseParam)
> ^
> ptlib/common/getdate.y:158:6: note: in expansion of macro 'VARIABLE'
> VARIABLE->yyHaveTime++;
> ^
> ptlib/common/getdate.y:105:38: note: each undeclared identifier is reported only once for each function it appears in
> #define VARIABLE ((struct Variables*)parseParam)
> ^
> ptlib/common/getdate.y:158:6: note: in expansion of macro 'VARIABLE'
> VARIABLE->yyHaveTime++;
> ^
> ptlib/common/getdate.y: In function 'PTimeParse':
> ptlib/common/getdate.y:981:5: error: too many arguments to function 'PTime_yyparse'
> yyparse(&var);
> ^
> ptlib/common/getdate.y:112:18: note: declared here
> #define yyparse PTime_yyparse
> ^
> ptlib/common/getdate.tab.c:1159:1: note: in expansion of macro 'yyparse'
> yyparse (void)
> ^
> make[4]: *** [/«PKGBUILDDIR»/lib_linux_x86_64/obj/getdate.tab.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2013/12/26/ptlib_2.10.10~dfsg-2.1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-voip-maintainers
mailing list