freepops: FTBFS: getdate.y:214:33: error: 'cookie' undeclared (first use in this function)

Bug #1277664 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
freepops (Debian)
Fix Released
Unknown
freepops (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/733386:

Source: freepops
Version: 0.2.9-8
Severity: serious
Tags: jessie sid
User: <email address hidden>
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[1]: Entering directory `/«PKGBUILDDIR»'
> building luay
> building dep for luay.c
> compiling luay.c -> luay.o
> linking libluay.a
> building luabind
> building dep for luabind.c
> compiling luabind.c -> luabind.o
> linking libluabind.a
> building oscompatibility
> building dep for win32_compatibility.c
> building dep for c99_compatibility.c
> building dep for beos_compatibility.c
> compiling beos_compatibility.c -> beos_compatibility.o
> compiling c99_compatibility.c -> c99_compatibility.o
> compiling win32_compatibility.c -> win32_compatibility.o
> linking liboscompatibility.a
> building regularexp
> building dep for regularexp.c
> compiling regularexp.c -> regularexp.o
> linking libregularexp.a
> building log
> building dep for log.c
> compiling log.c -> log.o
> linking liblog.a
> building base64
> building dep for base64.c
> compiling base64.c -> base64.o
> linking libbase64.a
> building list
> building dep for list.c
> compiling list.c -> list.o
> linking liblist.a
> building mlex
> building dep for mlex.c
> mlex.c:1008:13: warning: 'print_toklist' defined but not used [-Wunused-function]
> HIDDEN void print_toklist(list_t*l, char *s, int i)
> ^
> mlex.c:1042:13: warning: 'print_anslist' defined but not used [-Wunused-function]
> HIDDEN void print_anslist(list_t *a,char* str)
> ^
> compiling mlex.c -> mlex.o
> linking libmlex.a
> building pid
> building dep for pid.c
> compiling pid.c -> pid.o
> linking libpid.a
> building lock
> building dep for lock.c
> compiling lock.c -> lock.o
> linking liblock.a
> building dictionary
> building dep for dictionary.c
> compiling dictionary.c -> dictionary.o
> linking libdictionary.a
> building stats_lua
> building dep for stats_lua.c
> compiling stats_lua.c -> stats_lua.o
> linking libstats_lua.a
> building session
> building dep for session.c
> compiling session.c -> session.o
> linking libsession.a
> building portablesocket
> building dep for socketcommon.c
> building dep for altsocklib.c
> compiling altsocklib.c -> altsocklib.o
> compiling socketcommon.c -> socketcommon.o
> linking libportablesocket.a
> building pop3server
> building dep for threads.c
> building dep for popstate.c
> building dep for popserver.c
> compiling popserver.c -> popserver.o
> compiling popstate.c -> popstate.o
> compiling threads.c -> threads.o
> linking libpop3server.a
> building pop3server_lua
> building dep for pop3server_lua.c
> compiling pop3server_lua.c -> pop3server_lua.o
> linking libpop3server_lua.a
> building session_lua
> building dep for session_lua.c
> compiling session_lua.c -> session_lua.o
> linking libsession_lua.a
> building serialize_lua
> building log_lua
> building dep for log_lua.c
> compiling log_lua.c -> log_lua.o
> linking liblog_lua.a
> building mlex_lua
> building dep for mlex_lua.c
> compiling mlex_lua.c -> mlex_lua.o
> linking libmlex_lua.a
> building support_lua
> building getdate
> compiling getdate.y -> getdate.o
> getdate.y:223.1-12: warning: deprecated directive, use '%pure-parser' [-Wdeprecated]
> %pure_parser
> ^^^^^^^^^^^^
> getdate.c: In function 'gd_parse':
> getdate.c:1345:7: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
> if (YYMAXDEPTH <= yystacksize)
> ^
> getdate.y:214:33: error: 'cookie' undeclared (first use in this function)
> #define context ((GD_CONTEXT *) cookie)
> ^
> getdate.y:246:6: note: in expansion of macro 'context'
> context->yyHaveTime++;
> ^
> getdate.y:214:33: note: each undeclared identifier is reported only once for each function it appears in
> #define context ((GD_CONTEXT *) cookie)
> ^
> getdate.y:246:6: note: in expansion of macro 'context'
> context->yyHaveTime++;
> ^
> getdate.y: In function 'gd_getdate':
> getdate.y:990:3: error: too many arguments to function 'gd_parse'
> if (yyparse (&cookie)
> ^
> getdate.y:120:17: note: declared here
> #define yyparse gd_parse
> ^
> getdate.c:1233:1: note: in expansion of macro 'yyparse'
> yyparse (void)
> ^
> make[4]: *** [libgetdate.a] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/12/26/freepops_0.2.9-8_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.

Tags: ftbfs trusty
Andreas Moog (ampelbein)
Changed in freepops (Ubuntu):
importance: Undecided → High
tags: added: ftbfs trusty
Changed in freepops (Debian):
importance: Undecided → Unknown
Changed in freepops (Debian):
status: New → Fix Released
Revision history for this message
Andreas Moog (ampelbein) wrote :

This package has been removed from Ubuntu, so I am closing all remaining open bug reports.
Sorry that we couldn't fix your problem properly.

Thank you for your understanding and please continue to report any bugs you may find.

Changed in freepops (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.