Bug#334642: FTBFS on arm: error: stray '$' in program
Package: pdftk
Version: 1.12-6
Severity: serious
pdftk fails on arm with:
g++ pdftk.cc -I../java_libs -O3 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DPDFTK_VER=\"1.12\" -c
In file included from /usr/lib/gcc/arm-linux-gnu/4.0.2/../../../../include/c++/4.0.2/java/lang/Object.h:16,
from /usr/lib/gcc/arm-linux-gnu/4.0.2/../../../../include/c++/4.0.2/gcj/cni.h:16,
from pdftk.cc:28:
/usr/lib/gcc/arm-linux-gnu/4.0.2/../../../../include/c++/4.0.2/gcj/javaprims.h:93: error: stray '$' in program
[many more errors]
This might be caused by the fact that gcc-4.0 doesn't accept dollar signs
in identifiers on arm anymore (see #327849 for reference). You can work
around that by using -fdollars-in-identifiers but I don't know if it is
really intentional that using a header provided by gcj requires one to
use this option... CC set accordingly.
Gruesse,
Frank Lichtenheld
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-powerpc
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Reply to: