Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751418 - sci-astronomy/stellarium-0.20.3 fails to compile with error: terminate called after throwing an instance of 'std::bad_alloc'
Summary: sci-astronomy/stellarium-0.20.3 fails to compile with error: terminate called...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Alexey
URL:
Whiteboard:
Keywords: PullRequest, UPSTREAM
Depends on:
Blocks:
 
Reported: 2020-10-27 02:59 UTC by Andrew
Modified: 2021-07-04 20:32 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,232.65 KB, text/x-log)
2020-10-27 03:00 UTC, Andrew
Details
emerge --info (emerge_info.txt,6.18 KB, text/plain)
2020-10-27 03:01 UTC, Andrew
Details
Swap state (swap._state.txt,103 bytes, text/plain)
2020-10-27 03:02 UTC, Andrew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 2020-10-27 02:59:43 UTC
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
Comment 1 Andrew 2020-10-27 03:00:31 UTC
Created attachment 668750 [details]
build.log
Comment 2 Andrew 2020-10-27 03:01:22 UTC
Created attachment 668753 [details]
emerge --info
Comment 3 Andrew 2020-10-27 03:02:36 UTC
Created attachment 668756 [details]
Swap state

Output of "swapon -s" command immediately after error
Comment 4 Alexey 2020-10-28 00:18:18 UTC
The mitigation would be to disable USE=nls
Comment 5 Larry the Git Cow gentoo-dev 2020-10-28 07:51:20 UTC
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(+)
Comment 6 Andrew 2020-10-29 04:27:50 UTC
Thank you! The problem was solved using the patch from  сomment 5.
Comment 7 Alexey 2020-10-29 09:16:35 UTC
Thanks for confirmation! I'll keep this open until the mask can be removed. Hopefully, with the release of Qt 5.15.2
Comment 8 Larry the Git Cow gentoo-dev 2021-07-04 20:32:17 UTC
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(-)