[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#749634: fbb: Conflicting declarations of function fbb_open



Package: fbb
Version: 7.04j-8.2
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.

[...]
gcc -Wall -Wstrict-prototypes -O2 -g -funsigned-char  -D__LINUX__ -DPROTOTYPES -I../include -DUSE_NCURSES -o xfbbd xfbbd.o fbb_orb.o arbre.o autobin.o balise.o bidexms.o conf.o console.o date.o devio.o dos_1.o dos_dir.o driver.o drv_aea.o drv_ded.o drv_hst.o drv_kam.o drv_mod.o drv_pop.o drv_sock.o drv_tcp.o edit.o ems.o error.o exec_pg.o fbb_conf.o fortify.o forward.o fwdovl1.o fwdovl2.o fwdovl3.o fwdovl4.o fwdovl5.o fwdovl6.o fwdovl7.o fwdutil.o gesfic.o ibm.o info.o init.o init_srv.o init_tnc.o initfwd.o initport.o k_tasks.o kernel.o lzhuf.o maint_fw.o mbl_edit.o mbl_expo.o mbl_impo.o mbl_kill.o mbl_lc.o mbl_list.o mbl_log.o mbl_menu.o mbl_opt.o mbl_prn.o mbl_read.o mbl_rev.o mbl_stat.o mbl_sys.o mbl_user.o mblutil.o md5c.o modem.o nomenc.o nouvfwd.o pac_crc.o pacsat.o qraloc.o redist.o rx25.o serv.o serveur.o statis.o themes.o tnc.o tncio.o trait.o trajec.o trajovl.o variable.o warning.o watchdog.o waveplay.o wp.o wp_mess.o wpserv.o xfwd.o xmodem.o yapp.o -L/usr/lib -lm -lax25

error: conflicting function declarations "fbb_open"
old definition in module xfbbd file ../include/fbb_dec.h line 529
signed int (char *, signed int, ...)
new definition in module gesfic file gesfic.c line 375
signed int (char *filename, signed int acces, unsigned int mode)
Makefile:127: recipe for target 'xfbbd' failed
make[2]: *** [xfbbd] Error 64

While it may be argued that these should be accepted, there really seems to be
some error here: fbb_dec.h would declare a function of appropriate type:

http://sources.debian.net/src/fbb/7.04j-8.2/include/fbb_dec.h?hl=527#L526

Yet the declaration of line 529 is being used, which means that FBB_IO is not
defined.

Best,
Michael

Attachment: pgpQx_gzGr4KR.pgp
Description: PGP signature


Reply to: