Bug#664914: desmume: FTBFS: ROMReader.cpp:143:14: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]

Lucas Nussbaum lucas at lucas-nussbaum.net
Wed Mar 21 20:25:59 UTC 2012


Source: desmume
Version: 0.9.7-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120321 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> 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=\"/«PKGBUILDDIR»/src/gtk-glade/glade/\" -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/x86_64-linux-gnu/glib-2.0/include    -I/usr/include/alsa   -I/usr/include/agg2      -g -O2 -MT ROMReader.o -MD -MP -MF .deps/ROMReader.Tpo -c -o ROMReader.o ROMReader.cpp
> ROMReader.cpp: In function 'void GZIPROMReaderDeInit(void*)':
> ROMReader.cpp:143:14: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]
> /usr/include/zlib.h:1488:24: error:   initializing argument 1 of 'int gzclose(gzFile)' [-fpermissive]
> ROMReader.cpp: In function 'u32 GZIPROMReaderSize(void*)':
> ROMReader.cpp:153:15: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]
> /usr/include/zlib.h:1424:24: error:   initializing argument 1 of 'int gzrewind(gzFile)' [-fpermissive]
> ROMReader.cpp:154:20: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]
> /usr/include/zlib.h:1452:21: error:   initializing argument 1 of 'int gzeof(gzFile)' [-fpermissive]
> ROMReader.cpp:155:37: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]
> /usr/include/zlib.h:1290:21: error:   initializing argument 1 of 'int gzread(gzFile, voidp, unsigned int)' [-fpermissive]
> ROMReader.cpp:156:15: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]
> /usr/include/zlib.h:1424:24: error:   initializing argument 1 of 'int gzrewind(gzFile)' [-fpermissive]
> ROMReader.cpp: In function 'int GZIPROMReaderSeek(void*, int, int)':
> ROMReader.cpp:163:36: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]
> /usr/include/zlib.h:1698:28: error:   initializing argument 1 of 'off_t gzseek(gzFile, off_t, int)' [-fpermissive]
> ROMReader.cpp: In function 'int GZIPROMReaderRead(void*, void*, u32)':
> ROMReader.cpp:168:34: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]
> /usr/include/zlib.h:1290:21: error:   initializing argument 1 of 'int gzread(gzFile, voidp, unsigned int)' [-fpermissive]
> make[3]: *** [ROMReader.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/21/desmume_0.9.7-2.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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-games-devel mailing list