Bug#613894: h2ph fails to corectly convert /usr/include/bits/wchar.h to a perl header
Tim
tim at advam.com
Fri Feb 18 00:57:51 UTC 2011
Package: perl
Version: 5.10.1-17
Severity: normal
Tags: upstream
Running h2ph against /usr/include/bits/wchar.h generates a perl header with the following syntax errors:
syntax error at /usr/local/lib/perl/5.10.1/bits/wchar.ph line 15, near ")ord"
syntax error at /usr/local/lib/perl/5.10.1/bits/wchar.ph line 20, near "}"
it appears the h2ph cannot correctly parse the following line in /usr/include/bits/wchar.h
#elif L'\0' - 1 > 0
as it is coresponding line in the generated perl header that contains the syntax error
elsif((defined(&L) ? &L : undef)ord('\0') - 1> 0) {
-- System Information:
Debian Release: 6.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages perl depends on:
ii libbz2-1.0 1.0.5-6 high-quality block-sorting file co
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libdb4.7 4.7.25-9 Berkeley v4.7 Database Libraries [
ii libgdbm3 1.8.3-9 GNU dbm database routines (runtime
ii perl-base 5.10.1-17 minimal Perl system
ii perl-modules 5.10.1-17 Core Perl modules
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages perl recommends:
ii netbase 4.45 Basic TCP/IP networking system
Versions of packages perl suggests:
pn libterm-readline-gnu-perl | l <none> (no description available)
ii make 3.81-8 An utility for Directing compilati
pn perl-doc <none> (no description available)
-- no debconf information
More information about the Perl-maintainers
mailing list