python26 install failure (was : sudo port install trac +mysql +postgres (install errors))

Bill Hernandez ms at mac-specialist.com
Tue Apr 14 06:09:19 PDT 2009


I have been trying to get trac installed for about two weeks now on my  
Tiger Server and cannot get past some py26-genshi install problems...

Trac, along with python26, etc. installed fine on my Leopard  
WorkStation, but refuse to install on my OS X Tiger Server due to the  
py26-genshi install problem.

The original thread was, but the gist is included below :

sudo port install trac +mysql +postgres (install errors)


Bill Hernandez
Plano, Texas

On Apr 12, 2009, at 8:37 PM, Bryan Blackburn wrote:

>> Maybe try cleaning py26-genshi first, then the debug install again?
>
> $ sudo port clean --work py26-genshi
> $ sudo port -d install py26-genshi
>
> Bryan


Bryan,

The debug log below shows the install failed again. The server is  
running the very latest version of Tiger with xCode 2.5

Any Ideas ?

Bill Hernandez
Plano, Texas

[2009.13.04](09:11AM) -> [roscoe] ~ $ sudo port clean --work py26-genshi
--->  Cleaning py26-genshi

[2009.13.04](09:12AM) -> [roscoe] ~ $ sudo port -d install py26-genshi

DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-genshi
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/python/py26-genshi
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing  
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- 
existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/_resources/port1.0/group/ 
python26-1.0.tcl
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant powerpc is not provided by port py26-genshi.
DEBUG: Requested variant darwin is not provided by port py26-genshi.
DEBUG: Requested variant macosx is not provided by port py26-genshi.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/lang/python26
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing  
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- 
existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/_resources/port1.0/group/select-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant powerpc is not provided by port python26.
DEBUG: Requested variant macosx is not provided by port python26.
DEBUG: Executing variant darwin provides darwin
DEBUG: Searching for dependency: python26
DEBUG: Found Dependency: receipt exists for python26
DEBUG: Executing org.macports.main (py26-genshi)
--->  Fetching py26-genshi
DEBUG: Executing org.macports.fetch (py26-genshi)
--->  Verifying checksum(s) for py26-genshi
DEBUG: Executing org.macports.checksum (py26-genshi)
--->  Checksumming Genshi-0.5.1.tar.gz
DEBUG: Correct (md5) checksum for Genshi-0.5.1.tar.gz
DEBUG: Correct (sha1) checksum for Genshi-0.5.1.tar.gz
DEBUG: Correct (rmd160) checksum for Genshi-0.5.1.tar.gz
--->  Extracting py26-genshi
DEBUG: Executing org.macports.extract (py26-genshi)
--->  Extracting Genshi-0.5.1.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/ 
distfiles/python/Genshi-0.5.1.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_python_py26-genshi/work" && gzip -dc /opt/ 
local/var/macports/distfiles/python/Genshi-0.5.1.tar.gz | /usr/bin/ 
gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (py26-genshi)
--->  Configuring py26-genshi
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (py26-genshi)
--->  Building py26-genshi
DEBUG: Executing org.macports.build (py26-genshi)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_python_py26-genshi/work/Genshi-0.5.1" && / 
opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ 
python2.6 setup.py --no-user-cfg build'
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    import doctest
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/doctest.py", line 99, in <module>
    import unittest, difflib, pdb, tempfile
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/tempfile.py", line 34, in <module>
    from random import Random as _Random
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/random.py", line 871, in <module>
    _inst = Random()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/random.py", line 96, in __init__
    self.seed(x)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/random.py", line 115, in seed
    super(Random, self).seed(a)
SystemError: error return without exception set
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_python_py26-genshi/work/Genshi-0.5.1" && / 
opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ 
python2.6 setup.py --no-user-cfg build " returned error 1
Command output: Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    import doctest
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/doctest.py", line 99, in <module>
    import unittest, difflib, pdb, tempfile
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/tempfile.py", line 34, in <module>
    from random import Random as _Random
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/random.py", line 871, in <module>
    _inst = Random()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/random.py", line 96, in __init__
    self.seed(x)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/random.py", line 115, in seed
    super(Random, self).seed(a)
SystemError: error return without exception set

Warning: the following items did not execute (for py26-genshi):  
org.macports.activate org.macports.build org.macports.destroot  
org.macports.install
Error: Status 1 encountered during processing.

[2009.13.04](09:17AM) -> [roscoe] ~ $

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090414/9905d997/attachment.html>


More information about the macports-users mailing list