Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge of dev-python/4suite fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
icaruslnx
n00b
n00b


Joined: 14 Apr 2009
Posts: 8

PostPosted: Fri Jun 17, 2011 5:07 pm    Post subject: Emerge of dev-python/4suite fails Reply with quote

I'm sure I'm missing something simple (I hope!) but I can't figure out why this is failing, looks like maybe a version issue.
python-2.6

Code:
 # emerge -v dev-python/4suite

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-python/4suite-1.0.2-r2  USE="-doc" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-python/4suite-1.0.2-r2
 * 4Suite-XML-1.0.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
 * Package:    dev-python/4suite-1.0.2-r2
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking 4Suite-XML-1.0.2.tar.bz2 to /var/tmp/portage/dev-python/4suite-1.0.2-r2/work
>>> Source unpacked in /var/tmp/portage/dev-python/4suite-1.0.2-r2/work
>>> Preparing source in /var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2 ...
 * Applying 4suite-1.0.2-amd64_python2.5.patch ...                          [ ok ]
 * Applying 4suite-1.0.2-config.patch ...                                   [ ok ]
 * Applying 4suite-1.0.2-version_parsing.patch ...                          [ ok ]
 * Applying 4suite-1.0.2-pyxml.patch ...                                    [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2 ...
 * Configuration of dev-python/4suite-1.0.2-r2 with CPython 2.6...
/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2/Ft/Lib/DistExt/Version.py:62: DeprecationWarning: functions overriding warnings.showwarning() must support the 'line' argument
  warnings.warn("invalid version number: %r, treating it as '0'" % vstring, Warning)
/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2/Ft/Lib/DistExt/Version.py:62: Warning: invalid version number: 'T-0.3.18 (BitTornado)', treating it as '0'
  warnings.warn("invalid version number: %r, treating it as '0'" % vstring, Warning)
Traceback (most recent call last):
  File "setup.py", line 88, in <module>
    requires_python=['>=2.2.1'],
  File "/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2/Ft/Lib/DistExt/__init__.py", line 48, in setup
    return _setup(**attrs)
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2/Ft/Lib/DistExt/PackageManager.py", line 546, in run_commands
    for dist in self.get_distributions():
  File "/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2/Ft/Lib/DistExt/PackageManager.py", line 420, in get_distributions
    distributions = self._sort_distributions(distributions)
  File "/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2/Ft/Lib/DistExt/PackageManager.py", line 477, in _sort_distributions
    installed_provides.update(get_provides(package))
  File "/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2/Ft/Lib/DistExt/PackageManager.py", line 467, in get_provides
    package_version = Version.CommonVersion(package.get_version())
  File "/usr/lib/python2.6/distutils/version.py", line 40, in __init__
    self.parse(vstring)
  File "/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2/Ft/Lib/DistExt/Version.py", line 67, in parse
    start = match.end()
AttributeError: 'NoneType' object has no attribute 'end'
 * ERROR: dev-python/4suite-1.0.2-r2 failed (configure phase):
 *   setup.py config failed with Python 2.6
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 4819:  Called python_execute_function 'configuration'
 *   environment, line 3349:  Called configuration
 *   environment, line 4817:  Called die
 * The specific snippet of code:
 *           "$(PYTHON)" setup.py config --prefix=/usr --docdir=/usr/share/doc/${PF} --datadir=/usr/share/${PN} --libdir="$(python_get_sitedir)" || die "setup.py config failed with Python ${PYTHON_ABI}"
 *
 * If you need support, post the output of 'emerge --info =dev-python/4suite-1.0.2-r2',
 * the complete build log and the output of 'emerge -pqv =dev-python/4suite-1.0.2-r2'.
 * The complete build log is located at '/var/tmp/portage/dev-python/4suite-1.0.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/4suite-1.0.2-r2/temp/environment'.
 * S: '/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2'

>>> Failed to emerge dev-python/4suite-1.0.2-r2, Log file:

>>>  '/var/tmp/portage/dev-python/4suite-1.0.2-r2/temp/build.log'

 * Messages for package dev-python/4suite-1.0.2-r2:

 * ERROR: dev-python/4suite-1.0.2-r2 failed (configure phase):
 *   setup.py config failed with Python 2.6
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 4819:  Called python_execute_function 'configuration'
 *   environment, line 3349:  Called configuration
 *   environment, line 4817:  Called die
 * The specific snippet of code:
 *           "$(PYTHON)" setup.py config --prefix=/usr --docdir=/usr/share/doc/${PF} --datadir=/usr/share/${PN} --libdir="$(python_get_sitedir)" || die "setup.py config failed with Python ${PYTHON_ABI}"
 *
 * If you need support, post the output of 'emerge --info =dev-python/4suite-1.0.2-r2',
 * the complete build log and the output of 'emerge -pqv =dev-python/4suite-1.0.2-r2'.
 * The complete build log is located at '/var/tmp/portage/dev-python/4suite-1.0.2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/4suite-1.0.2-r2/temp/environment'.
 * S: '/var/tmp/portage/dev-python/4suite-1.0.2-r2/work/4Suite-XML-1.0.2'
Back to top
View user's profile Send private message
icaruslnx
n00b
n00b


Joined: 14 Apr 2009
Posts: 8

PostPosted: Fri Jun 17, 2011 9:21 pm    Post subject: Reply with quote

Looks like it was a version issue. I set python to python-2.7 and it built no problem.
Off I go to python-update now...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum