Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158820 - sys-devel/gettext-0.15 - parser bug in Perl backend to xgettext
Summary: sys-devel/gettext-0.15 - parser bug in Perl backend to xgettext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-22 03:48 UTC by Guido Flohr
Modified: 2006-12-29 16:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix Perl parser in xgettext (uu,28.31 KB, patch)
2006-12-22 03:49 UTC, Guido Flohr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Flohr 2006-12-22 03:48:20 UTC
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.
Comment 1 Guido Flohr 2006-12-22 03:49:55 UTC
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.
Comment 2 SpanKY gentoo-dev 2006-12-29 16:58:52 UTC
easier to version bump then backport

1.16.1 in portage