Menu

#196 Gerbv 2.6.1 fails to build because of a lacking translation file

v1.0 (example)
open
nobody
None
5
2017-03-25
2015-03-26
No

I'm trying to build gerbv 2.6.1 for ROSA Linux Fresh 2014.1 x86_64 and the build process fails at building the "ru" translation because the file ru.po does not exist, as the build log shows


make[4]: Entering directory '/home/giovanni/rpm/BUILD/gerbv-2.6.1/po'
File ru.po does not exist. If you are a translator, you can create it through 'msginit'.
Makefile:425: recipe for target 'ru.po-create' failed
make[4]: [ru.po-create] Error 1
make[4]: Leaving directory '/home/giovanni/rpm/BUILD/gerbv-2.6.1/po'
Makefile:232: recipe for target 'ru.po' failed
make[3]:
[ru.po] Error 2
make[3]: Leaving directory '/home/giovanni/rpm/BUILD/gerbv-2.6.1/po'
Makefile:183: recipe for target 'stamp-po' failed
make[2]: [stamp-po] Error 2
make[2]: Leaving directory '/home/giovanni/rpm/BUILD/gerbv-2.6.1/po'
Makefile:459: recipe for target 'all-recursive' failed
make[1]:
[all-recursive] Error 1
make[1]: Leaving directory '/home/giovanni/rpm/BUILD/gerbv-2.6.1'
Makefile:388: recipe for target 'all' failed
make: *** [all] Error 2
error: Bad exit status from /home/giovanni/rpm/tmp/rpm-tmp.22353 (%build)


Indeed there is not a such file in the gerbv-2.6.1 archive from SourceForge.
Full log of a failed build attached.

1 Attachments

Discussion

  • Sergey Alyoshin

    Sergey Alyoshin - 2015-04-02

    Sorry, 2.6.1 was not properly tested. Here is the solution:

    make
    cd po
    msginit -l ru

    msginit is from gettext package

    cd ..
    touch man/gerbv.ru.1.in.po
    make

    Or you can use source from git:
    git clone git://git.geda-project.org/gerbv.git

     
    • Giovanni Mariani

      Thank you for the reply.
      I guess I will wait for a new official release before updating our package(*), to avoid cluttering our spec file with workarounds that will be removed after a little time...

      (*) I'm building gerbv not for myself, but for the Rosa's official Contrib repository.

       
  • Bryce Nesbitt

    Bryce Nesbitt - 2016-07-10

    Yep, same problem here. And SF verion does not mention the git version: so I went through some hassle before finally landing on this paeg.

     
  • Adam Sampson

    Adam Sampson - 2017-03-25

    The 2.6.2 release has the same problem -- you need to add gerbv.ru.1.in.po to EXTRA_DIST in man/Makefile.am.

     

Log in to post a comment.