Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with Boost 1.72: no member named 'end' in namespace 'boost'; did you mean simply 'end'? #7731

Open
Al2Klimov opened this issue Dec 30, 2019 · 2 comments

Comments

@Al2Klimov
Copy link
Contributor

@Al2Klimov Al2Klimov commented Dec 30, 2019

Describe the bug

On MacOS 387c2c8 fails to build with the error quoted above.

To Reproduce

mkdir -p build2-osx
cd build2-osx

cmake \
	"-DCMAKE_INSTALL_PREFIX=$(dirname "$(pwd)")/prefix2-osx" \
	"-DICINGA2_USER=$(whoami)" \
	-DICINGA2_GROUP=staff \
	-DICINGA2_COMMAND_GROUP=staff \
	"-DICINGA2_PLUGINDIR=$(dirname "$(pwd)")/prefix-osx/usr/lib/nagios/plugins" \
	-DICINGA2_WITH_MYSQL=OFF \
	-DICINGA2_WITH_PGSQL=OFF \
	-DBoost_NO_BOOST_CMAKE=ON \
	..

make -j2 install

Expected behavior

It compiles.

Your Environment

MacOS 10.15.2 with brew

Additional context

I actually switched to boost 1.66, but this may hit us sooner or later on Linux, too.

@dnsmichi

This comment has been minimized.

Copy link
Member

@dnsmichi dnsmichi commented Jan 2, 2020

Same as #7730 with Boost 1.72.

@dnsmichi

This comment has been minimized.

Copy link
Member

@dnsmichi dnsmichi commented Jan 9, 2020

In order to fix the development environment on macOS until 1.73 is released:

wget https://www.boost.org/patches/1_72_0/0001-revert-cease-dependence-on-range.patch
patch -p0 < 0001-revert-cease-dependence-on-range.patch

File to patch: /usr/local/include/boost/coroutine/asymmetric_coroutine.hpp
@dnsmichi dnsmichi added the area/setup label Jan 9, 2020
@dnsmichi dnsmichi changed the title error: no member named 'end' in namespace 'boost'; did you mean simply 'end'? Build error with Boost 1.72: no member named 'end' in namespace 'boost'; did you mean simply 'end'? Jan 15, 2020
@dnsmichi dnsmichi added the stalled label Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.