Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630050 - =app-backup/snapper-0.5.0: cleanup.cc: error: ‘cerr’ was not declared in this scope
Summary: =app-backup/snapper-0.5.0: cleanup.cc: error: ‘cerr’ was not declared in this...
Status: RESOLVED DUPLICATE of bug 595552
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dainius Masiliūnas
URL: https://github.com/openSUSE/snapper/c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-05 21:29 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2017-09-23 21:22 UTC (History)
4 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 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-09-05 21:29:11 UTC
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?
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-09-06 18:20:58 UTC
Upstream committed a patch (see URL).
Comment 2 Martin Wegner 2017-09-15 12:46:45 UTC
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.
Comment 3 Ole Langbehn 2017-09-23 21:19:01 UTC
duplicate of #595552, which is fixed, can be closed.
Comment 4 Dainius Masiliūnas 2017-09-23 21:22:36 UTC

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