<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>666</bug_id>
          
          <creation_ts>2013-01-08 20:55:43 +0100</creation_ts>
          <short_desc>JOGL Build Issue</short_desc>
          <delta_ts>2013-01-15 17:13:48 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Rob Hatcherson">rob.hatcherson</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>955a444939ba67c6077b6937e191719aa184dafe</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2089</commentid>
    <comment_count>0</comment_count>
    <who name="Rob Hatcherson">rob.hatcherson</who>
    <bug_when>2013-01-08 20:55:43 +0100</bug_when>
    <thetext>Sven, I wasn&apos;t sure whether or not this was worth a bug filing (probably not?) but when I sync&apos;d your master just now JOGL wouldn&apos;t build.  The last commit from &quot;git log&quot; says 6fd9c3d84e1758ae27cd10a89237a558460ca1fb.  There are some garbage characters at the end of line 438 in GLBase.java.  The chars are the kind of you get e.g. when copy-and-pasting out of PDF files.  When I deleted these chars the whole thing went ahead and built.  If you like I can push the fix up and open a pull request, but it hardly seemed worth it other then for me to practice with git.

The error reported from the build was:

java.generate.copy2temp:
  [gluegen] Exception in thread &quot;main&quot; java.lang.RuntimeException: Exception occurred while generating glue code.
  [gluegen] 	at com.jogamp.gluegen.GlueGen.run(GlueGen.java:304)
  [gluegen] 	at com.jogamp.gluegen.GlueGen.main(GlueGen.java:363)
  [gluegen] Caused by: java.lang.RuntimeException: GLBase.java:438:69: expecting &apos;*&apos;, found &apos;?&apos;
  [gluegen] 	at com.jogamp.gluegen.JavaConfiguration.readExtendedInterfaceSymbols(JavaConfiguration.java:1137)
  [gluegen] 	at com.jogamp.gluegen.JavaConfiguration.dispatch(JavaConfiguration.java:926)
  [gluegen] 	at com.jogamp.gluegen.procaddress.ProcAddressConfiguration.dispatch(ProcAddressConfiguration.java:93)
  [gluegen] 	at com.jogamp.gluegen.opengl.GLConfiguration.dispatch(GLConfiguration.java:109)
  [gluegen] 	at com.jogamp.gluegen.JavaConfiguration.read(JavaConfiguration.java:216)
  [gluegen] 	at com.jogamp.gluegen.JavaConfiguration.read(JavaConfiguration.java:177)
  [gluegen] 	at com.jogamp.gluegen.JavaEmitter.readConfigurationFile(JavaEmitter.java:101)
  [gluegen] 	at com.jogamp.gluegen.GlueGen.run(GlueGen.java:174)
  [gluegen] 	... 1 more
  [gluegen] Caused by: GLBase.java:438:69: expecting &apos;*&apos;, found &apos;?&apos;
  [gluegen] 	at com.jogamp.gluegen.jgram.JavaLexer.nextToken(JavaLexer.java:379)
  [gluegen] 	at antlr.TokenBuffer.fill(TokenBuffer.java:69)
  [gluegen] 	at antlr.TokenBuffer.LA(TokenBuffer.java:80)
  [gluegen] 	at antlr.LLkParser.LA(LLkParser.java:52)
  [gluegen] 	at com.jogamp.gluegen.jgram.JavaParser.classBlock(JavaParser.java:1030)
  [gluegen] 	at com.jogamp.gluegen.jgram.JavaParser.interfaceDefinition(JavaParser.java:463)
  [gluegen] 	at com.jogamp.gluegen.jgram.JavaParser.typeDefinition(JavaParser.java:258)
  [gluegen] 	at com.jogamp.gluegen.jgram.JavaParser.compilationUnit(JavaParser.java:144)
  [gluegen] 	at com.jogamp.gluegen.JavaConfiguration.readExtendedInterfaceSymbols(JavaConfiguration.java:1135)
  [gluegen] 	... 8 more</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-01-12 09:15:15 +0100</bug_when>
    <thetext>Introduced w/ commit e7064ece049705e013d80985eae698ce0ee3c4e3, fixed.

Thanks Rob.

BTW: You got _the_ evil bug number .. one in a million :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097</commentid>
    <comment_count>2</comment_count>
    <who name="Rob Hatcherson">rob.hatcherson</who>
    <bug_when>2013-01-15 17:13:48 +0100</bug_when>
    <thetext>:-O  !!!!!!!!!!!!!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>