[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#660415: marked as done (openmsx FTBFS in unstable. /usr/include/zlib.h:1204:26: error: conflicting declaration 'typedef struct gzFile_s* gzFile')



Your message dated Mon, 27 Feb 2012 17:47:39 +0000
with message-id <E1S24fj-0001c2-Uo@franck.debian.org>
and subject line Bug#660415: fixed in openmsx 0.8.2-1
has caused the Debian Bug report #660415,
regarding openmsx FTBFS in unstable. /usr/include/zlib.h:1204:26: error: conflicting declaration 'typedef struct gzFile_s* gzFile'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
660415: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660415
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: openmsx
Severity: serious
Tags: patch
x-debbugs-cc: wijnen@debian.org

openmsx FTBFS in unstable with the following error.

Compiling serialize.cc...
g++ \
		 -MP -MMD -MF derived/x86_64-linux-debian/dep/serialize.d \
		-o derived/x86_64-linux-debian/obj/serialize.o  -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O3   -m64 -pipe -Wall -Wextra -Wundef -Wunused-macros -Wno-missing-field-initializers -Isrc -Isrc/cassette -Isrc/commands -Isrc/config -Isrc/console -Isrc/cpu -Isrc/debugger -Isrc/events -Isrc/fdc -Isrc/file -Isrc/ide -Isrc/input -Isrc/laserdisc -Isrc/memory -Isrc/security -Isrc/serial -Isrc/settings -Isrc/sound -Isrc/thread -Isrc/utils -Isrc/video -Isrc/video/ld -Isrc/video/scalers -Isrc/video/v9990 -Iderived/x86_64-linux-debian/config -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng12 -DPACKAGE_NAME=tcl -DPACKAGE_TARNAME=tcl -DPACKAGE_VERSION=8.5 -DPACKAGE_STRING=tcl\\\ 8.5 -DPACKAGE_BUGREPORT= -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 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_GETATTR_NP=1 -DGETATTRNP_NOT_DECLARED=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=iso8859-1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(hidden\)\)\) -DTCL_SHLIB_EXT=.so -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -I/usr/include/tcl8.5 -I/usr/include/libxml2        -c src/serialize.cc
