Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581610 - =sys-apps/file-5.26-r1[python] should DEPEND on dev-python/setuptools
Summary: =sys-apps/file-5.26-r1[python] should DEPEND on dev-python/setuptools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-30 05:12 UTC by Oleh
Modified: 2016-05-02 14:13 UTC (History)
0 users

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


Attachments
build.log (build.log,40.28 KB, text/x-log)
2016-04-30 05:18 UTC, Oleh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-04-30 05:12:31 UTC
When building stage3 with update from =sys-apps/file-5.26 (in seed) to =sys-apps/file-5.26-r1 it failing, due to missing setuptools. If I chroot into build environment and merge dev-python/setuptools and then let file update, it succeeds to merge and install. I didn't not test versions older than 5.26. It can be checked in
python/setup.py in file's sources.

Reproducible: Always

Actual Results:  
Making all in python
make[2]: Entering directory '/var/tmp/portage/sys-apps/file-5.26-r1/work/file-5.26-abi_x86_64.amd64/python'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/tmp/portage/sys-apps/file-5.26-r1/work/file-5.26-abi_x86_64.amd64/python'
make[2]: Entering directory '/var/tmp/portage/sys-apps/file-5.26-r1/work/file-5.26-abi_x86_64.amd64'
make[2]: Leaving directory '/var/tmp/portage/sys-apps/file-5.26-r1/work/file-5.26-abi_x86_64.amd64'
make[1]: Leaving directory '/var/tmp/portage/sys-apps/file-5.26-r1/work/file-5.26-abi_x86_64.amd64'
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    from setuptools import setup
ImportError: No module named setuptools
 * ERROR: sys-apps/file-5.26-r1::gentoo failed (compile phase):
 *   (no error message)
Comment 1 Oleh 2016-04-30 05:18:13 UTC
Created attachment 432624 [details]
build.log
Comment 2 Oleh 2016-04-30 10:55:48 UTC
of course, this make sense with USE="python", which I have enabled for stage builds.
Comment 3 Oleh 2016-05-02 13:29:43 UTC
any progress here? Quite straightforward fix.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-05-02 14:13:40 UTC
commit 060647cd95b37f5545ed8082c94352f91352fcf9
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Mon May 2 16:12:58 2016

    sys-apps/file: USE="python" requires dev-python/setuptools (bug #581610)
    
    Package-Manager: portage-2.2.28
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>