The zlib changes the "#define OF" to "#define _Z_OF" in their header file zconf.h. Relevant other package reports found: https://bugs.gentoo.org/show_bug.cgi?id=383585 https://bugs.gentoo.org/show_bug.cgi?id=383697 https://bugs.gentoo.org/show_bug.cgi?id=383833 Perhaps a bug should be filled, that references to all other bugs. --- >>> Source configured. >>> Compiling source in /var/tmp/portage/games-emulation/zsnes-1.51b-r2/work/zsnes_1_51b/src ... make -j3 makefile.dep i686-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -U_FORTIFY_SOURCE -Wall -I. -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -D__RELEASE__ -fno-rtti -o tools/fileutil.o -c tools/fileutil.cpp i686-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -U_FORTIFY_SOURCE -Wall -I. -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -D__RELEASE__ -fno-rtti -o tools/strutil.o -c tools/strutil.cpp i686-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -U_FORTIFY_SOURCE -Wall -I. -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -D__RELEASE__ -fno-rtti -o tools/depbuild tools/depbuild.cpp tools/fileutil.o tools/strutil.o tools/depbuild.cpp: In function ‘int main(int, const char* const*)’: tools/depbuild.cpp:226:30: warning: comparison between signed and unsigned integer expressions tools/depbuild "i686-pc-linux-gnu-gcc" " -O2 -march=native -pipe -ggdb -U_FORTIFY_SOURCE -Wall -I. -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -D__RELEASE__" nasm " -w-orphan-labels -D__UNIXSDL__ -f elf -DELF -D__OPENGL__ -O1 -D__RELEASE__" cfg.o endmem.o init.o initc.o input.o md.o patch.o ui.o vcache.o version.o zloader.o zmovie.o zpath.o zstate.o ztime.o ztimec.o chips/c4emu.o chips/c4proc.o chips/dsp1emu.o chips/dsp1proc.o chips/dsp2proc.o chips/dsp3emu.o chips/dsp3proc.o chips/dsp4emu.o chips/dsp4proc.o chips/fxemu2.o chips/fxemu2b.o chips/fxemu2c.o chips/fxtable.o chips/obc1emu.o chips/obc1proc.o chips/sa1proc.o chips/sa1regs.o chips/sdd1emu.o chips/seta10.o chips/sfxproc.o chips/st10proc.o chips/7110proc.o chips/seta11.o chips/st11proc.o cpu/dma.o cpu/dsp.o cpu/dspproc.o cpu/execute.o cpu/executec.o cpu/irq.o cpu/memory.o cpu/memtable.o cpu/spc700.o cpu/stable.o cpu/table.o cpu/tablec.o debugasm.o debugger.o gui/gui.o gui/guifuncs.o gui/menu.o effects/burn.o effects/smoke.o effects/water.o jma/7zlzma.o jma/crc32.o jma/iiostrm.o jma/inbyte.o jma/jma.o jma/lzma.o jma/lzmadec.o jma/winout.o jma/zsnesjma.o mmlib/mm.o mmlib/linux.o video/makev16b.o video/makev16t.o video/makevid.o video/mode716.o video/mode716b.o video/mode716d.o video/mode716e.o video/mode716t.o video/mode7.o video/mode7ext.o video/mv16tms.o video/m716text.o video/newg162.o video/newgfx.o video/newgfx16.o video/newgfx2.o video/procvid.o video/procvidc.o video/sw_draw.o video/2xsaiw.o video/hq2x16.o video/hq2x32.o video/hq3x16.o video/hq3x32.o video/hq4x16.o video/hq4x32.o video/ntsc.o video/copyvwin.o linux/audio.o linux/battery.o linux/sdlintrf.o linux/sdllink.o linux/gl_draw.o linux/sw_draw.o linux/safelib.o zip/unzip.o zip/zpng.o > makefile.dep make: `makefile.dep' is up to date. make -j3 i686-pc-linux-gnu-g++ -O2 -march=native -pipe -ggdb -U_FORTIFY_SOURCE -Wall -I. -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -D__RELEASE__ -fno-rtti -o parsegen parsegen.cpp -lz nasm -w-orphan-labels -D__UNIXSDL__ -f elf -DELF -D__OPENGL__ -O1 -D__RELEASE__ -o endmem.o endmem.asm nasm -w-orphan-labels -D__UNIXSDL__ -f elf -DELF -D__OPENGL__ -O1 -D__RELEASE__ -o init.o init.asm i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -U_FORTIFY_SOURCE -Wall -I. -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -D__RELEASE__ -o patch.o -c patch.c nasm -w-orphan-labels -D__UNIXSDL__ -f elf -DELF -D__OPENGL__ -O1 -D__RELEASE__ -o vcache.o vcache.asm In file included from zpath.h:29:0, from patch.c:32: zip/zunzip.h:112:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:125:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:136:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:143:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:151:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:164:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’i686-pc-linux-gnu-gcc -O2 -march=native -pipe -ggdb -U_FORTIFY_SOURCE -Wall -I. -D__UNIXSDL__ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__OPENGL__ -D__RELEASE__ -o version.o -c version.c zip/zunzip.h:170:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:177:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:190:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:216:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:222:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:229:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:243:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:248:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ zip/zunzip.h:253:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’ patch.c: In function ‘reloadBuffer’: patch.c:69:27: warning: implicit declaration of function ‘unzReadCurrentFile’ patch.c: In function ‘deinitPatch’: patch.c:130:5: warning: implicit declaration of function ‘unzCloseCurrentFile’ patch.c:131:5: warning: implicit declaration of function ‘unzClose’ patch.c: In function ‘findZipIPS’: patch.c:256:3: warning: implicit declaration of function ‘unzGoToFirstFile’ patch.c:264:5: warning: implicit declaration of function ‘unzGetCurrentFileInfo’ patch.c:274:5: warning: implicit declaration of function ‘unzGoToNextFile’ patch.c:280:5: warning: implicit declaration of function ‘unzOpenCurrentFile’ make: *** [patch.o] Error 1 make: *** Waiting for unfinished jobs.... parsegen.cpp: In function ‘int main(int, const char* const*)’: parsegen.cpp:1832:22: warning: comparison between signed and unsigned integer expressions emake failed * ERROR: games-emulation/zsnes-1.51b-r2 failed (compile phase): * emake failed Reproducible: Always
Please add complete build log as attachment next time
Why to post the complete build log for something that is completly clear?
in portage. thanks for the bug report.