Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 793926

Summary: app-i18n/librime-1.7.3: stabilisation (was: app-i18n/librime-1.5.3-r1: compile failed, script_translator.cc:498:23: error: ‘exp’ was not declared in this scope)
Product: Gentoo Linux Reporter: Ryan Tsien <i>
Component: StabilizationAssignee: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Status: RESOLVED FIXED    
Severity: normal CC: aballier, cjk, dlan, ionen, sam
Priority: Normal Keywords: CC-ARCHES
Version: unspecifiedFlags: nattka: sanity-check+
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=788727
Whiteboard:
Package list:
app-i18n/librime-1.7.3-r1
Runtime testing required: ---
Bug Depends on: 762892    
Bug Blocks: 763201, 834110    
Attachments:
Description Flags
emerge --info '=app-i18n/librime-1.5.3-r1::gentoo'
none
build.log none

Description Ryan Tsien 2021-06-02 17:05:23 UTC
the stable version compile failed, like bug #788727
```
FAILED: src/CMakeFiles/rime.dir/rime/gear/script_translator.cc.o                                                                 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ALL_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_LOCALE_DYN_LINK -
DBOOST_REGEX_DYN_LINK -DBOOST_SIGNALS2 -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DRIME_BUILD_SHARED_LIBS -DRIME_ENABLE_LOG
GING -DRIME_EXPORTS -DRIME_EXTRA_MODULES="" -DRIME_VERSION=\"1.5.3\" -I/var/tmp/portage/app-i18n/librime-1.5.3-r1/work/librime-1.
5.3/src -march=native -O3 -pipe -I/usr/include/utf8cpp -DNDEBUG -std=c++11 -fPIC -MD -MT src/CMakeFiles/rime.dir/rime/gear/script
_translator.cc.o -MF src/CMakeFiles/rime.dir/rime/gear/script_translator.cc.o.d -o src/CMakeFiles/rime.dir/rime/gear/script_trans
lator.cc.o -c /var/tmp/portage/app-i18n/librime-1.5.3-r1/work/librime-1.5.3/src/rime/gear/script_translator.cc                   
/var/tmp/portage/app-i18n/librime-1.5.3-r1/work/librime-1.5.3/src/rime/gear/script_translator.cc: In member function ‘void rime::
ScriptTranslation::PrepareCandidate()’:                                                                                          
/var/tmp/portage/app-i18n/librime-1.5.3-r1/work/librime-1.5.3/src/rime/gear/script_translator.cc:498:23: error: ‘exp’ was not dec
lared in this scope                                                                                                              
  498 |     cand->set_quality(exp(entry->weight) +                                                                               
      |                       ^~~                                                                                                
/var/tmp/portage/app-i18n/librime-1.5.3-r1/work/librime-1.5.3/src/rime/gear/script_translator.cc:512:23: error: ‘exp’ was not dec
lared in this scope                                                                                                              
  512 |     cand->set_quality(exp(entry->weight) +                                                                               
      |                       ^~~
```


Reproducible: Always
Comment 1 Ryan Tsien 2021-06-02 17:06:51 UTC
Created attachment 713319 [details]
emerge --info '=app-i18n/librime-1.5.3-r1::gentoo'
Comment 2 Ryan Tsien 2021-06-02 17:07:59 UTC
Created attachment 713322 [details]
build.log
Comment 3 tusooa 2021-06-02 21:40:36 UTC
Can confirm.
Comment 4 NATTkA bot gentoo-dev 2021-06-03 01:52:21 UTC Comment hidden (obsolete)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-03 08:18:18 UTC
amd64 done
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-03 16:22:41 UTC
x86 done
Comment 7 NATTkA bot gentoo-dev 2021-06-18 19:20:23 UTC Comment hidden (obsolete)
Comment 8 NATTkA bot gentoo-dev 2021-06-18 19:32:25 UTC Comment hidden (obsolete)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-04 21:35:54 UTC
arm64 done

all arches done
Comment 10 Andreas Sturmlechner gentoo-dev 2021-09-07 09:44:34 UTC
Still not done without ppc and ppc64.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-28 00:07:41 UTC
ppc64 done
Comment 12 NATTkA bot gentoo-dev 2022-02-28 00:24:31 UTC Comment hidden (obsolete)
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-28 00:40:22 UTC
ppc done

all arches done
Comment 14 Larry the Git Cow gentoo-dev 2022-02-28 21:12:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00fefd616073ccaf0eb8b1d309f5fdad59a361d

commit f00fefd616073ccaf0eb8b1d309f5fdad59a361d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-02-28 13:09:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-02-28 21:12:16 +0000

    app-i18n/librime: Drop 1.5.3-r2, 1.6.0-r1 and 1.6.1-r1
    
    Closes: https://bugs.gentoo.org/793926
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-i18n/librime/Manifest                          |   3 -
 .../files/librime-1.5.3-log_files_mode.patch       |  14 --
 app-i18n/librime/files/librime-1.6.0-plugins.patch | 247 ---------------------
 app-i18n/librime/files/librime-1.6.1-plugins.patch | 247 ---------------------
 app-i18n/librime/librime-1.5.3-r2.ebuild           |  74 ------
 app-i18n/librime/librime-1.6.0-r1.ebuild           |  74 ------
 app-i18n/librime/librime-1.6.1-r1.ebuild           |  74 ------
 7 files changed, 733 deletions(-)