media-radio/wsjtx version 2.3.1 fails to compile on my system; version 2.2.2-r1 builds fine. Ninja gives up with: FAILED: CMakeFiles/wsjt_cxx.dir/Logger.cpp.o /bin/x86_64-pc-linux-gnu-g++ -DBIGSYM=1 -DBOOST_ALL_DYN_LINK -DCMAKE_BUILD -DQT5 -DUNIX -I. -I/var/tmp/portage/media-radio/wsjtx-2.3.1/work/wsjtx -O3 -pipe -march=nehalem -mtune=native -fomit-frame-pointer -Wall -Wextra -fexceptions -frtti -Wno-pragmas -fopenmp --std=gnu++11 -pthread -fvisibility=hidden -fvisibility-inlines-hidden -include wsjtx_config.h -MD -MT CMakeFiles/wsjt_cxx.dir/Logger.cpp.o -MF CMakeFiles/wsjt_cxx.dir/Logger.cpp.o.d -o CMakeFiles/wsjt_cxx.dir/Logger.cpp.o -c /var/tmp/portage/media-radio/wsjtx-2.3.1/work/wsjtx/Logger.cpp In file included from /usr/include/boost/log/utility/formatting_ostream.hpp:33, from /usr/include/boost/log/sources/record_ostream.hpp:36, from /usr/include/boost/log/trivial.hpp:24, from /var/tmp/portage/media-radio/wsjtx-2.3.1/work/wsjtx/Logger.hpp:4, from /var/tmp/portage/media-radio/wsjtx-2.3.1/work/wsjtx/Logger.cpp:1: /usr/include/boost/log/detail/attachable_sstream_buf.hpp:26:10: fatal error: boost/locale/utf.hpp: No such file or directory 26 | #include <boost/locale/utf.hpp> | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. (build.log will be attached for more context) Reproducible: Always Steps to Reproduce: emerge media-radio/wsjtx Output of "emerge -pqv media-radio/wsjtx": [ebuild U ] media-radio/wsjtx-2.3.1 [2.2.2-r1] USE="(-doc)" Will attach emerge.info, build.log, environment below.
Created attachment 706248 [details] The build.log
Created attachment 706251 [details] emerge.info
Created attachment 706254 [details] environment
emerge -pv boost?
$ emerge -pv boost These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/boost-1.75.0:0/1.75.0::gentoo USE="bzip2 icu lzma python threads zlib zstd -context -debug -doc -mpi -nls (-numpy) -static-libs -tools" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 -python3_7 -python3_8" 118,994 KiB Total: 1 package (1 reinstall), Size of downloads: 118,994 KiB
(In reply to xedakini from comment #5) > $ emerge -pv boost > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] dev-libs/boost-1.75.0:0/1.75.0::gentoo USE="bzip2 icu lzma > python threads zlib zstd -context -debug -doc -mpi -nls (-numpy) > -static-libs -tools" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 > -python3_7 -python3_8" 118,994 KiB > > Total: 1 package (1 reinstall), Size of downloads: 118,994 KiB Does enabling NLS help?
Yes: rebuilding boost with nls allows the wsjtx build to succeed. Thanks. So I guess the bug becomes "media-radio/wsjtx-2.3.1 needs to include a dependency on dev-libs/boost[nls]".
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf70fde31645e5607b73449262ec88d919e606e4 commit bf70fde31645e5607b73449262ec88d919e606e4 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-11 19:57:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-11 19:58:01 +0000 media-radio/wsjtx: add USE=nls dep on boost Closes: https://bugs.gentoo.org/788433 Signed-off-by: Sam James <sam@gentoo.org> media-radio/wsjtx/wsjtx-2.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(In reply to Larry the Git Cow from comment #8) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=bf70fde31645e5607b73449262ec88d919e606e4 > > commit bf70fde31645e5607b73449262ec88d919e606e4 > Author: Sam James <sam@gentoo.org> > AuthorDate: 2021-05-11 19:57:44 +0000 > Commit: Sam James <sam@gentoo.org> > CommitDate: 2021-05-11 19:58:01 +0000 > > media-radio/wsjtx: add USE=nls dep on boost > Thanks for caring Sam. Was busy here last week.