Compiling with gcc-4.7 on x86 fails on conflicting declarations in the source file zoom.c. On amd64 it compiles fine. The problem is known in the upstream issue tracker (cf. URL) and a patch is available. Reproducible: Always Relevant parts of the build log: [...] In file included from zoom.c:160:0: zoomd.c:283:20: error: conflicting types for 'fillline_8' zoom.c:144:13: note: previous declaration of 'fillline_8' was here In file included from zoom.c:167:0: zoomd.c:283:20: error: conflicting types for 'fillline_32' zoom.c:147:13: note: previous declaration of 'fillline_32' was here In file included from zoom.c:174:0: zoomd.c:283:20: error: conflicting types for 'fillline_24' zoom.c:146:13: note: previous declaration of 'fillline_24' was here In file included from zoom.c:181:0: zoomd.c:283:20: error: conflicting types for 'fillline_16' zoom.c:145:13: note: previous declaration of 'fillline_16' was here zoom.c:937:1: error: conflicting types for 'moveoldpoints' zoom.c:142:1: note: previous declaration of 'moveoldpoints' was here make[2]: *** [zoom.o] Error 1 [...] i686-pc-linux-gnu-gcc: error: lib/libengine.a: No such file or directory make[1]: *** [/tmp/paludis/x11-misc-xaos-3.5-r1/work/xaos-3.5/bin/xaos] Error 1 make[1]: Leaving directory `/tmp/paludis/x11-misc-xaos-3.5-r1/work/xaos-3.5/src' make: *** [default] Error 2 [...]
Created attachment 331200 [details, diff] Upstream patch fixing the problem
Created attachment 331202 [details, diff] Apply the upstream patch in ebuild
*xaos-3.5-r2 (03 Dec 2012) 03 Dec 2012; Justin Lecher <jlec@gentoo.org> +xaos-3.5-r2.ebuild, +files/xaos-3.5-build-fix-i686.patch, metadata.xml: Add fix for gcc in i686, #445638; http://code.google.com/p/gnuxaos/issues/detail?id=61