* Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking jogl-1.1.0-src.zip to /var/tmp/portage/dev-java/jogl-1.1.0-r1/work * Applying uncouple-gluegen.patch ...  [ ok ] * Applying fix-solaris-compiler.patch ...  [ ok ] removed `JOGLDocLinksGeneratorAndLibs.jar' removed `cpptasks.jar' >>> Source unpacked in /var/tmp/portage/dev-java/jogl-1.1.0-r1/work >>> Compiling source in /var/tmp/portage/dev-java/jogl-1.1.0-r1/work/jogl ... Rewriting attributes Rewriting ./make/build.xml * Using following ANT_TASKS: ant-antlr Buildfile: build.xml gluegen.cpptasks.detect.os.1: [echo] FreeBSD=${isFreeBSD} [echo] HPUX=${isHPUX} [echo] IA64=${isIA64} [echo] Linux=true [echo] LinuxAMD64=${isLinuxAMD64} [echo] LinuxIA64=${isLinuxIA64} [echo] LinuxX86=true [echo] OS X=${isOSX} [echo] Solaris=${isSolaris} [echo] Solaris32Bit=${isSolaris32Bit} [echo] SolarisSparc=${isSolarisSparc} [echo] SolarisSparcv9=${isSolarisSparcv9} [echo] SolarisAMD64=${isSolarisAMD64} [echo] SolarisX86=${isSolarisX86} [echo] Unix=true [echo] Windows=${isWindows} [echo] X11=true gluegen.cpptasks.detect.os.freebsd: gluegen.cpptasks.detect.os.hpux: gluegen.cpptasks.detect.os.linux.amd64: gluegen.cpptasks.detect.os.linux.ia64: gluegen.cpptasks.detect.os.linux.x86: gluegen.cpptasks.detect.os.linux: gluegen.cpptasks.detect.os.osx.ppc: gluegen.cpptasks.detect.os.osx.universal: gluegen.cpptasks.detect.os.osx: gluegen.cpptasks.detect.os.solaris.sparc: gluegen.cpptasks.detect.os.solaris.sparcv9: gluegen.cpptasks.detect.os.solaris.amd64: gluegen.cpptasks.detect.os.solaris.x86: gluegen.cpptasks.detect.os.solaris: gluegen.cpptasks.detect.os.unix: gluegen.cpptasks.detect.os.windows.amd64: gluegen.cpptasks.detect.os.windows.x86: gluegen.cpptasks.detect.os.windows: gluegen.cpptasks.detect.os.2: gluegen.cpptasks.detect.os: base.init: base.init.sourcelevel.1: base.init.sourcelevel.2: load.user.properties: [echo] Loaded /root/jogl.properties. [echo] Loaded /root/gluegen.properties. [echo] antlr.jar=/usr/share/antlr/lib/antlr.jar setup.java.home.dir.nonmacosx: setup.java.home.dir.macosx: setup.java.home.dir: gluegen.cpptasks.detect.compiler: [echo] VC6=${isVC6} [echo] VC7=${isVC7} [echo] VC8=${isVC8} [echo] MingW=${isMingW} declare.common: init: antlr.jar.validate: java.home.dir.validate: java.class.path.validate: validate: [mkdir] Created dir: /var/tmp/portage/dev-java/jogl-1.1.0-r1/work/jogl/build/gensrc/native/jogl [mkdir] Created dir: /var/tmp/portage/dev-java/jogl-1.1.0-r1/work/jogl/build/classes [mkdir] Created dir: /var/tmp/portage/dev-java/jogl-1.1.0-r1/work/jogl/build/obj [mkdir] Created dir: /var/tmp/portage/dev-java/jogl-1.1.0-r1/work/jogl/build/obj/jogl [mkdir] Created dir: /var/tmp/portage/dev-java/jogl-1.1.0-r1/work/jogl/build/obj/jogl_cg declare.win32.vc6: declare.win32.vc7: declare.win32.vc8: declare.win32.vc8_x64: declare.win32.mingw: declare.win32: declare.linux.x86: [echo] Linux.x86 declare.linux.amd64: declare.linux.ia64: declare.x11: declare.linux: declare.solaris32: declare.solaris.sparcv9: declare.solaris.amd64: declare.macosx: declare.freebsd: declare.hpux: declare: all: gluegen.cpptasks.detect.os.1: gluegen.cpptasks.detect.os.freebsd: gluegen.cpptasks.detect.os.hpux: gluegen.cpptasks.detect.os.linux.amd64: gluegen.cpptasks.detect.os.linux.ia64: gluegen.cpptasks.detect.os.linux.x86: gluegen.cpptasks.detect.os.linux: gluegen.cpptasks.detect.os.osx.ppc: gluegen.cpptasks.detect.os.osx.universal: gluegen.cpptasks.detect.os.osx: gluegen.cpptasks.detect.os.solaris.sparc: gluegen.cpptasks.detect.os.solaris.sparcv9: gluegen.cpptasks.detect.os.solaris.amd64: gluegen.cpptasks.detect.os.solaris.x86: gluegen.cpptasks.detect.os.solaris: gluegen.cpptasks.detect.os.unix: gluegen.cpptasks.detect.os.windows.amd64: gluegen.cpptasks.detect.os.windows.x86: gluegen.cpptasks.detect.os.windows: gluegen.cpptasks.detect.os.2: gluegen.cpptasks.detect.os: base.init: base.init.sourcelevel.1: base.init.sourcelevel.2: load.user.properties: setup.java.home.dir.nonmacosx: setup.java.home.dir.macosx: setup.java.home.dir: gluegen.cpptasks.detect.compiler: [echo] VC6=${isVC6} [echo] VC7=${isVC7} [echo] VC8=${isVC8} [echo] MingW=${isMingW} declare.common: init: antlr.jar.validate: java.home.dir.validate: java.class.path.validate: validate: build.gluegen: java.generate.check: java.generate: java.generate.gl: [echo] Generating GL interface and implementation [gluegen] WARNING: unable to find #include file "inttypes.h" [gluegen] WARNING: unable to find #include file "inttypes.h" [gluegen] WARNING: unable to find #include file "stdint.h" [gluegen] WARNING: unable to find #include file "stdint.h" java.generate.gl.nsig: [echo] Generating platform-specific OpenGL extension class [gluegen] WARNING: unable to find #include file "inttypes.h" [gluegen] WARNING: unable to find #include file "inttypes.h" [gluegen] WARNING: unable to find #include file "stdint.h" [gluegen] WARNING: unable to find #include file "stdint.h" [gluegen] WARNING: skipping emission of unnamed struct "struct { }" [gluegen] WARNING: skipping emission of unnamed struct "struct { }" [gluegen] WARNING: skipping emission of unnamed struct "struct { }" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXFBConfigRec" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXFBConfigRec" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXFBConfigRec" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXcontextRec" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXcontextRec" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXcontextRec" [echo] Generating WGL/GLX/CGL implementation class [gluegen] WARNING: unable to find #include file "inttypes.h" [gluegen] WARNING: unable to find #include file "inttypes.h" [gluegen] WARNING: unable to find #include file "stdint.h" [gluegen] WARNING: unable to find #include file "stdint.h" [gluegen] WARNING: "GLX_DRAWABLE_TYPE" redefined from "0x8010" to "0x8010" [gluegen] WARNING: "GLX_WINDOW_BIT" redefined from "0x00000001" to "0x00000001" [gluegen] WARNING: "GLX_PIXMAP_BIT" redefined from "0x00000002" to "0x00000002" [gluegen] WARNING: "GLX_PBUFFER_BIT" redefined from "0x00000004" to "0x00000004" [gluegen] WARNING: "GLX_RGBA_BIT" redefined from "0x00000001" to "0x00000001" [gluegen] WARNING: "GLX_COLOR_INDEX_BIT" redefined from "0x00000002" to "0x00000002" [gluegen] WARNING: "GLX_PBUFFER_CLOBBER_MASK" redefined from "0x08000000" to "0x08000000" [gluegen] WARNING: "GLX_FRONT_LEFT_BUFFER_BIT" redefined from "0x00000001" to "0x00000001" [gluegen] WARNING: "GLX_FRONT_RIGHT_BUFFER_BIT" redefined from "0x00000002" to "0x00000002" [gluegen] WARNING: "GLX_BACK_LEFT_BUFFER_BIT" redefined from "0x00000004" to "0x00000004" [gluegen] WARNING: "GLX_BACK_RIGHT_BUFFER_BIT" redefined from "0x00000008" to "0x00000008" [gluegen] WARNING: "GLX_AUX_BUFFERS_BIT" redefined from "0x00000010" to "0x00000010" [gluegen] WARNING: "GLX_DEPTH_BUFFER_BIT" redefined from "0x00000020" to "0x00000020" [gluegen] WARNING: "GLX_STENCIL_BUFFER_BIT" redefined from "0x00000040" to "0x00000040" [gluegen] WARNING: "GLX_ACCUM_BUFFER_BIT" redefined from "0x00000080" to "0x00000080" [gluegen] WARNING: "GLX_CONFIG_CAVEAT" redefined from "0x20" to "0x20" [gluegen] WARNING: "GLX_X_VISUAL_TYPE" redefined from "0x22" to "0x22" [gluegen] WARNING: "GLX_TRANSPARENT_TYPE" redefined from "0x23" to "0x23" [gluegen] WARNING: "GLX_TRANSPARENT_INDEX_VALUE" redefined from "0x24" to "0x24" [gluegen] WARNING: "GLX_TRANSPARENT_RED_VALUE" redefined from "0x25" to "0x25" [gluegen] WARNING: "GLX_TRANSPARENT_GREEN_VALUE" redefined from "0x26" to "0x26" [gluegen] WARNING: "GLX_TRANSPARENT_BLUE_VALUE" redefined from "0x27" to "0x27" [gluegen] WARNING: "GLX_TRANSPARENT_ALPHA_VALUE" redefined from "0x28" to "0x28" [gluegen] WARNING: "GLX_DONT_CARE" redefined from "0xFFFFFFFF" to "0xFFFFFFFF" [gluegen] WARNING: "GLX_NONE" redefined from "0x8000" to "0x8000" [gluegen] WARNING: "GLX_SLOW_CONFIG" redefined from "0x8001" to "0x8001" [gluegen] WARNING: "GLX_TRUE_COLOR" redefined from "0x8002" to "0x8002" [gluegen] WARNING: "GLX_DIRECT_COLOR" redefined from "0x8003" to "0x8003" [gluegen] WARNING: "GLX_PSEUDO_COLOR" redefined from "0x8004" to "0x8004" [gluegen] WARNING: "GLX_STATIC_COLOR" redefined from "0x8005" to "0x8005" [gluegen] WARNING: "GLX_GRAY_SCALE" redefined from "0x8006" to "0x8006" [gluegen] WARNING: "GLX_STATIC_GRAY" redefined from "0x8007" to "0x8007" [gluegen] WARNING: "GLX_TRANSPARENT_RGB" redefined from "0x8008" to "0x8008" [gluegen] WARNING: "GLX_TRANSPARENT_INDEX" redefined from "0x8009" to "0x8009" [gluegen] WARNING: "GLX_VISUAL_ID" redefined from "0x800B" to "0x800B" [gluegen] WARNING: "GLX_SCREEN" redefined from "0x800C" to "0x800C" [gluegen] WARNING: "GLX_NON_CONFORMANT_CONFIG" redefined from "0x800D" to "0x800D" [gluegen] WARNING: "GLX_DRAWABLE_TYPE" redefined from "0x8010" to "0x8010" [gluegen] WARNING: "GLX_RENDER_TYPE" redefined from "0x8011" to "0x8011" [gluegen] WARNING: "GLX_X_RENDERABLE" redefined from "0x8012" to "0x8012" [gluegen] WARNING: "GLX_FBCONFIG_ID" redefined from "0x8013" to "0x8013" [gluegen] WARNING: "GLX_RGBA_TYPE" redefined from "0x8014" to "0x8014" [gluegen] WARNING: "GLX_COLOR_INDEX_TYPE" redefined from "0x8015" to "0x8015" [gluegen] WARNING: "GLX_MAX_PBUFFER_WIDTH" redefined from "0x8016" to "0x8016" [gluegen] WARNING: "GLX_MAX_PBUFFER_HEIGHT" redefined from "0x8017" to "0x8017" [gluegen] WARNING: "GLX_MAX_PBUFFER_PIXELS" redefined from "0x8018" to "0x8018" [gluegen] WARNING: "GLX_PRESERVED_CONTENTS" redefined from "0x801B" to "0x801B" [gluegen] WARNING: "GLX_LARGEST_PBUFFER" redefined from "0x801C" to "0x801C" [gluegen] WARNING: "GLX_WIDTH" redefined from "0x801D" to "0x801D" [gluegen] WARNING: "GLX_HEIGHT" redefined from "0x801E" to "0x801E" [gluegen] WARNING: "GLX_EVENT_MASK" redefined from "0x801F" to "0x801F" [gluegen] WARNING: "GLX_DAMAGED" redefined from "0x8020" to "0x8020" [gluegen] WARNING: "GLX_SAVED" redefined from "0x8021" to "0x8021" [gluegen] WARNING: "GLX_WINDOW" redefined from "0x8022" to "0x8022" [gluegen] WARNING: "GLX_PBUFFER" redefined from "0x8023" to "0x8023" [gluegen] WARNING: "GLX_PBUFFER_HEIGHT" redefined from "0x8040" to "0x8040" [gluegen] WARNING: "GLX_PBUFFER_WIDTH" redefined from "0x8041" to "0x8041" [gluegen] WARNING: "GLX_SAMPLE_BUFFERS" redefined from "0x186a0" to "100000" [gluegen] WARNING: "GLX_SAMPLES" redefined from "0x186a1" to "100001" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXFBConfigRec" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXFBConfigRec" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXFBConfigRec" [gluegen] WARNING: skipping emission of unnamed struct "struct { }" [gluegen] WARNING: skipping emission of unnamed struct "struct { }" [gluegen] WARNING: skipping emission of unnamed struct "struct { }" [gluegen] WARNING: Array fields (field "char[80] pipeName;" of type "GLXHyperpipeNetworkSGIX") not implemented yet [gluegen] WARNING: Array fields (field "char[80] pipeName;" of type "GLXHyperpipeNetworkSGIX") not implemented yet [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXcontextRec" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXcontextRec" [gluegen] WARNING: skipping emission of unnamed struct "struct __GLXcontextRec" [gluegen] WARNING: Array fields (field "char[80] pipeName;" of type "GLXHyperpipeConfigSGIX") not implemented yet [gluegen] WARNING: Array fields (field "char[80] pipeName;" of type "GLXHyperpipeConfigSGIX") not implemented yet [gluegen] java.lang.RuntimeException: Error while generating bindings for "GLXFBConfig * glXChooseFBConfig(Display * dpy, int screen, const int * attribList, int * nitems);" [gluegen] at com.sun.gluegen.JavaEmitter.generateMethodBindingEmitters(JavaEmitter.java:630) [gluegen] at com.sun.gluegen.procaddress.ProcAddressEmitter.generateMethodBindingEmittersImpl(ProcAddressEmitter.java:117) [gluegen] at com.sun.gluegen.procaddress.ProcAddressEmitter.generateMethodBindingEmitters(ProcAddressEmitter.java:103) [gluegen] at com.sun.gluegen.JavaEmitter.emitFunctions(JavaEmitter.java:282) [gluegen] at com.sun.gluegen.GlueGen.run(GlueGen.java:283) [gluegen] at com.sun.gluegen.GlueGen.main(GlueGen.java:297) [gluegen] Caused by: java.lang.NullPointerException [gluegen] at com.sun.gluegen.JavaType.descriptor(JavaType.java:547) [gluegen] at com.sun.gluegen.JavaType.getDescriptor(JavaType.java:252) [gluegen] at com.sun.gluegen.MethodBinding.erasedTypeDescriptor(MethodBinding.java:590) [gluegen] at com.sun.gluegen.MethodBinding.getDescriptor(MethodBinding.java:569) [gluegen] at com.sun.gluegen.JavaConfiguration.javaPrologueForMethod(JavaConfiguration.java:664) [gluegen] at com.sun.gluegen.opengl.GLConfiguration.javaPrologueForMethod(GLConfiguration.java:120) [gluegen] at com.sun.gluegen.JavaEmitter.generatePublicEmitters(JavaEmitter.java:346) [gluegen] at com.sun.gluegen.JavaEmitter.generateMethodBindingEmitters(JavaEmitter.java:625) [gluegen] ... 5 more [gluegen] Exception occurred while generating glue code. Exiting. BUILD FAILED /var/tmp/portage/dev-java/jogl-1.1.0-r1/work/jogl/make/build.xml:1310: The following error occurred while executing this line: /var/tmp/portage/dev-java/jogl-1.1.0-r1/work/jogl/make/build.xml:483: GlueGen returned: 1 Total time: 18 seconds * * ERROR: dev-java/jogl-1.1.0-r1 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 4100: Called eant '-Dgentoo.classpath=/usr/share/ant-core/lib/ant-launcher.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/opt/sun-jdk-1.6.0.13/lib/tools.jar' '-Dantlr.jar=/usr/share/antlr/lib/antlr.jar' '-Dgluegen.jar=/usr/share/gluegen/lib/gluegen.jar' '-Dgluegen-rt.jar=/usr/share/gluegen/lib/gluegen-rt.jar' 'all' 'javadoc' * environment, line 914: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * The die message: * eant failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-java/jogl-1.1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/jogl-1.1.0-r1/temp/environment'. * This ebuild is from an overlay named 'java-overlay': '/usr/local/portage/layman/java-overlay/' * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.13" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info