Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446608 - games-util/nml - python2.7 setup.py build /// ImportError: No module named setuptools
Summary: games-util/nml - python2.7 setup.py build /// ImportError: No module named se...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-09 14:28 UTC by Pascal.Marmier
Modified: 2012-12-12 15:11 UTC (History)
0 users

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


Attachments
build.log for nml-0.2.3 (build.log,1.96 KB, text/plain)
2012-12-11 02:54 UTC, Pascal.Marmier
Details
emerge --info (emerge.info,4.45 KB, text/plain)
2012-12-11 03:02 UTC, Pascal.Marmier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal.Marmier 2012-12-09 14:28:50 UTC
games-util/nml won't compile on a newly installed box.

 * Messages for package games-util/nml-0.2.3:

 * ERROR: games-util/nml-0.2.3 failed (compile phase):
 *   Building failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3659:  Called distutils_src_compile
 *   environment, line  998:  Called die
 * The specific snippet of code:
 *               "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed";
 * 

error :
>>> Compiling source in /var/tmp/portage/games-util/nml-0.2.3/work/nml-0.2.3 ...
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 


Separately emerging dev-python/setuptools solved the compiling error.
So I suspect a missing dependency in games-util/nml.
Note : same result with games-util/nml-0.2.4

More complete description : http://forums.gentoo.org/viewtopic-t-944050.html
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-09 23:05:32 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Pascal.Marmier 2012-12-11 02:54:10 UTC
Created attachment 332012 [details]
build.log for nml-0.2.3
Comment 3 Pascal.Marmier 2012-12-11 03:02:21 UTC
Created attachment 332014 [details]
emerge --info

PYTHON_TARGETS="python2_7 python3_2" has been added in make.conf but still reproducible
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-11 15:25:03 UTC
You need to run python-updater.
Comment 5 Pascal.Marmier 2012-12-12 15:11:34 UTC
python-updater didn't make it.
It emerged :
*** emerge --deep --oneshot --keep-going --verbose app-accessibility/speech-dispatcher:0 dev-libs/boost:0 dev-libs/libxslt:0 media-libs/lcms:0 sys-apps/file:0 sys-libs/cracklib:0
but no setuptools as dependency.

Note that "eselect python list" has always showed :
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *

Perhaps is setuptools missing in stage3-amd64-20121107.tar.bz2 ?

Anyhow, it has been worked around with
  emerge dev-python/setuptools