Bug#618778: desmume: FTBFS on kfreebsd-*: error: conflicting declaration 'typedef __mode_t mode_t'

Cyril Brulebois kibi at debian.org
Fri Mar 18 13:00:36 UTC 2011


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

Hi,

your package no longer builds on kfreebsd-*:
| g++ -DPACKAGE_NAME=\"desmume\" -DPACKAGE_TARNAME=\"desmume\" -DPACKAGE_VERSION=\"0.9.7\" -DPACKAGE_STRING=\"desmume\ 0.9.7\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"desmume\" -DVERSION=\"0.9.7\" -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 -DSVN_REV=\"r0\" -DHAVE_LIBZ=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_LIBDL=1 -DHAVE_LIBGL=1 -DHAVE_LIBOSMESA=1 -DGLADEUI_UNINSTALLED_DIR=\"/build/buildd-desmume_0.9.7-1-kfreebsd-amd64-MMjfdv/desmume-0.9.7/src/gtk-glade/glade/\" -DFAKE_MIC=1 -DHAVE_LIBAGG=1 -DGETTEXT_PACKAGE=\"desmume\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DGDB_STUB=1 -I.  -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/agg2      -g -O2 -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o `test -f 'utils/libfat/cache.cpp' || echo './'`utils/libfat/cache.cpp
| In file included from /usr/include/stdlib.h:320:0,
|                  from utils/libfat/mem_allocate.h:34,
|                  from utils/libfat/cache.cpp:43:
| /usr/include/sys/types.h:72:18: error: conflicting declaration 'typedef __mode_t mode_t'
| utils/libfat/libfat_pc.h:69:18: error: 'mode_t' has a previous declaration as 'typedef uint32_t mode_t'
| make[3]: *** [cache.o] Error 1

Wild guess, you're trying to redefine a type in a custom header due to
missing/wrong detection of a possibly existing one?

Full build logs:
  https://buildd.debian.org/status/package.php?p=desmume&suite=sid

KiBi.





More information about the Pkg-games-devel mailing list