In file included from src/serialize.cc:15:0:
/usr/include/zlib.h:1204:26: error: conflicting declaration 'typedef struct gzFile_s* gzFile'
src/serialize.hh:20:15: error: 'gzFile' has a previous declaration as 'typedef void* gzFile'
make[1]: *** [derived/x86_64-linux-debian/obj/serialize.o] Error 1
make[1]: Leaving directory `/build/buildd-openmsx_0.8.1-4+b1-amd64-0_JeL0/openmsx-0.8.1'
make: *** [build-stamp] Error 2

This appears to be the result of a change in zlib.h changing how gzfile is defined.

The attatched patch removes the definition of gzfile from serialize.hh and replaces it with an include of zlib.h

Note: I'm ccing wijnen@debian.org as he has expressed an intent to adopt this package.


Description: Fix build with recent zlib
  replace definition of gzFile which conflicts with recent zlib with include
  of zlib.h
Author: Peter Michael Green <plugwash@p10link.net>
Bug-Debian: http://bugs.debian.org/???????

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- openmsx-0.8.1.orig/src/serialize.hh
+++ openmsx-0.8.1/src/serialize.hh
@@ -16,8 +16,7 @@
 #include <sstream>
 #include <cassert>
 #include <memory>
-
-typedef void* gzFile;
+#include <zlib.h>
 
 namespace openmsx {
 

--- End Message ---
--- Begin Message ---
Source: openmsx
Source-Version: 0.8.2-1

We believe that the bug you reported is fixed in the latest version of
openmsx, which is due to be installed in the Debian FTP archive:

openmsx-data_0.8.2-1_all.deb
  to main/o/openmsx/openmsx-data_0.8.2-1_all.deb
openmsx_0.8.2-1.debian.tar.gz
  to main/o/openmsx/openmsx_0.8.2-1.debian.tar.gz
openmsx_0.8.2-1.dsc
  to main/o/openmsx/openmsx_0.8.2-1.dsc
openmsx_0.8.2-1_i386.deb
  to main/o/openmsx/openmsx_0.8.2-1_i386.deb
openmsx_0.8.2.orig.tar.gz
  to main/o/openmsx/openmsx_0.8.2.orig.tar.gz



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 660415@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Wijnen <wijnen@debian.org> (supplier of updated openmsx 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: SHA1

Format: 1.8
Date: Mon, 27 Feb 2012 17:43:05 +0100
Source: openmsx
Binary: openmsx openmsx-data
Architecture: source i386 all
Version: 0.8.2-1
Distribution: unstable
Urgency: low
Maintainer: Bas Wijnen <wijnen@debian.org>
Changed-By: Bas Wijnen <wijnen@debian.org>
Description: 
 openmsx    - MSX emulator that aims for perfection
 openmsx-data - datafiles for openMSX, an MSX emulator
Closes: 634066 649819 659040 660415
Changes: 
 openmsx (0.8.2-1) unstable; urgency=low
 .
   * New upstream release. (Closes: #659040, #649819)
   * Adopting the package. (Closes: #634066)
   * Remove patches which are accepted upstream.
   * Simplify build system.
   * Include zlib.h instead of declaring the struct. (Closes: #660415)
Checksums-Sha1: 
 9be57cfc9ee5c3573f375308b458f4832fa7ee57 1323 openmsx_0.8.2-1.dsc
 06bfb3c649ecc82d129bbe258d2167ea89ebacfa 2881089 openmsx_0.8.2.orig.tar.gz
 9aa2d60cab0635c7f41d83f093c18a4e4d74e351 9653 openmsx_0.8.2-1.debian.tar.gz
 878c2c00f059c4e1f126026e49d3a3a1348f15b7 2012286 openmsx_0.8.2-1_i386.deb
 868b5115b0883c0749e1e7c37d37c65bd6af0b0b 1339434 openmsx-data_0.8.2-1_all.deb
Checksums-Sha256: 
 93e7b4cc8ad57bb1ec61412e02e4b19a6f25864345700d2fd270c0643e990a7a 1323 openmsx_0.8.2-1.dsc
 437c43cda43adb7df84e2ae6180b6e76a9dfd92d177981b0c7d10bf16cc32411 2881089 openmsx_0.8.2.orig.tar.gz
 193d11f1b8b856e979ff7375e4c10204192d035e76cf06a5543dde637353082c 9653 openmsx_0.8.2-1.debian.tar.gz
 eed2652a5125aa888bac76e77516c52a795fc25ad92d8713cf6681ef07fb065b 2012286 openmsx_0.8.2-1_i386.deb
 cabc203f4d1beec838bb8d21fbefd8a0d2d0a0a423bc079694c74bc63ff908ee 1339434 openmsx-data_0.8.2-1_all.deb
Files: 
 270abbdf46507cb39cf81c9b39c86aa3 1323 otherosfs optional openmsx_0.8.2-1.dsc
 42bceabdd89a4986e745f74ac44da631 2881089 otherosfs optional openmsx_0.8.2.orig.tar.gz
 5c999df76f35fe6f2f7604444c708b8f 9653 otherosfs optional openmsx_0.8.2-1.debian.tar.gz
 fcd8f828cd13b99c6f6b0c942845e136 2012286 otherosfs optional openmsx_0.8.2-1_i386.deb
 6ed822289258156e2b23fe98c7d7bf18 1339434 otherosfs optional openmsx-data_0.8.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk9LvtoACgkQFShl+2J8z5XflACfW6SQZ/4FpxrAAfJ1VhCpxzMt
6ywAoKeezdGhHD0agrYUrAJyTVCp78Ys
=+LWw
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: