Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526466 - sci-physics/lightspeed-1.2a-r1 LINGUAS=es - make: *** No rule to make target 'es.gmo'. Stop.
Summary: sci-physics/lightspeed-1.2a-r1 LINGUAS=es - make: *** No rule to make target ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 607730
  Show dependency tree
 
Reported: 2014-10-22 11:17 UTC by Pacho Ramos
Modified: 2018-04-14 10:13 UTC (History)
0 users

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


Attachments
build.log (lightspeed-1.2a-r1:20141022-111206.log,37.82 KB, text/plain)
2014-10-22 11:17 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
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