Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788433 - media-radio/wsjtx-2.3.1 w/o dev-libs/boost[nls]: fatal error: boost/locale/utf.hpp: No such file or directory
Summary: media-radio/wsjtx-2.3.1 w/o dev-libs/boost[nls]: fatal error: boost/locale/ut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-05 22:16 UTC by xedakini
Modified: 2021-05-13 08:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The build.log (build.log,566.35 KB, text/plain)
2021-05-05 22:17 UTC, xedakini
Details
emerge.info (emerge.info,6.14 KB, text/plain)
2021-05-05 22:18 UTC, xedakini
Details
environment (environment,89.87 KB, text/plain)
2021-05-05 22:18 UTC, xedakini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xedakini 2021-05-05 22:16:03 UTC
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.
Comment 1 xedakini 2021-05-05 22:17:24 UTC
Created attachment 706248 [details]
The build.log
Comment 2 xedakini 2021-05-05 22:18:01 UTC
Created attachment 706251 [details]
emerge.info
Comment 3 xedakini 2021-05-05 22:18:26 UTC
Created attachment 706254 [details]
environment
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-05 22:53:25 UTC
emerge -pv boost?
Comment 5 xedakini 2021-05-06 00:02:37 UTC
$ 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
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-06 00:13:40 UTC
(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?
Comment 7 xedakini 2021-05-06 05:36:14 UTC
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]".
Comment 8 Larry the Git Cow gentoo-dev 2021-05-11 20:21:39 UTC
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(-)
Comment 9 Thomas Beierlein gentoo-dev 2021-05-13 08:58:59 UTC
(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.