games-emulation/openmsx-0.8.1 fails but I found a way to fix it and maybe you should do it Reproducible: Always Steps to Reproduce: 1.emerge games-emulation/openmsx Actual Results: ... Compiling serialize.cc... Compiling serialize_core.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: *** [derived/x86_64-linux-opt/obj/serialize.o] Error 1 make: *** Waiting for unfinished jobs.... emake failed * ERROR: games-emulation/openmsx-0.8.1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2156: Called die * The specific snippet of code: * emake CXXFLAGS="${CXXFLAGS}" INSTALL_SHARE_DIR="${GAMES_DATADIR}"/${PN} || die * * If you need support, post the output of 'emerge --info =games-emulation/openmsx-0.8.1', * the complete build log and the output of 'emerge -pqv =games-emulation/openmsx-0.8.1'. * The complete build log is located at '/var/tmp/portage/games-emulation/openmsx-0.8.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/openmsx-0.8.1/temp/environment'. * S: '/var/tmp/portage/games-emulation/openmsx-0.8.1/work/openmsx-0.8.1' >>> Failed to emerge games-emulation/openmsx-0.8.1, Log file: Expected Results: emerged successfuly This is what I did to fix it: Google lead me to this: http://lists.debian.org/debian-qa-packages/2012/02/msg00171.html and then: cd /var/tmp/portage/games-emulation/openmsx-0.8.1/work/openmsx-0.8.1 vi src/serialize.hh removed : typedef void* gzFile; added : #include <zlib.h> make make install -> everything went ok
i can confirm this issue and the fix too.
I tried resolving this by upgrading to openMSX 0.8.2 but unfortunately the problem is still present in that version. It's easy to work around, fortunately. I'll attach an updated ebuild.
Created attachment 320588 [details] Working ebuild for openMSX 0.8.2
attach the patch and an ebuild diff (not an entire build) if there are significant changes other than an epatch line
Created attachment 320592 [details, diff] Patch from openmsx-0.8.1.ebuild to openmsx-0.8.2.ebuild
probably fixed with 0.9.1. reopen if not.