sci-astronomy/stellarium-0.20.3 fails to compile with error: terminate called after throwing an instance of 'std::bad_alloc' ...[268/948] cd /var/tmp/portage/sci-astronomy/stellarium-0.20.3/work/stellarium-0.20.3_build/po/stellarium-planetary-features && /usr/lib/qt5/bin/lconvert -i /var/tmp/portage/sci-astronomy/stellarium-0.20.3/work/stellarium-0.20.3/po/stellarium-planetary-features/am.po -o /var/tmp/portage/sci-astronomy/stellarium-0.20.3/work/stellarium-0.20.3_build/translations/stellarium-planetary-features/am.qm ^[[31mFAILED: ^[[0mtranslations/stellarium-planetary-features/am.qm cd /var/tmp/portage/sci-astronomy/stellarium-0.20.3/work/stellarium-0.20.3_build/po/stellarium-planetary-features && /usr/lib/qt5/bin/lconvert -i /var/tmp/portage/sci-astronomy/stellarium-0.20.3/work/stellarium-0.20.3/po/stellarium-planetary-features/am.po -o /var/tmp/portage/sci-astronomy/stellarium-0.20.3/work/stellarium-0.20.3_build/translations/stellarium-planetary-features/am.qm terminate called after throwing an instance of 'std::bad_alloc' Reproducible: Always Architecture: ~x86 Kernel: 5.9.1-gentoo gcc: 10.2.0 Memory size: 8Gb Swap size: 8Gb
Created attachment 668750 [details] build.log
Created attachment 668753 [details] emerge --info
Created attachment 668756 [details] Swap state Output of "swapon -s" command immediately after error
The mitigation would be to disable USE=nls
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc397177bad71a29b04f44147235517cdd664047 commit bc397177bad71a29b04f44147235517cdd664047 Author: Alexey Sokolov <sokolov@google.com> AuthorDate: 2020-10-28 00:52:44 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-10-28 07:51:07 +0000 profiles: x86: mask sci-astronomy/stellarium[nls] Bug: https://bugs.gentoo.org/751418 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/18054 Signed-off-by: Joonas Niilola <juippis@gentoo.org> profiles/arch/x86/package.use.mask | 5 +++++ 1 file changed, 5 insertions(+)
Thank you! The problem was solved using the patch from сomment 5.
Thanks for confirmation! I'll keep this open until the mask can be removed. Hopefully, with the release of Qt 5.15.2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ac079c2f34108033f31a2a898dfdc71bb728f0 commit b2ac079c2f34108033f31a2a898dfdc71bb728f0 Author: Alexey Sokolov <sokolov@google.com> AuthorDate: 2021-07-04 20:31:55 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-07-04 20:31:55 +0000 profiles/arch/x86: re-enable stellarium[nls] The Qt linguist issue was fixed in 5.15.2 Closes: https://github.com/gentoo/gentoo/pull/21417 Closes: https://bugs.gentoo.org/751418 Signed-off-by: Alexey Sokolov <sokolov@google.com> Signed-off-by: David Seifert <soap@gentoo.org> profiles/arch/x86/package.use.mask | 5 ----- 1 file changed, 5 deletions(-)