Bug#580728: bristol: FTBFS on kfreebsd-i386: error: conflicting types for 'ftell'

Cyril Brulebois kibi at debian.org
Sat May 8 03:02:29 UTC 2010


Source: bristol
Version: 0.60.2-1
Severity: serious
Justification: FTBFS
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

Hi,

your package FTBFS on kfreebsd-i386:
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioNetClient.c  -fPIC -DPIC -o .libs/audioNetClient.o
| In file included from audioNetClient.c:50:
| ./../include/slab/socketToolKit.h:81: error: conflicting types for 'ftell'
| /usr/include/stdio.h:727: note: previous declaration of 'ftell' was here
| make[3]: *** [audioNetClient.lo] Error 1

Full build logs:
  https://buildd.debian.org/status/package.php?p=bristol

Just for the record, some header dig-up follows.

system's stdio.h:
| extern long int ftell (FILE *__stream) __wur;

package's socketToolKit.h:
| off_t ftell(), tell();

which AFAICT, after some defines boils down to:
| /usr/include/machine-i386/_types.h:typedef	long long		__int64_t;
| /usr/include/machine-amd64/_types.h:typedef	long			__int64_t;

which would explain why it builds on kfreebsd-amd64 but not on
kfreebsd-i386.

Mraw,
KiBi.





More information about the pkg-multimedia-maintainers mailing list