[95/119] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DRIME_BUILD_SHARED_LIBS -DRIME_EXPORTS -DRIME_EXTRA_MODULES=",Q(plugins)" -DRIME_VE RSION=\"1.7.3\" -Isrc -I/tmp/portage/app-i18n/librime-1.7.3/work/librime-1.7.3/src -Iproto -O2 -pipe -march=native -ggdb -I/usr/include/u tf8cpp -DNDEBUG -std=c++14 -fPIC -pthread -MD -MT src/CMakeFiles/rime.dir/rime/gear/table_translator.cc.o -MF src/CMakeFiles/rime.dir/rim e/gear/table_translator.cc.o.d -o src/CMakeFiles/rime.dir/rime/gear/table_translator.cc.o -c /tmp/portage/app-i18n/librime-1.7.3/work/lib rime-1.7.3/src/rime/gear/table_translator.cc FAILED: src/CMakeFiles/rime.dir/rime/gear/table_translator.cc.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DRIME_BUILD_SHARED_LIBS -DRIME_EXPORTS -DRIME_EXTRA_MODULES=",Q(plugins)" -DRIME_VERSION=\"1 .7.3\" -Isrc -I/tmp/portage/app-i18n/librime-1.7.3/work/librime-1.7.3/src -Iproto -O2 -pipe -march=native -ggdb -I/usr/include/utf8cpp -D NDEBUG -std=c++14 -fPIC -pthread -MD -MT src/CMakeFiles/rime.dir/rime/gear/table_translator.cc.o -MF src/CMakeFiles/rime.dir/rime/gear/ta ble_translator.cc.o.d -o src/CMakeFiles/rime.dir/rime/gear/table_translator.cc.o -c /tmp/portage/app-i18n/librime-1.7.3/work/librime-1.7. 3/src/rime/gear/table_translator.cc /tmp/portage/app-i18n/librime-1.7.3/work/librime-1.7.3/src/rime/gear/table_translator.cc: In member function ‘virtual rime::an<rime::Cand idate> rime::TableTranslation::Peek()’: /tmp/portage/app-i18n/librime-1.7.3/work/librime-1.7.3/src/rime/gear/table_translator.cc:83:25: error: ‘exp’ was not declared in this sco pe 83 | phrase->set_quality(exp(e->weight) + | ^~~ ------------------------------------------------------- gcc-config -l [1] x86_64-pc-linux-gnu-11.1.0 * Reproducible: Always
Created attachment 706500 [details] emerge --info
Created attachment 706503 [details] build.log
The same to me. This bug maybe caused by boost-1.76.0, when I back boost to 1.75.0, librime can compile success. when I downgrade boost to 1.75.0 only boost and boost-build rebuilded.
Created attachment 706638 [details, diff] Patch for boost-1.76 This bug has been fixed on upstream without new tag. (https://github.com/rime/librime/commit/57cffcd02ac70148e21ce982be834876b3df87db)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a8bd464422938d63da0111dd60aa7d196aa482 commit 47a8bd464422938d63da0111dd60aa7d196aa482 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2021-05-08 04:00:00 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-05-09 13:38:58 +0000 app-i18n/librime: Fix building with >=dev-libs/boost-1.76. Closes: https://bugs.gentoo.org/788727 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../librime/files/librime-1.6.0-boost-1.76.patch | 24 ++++++++++++++++++++++ app-i18n/librime/librime-1.6.0.ebuild | 3 ++- app-i18n/librime/librime-1.6.1.ebuild | 3 ++- app-i18n/librime/librime-1.7.3.ebuild | 2 ++ 4 files changed, 30 insertions(+), 2 deletions(-)