urjtag: FTBFS: svf_bison.c:1494:7: error: too few arguments to function 'urj_svf_lex'

Bug #1282273 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
urjtag (Debian)
Fix Released
Unknown
urjtag (Ubuntu)
Fix Released
High
Unassigned

Bug Description

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

Source: urjtag
Version: 0.10+r2007-1
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):
> /bin/bash ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include/urjtag -I../.. -I../../include -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o svf_bison.lo svf_bison.c
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include/urjtag -I../.. -I../../include -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c svf_bison.c -fPIC -DPIC -o .libs/svf_bison.o
> svf_bison.c: In function 'urj_svf_parse':
> svf_bison.c:1494:7: error: too few arguments to function 'urj_svf_lex'
> yychar = yylex (&yylval, &yylloc);
> ^
> svf_bison.c:64:25: note: declared here
> #define yylex urj_svf_lex
> ^
> svf_bison.y:46:5: note: in expansion of macro 'yylex'
> int yylex (YYSTYPE *, YYLTYPE *, void *);
> ^
> make[4]: *** [svf_bison.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/12/26/urjtag_0.10+r2007-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.

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

This bug was fixed in the package urjtag - 0.10+r2007-1.2

---------------
urjtag (0.10+r2007-1.2) unstable; urgency=medium

  * Non-maintainer upload.
  * debian/patches/0010_prefix_REG.patch: (Closes: #756827)
    - Prefix all REG_* with BFIN_REG to not clash with enumerators defined in
     /usr/include/sys/ucontext.h, this fixes
     FTBFS: error: redeclaration of enumerator 'REG_R0'

 -- Andreas Moog <email address hidden> Fri, 12 Sep 2014 20:43:07 +0200

urjtag (0.10+r2007-1.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Apply patch from upstream git to build with bison 3.x. This fixes
    FTBFS: error: too few arguments to function 'urj_svf_lex'
    (Closes: #733355)

 -- Andreas Moog <email address hidden> Wed, 19 Feb 2014 21:50:12 +0100

Changed in urjtag (Ubuntu):
status: New → Fix Released
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.