Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639402 - dev-python/path-and-address-1.1.0 and dev-python/pylast-1.6.0 - add setuptools as a build dependency
Summary: dev-python/path-and-address-1.1.0 and dev-python/pylast-1.6.0 - add setuptool...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: setuptools-missing
  Show dependency tree
 
Reported: 2017-12-01 17:52 UTC by Arkadiusz Bokowy
Modified: 2017-12-02 15:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arkadiusz Bokowy 2017-12-01 17:52:56 UTC
During rebuild caused by USE flag change python3_4 -> python3_5, package dev-python/path-and-address-1.1.0 fails to rebuild because dev-python/setuptools-34.0.2-r1 is not scheduled for rebuild before dev-python/path-and-address.

Emerge log:

 * Package:    dev-python/path-and-address-1.1.0
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/path-and-address-1.1.0/work/path-and-address-1.1.0-python2_7/lib/path_and_address
copying path_and_address/__init__.py -> /var/tmp/portage/dev-python/path-and-address-1.1.0/work/path-and-address-1.1.0-python2_7/lib/path_and_address
copying path_and_address/validation.py -> /var/tmp/portage/dev-python/path-and-address-1.1.0/work/path-and-address-1.1.0-python2_7/lib/path_and_address
copying path_and_address/parsing.py -> /var/tmp/portage/dev-python/path-and-address-1.1.0/work/path-and-address-1.1.0-python2_7/lib/path_and_address
warning: build_py: byte-compiling is disabled, skipping.
 * python3_5: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.5 setup.py build
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ImportError: No module named 'setuptools'

Quick workaround:

Add `--keep-going=y` argument to the emerge. Wait until setuptools is emerged. Break current emerge and run it again.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-12-01 21:27:57 UTC
In the future, please report one bug per package as they can easily have different maintainers
Comment 2 Larry the Git Cow gentoo-dev 2017-12-02 15:37:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=868343adc2b54efa59ed9a4309ebbcd3cd840636

commit 868343adc2b54efa59ed9a4309ebbcd3cd840636
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-12-02 15:35:56 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-12-02 15:35:56 +0000

    dev-python/pylast: 1.9.0 stable
    
    Closes: https://bugs.gentoo.org/639402
    Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7

 dev-python/pylast/Manifest            | 2 +-
 dev-python/pylast/pylast-1.9.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a919246c132e47aec50b404c95615d820c53f10

commit 3a919246c132e47aec50b404c95615d820c53f10
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-12-02 15:33:03 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-12-02 15:33:09 +0000

    dev-python/path-and-address: depend on setuptools
    
    Bug: https://bugs.gentoo.org/639402
    Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7

 dev-python/path-and-address/Manifest                      | 2 +-
 dev-python/path-and-address/path-and-address-1.1.0.ebuild | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)}