Keruspe/GPaste — Issue #22: gpaste 2.2 fails to build
Author: elder
Created: 2012-01-07 13:00:00+00:00
State: open

Hello,

The option --no-translations is available for intltool >= 0.50.0. However, earlier versions of intltool do not support this option. So, this error occurs when the users try to build gpaste 2.2:

-----------------------------------------------------
(...)
LC_ALL=C /usr/bin/intltool-merge -d -u -c ./po/.intltool-merge-cache ./po data/gpaste-settings.desktop.in data/gpaste-settings.desktop
Generating and caching the translation database
Merging translations into data/gpaste-settings.desktop.
GEN data/org.gnome.GPaste.service
GEN src/applets/gnome-shell/metadata.json
LC_ALL=C /usr/bin/intltool-merge -x -u --no-translations data/org.gnome.GPaste.gschema.xml.in data/org.gnome.GPaste.gschema.xml
Unknown option: no-translations
Undefined subroutine &main::error called at /usr/bin/intltool-merge line 73.
make[2]: *** [data/org.gnome.GPaste.gschema.xml] Error 255
rm data/gpaste-settings.desktop.in
make[2]: Leaving directory `/home/elder/builds/PKGBUILD/gpaste/src/gpaste-2.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/elder/builds/PKGBUILD/gpaste/src/gpaste-2.2'
make: *** [all] Error 2
(..)
--------------------------------------------------------

My system: Archlinux.

Version of intltool: 0.41.1-2