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

Bug 566290

Summary: sci-calculators/galculator-2.1.4 fails test suite
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
galculator-2.1.4.ebuild.patch
r2 emerge verbose

Description René Rhéaume 2015-11-20 03:11:44 UTC
Created attachment 417418 [details]
build.log

When you run FEATURES="test" emerge sci-calculators/galculator, the test suite fails because there is a file that gettext does not know what to do. The path to this file can be added to POTFILES.skip because it's a generated from a lex/flex file and that lex file handled by gettext.
Comment 1 René Rhéaume 2015-11-20 03:12:27 UTC
Created attachment 417420 [details]
emerge --info
Comment 2 René Rhéaume 2015-11-20 03:21:11 UTC
Created attachment 417422 [details, diff]
galculator-2.1.4.ebuild.patch

The change relevant for this bug is the addition of the src_prepare function. All the other changes is to support either GTK+2 or GTK+3 (I am on XFCE and prefer to stick with GTK+2, but I put +gtk3 in IUSE so it will default to gtk3)
Comment 3 Larry the Git Cow gentoo-dev 2020-11-22 17:10:58 UTC
The bug has been referenced in the following commit(s):

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

commit b609d0e3c7853fb915fb8771a4ecb5120d86bdc4
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-22 17:10:40 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-22 17:10:40 +0000

    sci-calculators/galculator: Port to EAPI 7
    
    * invoking maintainer timeout
    * fix spurious test failure
    * fix -fno-common
    
    Bug: https://bugs.gentoo.org/566290
    Bug: https://bugs.gentoo.org/707170
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/galculator-2.1.4-fno-common.patch        | 27 +++++++++++++++
 .../galculator/galculator-2.1.4-r1.ebuild          | 39 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)
Comment 4 honeymak 2022-02-03 05:59:13 UTC
Created attachment 764251 [details]
r2 emerge verbose

r2 looks good and app is running fine
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-03 06:01:11 UTC
(In reply to honeymak from comment #4)
> Created attachment 764251 [details]
> r2 emerge verbose
> 
> r2 looks good and app is running fine

Thanks!