Bug#746052: libxfont: FTBFS: ../../../src/util/patcache.c:130:1: error: conflicting types for 'CacheFontPattern'
Source: libxfont
Version: 1:1.4.7-1
Severity: serious
Tags: jessie sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20140426 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../../../src/util -I../.. -I../../include/X11/fonts -I../../../include -I../../../src/stubs -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o patcache.lo ../../../src/util/patcache.c
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../src/util -I../.. -I../../include/X11/fonts -I../../../include -I../../../src/stubs -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_XOPEN_SOURCE -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c ../../../src/util/patcache.c -fPIC -DPIC -o .libs/patcache.o
> ../../../src/util/patcache.c:130:1: error: conflicting types for 'CacheFontPattern'
> CacheFontPattern (FontPatternCachePtr cache,
> ^
> In file included from /usr/include/X11/fonts/fontstruct.h:28:0,
> from ../../../src/util/patcache.c:35:
> /usr/include/X11/fonts/font.h:141:18: note: previous declaration of 'CacheFontPattern' was here
> extern void CacheFontPattern (
> ^
> ../../../src/util/patcache.c:176:1: error: conflicting types for 'FindCachedFontPattern'
> FindCachedFontPattern (FontPatternCachePtr cache,
> ^
> In file included from /usr/include/X11/fonts/fontstruct.h:28:0,
> from ../../../src/util/patcache.c:35:
> /usr/include/X11/fonts/font.h:151:21: note: previous declaration of 'FindCachedFontPattern' was here
> extern FontPtr FindCachedFontPattern (
> ^
> make[5]: *** [patcache.lo] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/04/26/libxfont_1.4.7-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.
Reply to: