* Package: dev-java/jython-2.7.0-r2  * Repository: java-kit  * Maintainer: java@gentoo.org  * USE: amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: oracle-jdk-bin-1.8 >>> Unpacking source... >>> Unpacking jython-2.7.0-sources.jar to /var/tmp/portage/dev-java/jython-2.7.0-r2/work >>> Source unpacked in /var/tmp/portage/dev-java/jython-2.7.0-r2/work >>> Preparing source in /var/tmp/portage/dev-java/jython-2.7.0-r2/work ... * Applying jython-2.5.2-distutils_scripts_location.patch ... patching file Lib/distutils/command/install.py Hunk #1 succeeded at 87 with fuzz 2 (offset 17 lines).  [ ok ] * Applying jython-2.5.2-respect_PYTHONPATH.patch ... patching file src/org/python/core/PySystemState.java Hunk #1 succeeded at 807 with fuzz 2 (offset 161 lines).  [ ok ] * Applying jython-2.7_beta1-ant.patch ...  [ ok ] * Applying jython-2.7_beta1-dont-always-recompile-classes.patch ...  [ ok ] * Applying jython-2.7_beta2-maxrepeat-import.patch ...  [ ok ] * Applying jython-2.7.0-build.xml.patch ...  [ ok ] * Applying CVE-2016-4000.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/jython-2.7.0-r2/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/jython-2.7.0-r2/work ... Rewriting attributes Rewriting ./build.xml Rewriting ./tests/modjy/build.xml Rewriting ./maven/build.xml Rewriting ./ast/build.xml * Disabling all optional ANT_TASKS Buildfile: /var/tmp/portage/dev-java/jython-2.7.0-r2/work/build.xml init: needed-check: clean-if-antlr-needed: init: clean-checkout-dir: clean: prepare-output: [mkdir] Created dir: /var/tmp/portage/dev-java/jython-2.7.0-r2/work/build/classes [mkdir] Created dir: /var/tmp/portage/dev-java/jython-2.7.0-r2/work/build/gensrc/org/python/antlr [mkdir] Created dir: /var/tmp/portage/dev-java/jython-2.7.0-r2/work/build/exposed [mkdir] Created dir: /var/tmp/portage/dev-java/jython-2.7.0-r2/work/dist antlr_gen: [java] warning(105): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/Python.g:1278:10: no lexer rule corresponding to token: DEDENT [java] warning(105): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/Python.g:1271:15: no lexer rule corresponding to token: INDENT [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/Python.g:1986:59: Decision can match input such as "COMMA BACKQUOTE" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/Python.g:1986:62: Decision can match input such as "COMMA" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/Python.g:2389:7: Decision can match input such as "'"'" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/Python.g:2395:7: Decision can match input such as "'\''" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/Python.g:2408:37: Decision can match input such as "{'\t', ' '}" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] Semantic predicates were present but were hidden by actions. [java] warning(105): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:561:18: no lexer rule corresponding to token: DEDENT [java] warning(105): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:562:33: no lexer rule corresponding to token: DEDENT [java] warning(105): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:702:7: no lexer rule corresponding to token: TRAILBACKSLASH [java] warning(105): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:562:17: no lexer rule corresponding to token: INDENT [java] warning(105): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:740:19: no lexer rule corresponding to token: TRAILBACKSLASH [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:175:27: Decision can match input such as "NEWLINE" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:250:7: Decision can match input such as "AT" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:815:39: Decision can match input such as "COMMA BACKQUOTE" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:815:42: Decision can match input such as "COMMA" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:1085:38: Decision can match input such as "'\\''\n'{'\t', ' '}'#''\\''\n'" using multiple alternatives: 1, 3 [java] As a result, alternative(s) 3 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:1085:38: Decision can match input such as "'\\''\n'{'\t', ' '}'#''\\''\r''\n'" using multiple alternatives: 1, 3 [java] As a result, alternative(s) 3 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:1086:40: Decision can match input such as "'\\''\n'{'\t', ' '}'#''\\''\n'" using multiple alternatives: 1, 3 [java] As a result, alternative(s) 3 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:1086:40: Decision can match input such as "'\\''\n'{'\t', ' '}'#''\\''\r''\n'" using multiple alternatives: 1, 3 [java] As a result, alternative(s) 3 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:1094:7: Decision can match input such as "'"'" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:1100:7: Decision can match input such as "'\''" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] warning(200): /var/tmp/portage/dev-java/jython-2.7.0-r2/work/grammar/PythonPartial.g:1116:37: Decision can match input such as "{'\t', ' '}" using multiple alternatives: 1, 2 [java] As a result, alternative(s) 2 were disabled for that input [java] Semantic predicates were present but were hidden by actions. check-hg: hg-branch: hg-tag: hg-version: hg-id: brand-version: [mkdir] Created dir: /var/tmp/portage/dev-java/jython-2.7.0-r2/work/build/classes/org/python compile: [javac] Compiling 868 source files to /var/tmp/portage/dev-java/jython-2.7.0-r2/work/build/classes [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/core/PyUnicode.java:585: warning: [deprecation] ASCII in CharMatcher has been deprecated [javac] if (s == null || CharMatcher.ASCII.matchesAllOf(s)) { return s; } [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/core/PyBaseCode.java:258: warning: [deprecation] ASCII in CharMatcher has been deprecated [javac] if (CharMatcher.ASCII.matchesAllOf(keyword)) { [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/core/Py.java:656: warning: [deprecation] ASCII in CharMatcher has been deprecated [javac] if (CharMatcher.ASCII.matchesAllOf(s)) { [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/core/Py.java:664: warning: [deprecation] ASCII in CharMatcher has been deprecated [javac] if (CharMatcher.ASCII.matchesAllOf(s)) { [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/expose/generate/NewExposer.java:53: warning: [deprecation] visitMethodInsn(int,String,String,String) in MethodVisitor has been deprecated [javac] mv.visitMethodInsn(INVOKESTATIC, onType.getInternalName(), name, NEW_DESCRIPTOR); [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/modules/jffi/SkinnyMethodAdapter.java:156: warning: [deprecation] visitMethodInsn(int,String,String,String) in MethodVisitor has been deprecated [javac] getMethodVisitor().visitMethodInsn(INVOKESTATIC, arg1, arg2, arg3); [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/modules/jffi/SkinnyMethodAdapter.java:160: warning: [deprecation] visitMethodInsn(int,String,String,String) in MethodVisitor has been deprecated [javac] getMethodVisitor().visitMethodInsn(INVOKESPECIAL, arg1, arg2, arg3); [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/modules/jffi/SkinnyMethodAdapter.java:164: warning: [deprecation] visitMethodInsn(int,String,String,String) in MethodVisitor has been deprecated [javac] getMethodVisitor().visitMethodInsn(INVOKEVIRTUAL, arg1, arg2, arg3); [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/modules/jffi/SkinnyMethodAdapter.java:168: warning: [deprecation] visitMethodInsn(int,String,String,String) in MethodVisitor has been deprecated [javac] getMethodVisitor().visitMethodInsn(INVOKEINTERFACE, arg1, arg2, arg3); [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/modules/jffi/SkinnyMethodAdapter.java:843: warning: [deprecation] visitMethodInsn(int,String,String,String) in MethodVisitor has been deprecated [javac] public void visitMethodInsn(int arg0, String arg1, String arg2, String arg3) { [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/modules/jffi/SkinnyMethodAdapter.java:844: warning: [deprecation] visitMethodInsn(int,String,String,String) in MethodVisitor has been deprecated [javac] getMethodVisitor().visitMethodInsn(arg0, arg1, arg2, arg3); [javac] ^ [javac] /var/tmp/portage/dev-java/jython-2.7.0-r2/work/src/org/python/modules/jffi/StructLayout.java:145: warning: [deprecation] Struct(Type...) in Struct has been deprecated [javac] : new com.kenai.jffi.Struct(fieldTypes); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 12 warnings [copy] Copying 1 file to /var/tmp/portage/dev-java/jython-2.7.0-r2/work/build/classes/org/python/modules [copy] Copying 1 file to /var/tmp/portage/dev-java/jython-2.7.0-r2/work/build/classes [copy] Copying 1 file to /var/tmp/portage/dev-java/jython-2.7.0-r2/work/build/classes/META-INF/services expose: [expose] Exposing 219 classes jar: [jar] Building MANIFEST-only jar: /var/tmp/portage/dev-java/jython-2.7.0-r2/work/dist/callbacker_test.jar [jar] Building jar: /var/tmp/portage/dev-java/jython-2.7.0-r2/work/dist/jython-dev.jar copy-javalib: copy-cpythonlib: [copy] Copying 1033 files to /var/tmp/portage/dev-java/jython-2.7.0-r2/work/dist/Lib copy-lib: [copy] Copying 488 files to /var/tmp/portage/dev-java/jython-2.7.0-r2/work/dist/Lib [copy] Copied 18 empty directories to 1 empty directory under /var/tmp/portage/dev-java/jython-2.7.0-r2/work/dist/Lib [copy] Copying 3 files to /var/tmp/portage/dev-java/jython-2.7.0-r2/work/dist/bin [copy] Copying 1 file to /var/tmp/portage/dev-java/jython-2.7.0-r2/work/dist pycompile: [jycompile] Compiling 568 files developer-build: BUILD SUCCESSFUL Total time: 1 minute 27 seconds >>> Source compiled. * Skipping make test/check due to ebuild restriction. >>> Test phase [disabled because of RESTRICT=test]: dev-java/jython-2.7.0-r2 >>> Install dev-java/jython-2.7.0-r2 into /var/tmp/portage/dev-java/jython-2.7.0-r2/image/ /var/tmp/portage/dev-java/jython-2.7.0-r2/temp/jython: /usr/share/bashdb/bashdb-main.inc: No such file or directory /var/tmp/portage/dev-java/jython-2.7.0-r2/temp/jython: warning: cannot start debugger; debugging mode disabled Traceback (most recent call last): File "", line 1, in File "/var/tmp/portage/dev-java/jython-2.7.0-r2/image/usr/share/jython-2.7/Lib/distutils/sysconfig.py", line 28, in project_base = os.path.dirname(os.path.realpath(sys.executable)) File "/var/tmp/portage/dev-java/jython-2.7.0-r2/image/usr/share/jython-2.7/Lib/posixpath.py", line 367, in realpath path, ok = _joinrealpath('', filename, {}) File "/var/tmp/portage/dev-java/jython-2.7.0-r2/image/usr/share/jython-2.7/Lib/posixpath.py", line 373, in _joinrealpath if isabs(rest): File "/var/tmp/portage/dev-java/jython-2.7.0-r2/image/usr/share/jython-2.7/Lib/posixpath.py", line 61, in isabs return s.startswith('/') AttributeError: 'NoneType' object has no attribute 'startswith' * ERROR: dev-java/jython-2.7.0-r2::java-kit failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 5466: Called python_domodule 'epython.py' * environment, line 4891: Called python_get_sitedir * environment, line 5166: Called _python_export 'PYTHON_SITEDIR' * environment, line 613: Called die * The specific snippet of code: * PYTHON_SITEDIR=$("${PYTHON}" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_lib())') || die; * * If you need support, post the output of `emerge --info '=dev-java/jython-2.7.0-r2::java-kit'`, * the complete build log and the output of `emerge -pqv '=dev-java/jython-2.7.0-r2::java-kit'`. !!! When you file a bug report, please include the following information: GENTOO_VM=oracle-jdk-bin-1.8 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.202" JAVACFLAGS="-source 1.7 -target 1.7" COMPILER="javac" and of course, the output of emerge --info =jython-2.7.0 * The complete build log is located at '/var/log/portage/dev-java:jython-2.7.0-r2:20210319-025110.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/jython-2.7.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/jython-2.7.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/jython-2.7.0-r2/work' * S: '/var/tmp/portage/dev-java/jython-2.7.0-r2/work'