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

Bug 597428

Summary: sci-astronomy/stellarium-0.15.0 fails to compile
Product: Gentoo Linux Reporter: Zhu Sha Zang <zhushazang>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo-bugs-augustin, jstein, mr_bones_
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Environment
Build Log
Emerge info
pqv info

Description Zhu Sha Zang 2016-10-18 11:16:49 UTC
Every time that i tried to compile new stellarium received fail message.

Best Regards
Comment 1 Zhu Sha Zang 2016-10-18 11:17:58 UTC
Created attachment 450660 [details]
Environment
Comment 2 Zhu Sha Zang 2016-10-18 11:19:36 UTC
Created attachment 450662 [details]
Build Log
Comment 3 Zhu Sha Zang 2016-10-18 11:19:57 UTC
Created attachment 450664 [details]
Emerge info
Comment 4 Zhu Sha Zang 2016-10-18 11:20:17 UTC
Created attachment 450666 [details]
pqv info
Comment 5 Jouni Kosonen 2016-10-18 12:56:35 UTC
The error line:

2302:make[2]: *** No rule to make target 'po/stellarium/pt-BR.po', needed by 'translations/stellarium/pt-BR.qm'.  Stop.

Commit ad80fa70 moved from LINGUAS to L10N, but the file names are of course the same as before. Maybe this needs just a simple change to line 63 in the ebuild?

--- a/stellarium-0.15.0.ebuild
+++ b/stellarium-0.15.0-r1.ebuild
@@ -63,1 +63,1 @@ src_prepare() {
-                       -e "/GETTEXT_CREATE_TRANSLATIONS/a \ ${L10N}" \
+                       -e "/GETTEXT_CREATE_TRANSLATIONS/a \ ${L10N//-/_}" \
Comment 6 Jonathan Heaney 2016-10-18 20:24:22 UTC
(In reply to Jouni Kosonen from comment #5)
> The error line:
> 
> 2302:make[2]: *** No rule to make target 'po/stellarium/pt-BR.po', needed by
> 'translations/stellarium/pt-BR.qm'.  Stop.
> 
> Commit ad80fa70 moved from LINGUAS to L10N, but the file names are of course
> the same as before. Maybe this needs just a simple change to line 63 in the
> ebuild?
> 
> --- a/stellarium-0.15.0.ebuild
> +++ b/stellarium-0.15.0-r1.ebuild
> @@ -63,1 +63,1 @@ src_prepare() {
> -                       -e "/GETTEXT_CREATE_TRANSLATIONS/a \ ${L10N}" \
> +                       -e "/GETTEXT_CREATE_TRANSLATIONS/a \ ${L10N//-/_}" \

This works for me with en_GB
Comment 7 Jouni Kosonen 2016-11-12 22:51:55 UTC
Mr. Bones, this one was fixed in the tree three weeks ago with PR 2622.
Comment 8 Jonas Stein gentoo-dev 2017-10-01 11:54:02 UTC
Michael, do you still maintain this package?

Can we close this?
see: https://github.com/gentoo/gentoo/pull/2622