FTBFS on armfh - implicit-function-declaration

Bug #2061027 reported by Miriam España Acebal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tcpxtract (Debian)
Fix Released
Unknown
tcpxtract (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

confy.c: In function ‘yyparse’:
confy.c:494:16: error: implicit declaration of function ‘yylex’ [-Werror=implicit-function-declaration]
  494 | # define YYLEX yylex ()
      | ^~~~~
confy.c:950:16: note: in expansion of macro ‘YYLEX’
  950 | yychar = YYLEX;
      | ^~~~~
confy.c:1188:9: error: implicit declaration of function ‘yyerror’; did you mean ‘yyerrok’? [-Werror=implicit-function-declaration]
 1188 | yyerror ("syntax error");
      | ^~~~~~~
      | yyerrok
confy.y: At top level:
confy.y:58:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
   58 | yyerror(char *s)
      | ^~~~~~~
tcpxtract.c: In function ‘main’:
tcpxtract.c:312:5: error: implicit declaration of function ‘yyparse’ [-Werror=implicit-function-declaration]
  312 | yyparse();
      | ^~~~~~~

[...]

confl.l: In function ‘yylex’:
confl.l:28:47: error: implicit declaration of function ‘strdup’ [-Werror=implicit-function-declaration]
   28 | [0-9]+ {yylval.string = strdup(yytext); return NUMBER;}
      | ^~~~~~

from https://launchpadlibrarian.net/724118034/buildlog_ubuntu-noble-armhf.tcpxtract_1.0.1-17build2_BUILDING.txt.gz

Revision history for this message
Miriam España Acebal (mirespace) wrote :

For yyparse function, upstream patch is: https://sourceforge.net/p/tcpxtract/patches/6/

Changed in tcpxtract (Debian):
status: Unknown → New
Changed in tcpxtract (Debian):
status: New → Fix Released
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Fixed in https://bugs.launchpad.net/ubuntu/+source/tcpxtract/+bug/2063015

This bug was fixed in the package tcpxtract - 1.0.1-17ubuntu3

---------------
tcpxtract (1.0.1-17ubuntu3) noble; urgency=medium

  * Update configuration parser to resolve autopkgtest crash (LP: #2063015):
    - d/p/90_terminate_lexem.patch: enable verbose parser errors,
      terminate comment line lexem, match '(' ' ',' and ')' explicitly.
  * d/rules: run smoke test at the build time.

 -- Vladimir Petko <email address hidden> Tue, 23 Apr 2024 15:14:54 +1200

Changed in tcpxtract (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.