x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/dbus-1.0 - I/usr/lib64/dbus-1.0/include -DCONFDIR='"/etc/conf.d"' -march=native -mtune=native -O2 -pipe -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused -parameter -c -o cleanup.o cleanup.cc cleanup.cc: In member function ‘bool Cleaner::is_quota_aware() const’: cleanup.cc:203:6: error: ‘cerr’ was not declared in this scope cerr << "quota not working (" << e.message() << ")" << endl; ^~~~ cleanup.cc:213:2: error: ‘cerr’ was not declared in this scope cerr << "quota not working (" << e.what() << ")" << endl; ^~~~ make[3]: *** [Makefile:669: cleanup.o] Error 1 Perhaps related to boost-1.65.0 upgrade?
Upstream committed a patch (see URL).
I had the same build error before, I dropped the linked patch into /etc/portage/patches for epatch_user to pick up and build worked for me after that.
duplicate of #595552, which is fixed, can be closed.
*** This bug has been marked as a duplicate of bug 595552 ***