public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/32028]  New: Make fails at gjdoc - gnu.classpath.tools.gjdoc.ParseException: unmatched input in line 1: @Retention(SOURCE) @Target(METHOD)
@ 2007-05-22  2:28 rob1weld at aol dot com
  2007-05-24 16:19 ` [Bug libgcj/32028] " tromey at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: rob1weld at aol dot com @ 2007-05-22  2:28 UTC (permalink / raw)
  To: java-prs

Compiling gcc 4.3.0 20070521 using "--with-gjdoc" fails. It works on 4.2.0/1. I
don't know enough about gjdoc scripting or Java to go poking around so I leave
the fix to someone more capable. 

For anyone who compiled using "--with-gjdoc" and broke their make there is a
"bypass" at the end of this message.


# /usr/bin/gjdoc --version
gjdoc 0.7.7


# gcc/xgcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /root/downloads/gcc-4_3-trunk/configure --verbose
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp
--prefix=/usr --enable-objc-gc --enable-concept-checks --disable-multilib
--with-gxx-include-dir=/usr/include/c++/4.3 --enable-libstdcxx-debug
--enable-static --enable-shared --enable-initfini-array --enable-__cxa_atexit
--enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp
--enable-libmudflap --enable-libgomp --disable-werror --enable-nls
--with-included-gettext --enable-decimal-float --with-long-double-128
--enable-debug --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-gtk-cairo
--enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers
--with-gjdoc --enable-portable-native-sync --enable-libgcj-multifile
--with-stabs --enable-hash-synchronization --enable-gc-debug
--enable-interpreter --with-system-zlib --enable-libada --with-tls
--with-cpu=athlon-xp --with-arch=athlon-xp
Thread model: posix
gcc version 4.3.0 20070521 (experimental)


Screen output for "gcc version 4.3.0 20070521 (experimental)":

...
touch resources
make[4]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/lib'
Making all in doc
make[4]: Entering directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/doc'
Making all in api
make[5]: Entering directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/doc/api'
/bin/mkdir html > /dev/null 2>&1
/usr/bin/gjdoc \
        -use \
        -sourcepath
"../..:/root/downloads/gcc-4_3-trunk/libjava/classpath:/root/downloads/gcc-4_3-trunk/libjava/classpath/vm/reference:/root/downloads/gcc-4_3-trunk/libjava/classpath/external/w3c_dom:/root/downloads/gcc-4_3-trunk/libjava/classpath/external/sax"
\
        -encoding UTF-8 \
        -breakiterator \
        -licensetext \
        -linksource \
        -splitindex \
        -validhtml \
        -d html \
        -doctitle "GNU Classpath 0.94-pre" \
        -windowtitle "GNU Classpath 0.94-pre Documentation" \
        -header "<span class='logo'><a
href='http://www.gnu.org/software/classpath' target='_top'>GNU Classpath</a>
(0.94-pre)" -footer "<span class='logo'><a
href='http://www.gnu.org/software/classpath' target='_top'>GNU Classpath</a>
(0.94-pre)" \
        -subpackages java:javax:org
WARNING: unknown modifier 'enum'
WARNING: unknown modifier 'State'
gnu.classpath.tools.gjdoc.ParseException: unmatched input in line 1:
@Retention(SOURCE) @Target(METHOD)
public @interfa
   at gnu.classpath.tools.gjdoc.Parser.parse(gjdoc)
   at gnu.classpath.tools.gjdoc.Parser.processSourceFile(gjdoc)
   at gnu.classpath.tools.gjdoc.Parser.processSourceDir(gjdoc)
   at gnu.classpath.tools.gjdoc.RootDocImpl.build(gjdoc)
   at gnu.classpath.tools.gjdoc.Main.startDoclet(gjdoc)
   at gnu.classpath.tools.gjdoc.Main.start(gjdoc)
   at gnu.classpath.tools.gjdoc.Main.main(gjdoc)
make[5]: *** [create_html] Error 5
make[5]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/doc/api'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath/doc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava/classpath'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/gcc-4_3-build/i686-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/opt/gcc-4_3-build'
make: *** [all] Error 2



Screen output for "gcc version 4.2.1 20070519 (prerelease)":

...
touch resources
make[4]: Leaving directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/lib'
Making all in doc
make[4]: Entering directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/doc'
Making all in api
make[5]: Entering directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/doc/api'
/bin/mkdir html > /dev/null 2>&1
/usr/bin/gjdoc \
        -use \
        -sourcepath
"../..:/root/downloads/gcc-4_2-branch/libjava/classpath:/root/downloads/gcc-4_2-branch/libjava/classpath/vm/reference:/root/downloads/gcc-4_2-branch/libjava/classpath/external/w3c_dom:/root/downloads/gcc-4_2-branch/libjava/classpath/external/sax"
\
        -encoding UTF-8 \
        -breakiterator \
        -licensetext \
        -linksource \
        -splitindex \
        -validhtml \
        -d html \
        -doctitle "GNU Classpath 0.92" \
        -windowtitle "GNU Classpath 0.92 Documentation" \
        -header "<span class='logo'><a
href='http://www.gnu.org/software/classpath' target='_top'>GNU Classpath</a>
(0.92)" -footer "<span class='logo'><a
href='http://www.gnu.org/software/classpath' target='_top'>GNU Classpath</a>
(0.92)" \
        -subpackages java:javax:org
Loading classes for package java.applet...
Loading classes for package java.awt...
Loading classes for package java.awt.color...
... (MANY lines)
Loading classes for package org.xml.sax.ext...
Loading classes for package org.xml.sax.helpers...
Constructing Javadoc information...
Resolving references in comments...
Resolving references in classes...
Resolving references in packages...
Resolving references in class comments...
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl[name=@inheritDoc,
text=, tagMap=null]
Resolving references in package comments...
Running doclet...
Building cross-reference information...
Writing overview files...
Writing full tree...
Writing index...
Writing HTML files for package java.applet
Writing HTML files for package java.awt
Writing HTML files for package java.awt.color
Writing HTML files for package java.awt.datatransfer
... (MANY lines)
Writing HTML files for package org.xml.sax.ext
Writing HTML files for package org.xml.sax.helpers
touch create_html
make[5]: Leaving directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/doc/api'
make[5]: Entering directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/doc'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/doc'
make[4]: Leaving directory
`/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/doc'
...



