! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
orage-4.8.2 release tarball is broken with missing translations
Status:
CLOSED: FIXED

Comments

Description Samuli Suominen 2011-10-13 15:47:37 CEST
orage-4.8.2 fails to install with following error:

Making all in po
make[2]: Entering directory `/tmp/portage/app-office/orage-4.8.2/work/orage-4.8.2/po'
file=`echo am | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file am.po
file=`echo ca | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file ca.po
file=`echo cs | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file cs.po
file=`echo da | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file da.po
file=`echo de | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file de.po
file=`echo el | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file el.po
file=`echo es | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file es.po
file=`echo et | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file et.po
file=`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file fr.po
file=`echo gl | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file gl.po
make[2]: *** No rule to make target `hr.gmo', needed by `all-yes'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/portage/app-office/orage-4.8.2/work/orage-4.8.2/po'
make[1]: *** [all-recursive] Error 1

in configure.in:

XDT_I18N([am ar ast az be bg bn_IN ca cs da de dz el en_AU en_GB eo es et eu fa fi fr gl gu he hi hr <--- HERE

but the locale 'hr' is missing from directory po/

if i'm not mistaken, this is because the LINGUAS file shouldn't be in git anymore, in po/ directory and the package is out of date wrt recent xfce4-dev-tools

this has been fixed in core components already, so might look in there for clues...
Comment 1 Samuli Suominen 2011-10-13 15:50:47 CEST
can be reproduced by

export LINGUAS="hr"
./configure
make 
make install
Comment 2 juha editbugs 2011-10-14 14:49:37 CEST
Yep, this is probably a mismatch between xfce4-dev-tools version and Orage as it does not reproduce here. But I have old xfce4-dev-tools. Will check.
Comment 3 juha editbugs 2011-10-16 09:53:57 CEST
Fixed in 4.8.2.3 available in git.
Comment 5 juha editbugs 2011-10-30 15:49:47 CET
I think both of these fixes work. 

Also the email says that:
"If you already did a release with xfce-dev-tools >= 4.7.2 and you
still had the po/LINGUAS file please check your release.
In the configure.in or configure.ac file there is a line with XDT_I18N
check if all the languages on that line are pressent in the po
directory in the release tar-ball."

The fix corrects configure.in to contain the missing languages, so it should work.

Removing LINGUAS needs changes to at least autogen.sh also, which is scary. And as far as I understand older than 4.7.2 xfce-dev-tools do not work after removing LINGUAS.

Yes, I need to manintain manually LINGUAS, but I doubt we get many new languages often, so it should be doable.

(and not annoying at all...I am trying to get rid of xfce-dev-tools just because they do changes which are not compatible to old releases. But that is not easy.)
Comment 6 Samuli Suominen 2011-10-30 15:56:58 CET
(In reply to comment #5)
> I think both of these fixes work. 
[ .. ]
> Yes, I need to manintain manually LINGUAS, but I doubt we get many new
> languages often, so it should be doable.

OK, I see where you are coming from.     Sounds reasonable then.   Thanks!
Comment 7 juha editbugs 2012-01-09 08:30:14 CET
Fixed in 4.8.3.

Bug #8032

Reported by:
Samuli Suominen
Reported on: 2011-10-13
Last modified on: 2012-01-09

People

CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information