Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455108 - dev-libs/libmirage-2.0.0 - src/libmirage/mirage-utils.h:25:32: error: redefinition of typedef 'MirageTrackModes'
Summary: dev-libs/libmirage-2.0.0 - src/libmirage/mirage-utils.h:25:32: error: redefin...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexandre Rostovtsev (RETIRED)
URL: https://sourceforge.net/p/cdemu/bugs/59/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-02 11:33 UTC by Anton Romanov
Modified: 2013-02-02 22:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,26.27 KB, text/plain)
2013-02-02 11:33 UTC, Anton Romanov
Details
emerge --info '=dev-libs/libmirage-2.0.0' (info,5.41 KB, text/plain)
2013-02-02 11:35 UTC, Anton Romanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Romanov 2013-02-02 11:33:39 UTC
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
Comment 1 Anton Romanov 2013-02-02 11:35:08 UTC
Created attachment 337662 [details]
emerge --info '=dev-libs/libmirage-2.0.0'
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-02-02 20:43:23 UTC
(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?)
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-02-02 22:03:58 UTC
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).