Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413095 - dev-python/markupsafe-0.15 fails to compile
Summary: dev-python/markupsafe-0.15 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Normal critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-22 14:24 UTC by Elmar Otter
Modified: 2012-04-23 06:18 UTC (History)
0 users

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


Attachments
emerge --info =dev-python/markupsafe-0.15 (emerge_info.txt,4.38 KB, text/plain)
2012-04-22 14:24 UTC, Elmar Otter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar Otter 2012-04-22 14:24:13 UTC
Created attachment 309777 [details]
emerge --info =dev-python/markupsafe-0.15

The emerge of dev-python/markupsafe-0.15 fails to build. It complaines about a missing module named 'setuptools'. (by the way: dev-python/markupsafe-0.12 comlains about this too).

Here is the build info:

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) dev-python/markupsafe-0.15
 * MarkupSafe-0.15.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking MarkupSafe-0.15.tar.gz to /var/tmp/portage/dev-python/markupsafe-0.15/work
>>> Source unpacked in /var/tmp/portage/dev-python/markupsafe-0.15/work
>>> Preparing source in /var/tmp/portage/dev-python/markupsafe-0.15/work/MarkupSafe-0.15 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/markupsafe-0.15/work/MarkupSafe-0.15 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/markupsafe-0.15/work/MarkupSafe-0.15 ...
 * Building of dev-python/markupsafe-0.15 with CPython 2.7...
python2.7 setup.py --with-speedups build -b build-2.7
running build
running build_py
creating build-2.7
creating build-2.7/lib.linux-i686-2.7
creating build-2.7/lib.linux-i686-2.7/markupsafe
copying markupsafe/__init__.py -> build-2.7/lib.linux-i686-2.7/markupsafe
copying markupsafe/tests.py -> build-2.7/lib.linux-i686-2.7/markupsafe
copying markupsafe/_constants.py -> build-2.7/lib.linux-i686-2.7/markupsafe
copying markupsafe/_native.py -> build-2.7/lib.linux-i686-2.7/markupsafe
running egg_info
writing MarkupSafe.egg-info/PKG-INFO
writing top-level names to MarkupSafe.egg-info/top_level.txt
writing dependency_links to MarkupSafe.egg-info/dependency_links.txt
reading manifest file 'MarkupSafe.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'MarkupSafe.egg-info/SOURCES.txt'
copying markupsafe/_speedups.c -> build-2.7/lib.linux-i686-2.7/markupsafe
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'markupsafe._speedups' extension
creating build-2.7/temp.linux-i686-2.7
creating build-2.7/temp.linux-i686-2.7/markupsafe
i686-pc-linux-gnu-gcc -pthread -O2 -march=native -pipe -fPIC -I/usr/include/python2.7 -c markupsafe/_speedups.c -o build-2.7/temp.linux-i686-2.7/markupsafe/_speedups.o
i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -O2 -march=native -pipe build-2.7/temp.linux-i686-2.7/markupsafe/_speedups.o -L/usr/lib -lpython2.7 -o build-2.7/lib.linux-i686-2.7/markupsafe/_speedups.so
 * Building of dev-python/markupsafe-0.15 with CPython 3.2...
python3.2 setup.py --with-speedups build -b build-3.2
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from setuptools import setup, Extension, Feature
ImportError: No module named setuptools
 * ERROR: dev-python/markupsafe-0.15 failed (compile phase):
 *   Building failed with CPython 3.2 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 3645:  Called distutils_src_compile
 *   environment, line  949:  Called python_execute_function 'distutils_building'
 *   environment, line 2022:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/markupsafe-0.15',
 * the complete build log and the output of 'emerge -pqv =dev-python/markupsafe-0.15'.
 * The complete build log is located at '/var/tmp/portage/dev-python/markupsafe-0.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/markupsafe-0.15/temp/environment'.
 * S: '/var/tmp/portage/dev-python/markupsafe-0.15/work/MarkupSafe-0.15'

>>> Failed to emerge dev-python/markupsafe-0.15, Log file:

>>>  '/var/tmp/portage/dev-python/markupsafe-0.15/temp/build.log'

 * Messages for package dev-python/markupsafe-0.15:

 * ERROR: dev-python/markupsafe-0.15 failed (compile phase):
 *   Building failed with CPython 3.2 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 3645:  Called distutils_src_compile
 *   environment, line  949:  Called python_execute_function 'distutils_building'
 *   environment, line 2022:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/markupsafe-0.15',
 * the complete build log and the output of 'emerge -pqv =dev-python/markupsafe-0.15'.
 * The complete build log is located at '/var/tmp/portage/dev-python/markupsafe-0.15/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/markupsafe-0.15/temp/environment'.
 * S: '/var/tmp/portage/dev-python/markupsafe-0.15/work/MarkupSafe-0.15'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

 * revdep-rebuild failed to emerge all packages.
 * you have the following choices:
 * - If emerge failed during the build, fix the problems and re-run revdep-rebuild.
 * - Use /etc/portage/package.keywords to unmask a newer version of the package.
 *   (and remove 5_order.rr to be evaluated again)
 * - Modify the above emerge command and run it manually.
 * - Compile or unmerge unsatisfied packages manually,
 *   remove temporary files, and try again.
 *   (you can edit package/ebuild list first)
 * To remove temporary files, please run:
 * rm /var/cache/revdep-rebuild/*.rr
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-04-23 06:18:08 UTC
archtester markupsafe # eix setuptools
[U] dev-python/setuptools
     Available versions:  0.6.14 0.6.15 (~)0.6.16 0.6.19 0.6.21 (~)0.6.24 (~)0.6.24[1] (~)0.6.25 {python_abis_2.5 python_abis_2.5-jython python_abis_2.6 python_abis_2.6-jython python_abis_2.7 python_abis_2.7-pypy-1.7 python_abis_2.7-pypy-1.8 python_abis_3.1 python_abis_3.2 python_abis_3.3}
     Installed versions:  0.6.24[1](22:31:45 10/03/12)(python_abis_2.5 python_abis_2.6 python_abis_2.7 python_abis_2.7-pypy-1.8 python_abis_3.1 python_abis_3.2 -python_abis_2.5-jython -python_abis_2.6-jython -python_abis_2.7-pyp


Note setuptools can be installed under the various python versions.

  File "setup.py", line 3, in <module>
    from setuptools import setup, Extension, Feature
ImportError: No module named setuptools
 * ERROR: dev-python/markupsafe-0.15 failed (compile phase):
 *   Building failed with CPython 3.2 in distutils_building() function

says you have not emerge setuptools under python3.2

do
USE_PYTHON="2.7 3.2" emerge setuptools

and you will have setuptools emerged under python3.2