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

Bug 638820

Summary: sys-apps/pkgcore fails to build with python3.6
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: Tim Harder <radhermit>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Gilbert gentoo-dev 2017-11-25 20:28:35 UTC
* python3_6: running distutils-r1_run_phase python_compile_all
/usr/bin/python3.6 setup.py build_man
running build_man
running build_py
warning: build_py2to3: byte-compiling is disabled, skipping.

starting 2to3 conversion; this may take a while...
completed py3k conversions
Traceback (most recent call last):
  File "setup.py", line 237, in <module>
    **pkgdist_setup
  File "/usr/lib64/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/x/portage/sys-apps/pkgcore-9999/work/pkgcore-9999-python3_6/pkgdist.py", line 570, in run
    generate_man()
  File "/x/portage/sys-apps/pkgcore-9999/work/pkgcore-9999-python3_6/pkgdist.py", line 529, in generate_man
    generate_man(TOPDIR, PACKAGEDIR, MODULE)
TypeError: generate_man() takes 2 positional arguments but 3 were given
Comment 1 Mike Gilbert gentoo-dev 2017-11-25 21:20:03 UTC
Upgrading snakeoil resolved it.