Debian Bug report logs -
#664914
desmume: FTBFS: ROMReader.cpp:143:14: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]
Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>
Date: Wed, 21 Mar 2012 20:39:32 UTC
Severity: serious
Tags: patch, sid, wheezy
Found in version desmume/0.9.7-2
Fixed in version desmume/0.9.7-2.1
Done: Peter Michael Green <plugwash@p10link.net>
Bug is archived. No further changes may be made.
Toggle useless messages
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#664914; Package src:desmume.
(Wed, 21 Mar 2012 20:39:35 GMT) (full text, mbox, link).
Acknowledgement sent
to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Wed, 21 Mar 2012 20:39:35 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: desmume
Version: 0.9.7-2
Severity: serious
Tags: wheezy sid
User: debian-qa@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.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#664914; Package src:desmume.
(Wed, 04 Apr 2012 22:39:08 GMT) (full text, mbox, link).
Acknowledgement sent
to peter green <plugwash@p10link.net>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Wed, 04 Apr 2012 22:39:08 GMT) (full text, mbox, link).
Message #10 received at 664914@bugs.debian.org (full text, mbox, reply):
tags 664914 +patch
thanks
> 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]
The issue is that zlib has changed the way gzFile is defined meaning
that we now need to explicitly cast from void * to gzFile in c++ code. I
have attatched a patch that adds the nessacery casts.
The patch contains a NMU changelog entry. If I don't get any response
from the maintainer I will ask my AM to upload this as a NMU.
Added tag(s) patch.
Request was from peter green <plugwash@p10link.net>
to control@bugs.debian.org.
(Wed, 04 Apr 2012 22:39:15 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#664914; Package src:desmume.
(Wed, 04 Apr 2012 22:39:27 GMT) (full text, mbox, link).
Acknowledgement sent
to peter green <plugwash@p10link.net>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Wed, 04 Apr 2012 22:39:27 GMT) (full text, mbox, link).
Message #17 received at 664914@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 664914 +patch
thanks
Sorry forgot to actually attatch it, doing so this time
> 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]
The issue is that zlib has changed the way gzFile is defined meaning
that we now need to explicitly cast from void * to gzFile in c++ code. I
have attatched a patch that adds the nessacery casts.
The patch contains a NMU changelog entry. If I don't get any response
from the maintainer I will ask my AM to upload this as a NMU.
[desmume.diff (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#664914; Package src:desmume.
(Tue, 10 Apr 2012 19:57:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andrea Veri <and@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Tue, 10 Apr 2012 19:57:03 GMT) (full text, mbox, link).
Message #22 received at 664914@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
I've sponsored Peter's patch and uploaded it to DELAYED-3, please let
me know if I should delay it more or just remove the upload.
Thanks in advance,
Andrea
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Peter Michael Green <plugwash@p10link.net>:
You have taken responsibility.
(Fri, 13 Apr 2012 21:12:59 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer.
(Fri, 13 Apr 2012 21:13:06 GMT) (full text, mbox, link).
Message #27 received at 664914-close@bugs.debian.org (full text, mbox, reply):
Source: desmume
Source-Version: 0.9.7-2.1
We believe that the bug you reported is fixed in the latest version of
desmume, which is due to be installed in the Debian FTP archive:
desmume_0.9.7-2.1.diff.gz
to main/d/desmume/desmume_0.9.7-2.1.diff.gz
desmume_0.9.7-2.1.dsc
to main/d/desmume/desmume_0.9.7-2.1.dsc
desmume_0.9.7-2.1_amd64.deb
to main/d/desmume/desmume_0.9.7-2.1_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 664914@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Peter Michael Green <plugwash@p10link.net> (supplier of updated desmume package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 04 Apr 2012 22:09:07 +0000
Source: desmume
Binary: desmume
Architecture: source amd64
Version: 0.9.7-2.1
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Peter Michael Green <plugwash@p10link.net>
Description:
desmume - Nintendo DS emulator
Closes: 664914
Changes:
desmume (0.9.7-2.1) unstable; urgency=low
.
* Non-maintainer upload.
* debian/patches/02_add_gzFile_casts.patch:
Add some casts for compatibility with current zlib (Closes: #664914)
Checksums-Sha1:
6b61112d3edb8627bac09ab6b13fafaaa94fc7c7 2006 desmume_0.9.7-2.1.dsc
976777486c9501ec0f645ee7bc7e9a7b561c51cd 8948 desmume_0.9.7-2.1.diff.gz
a85eccb25d729aa54278d3e1bced43c0ac0fb316 1853824 desmume_0.9.7-2.1_amd64.deb
Checksums-Sha256:
7c02be27290db8c1204edad8c57d2471188ef09bbee62637db9691756ce143bd 2006 desmume_0.9.7-2.1.dsc
fd47ab8bbda24c9952ac87a37287861ad539a1b9f538b798c1358791f9355aaa 8948 desmume_0.9.7-2.1.diff.gz
2beddd23fe05ed676fed2b52cacdee97d73fdfd316a55eea9316d9f6fcbe01cb 1853824 desmume_0.9.7-2.1_amd64.deb
Files:
778bbb5de35a052372e4450b8d6d33e2 2006 games extra desmume_0.9.7-2.1.dsc
91ce3c9882676d0a37e48b973bb09139 8948 games extra desmume_0.9.7-2.1.diff.gz
69b01318cad7acdc89baa6f1fc403282 1853824 games extra desmume_0.9.7-2.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPhIyCAAoJENqGIq6T6/bYH7cP/Ro5V6x23ItNaDy6Z4pZgtZZ
F5F88Zw2mp3MTrmQOpxDzVu2mHC/JcAuv5XUS9GR0+DoOBfQuBpypH9qfOMypHUS
2wtVIjO5Ilkd0i338GtISCcAZfSgjpDw0WA/i4n3El9MavlcKyqxlBkOjbb2SHjG
NRtUEyFsDsf7vBlmBnJf2bQYwcdu2ykbpZbJpLIuH2ePFzd8l8gTnHgyu02kddYC
Xbuq/aHQxFgdUS7oGPAmbLaksTa7m/TvdxKnFS4OY7UBr/+Vs5eDpwzcveMtmAhU
jr4oB5pZRYV4QcHwa/fOG4+fTSxNqohsfOoMLSbuKl+uQqGG270LK9JYzauJDtho
QmTEdYsjtrpSbgePWDVonHpWmjQcN7+3VzS0Qk3MGT0CkCdEWNx5WKJfuHHzQRhk
c4+sEhTvyL9YfgGTMB6mwKih4Vn0Kb05OwTypQDPXCtdNlKiENfEO9yoJ9GCT6nY
M/AXM6SHW7HoKsS+X8vONyJapKKTwlI1Oq/Mc3hUvlOgteiITkX4blCpZHCRE06E
8BhexPn2IETAj5s+xo/uFtjd2U++vHmANWt8KSZek7aGZV/UxyObxvrvmWUMMwRB
gso9oSwJk+j4o+ET5bitJYNymos9Dj+LmEXzkM6IxUd7p8NpQK0u5hMNqr3A5ssm
5uEqADzoWryzBjcqpUyr
=pTlt
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 09 Jun 2012 07:35:19 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 15:23:49 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.