GNU gettext 0.15 introduced a bug in the Perl backend to xgettext. To reproduce create a sample Perl file test.pl: $cat test.pl #! /usr/bin/perl sub __ { shift } print gettext ("Dimensions: "), "$width x $height\n"; __END__ $ /usr/bin/xgettext test.pl test.pl:4: invalid variable interpolation at "$" xgettext fails here, although there is no illegal variable interpolation.
Created attachment 104567 [details, diff] Fix Perl parser in xgettext The patch is already applied upstream in GNU gettext 0.16.1 and fixes the problem with the "illegal" variable interpolation.
easier to version bump then backport 1.16.1 in portage