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

Bug 526466

Summary: sci-physics/lightspeed-1.2a-r1 LINGUAS=es - make: *** No rule to make target 'es.gmo'. Stop.
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Gentoo Science Physics related packages <sci-physics>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 607730    
Attachments: build.log

Description Pacho Ramos gentoo-dev 2014-10-22 11:17:11 UTC
Created attachment 387200 [details]
build.log

I get:
make -j5 es.gmo 
make: *** No rule to make target 'es.gmo'.  Stop.

es.gmo file is under po/ subdirectory, but, still, even running "emake po/es.gmo" doesn't do anything as the package is already compiling the translations anyway. 

Then, I think that you should simply drop the LINGUAS handling from ebuild completely

(I can do it myself if you agree)

Thanks
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-22 13:48:08 UTC
It's there:

rm -f es.gmo && /usr/bin/gmsgfmt -c --statistics -o es.gmo es.po
es.po:6: warning: header field 'Language' missing in header

But the ebuild is doing it wrong, apparently:

make -j5 es.gmo 
make: *** No rule to make target 'es.gmo'.  Stop.

That is because:

jer@wim ~/portage/sci-physics/lightspeed-1.2a-r1/work/lightspeed-1.2a \^-^/ 
make -C po es.gmo
make: Entering directory '/home/jer/portage/sci-physics/lightspeed-1.2a-r1/work/lightspeed-1.2a/po'
make: 'es.gmo' is up to date.
make: Leaving directory '/home/jer/portage/sci-physics/lightspeed-1.2a-r1/work/lightspeed-1.2a/po'
jer@wim ~/portage/sci-physics/lightspeed-1.2a-r1/work/lightspeed-1.2a \^-^/ 
make es.gmo
make: *** No rule to make target 'es.gmo'.  Stop.

Since the build system apparently already takes care of this, I don't see why adding "-C po" should even be needed.
Comment 2 Pacho Ramos gentoo-dev 2018-04-14 10:13:25 UTC
[master b8508c0527a] sci-physics/lightspeed: Drop broken linguas handling (#526466)
 1 file changed, 76 insertions(+)
 create mode 100644 sci-physics/lightspeed/lightspeed-1.2a-r3.ebuild