An incomplete list of runtime and build dependencies: As you can see coolreader also use FontConfig, HarfBuzz, FriBiDi, libunibreak. CMakeLists.txt in upstream: https://github.com/buggins/coolreader/blob/master/CMakeLists.txt Starting from version 3.2.52 most of sources of thirdparty libraries removed from repository, ie. also from source tarball, so if some of this libraries ommited configure will be failed. Reproducible: Always # emerge -pv coolreader These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] app-text/coolreader-3.2.51::gentoo USE="-wxwidgets" 0 KiB # ldd /usr/bin/cr3 linux-vdso.so.1 (0x00007ffe905df000) libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f1298e94000) libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f1298db3000) libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f1298ca8000) libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f1298c64000) libz.so.1 => /lib64/libz.so.1 (0x00007f1298c46000) libfribidi.so.0 => /usr/lib64/libfribidi.so.0 (0x00007f1298c28000) libunibreak.so.3 => /usr/lib64/libunibreak.so.3 (0x00007f1298c11000) libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f1298bbc000) libQt5Widgets.so.5 => /usr/lib64/libQt5Widgets.so.5 (0x00007f12984c3000) libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 (0x00007f1297e6d000) libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f12978cf000) libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6 (0x00007f1297656000) libm.so.6 => /lib64/libm.so.6 (0x00007f1297517000) libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libgcc_s.so.1 (0x00007f12974fd000) libc.so.6 => /lib64/libc.so.6 (0x00007f1297343000) libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f1297330000) libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f1297304000) libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f12971c8000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f12971a6000) libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f1297175000) libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f129716c000) libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f12970e6000) libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 (0x00007f12970cf000) libicui18n.so.68 => /usr/lib64/libicui18n.so.68 (0x00007f1296d92000) libicuuc.so.68 => /usr/lib64/libicuuc.so.68 (0x00007f1296b8d000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f1296b88000) libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 (0x00007f1296af5000) /lib64/ld-linux-x86-64.so.2 (0x00007f12993bd000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f1296a75000) libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f12969bb000) libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f1296986000) libicudata.so.68 => /usr/lib64/libicudata.so.68 (0x00007f1294e43000) libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f1294cf0000) libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f1294cc4000) libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f1294cbd000) libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f1294cb5000) libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007f1294c9b000)
Note that you should be using 'lddtree' or you will be seeing indirectly linked libraries too (libraries linked to deps).
Ok. # lddtree /usr/bin/cr3 cr3 => /usr/bin/cr3 (interpreter => /lib64/ld-linux-x86-64.so.2) libjpeg.so.62 => /usr/lib64/libjpeg.so.62 libfreetype.so.6 => /usr/lib64/libfreetype.so.6 libbz2.so.1 => /lib64/libbz2.so.1 libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 libpcre.so.1 => /lib64/libpcre.so.1 libpthread.so.0 => /lib64/libpthread.so.0 ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 libpng16.so.16 => /usr/lib64/libpng16.so.16 libz.so.1 => /lib64/libz.so.1 libfribidi.so.0 => /usr/lib64/libfribidi.so.0 libunibreak.so.3 => /usr/lib64/libunibreak.so.3 libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 libexpat.so.1 => /usr/lib64/libexpat.so.1 libuuid.so.1 => /lib64/libuuid.so.1 libQt5Widgets.so.5 => /usr/lib64/libQt5Widgets.so.5 libQt5Gui.so.5 => /usr/lib64/libQt5Gui.so.5 libGL.so.1 => /usr/lib64/libGL.so.1 libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 libdl.so.2 => /lib64/libdl.so.2 libGLX.so.0 => /usr/lib64/libGLX.so.0 libX11.so.6 => /usr/lib64/libX11.so.6 libxcb.so.1 => /usr/lib64/libxcb.so.1 libXau.so.6 => /usr/lib64/libXau.so.6 libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 libbsd.so.0 => /usr/lib64/libbsd.so.0 libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 libdouble-conversion.so.3 => /usr/lib64/libdouble-conversion.so.3 libicui18n.so.68 => /usr/lib64/libicui18n.so.68 libicuuc.so.68 => /usr/lib64/libicuuc.so.68 libicudata.so.68 => /usr/lib64/libicudata.so.68 libpcre2-16.so.0 => /usr/lib64/libpcre2-16.so.0 libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libstdc++.so.6 libm.so.6 => /lib64/libm.so.6 libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libgcc_s.so.1 libc.so.6 => /lib64/libc.so.6
But fontconfig & harfbuzz are already dependencies for dev-qt/qtgui:5.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0da8dbc0b2bace28411b429f24e0ec954d1556 commit 8a0da8dbc0b2bace28411b429f24e0ec954d1556 Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2021-02-08 13:18:51 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2021-02-08 13:18:51 +0000 app-text/coolreader: bump to 3.2.53 Closes: https://bugs.gentoo.org/769395 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrey Grozin <grozin@gentoo.org> app-text/coolreader/Manifest | 1 + app-text/coolreader/coolreader-3.2.53.ebuild | 67 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+)