Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255711 - eix-10.5.3 fails to build
Summary: eix-10.5.3 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 256413 257035 257284 (view as bug list)
Depends on:
Blocks: 255994
  Show dependency tree
 
Reported: 2009-01-20 23:38 UTC by Michał Bartoszkiewicz
Modified: 2009-02-02 01:38 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Bartoszkiewicz 2009-01-20 23:38:57 UTC
eix-10.5.3 fails to build with:
portage/conf/portagesettings.cc: In constructor 'PortageSettings::PortageSettings(EixRc&, bool, bool)':
portage/conf/portagesettings.cc:303: error: no match for 'operator!=' in 'it != std::vector<_Tp, _Alloc>::rend() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]()'
./portage/keywords.h:79: note: candidates are: bool operator!=(const MaskFlags&, const MaskFlags&)
./portage/keywords.h:150: note:                 bool operator!=(const KeywordsFlags&, const KeywordsFlags&)
./portage/basicversion.h:84: note:                 bool operator!=(const BasicVersion&, const BasicVersion&)
./portage/version.h:134: note:                 bool operator!=(const Version&, const Version&)
./portage/instversion.h:59: note:                 bool operator!=(const InstVersion&, const InstVersion&)

I'm using gcc version 4.2.1 (Apple Inc. build 5566) and it seems that it doesn't allow comparing reverse_iterator and const_reverse_iterator.
Comment 1 Fabian Groffen gentoo-dev 2009-01-21 08:34:59 UTC
confirmed here.
Comment 2 Martin Väth 2009-01-21 10:12:50 UTC
Is this the only occurrence of the problem, i.e. does it work if you replace
const_reverse_iterator by reverse_iterator in line 302 of
portage/conf/portagesettings.cc?
Comment 3 Fabian Groffen gentoo-dev 2009-01-21 10:18:56 UTC
said change fixes the compilation.
Comment 4 Martin Väth 2009-01-21 12:15:11 UTC
Thanks for testing.
I checked in this change in current svn eix trunk (>=eix-0.15.4).
Comment 5 Fabian Groffen gentoo-dev 2009-01-22 19:58:20 UTC
*** Bug 255994 has been marked as a duplicate of this bug. ***
Comment 6 Fabian Groffen gentoo-dev 2009-01-22 19:58:48 UTC
patch from upstream applied in the ebuild
Comment 7 Martin Väth 2009-01-26 19:24:20 UTC
*** Bug 256413 has been marked as a duplicate of this bug. ***
Comment 8 Martin Väth 2009-01-31 13:01:48 UTC
*** Bug 257035 has been marked as a duplicate of this bug. ***
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-02-02 01:38:23 UTC
*** Bug 257284 has been marked as a duplicate of this bug. ***