[374/4629] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_NO_LIB -DNDEBUG -DWITH_OPENGL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX __ -D__SSE2__ -D__SSE__ -I/var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/locale -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wuniniti alized -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-cha r-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wundef -Wmissin g-declarations -Wimplicit-fallthrough=5 -O2 -march=znver3 -pipe -fomit-frame-pointer -g -ggdb3 -DNDEBUG -fopenmp -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contr act=off -msse2 -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/"="" -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blende r-3.3.0_build/"="" -Wno-maybe-uninitialized -std=c++17 -MD -MT intern/locale/CMakeFiles/bf_intern_locale.dir/boost_locale_wrapper.cpp.o -MF intern/locale/CMakeFiles/bf_intern_lo cale.dir/boost_locale_wrapper.cpp.o.d -o intern/locale/CMakeFiles/bf_intern_locale.dir/boost_locale_wrapper.cpp.o -c /var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3. 0/intern/locale/boost_locale_wrapper.cpp FAILED: intern/locale/CMakeFiles/bf_intern_locale.dir/boost_locale_wrapper.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_NO_LIB -DNDEBUG -DWITH_OPENGL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2 __ -D__SSE__ -I/var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/locale -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wuninitialized -Wre dundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Wno-char-subscript s -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wrestrict -Wno-suggest-override -Wuninitialized -Wundef -Wmissing-declarati ons -Wimplicit-fallthrough=5 -O2 -march=znver3 -pipe -fomit-frame-pointer -g -ggdb3 -DNDEBUG -fopenmp -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -ffp-contract=off -ms se2 -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/"="" -fmacro-prefix-map="/var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0_bui ld/"="" -Wno-maybe-uninitialized -std=c++17 -MD -MT intern/locale/CMakeFiles/bf_intern_locale.dir/boost_locale_wrapper.cpp.o -MF intern/locale/CMakeFiles/bf_intern_locale.dir/bo ost_locale_wrapper.cpp.o.d -o intern/locale/CMakeFiles/bf_intern_locale.dir/boost_locale_wrapper.cpp.o -c /var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/lo cale/boost_locale_wrapper.cpp /var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/locale/boost_locale_wrapper.cpp: In function ‘void bl_locale_set(const char*)’: /var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/locale/boost_locale_wrapper.cpp:112:10: error: ‘cout’ is not a member of ‘std’ 112 | std::cout << "bl_locale_set(" << locale << "): " << e.what() << " \n"; | ^~~~ /var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/locale/boost_locale_wrapper.cpp:12:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? 11 | #include "boost_locale_wrapper.h" +++ |+#include <iostream> 12 | /var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/locale/boost_locale_wrapper.cpp:115:10: error: ‘cout’ is not a member of ‘std’ 115 | std::cout << "bl_locale_set(" << locale << "): " << e.what() << " \n"; | ^~~~ /var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/locale/boost_locale_wrapper.cpp:115:10: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? Reproducible: Always
Does the trivial include fix it mentions fix it? (adding #include <iostream> at the top of /var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/locale/boost_locale_wrapper.cpp)
(In reply to Sam James from comment #1) > Does the trivial include fix it mentions fix it? > > (adding #include <iostream> at the top of > /var/tmp/portage/media-gfx/blender-3.3.0-r1/work/blender-3.3.0/intern/locale/ > boost_locale_wrapper.cpp) *Does the trivial include fix that it mentions work?
Had the same issue. Applied the include fix, seems to build.
I can confirm that the mentioned trivial patch fixed the issue and builds and at least starts up blender 3.3.
I have a PR for it, will push when I get home
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6f63d6d4100e9bdc95f4e9c6804335e124ac6bd commit c6f63d6d4100e9bdc95f4e9c6804335e124ac6bd Author: Christophe Lermytte <gentoo@lermytte.be> AuthorDate: 2022-12-19 13:57:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-20 10:53:10 +0000 media-gfx/blender: fix build with boost-1.81 Patch as suggested by the compiler: "intern/locale/boost_locale_wrapper.cpp:12:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?" Signed-off-by: Christophe Lermytte <gentoo@lermytte.be> Closes: https://bugs.gentoo.org/887059 Closes: https://github.com/gentoo/gentoo/pull/28713 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/blender/blender-3.3.0-r1.ebuild | 1 + .../files/blender-3.3.0-fix-build-with-boost-1.81.patch | 17 +++++++++++++++++ 2 files changed, 18 insertions(+)