Dr-Terrible / ineluctable-overlay

Ineluctable Overlay offers a repository of Gentoo ebuilds for projects that I am interested in, or are not yet available through Portage tree.
GNU General Public License v2.0
11 stars 4 forks source link

[x11-misc/polybar] (v2.5.2) error: 'map' does not name a type #18

Closed Dr-Terrible closed 7 years ago

Dr-Terrible commented 7 years ago

MAKEOPTS="-j1" USE="-* xrender python_targets_python2_7" emerge -1av --nodeps --quiet-build n --fail-clean n ~x11-misc/polybar-2.5.2 produces the following compilation error:

[ 54%] Building CXX object bin/CMakeFiles/polybar.dir/utils/bspwm.cpp.o
cd /var/tmp/portage/x11-misc/polybar-2.5.2-r1/work/polybar-2.5.2_build/bin && /usr/bin/x86_64-pc-linux-gnu-g++   -I/usr/include/freetype2 -I/var/tmp/portage/x11-misc/polybar-2.5.2-r1/work/polybar-2.5.2/include -I/var/tmp/portage/x11-misc/polybar-2.5.2-r1/work/polybar-2.5.2/lib/concurrentqueue/include -I/var/tmp/portage/x11-misc/polybar-2.5.2-r1/work/polybar-2.5.2_build/bin -I/var/tmp/portage/x11-misc/polybar-2.5.2-r1/work/polybar-2.5.2/lib/xpp/include   -DNDEBUG -march=native -O2 -pipe -ftracer -frecord-gcc-switches -fno-stack-protector  -Wabi -fabi-version=8  -w -Wno-all -Wno-dev  -ffunction-sections -fdata-sections  -g0 -Wall -Wextra -Werror -O2 -pedantic -pedantic-errors   -pthread -std=c++14 -o CMakeFiles/polybar.dir/utils/bspwm.cpp.o -c /var/tmp/portage/x11-misc/polybar-2.5.2-r1/work/polybar-2.5.2/src/utils/bspwm.cpp
In file included from /var/tmp/portage/x11-misc/polybar-2.5.2-r1/work/polybar-2.5.2/src/utils/bspwm.cpp:6:0:
/var/tmp/portage/x11-misc/polybar-2.5.2-r1/work/polybar-2.5.2/include/x11/connection.hpp:185:3: error: 'map' does not name a type
   map<uint8_t, Visual*> m_visual;

Most probably it's an upstream bug due to ambiguous C++ API namespaces.

bpinto commented 7 years ago

Does this happen only when xrender is enabled?