To get around this problem I typed:

# cd i686-pc-linux-gnu/libjava/classpath/doc/api
# touch create_html
# cd ../../../../..
# make


-- 
           Summary: Make fails at gjdoc -
                    gnu.classpath.tools.gjdoc.ParseException: unmatched
                    input in line 1: @Retention(SOURCE) @Target(METHOD)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32028


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-08-28 15:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-22  2:28 [Bug libgcj/32028] New: Make fails at gjdoc - gnu.classpath.tools.gjdoc.ParseException: unmatched input in line 1: @Retention(SOURCE) @Target(METHOD) rob1weld at aol dot com
2007-05-24 16:19 ` [Bug libgcj/32028] " tromey at gcc dot gnu dot org
2007-05-24 18:48 ` rob1weld at aol dot com
2007-05-25  8:55 ` rob1weld at aol dot com
2007-05-25 19:12 ` rob1weld at aol dot com
2008-06-20 14:34 ` gnu_andrew at member dot fsf dot org
2008-08-04 13:44 ` rob1weld at aol dot com
2008-08-04 18:31 ` tromey at gcc dot gnu dot org
2008-08-04 18:33 ` tromey at gcc dot gnu dot org
2008-08-16 23:14 ` [Bug classpath/32028] " gnu_andrew at member dot fsf dot org
2008-08-21  1:01 ` gnu_andrew at member dot fsf dot org
2008-08-21  1:02 ` gnu_andrew at member dot fsf dot org
2008-08-24 23:28 ` gnu_andrew at member dot fsf dot org
2008-08-28 15:40 ` gnu_andrew at member dot fsf dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).