Bug#365727: update-po target in Makefile.in.in fails because of a small bug

Daniel Leidert daniel.leidert.spam at gmx.net
Tue May 2 11:47:46 UTC 2006


Package: intltool
Version: 0.34.2-1
Severity: important
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When I tried to run the update-po target, I receive the following error:

$ LANG=C make update-po
make package.pot
make[1]: Entering directory
`/home/user/packages/package/po'
make[1]: `package.pot' is up to date.
make[1]: Leaving directory `/home/user/packages/package/po'
tmpdir=`pwd`; \
	catalogs='de.gmo'; \
	for cat in $catalogs; do \
		cat=`basename $cat`; \
		lang=`echo $cat | sed 's/\@CATOBJEXT@$//'`; \
		echo "$lang:"; \
		result="`INTLTOOL_EXTRACT=../intltool-extract srcdir=. ../intltool-update --gettext-package chemical-mime-data --dist -o $tmpdir/$lang.new.po $lang`"; \
		if $result; then \
			if cmp ./$lang.po $tmpdir/$lang.new.po >/dev/null 2>&1; then \
				rm -f $tmpdir/$lang.new.po; \
			else \
				if mv -f $tmpdir/$lang.new.po $lang.po; then \
					:; \
				else \
					echo "msgmerge for $lang.po failed: cannot move $tmpdir/$lang.new.po to $lang.po" 1>&2; \
					rm -f $tmpdir/$lang.new.po; \
					exit 1; \
				fi; \
			fi; \
		else \
			echo "msgmerge for $cat failed!"; \
			rm -f $tmpdir/$lang.new.po; \
		fi; \
	done
de.gmo:
intltool-update: ./de.gmo.po does not exist!
Try 'intltool-update --help' for more information.
mv: cannot stat /home/user/packages/package/po/de.gmo.new.po': No such file or directory
msgmerge for de.gmo.po failed: cannot move /home/user/packages/package/po/de.gmo.new.po to de.gmo.po
make: *** [update-po] Error 1
$

The error seems to be the line

[..]
cat=`basename $cat`; \
[..]

in the update-po target, which should be

cat=`basename $cat .gmo`; \

Regards, Daniel


- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.08060320
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages intltool depends on:
ii  automake1.7 [automaken]       1.7.9-7    A tool for generating GNU Standard
ii  automake1.9 [automaken]       1.9.6-4    A tool for generating GNU Standard
ii  file                          4.17-1     Determines file type using "magic"
ii  gettext                       0.14.5-3   GNU Internationalization utilities
ii  libxml-parser-perl            2.34-4     Perl module for parsing XML files
ii  patch                         2.5.9-4    Apply a diff file to an original
ii  perl                          5.8.8-4    Larry Wall's Practical Extraction 

intltool recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEV0bidg0kG0+YFBERAjEXAJ907GPi2u0fwJvzO6y/fvhnIAL8hQCdFQ3G
64WbUB9qpEIou5S46oFiVWE=
=epR1
-----END PGP SIGNATURE-----





More information about the Pkg-gnome-maintainers mailing list