Bug#334642: FTBFS on arm: error: stray '$' in program

2005-10-19 Thread Steve Langasek
On Wed, Oct 19, 2005 at 08:42:00AM +0200, Aurelien Jarno wrote:
> Frank Lichtenheld a écrit :
> >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]

> Well, it looks like this is an autobuilder problem, because if I 
> download libgcj6-dev from ftp.debian.org, and I can't see such 
> identifiers in this file.

Then I'm afraid you've downloaded the wrong version of the package, because
the current 3:4.0.2-2 version of libgcj6-dev for arm has

  class ObjectInputStream$GetField;

on line 93 of /usr/include/c++/4.0.2/gcj/javaprims.h.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


signature.asc
Description: Digital signature


Bug#334642: FTBFS on arm: error: stray '$' in program

2005-10-18 Thread Aurelien Jarno

Frank Lichtenheld a écrit :

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]



Well, it looks like this is an autobuilder problem, because if I 
download libgcj6-dev from ftp.debian.org, and I can't see such 
identifiers in this file.


The bad news is that I can find a developer accessible arm machine, and 
so it will be really difficult to debug that.


Bye
Aurelien

--
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334642: FTBFS on arm: error: stray '$' in program

2005-10-18 Thread Frank Lichtenheld
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)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]