Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654360 - emerge app-portage/eix-0.33.2 fails on MacOS due to no member named 'emplace_back' in 'std::__1::vector<bool, std::__1::allocator<bool> >'
Summary: emerge app-portage/eix-0.33.2 fails on MacOS due to no member named 'emplace_...
Status: RESOLVED DUPLICATE of bug 649558
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-29 19:30 UTC by Askar Bektassov
Modified: 2018-05-29 11:50 UTC (History)
1 user (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 Askar Bektassov 2018-04-29 19:30:46 UTC
According to compiler, there is no member named 'emplace_back' in 'std::__1::vector<bool, std::__1::allocator<bool> >', despite the compiler has been invoked with -std=c++11 parameter, necessary for this implementation.

Reproducible: Always

Steps to Reproduce:
1. Update the tree
2. Emerge eix (you may want to use MAKEOPTS="-j1")
3. Wait until it fails
Actual Results:  
cache/parse/parse.cc:382:17: error: no member named 'emplace_back' in 'std::__1::vector<bool, std::__1::allocator<bool> >'
                further_works.PUSH_BACK((*it)->readCategoryPrepare(cat_name));
                ~~~~~~~~~~~~~ ^
./eixTk/dialect.h:49:19: note: expanded from macro 'PUSH_BACK'
#define PUSH_BACK emplace_back
                  ^
2 warnings and 1 error generated.
make[2]: *** [Makefile:1656: cache/parse/parse.o] Error 1
make[2]: Leaving directory '/Users/askarbektassov/Gentoo/var/tmp/portage/app-portage/eix-0.33.2/work/eix-0.33.2/src'
make[1]: *** [Makefile:513: all-recursive] Error 1
make[1]: Leaving directory '/Users/askarbektassov/Gentoo/var/tmp/portage/app-portage/eix-0.33.2/work/eix-0.33.2'
make: *** [Makefile:433: all] Error 2
 * ERROR: app-portage/eix-0.33.2::gentoo_prefix failed (compile phase):
 *   emake failed
Comment 1 Fabian Groffen gentoo-dev 2018-05-29 10:01:00 UTC
Should we use a more recent C++ standard perhaps?
Comment 2 Martin Väth 2018-05-29 11:50:30 UTC
See bug 649558: The problem is that std::vector<bool>::emplace_back differs from std::vector<anything else>::emplace_back in that the former is not necessarily available in C++-11. This has been fixed in eix-0.33.3

*** This bug has been marked as a duplicate of bug 649558 ***