Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770958 - jython failed during install phase
Summary: jython failed during install phase
Status: RESOLVED DUPLICATE of bug 758881
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2021-02-16 15:07 UTC by Jean-Claude Aciman
Modified: 2021-02-16 18:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log, environment, info & pqv (jython-2.8.0-r2.tar.gz,114.91 KB, application/gzip)
2021-02-16 15:07 UTC, Jean-Claude Aciman

Note You need to log in before you can comment on or make changes to this bug.
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:

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/ 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/", 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/", 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/", 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/", 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,
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.