FTBFS on armfh - implicit-function-declaration

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

Bug Description

sn_generation.c:66:1: error: implicit declaration of function ‘input_field’ [-Werror=implicit-function-declaration]
   66 | input_field(msg,NULL,0);
      | ^~~~~~~~~~~
sn_generation.c:67:1: error: implicit declaration of function ‘forced_refresh’ [-Werror=implicit-function-declaration]
   67 | forced_refresh();
      | ^~~~~~~~~~~~~~
sn_generation.c: In function ‘sp_fix_IP_packet’:
sn_generation.c:205:22: error: implicit declaration of function ‘in_cksum’ [-Werror=implicit-function-declaration]
  205 | sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer),
      | ^~~~~~~~
sn_interface.c: In function ‘mask_status’:
sn_interface.c:195:3: warning: assignment to ‘unsigned char *’ from incompatible pointer type ‘_32_bit *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types]
  195 | ad=&(mask->source_ip);
      | ^
sn_interface.c:201:3: warning: assignment to ‘unsigned char *’ from incompatible pointer type ‘_32_bit *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types]
  201 | ad=&(mask->destination_ip);
      | ^
sn_cfgfile.c: In function ‘clean_string’:
sn_cfgfile.c:131:14: error: implicit declaration of function ‘isalnum’ [-Werror=implicit-function-declaration]
  131 | if( (isalnum(string[i]))||(string[i]=='.') )
      | ^~~~~~~
sn_cfgfile.c:17:1: note: include ‘<ctype.h>’ or provide a declaration of ‘isalnum’
   16 | #include "sniffit.h"
  +++ |+#include <ctype.h>
   17 | /* #include "sn_generation.h" */
sn_cfgfile.c: In function ‘clean_filename’:
sn_cfgfile.c:155:15: error: implicit declaration of function ‘iscntrl’ [-Werror=implicit-function-declaration]
  155 | if( !(iscntrl(string[i])) && !(isspace(string[i])) )
      | ^~~~~~~
sn_cfgfile.c:155:15: note: include ‘<ctype.h>’ or provide a declaration of ‘iscntrl’
sn_cfgfile.c:155:40: error: implicit declaration of function ‘isspace’ [-Werror=implicit-function-declaration]
  155 | if( !(iscntrl(string[i])) && !(isspace(string[i])) )
      | ^~~~~~~
sn_cfgfile.c:155:40: note: include ‘<ctype.h>’ or provide a declaration of ‘isspace’
sn_interface.c: In function ‘interaction’:
sn_interface.c:470:25: error: implicit declaration of function ‘isprint’ [-Werror=implicit-function-declaration]
  470 | isprint(*(connection_data+i))?
      | ^~~~~~~

from https://launchpadlibrarian.net/724117947/buildlog_ubuntu-noble-armhf.sniffit_0.5-3build2_BUILDING.txt.gz

Related branches

Changed in sniffit (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sniffit - 0.5-3ubuntu1

---------------
sniffit (0.5-3ubuntu1) noble; urgency=medium

  * d/p/implicit-declaration.patch: cherry-pick upstream patch
    to resolve -Werror=implicit-function-declaration (LP: #2061033).

 -- Vladimir Petko <email address hidden> Mon, 15 Apr 2024 10:10:17 +1200

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