| ^~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp: In member function virtual QVariant Fcitx::SkinPage::Private::SkinModel::data(const QModelIndex&, int) const: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:134:10: error: narrowing conversion of Fcitx::SkinPage::Private::PathRole from unsigned int to int [-Wnarrowing] 134 | case PathRole: | ^~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp: In member function void Fcitx::SkinPage::Private::SkinModel::setSkinList(const QStringList&): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-abi32+64-20200505-162645 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.1.0 * clang version 10.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python3.8 (fallback) [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.43.1 * The following VMs are available for generation-2: *) IcedTea JDK 3.15.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.0.2 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon 11 May 2020 12:40:09 AM UTC emerge -qpvO app-i18n/kcm-fcitx [ebuild N ] app-i18n/kcm-fcitx-0.5.5
Created attachment 637968 [details] emerge-info.txt
Created attachment 637970 [details] app-i18n:kcm-fcitx-0.5.5:20200511-041221.log
Created attachment 637972 [details] emerge-history.txt
Created attachment 637974 [details] environment
Created attachment 637976 [details] etc.portage.tbz2
Created attachment 637978 [details] logs.tbz2
Created attachment 637980 [details] temp.tbz2
Created attachment 642670 [details, diff] build fix patch Here's a patch to fix issue.
Created attachment 642672 [details, diff] additional patch to fix build with qt5.15 Another related patch (I think this one is not due to gcc10, but it might as well be added at the same time).
(In reply to Hector Martin from comment #8) > Created attachment 642670 [details, diff] [details, diff] > build fix patch > > Here's a patch to fix issue. Upstream changed PathRole from 0x8F213873 to 0x3F213873 (https://github.com/fcitx/kcm-fcitx/commit/a1b2ccdffd9e4d16c47f7f2a596df437ee834c41#diff-e4cd64f9bbfa33831acf31866bec82b2). Maybe we can follow this.
(In reply to Hector Martin from comment #9) > Attachment 642672 [details, diff] > additional patch to fix build with qt5.15 https://github.com/fcitx/kcm-fcitx/issues/17
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #11) > (In reply to Hector Martin from comment #9) > > Attachment 642672 [details, diff] [details, diff] > > additional patch to fix build with qt5.15 > > https://github.com/fcitx/kcm-fcitx/issues/17 It is opened by me but I get no response from upstream yet. I think we can add these patches for version 0.5.5 and remove them if there are new release from upstream.
(In reply to gentoo@imrebuild.com from comment #12) > (In reply to Arfrever Frehtes Taifersar Arahesis from comment #11) > > (In reply to Hector Martin from comment #9) > > > Attachment 642672 [details, diff] [details, diff] [details, diff] > > > additional patch to fix build with qt5.15 > > > > https://github.com/fcitx/kcm-fcitx/issues/17 > > It is opened by me but I get no response from upstream yet. I think we can > add these patches for version 0.5.5 and remove them if there are new release > from upstream. Upstream released 0.5.6.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=691df99598a45a565b119333318e923879b23ae3 commit 691df99598a45a565b119333318e923879b23ae3 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2020-11-13 04:00:00 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2020-11-16 19:51:16 +0000 app-i18n/kcm-fcitx: Version bump (0.5.6). Closes: https://bugs.gentoo.org/722382 Closes: https://bugs.gentoo.org/746260 Closes: https://bugs.gentoo.org/751730 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org> app-i18n/kcm-fcitx/Manifest | 1 + app-i18n/kcm-fcitx/kcm-fcitx-0.5.6.ebuild | 58 +++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+)