Compiling ufraw the following error(s) occure(s): ufraw_exiv2.cc: In function 'int ufraw_exif_read_input(ufraw_data*)': ufraw_exiv2.cc:45:37: error: 'cerr' is not a member of 'std' std::streambuf *savecerr = std::cerr.rdbuf(); ^~~~ ufraw_exiv2.cc:45:37: note: 'std::cerr' is defined in header '<iostream>'; did you forget to '#include <iostream>'? ufraw_exiv2.cc:21:1: +#include <iostream> ... Can be solved with simply inserting that line.
Created attachment 580944 [details, diff] add missing include patch fixing build
Patch works for me, thanks!
*** Bug 691346 has been marked as a duplicate of this bug. ***
I can confirm the bug and the patch helps for me, too. What about adding the patch to the ebuild?
Works for me, too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f40350f459b1d6c6e2715031cb59bf22720d3fd8 commit f40350f459b1d6c6e2715031cb59bf22720d3fd8 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-09-15 23:15:50 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-09-15 23:16:02 +0000 media-gfx/ufraw: Fix build with >=media-libs/exiv2-0.27.1 Closes: https://bugs.gentoo.org/688540 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-gfx/ufraw/files/ufraw-0.22-exiv2-0.27.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)