Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 770958

Summary: jython failed during install phase
Product: Gentoo Linux Reporter: Jean-Claude Aciman <jcl.aciman>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log, environment, info & pqv

Description Jean-Claude Aciman 2021-02-16 15:07:08 UTC
Created attachment 686967 [details]
build.log, environment, info & pqv

Jython build required by an "emerge -qav ant"

Failed during install phase:

BUILD SUCCESSFUL
Total time: 58 seconds
 * Skipping make test/check due to ebuild restriction.
 * python_export() is part of private eclass API.
 * Please call python_get*() instead.
/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 "<string>", line 1, in <module>
  File "/var/tmp/portage/dev-java/jython-2.7.0-r2/image/usr/share/jython-2.7/Lib/distutils/sysconfig.py", line 28, in <module>
    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::gentoo failed (install phase):
 *   (no error message)

Required files are in the attchment.
Thank you for fixing this issue.
Kind regards,
Jean-Claude
Comment 1 Ionen Wolkens gentoo-dev 2021-02-16 17:55:55 UTC
Next time please don't use tar for logs, it's fine to attach separate files.

That aside, this is the same error as your previous bug report (which you closed back then, despite not actually fixed).

*** This bug has been marked as a duplicate of bug 758881 ***
Comment 2 Ionen Wolkens gentoo-dev 2021-02-16 18:00:40 UTC
(In reply to Ionen Wolkens from comment #1)
> closed back then
Or rather closed just now, hadn't looked at the dates.

I guess that means you got it to work then :) But let's wait till it's fixed for everyone else too.