Opened 9 years ago

Closed 9 years ago

#47474 closed defect (fixed)

Processing of port py-h5py failed

Reported by: fm@… Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: py-h5py

Description (last modified by mf2k (Frank Schima))

I am trying to install h5py. I have previously installed hdf5 with macports I have: hdf5 @1.8.14_0+cxx (active)

Below I append the full main.log file. This is the log+error message I get:

> sudo port install py-h5py
--->  Computing dependencies for py-h5py
--->  Dependencies to be installed: py27-h5py
--->  Building py27-h5py
Error: org.macports.build for port py27-h5py returned: command execution failed
Error: Failed to install py27-h5py
Please see the log file for port py27-h5py for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-h5py/py27-h5py/main.log
Error: The following dependencies were not installed: py27-h5py
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py-h5py failed

main.log:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-h5py/py27-h5py/main.log
------------------------

version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (py27-h5py)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (py27-h5py)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (py27-h5py)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (py27-h5py)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (py27-h5py)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (py27-h5py)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (py27-h5py)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Apr 16 17:26:10 CEST 2015
:notice:build --->  Building py27-h5py
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (py27-h5py)
:debug:build Environment: 
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-h5py/py27-h5py/work/.CC_PRINT_OPTIONS'
CFLAGS='-arch x86_64'
CPATH='/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-arch x86_64'
F90FLAGS='-m64'
FCFLAGS='-m64'
FFLAGS='-m64'
LDFLAGS='-arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
OBJC='/usr/bin/clang'
OBJCFLAGS='-arch x86_64'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-h5py/py27-h5py/work/h5py-2.5.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-h5py/py27-h5py/work/h5py-2.5.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
:info:build Download error on https://pypi.python.org/simple/six/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) -- Some packages may not be found!
:info:build Couldn't find index page for 'six' (maybe misspelled?)
:info:build Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) -- Some packages may not be found!
:info:build No local packages or download links found for six
:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 140, in <module>
:info:build     cmdclass = CMDCLASS,
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
:info:build     _setup_distribution = dist = klass(attrs)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
:info:build     self.fetch_build_eggs(attrs['setup_requires'])
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 310, in fetch_build_eggs
:info:build     replace_conflicting=True,
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 824, in resolve
:info:build     dist = best[req.key] = env.best_match(req, ws, installer)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1069, in best_match
:info:build     return self.obtain(req, installer)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1081, in obtain
:info:build     return installer(requirement)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 377, in fetch_build_egg
:info:build     return cmd.easy_install(req)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in easy_install
:info:build     raise DistutilsError(msg)
:info:build distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('six')
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-h5py/py27-h5py/work/h5py-2.5.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
:info:build Exit code: 1
:error:build org.macports.build for port py27-h5py returned: command execution failed
:debug:build Error code: CHILDSTATUS 48104 1
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for py27-h5py: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install py27-h5py
:debug:build Registry error: py27-h5py not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port py27-h5py for details:

Change History (3)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Keywords: python hdf5 removed
Owner: changed from macports-tickets@… to eborisch@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers py-h5py), if any. Also, please attach the complete main.log file after running port clean on the port instead of pasting it into the description unformatted.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 9 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: newclosed

Should be fixed in r135157.

Note: See TracTickets for help on using tickets.