Bug#869592: forked-daapd FTBFS: error: conflicting types for 'dmap_find_field'

Helmut Grohne helmut at subdivi.de
Mon Jul 24 16:30:59 UTC 2017


Source: forked-daapd
Version: 24.2-2
Severity: serious
User: helmutg at debian.org
Usertags: rebootstrap

forked-daapd fails to build from source in unstable amd64 (presumably
due to the gperf 3.1 upload):

| gcc -DHAVE_CONFIG_H -I. -I..  -D_GNU_SOURCE -DDATADIR="\"/usr/share/forked-daapd\"" -DCONFDIR="\"/etc\"" -DSTATEDIR="\"/var\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/forked-daapd\"" -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT  -I/usr/include/x86_64-linux-gnu -D_THREAD_SAFE -D_REENTRANT -I/usr/include/alsa -D_REENTRANT -I/usr/include/x86_64-linux-gnu  -I/usr/include/p11-kit-1 -I/usr/include/json-c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_LARGEFILE_SOURCE -c -o forked_daapd-dmap_common.o `test -f 'dmap_common.c' || echo './'`dmap_common.c
| In file included from dmap_common.c:34:0:
| dmap_fields.gperf:274:1: error: conflicting types for 'dmap_find_field'
|  /*
|  ^~             
| In file included from dmap_common.c:30:0:
| dmap_common.h:49:1: note: previous declaration of 'dmap_find_field' was here
|  dmap_find_field (register const char *str, register unsigned int len);
|  ^~~~~~~~~~~~~~~
| Makefile:1040: recipe for target 'forked_daapd-dmap_common.o' failed
| make[4]: *** [forked_daapd-dmap_common.o] Error 1
| make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
| Makefile:532: recipe for target 'all' failed
| make[3]: *** [all] Error 2
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
| Makefile:545: recipe for target 'all-recursive' failed
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| Makefile:413: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: make -j1 returned exit code 2
| debian/rules:16: recipe for target 'build-arch' failed
| make: *** [build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Helmut



More information about the pkg-multimedia-maintainers mailing list