Error building py26-enable

Michael O'Brien Michael.T.OBrien at notes.aero.org
Wed Nov 2 14:02:45 PDT 2011


Attempting to build py26-enable fails on current MacPorts under Snow Leopard, building a new MacPorts installation (not an upgrade).   This is with a MacPorts installation built from source to move the standard prefix to a different place (to facilitate the building of installable packages).  Before I file a ticket I thought I'd ask if anyone else has seen this:

version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 503
:debug:main Executing org.macports.main (py26-enable)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (py26-enable)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (py26-enable)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (py26-enable)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (py26-enable)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (py26-enable)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (py26-enable)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Nov  2 13:59:22 PDT 2011
:notice:build --->  Building py26-enable
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (py26-enable)
:debug:build Environment: CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' CPATH='/opt/tcs/include' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/tcs/lib' F90FLAGS='-m64' CC_PRINT_OPTIONS_FILE='/opt/tcs/var/macports/build/_opt_tcs_var_macports_sources_mirror.aero.org_macports-release_ports_python_py26-enable/py26-enable/work/.CC_PRINT_OPTIONS' LDFLAGS='-arch x86_64' FCFLAGS='-m64' OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES'
:debug:build Assembled command: 'cd "/opt/tcs/var/macports/build/_opt_tcs_var_macports_sources_mirror.aero.org_macports-release_ports_python_py26-enable/py26-enable/work/Enable-3.3.2" && /opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build'
:debug:build Executing command line:  cd "/opt/tcs/var/macports/build/_opt_tcs_var_macports_sources_mirror.aero.org_macports-release_ports_python_py26-enable/py26-enable/work/Enable-3.3.2" && /opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build 
:info:build /opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/distutils/system_info.py:528: UserWarning: Specified path  is invalid.
:info:build   warnings.warn('Specified path %s is invalid.' % d)
:info:build /opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/distutils/system_info.py:528: UserWarning: Specified path /usr/X11R6/lib64 is invalid.
:info:build   warnings.warn('Specified path %s is invalid.' % d)
:info:build /opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/distutils/system_info.py:528: UserWarning: Specified path /usr/X11/lib64 is invalid.
:info:build   warnings.warn('Specified path %s is invalid.' % d)
:info:build /opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/distutils/system_info.py:528: UserWarning: Specified path /usr/lib64 is invalid.
:info:build   warnings.warn('Specified path %s is invalid.' % d)
:info:build No local packages or download links found for setupdocs>=1.0
:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 327, in <module>
:info:build     **config
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/distutils/core.py", line 186, in setup
:info:build     return old_setup(**new_attr)
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup
:info:build     _setup_distribution = dist = klass(attrs)
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/distutils/numpy_distribution.py", line 14, in __init__
:info:build     Distribution.__init__(self, attrs)
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/dist.py", line 221, in __init__
:info:build     self.fetch_build_eggs(attrs.pop('setup_requires'))
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/dist.py", line 245, in fetch_build_eggs
:info:build     parse_requirements(requires), installer=self.fetch_build_egg
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 576, in resolve
:info:build     dist = best[req.key] = env.best_match(req, self, installer)
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 821, in best_match
:info:build     return self.obtain(req, installer) # try and download/install
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 833, in obtain
:info:build     return installer(requirement)
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/dist.py", line 294, in fetch_build_egg
:info:build     return cmd.easy_install(req)
:info:build   File "/opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 583, in easy_install
:info:build     raise DistutilsError(msg)
:info:build distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setupdocs>=1.0')
:info:build shell command " cd "/opt/tcs/var/macports/build/_opt_tcs_var_macports_sources_mirror.aero.org_macports-release_ports_python_py26-enable/py26-enable/work/Enable-3.3.2" && /opt/tcs/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for py26-enable): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install py26-enable
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:build Log for py26-enable is at: /opt/tcs/var/macports/logs/_opt_tcs_var_macports_sources_mirror.aero.org_macports-release_ports_python_py26-enable/py26-enable/main.log



More information about the macports-users mailing list