Subject: Bug#544799: icu: FTBFS: Unexpected character `"'

From: Daniel Schepler <[email-masked]>
Date: Wed, 2 Sep 2009 16:35:49 -0700

Package: icu
Version: 4.2.1-2
Severity: serious

From my pbuilder build log:

...
/usr/bin/make -C /tmp/buildd/icu-4.2.1/source install-doc DESTDIR=/tmp/buildd/icu-4.2.1/debian/tmp
make[1]: Entering directory `/tmp/buildd/icu-4.2.1/source'
CONFIG_FILES=Doxyfile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Doxyfile
/usr/bin/doxygen
Warning: Tag `USE_WINDOWS_ENCODING' at line 16 of file Doxyfile has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `DETAILS_AT_TOP' at line 28 of file Doxyfile has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 222 of file Doxyfile has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 223 of file Doxyfile has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Notice: Output directory `doc' does not exist. I have created it for you.
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for files to exclude
Searching for files to process...
Searching for files in directory /tmp/buildd/icu-4.2.1/source/common/unicode
Searching for files in directory /tmp/buildd/icu-4.2.1/source/i18n/unicode
Searching for files in directory /tmp/buildd/icu-4.2.1/source/io/unicode
Searching for files in directory /tmp/buildd/icu-4.2.1/source/layoutex/layout
Reading and parsing tag files
Preprocessing /tmp/buildd/icu-4.2.1/source/common/unicode/platform.h...
Parsing file /tmp/buildd/icu-4.2.1/source/common/unicode/platform.h...
Preprocessing /tmp/buildd/icu-4.2.1/source/common/unicode/brkiter.h...
Parsing file /tmp/buildd/icu-4.2.1/source/common/unicode/brkiter.h...
...
Generating docs for file fieldpos.h...
Generating docs for file fmt/tmp/buildd/icu-4.2.1/source/common/unicode/platform.h:62: Warning: Unsupported xml/html tag <string> found
/tmp/buildd/icu-4.2.1/source/common/unicode/platform.h:62: Warning: Unsupported xml/html tag <string> found
/tmp/buildd/icu-4.2.1/source/common/unicode/std_string.h:20: Warning: Unsupported xml/html tag <string> found
/tmp/buildd/icu-4.2.1/source/common/unicode/std_string.h:20: Warning: Unsupported xml/html tag <string> found
/tmp/buildd/icu-4.2.1/source/common/unicode/ubidi.h:795: Error: Unexpected character `"'
/tmp/buildd/icu-4.2.1/source/common/unicode/ubrk.h:78: Error: Unexpected character `"'
/tmp/buildd/icu-4.2.1/source/common/unicode/uchar.h:375: Error: Unexpected character `"'
/tmp/buildd/icu-4.2.1/source/common/unicode/uidna.h:78: Error: Unexpected character `"'
/tmp/buildd/icu-4.2.1/source/common/unicode/uidna.h:125: Error: Unexpected character `"'
/tmp/buildd/icu-4.2.1/source/io/unicode/ustdio.h:370: Error: Unexpected character `"'
/tmp/buildd/icu-4.2.1/source/common/unicode/ustring.h:919: Warning: explicit link request to 'define' could not be resolved
/tmp/buildd/icu-4.2.1/source/common/unicode/ustring.h:923: Warning: explicit link request to 'define' could not be resolved
/tmp/buildd/icu-4.2.1/source/common/unicode/ustring.h:968: Error: Unexpected character `"'
able.h...
...
Generating namespace index...
Generating namespace member index...
Generating graph info page...
Generating file index...
Generating example index...
Generating file member index...
rm -f -r /tmp/buildd/icu-4.2.1/debian/tmp/usr/share/doc/icu/html
/bin/sh ./mkinstalldirs /tmp/buildd/icu-4.2.1/debian/tmp/usr/share/doc/icu/html
mkdir /tmp/buildd/icu-4.2.1/debian/tmp/usr/share/doc
mkdir /tmp/buildd/icu-4.2.1/debian/tmp/usr/share/doc/icu
mkdir /tmp/buildd/icu-4.2.1/debian/tmp/usr/share/doc/icu/html
/usr/bin/install -c -m 644 doc/html/* /tmp/buildd/icu-4.2.1/debian/tmp/usr/share/doc/icu/html
/usr/bin/install: omitting directory `doc/html/search'
make[1]: *** [install-doc] Error 1
make[1]: Leaving directory `/tmp/buildd/icu-4.2.1/source'
make: *** [install/icu-doc] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

(This was with doxygen version 1.6.1-1.)
-- 
Daniel Schepler

---

From: Jay Berkenbilt <[email-masked]>
Date: Thu, 03 Sep 2009 18:12:42 -0400

Daniel Schepler <[email-masked]> wrote:

> . . .

Are we sure this is an ICU problem and not a doxygen problem?  At a
glance, I don't see how the "'s that appear in the doxygen comments are
problematic.  I'm going to look into it a bit more, but as doxygen 1.6.1
is on day 8 of 10, I need to decide fast whether to reassign the box to
doxygen.

-- 
Jay Berkenbilt <[email-masked]>

---

From: Daniel Schepler <[email-masked]>
Date: Thu, 3 Sep 2009 15:26:47 -0700

On Thursday 03 September 2009 15:12:42 Jay Berkenbilt wrote:
> > /tmp/buildd/icu-4.2.1/source/common/unicode/ubrk.h:78: Error: Unexpected
> > character `"' . . .
> 

I'm not sure.  The errors I looked at were with lines something like:
  \\" => U0022
If you replace that with \\\" and escape the other quotes similarly, does that 
fix the errors?  (I don't know much about doxygen myself, so that's just a 
blind guess.)
-- 
Daniel Schepler