Created attachment 337660 [details] build.log [ 4%] Building C object CMakeFiles/filter-daa.dir/src/filters/filter-daa/lzma-sdk/LzmaDec.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -Dfilter_daa_EXPORTS -DHAVE_CONFIG_H -DNDEBUG -march=native -O2 -pipe -fPIC -I/var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0/src/libmirage -I/var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0_build -I/var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0_build/src/libmirage -std=c99 -Wall -Wextra -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0/src/filters/filter-daa/lzma-sdk -o CMakeFiles/filter-daa.dir/src/filters/filter-daa/lzma-sdk/LzmaDec.c.o -c /var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0/src/filters/filter-daa/lzma-sdk/LzmaDec.c In file included from /var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0/src/libmirage/mirage.h:35:0, from /var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0/src/filters/filter-cso/filter-cso.h:29, from /var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0/src/filters/filter-cso/filter-cso-plugin.c:20: /var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0/src/libmirage/mirage-contextual.h:25:28: error: redefinition of typedef 'MirageDisc' /var/tmp/portage/dev-libs/libmirage-2.0.0/work/libmirage-2.0.0/src/libmirage/mirage-context.h:25:28: note: previous declaration of 'MirageDisc' was here
Created attachment 337662 [details] emerge --info '=dev-libs/libmirage-2.0.0'
(In reply to comment #1) > gcc-4.5.3 This error only appears when using gcc-4.5. I recommend that you switch to gcc-4.6 as your system compiler using gcc-config; we don't test packages with compiler versions older than the current stable gcc ebuild (gcc-4.6.3 at the moment), and it is likely that you will run into more gcc-4.5-only problems in the future. (As an aside, if you really wish to stick with gcc-4.5, why are you using 4.5.3 and not 4.5.4, which was added to portage in July and marked stable in August?)
Reported the issue upstream: https://sourceforge.net/p/cdemu/bugs/59/ libmirage-2.0.0 ebuild now dies if you try to build it with <gcc-4.6. + 02 Feb 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + libmirage-2.0.0.ebuild: + Require >=gcc-4.6 to build (bug #455108, thanks to Anton Romanov).