[xml/sgml-pkgs] Bug#741839: refdb: FTBFS: readln.h:27:3: error: unknown type name 'Function'

David Suárez david.sephirot at gmail.com
Sun Mar 16 13:00:41 UTC 2014


Source: refdb
Version: 1.0.2-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140315 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

On new readline versions old-style function typedefs have been deprecated.

Relevant part (hopefully):
> gcc -DPACKAGE_NAME=\"refdb\" -DPACKAGE_TARNAME=\"refdb\" -DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"refdb\ 1.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"refdb\" -DVERSION=\"1.0.2\" -D_GNU_SOURCE=1 -DREADLINE42=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_MKFIFO=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOLL=1 -DHAVE_ATOLL=1 -I.  -DSYSCONFDIR=\"/etc/refdb\" -DULLSPEC=\"%llu\" -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -O2 -c -o refdbib.o refdbib.c
> In file included from refdbib.c:48:0:
> readln.h:27:3: error: unknown type name 'Function'
>    Function *func;  /* Function to call to do the job. */
>    ^
> refdbib.c: In function 'make_rawbib':
> refdbib.c:1133:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
>      fprintf(stderr, "%d byte written to %s\n", byte_written, slvals.outfile);
>      ^
> refdbib.c: In function 'make_texbib':
> refdbib.c:1241:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
>    sprintf(cmd_buffer+strlen(cmd_buffer), " %d", strlen(slvals.outbuffer)+TERM_LEN); 
>    ^
> refdbib.c:1412:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
>      fprintf(stderr, "%d byte written to %s\n", byte_written, slvals.outfile);
>      ^
> make[3]: *** [refdbib.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/refdb_1.0.2-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.



More information about the debian-xml-sgml-pkgs mailing list