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

Bill Hernandez ms at
Sun Apr 12 08:19:54 PDT 2009

I tried installing trac on my Tiger Server and got the errors below,  
so I ran items ( 1 ) thru ( 5 ) and tried again...

( 1 ) $ sudo port selfupdate
( 2 ) $ sudo port upgrade all
( 3 ) $ sudo port uninstall inactive

After the first time it failed to install the next three commands.   
Items ( 5 ) and ( 6 ) were part of the python26 install messages

( 4 ) $ sudo port install python_select
	Skipping org.macports.activate (python_select +darwin_8) since this  
port is already active
	--->  Cleaning python_select

( 5 ) $ sudo python_select python26
	Selecting version "python26" for python

( 6 ) $ sudo port install trac +mysql +postgres


Any Ideas ?

Bill Hernandez
Plano, Texas

Warning: MySQL support is currently experimental. That means it works  
for some people, but several issues remain, in particular regarding  
the use of unicode and the key length in the repository cache.
See for more detailed information.
--->  Building py26-genshi
Error: Target returned: shell command " cd "/opt/ 
.macports.org_release_ports_python_py26-genshi/work/Genshi-0.5.1" && / 
python2.6 --no-user-cfg build " returned error 1
Command output: Traceback (most recent call last):
   File "", line 18, in <module>
     import doctest
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/", line 99, in <module>
     import unittest, difflib, pdb, tempfile
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/", line 34, in <module>
     from random import Random as _Random
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/", line 871, in <module>
     _inst = Random()
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/", line 96, in __init__
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/", line 115, in seed
     super(Random, self).seed(a)
SystemError: error return without exception set

Error: The following dependencies failed to build: py26-genshi py26-mx- 
base py26-mysql py26-setuptools py26-pgsql py26-pygments subversion- 
Error: Status 1 encountered during processing.

[2009.11.04](09:31PM) -> [roscoe] ~ $

More information about the macports-users mailing list