NSLS-II / wishlist

an issue tracker for the big picture
1 stars 0 forks source link

building ophyd #58

Closed ericdill closed 9 years ago

ericdill commented 9 years ago
The following NEW packages will be INSTALLED:

    boltons:          15.0.0-py34_0                 
    decorator:        4.0.2-py34_0                  
    epics-base:       3.14.12-0                     
    humanize:         0.5.1-py34_0                  
    ipython:          4.0.0-py34_0                  
    ipython_genutils: 0.1.0-py34_0                  
    jinja2:           2.8-py34_0                    
    keyring:          5.3-py34_0                    
    libgfortran:      1.0-0                         
    markupsafe:       0.23-py34_0                   
    metadatastore:    v0.2.0-nppy34_0               
    mongoengine:      0.8.7-py34_1                  
    ncurses:          5.9-6                         
    numpy:            1.9.2-py34_2                  
    openblas:         0.2.14-3                      
    openssl:          1.0.1k-1                      
    ophyd:            v0.1.0-np19py34_0             
    path.py:          8.1.1-py34_0                  
    pcaspy:           0.5.1-py34_3                  
    pexpect:          3.3-py34_0                    
    pickleshare:      0.5-py34_0                    
    pip:              7.1.2-py34_0                  
    prettytable:      0.7.2-py34_0                  
    pyepics:          v3.2.4.post19+g763d30-nppy34_0
    pymongo:          2.8-py34_0                    
    pyolog:           v4.0.0.post5+g1a24409-py34_0  
    python:           3.4.3-1                       
    pytz:             2015.6-py34_0                 
    pyyaml:           3.11-py34_1                   
    readline:         6.2.5-1                       
    requests:         2.7.0-py34_0                  
    setuptools:       18.1-py34_0                   
    simplegeneric:    0.8.1-py34_0                  
    six:              1.9.0-py34_0                  
    sqlite:           3.8.4.1-1                     
    system:           5.8-2                         
    tk:               8.5.18-0                      
    traitlets:        4.0.0-py34_0                  
    wheel:            0.26.0-py34_0                 
    xz:               5.0.5-0                       
    yaml:             0.1.6-0                       
    zlib:             1.2.8-0                       

Fetching packages ...
libgfortran-1. 100% |#####################################################################################################################################| Time: 0:00:00   3.62 MB/s
openblas-0.2.1 100% |#####################################################################################################################################| Time: 0:00:00   4.04 MB/s
epics-base-3.1 100% |#####################################################################################################################################| Time: 0:00:03   5.79 MB/s
boltons-15.0.0 100% |#####################################################################################################################################| Time: 0:00:00   5.02 MB/s
decorator-4.0. 100% |#####################################################################################################################################| Time: 0:00:00   3.81 MB/s
ipython_genuti 100% |#####################################################################################################################################| Time: 0:00:00   4.33 MB/s
keyring-5.3-py 100% |#####################################################################################################################################| Time: 0:00:00   3.46 MB/s
markupsafe-0.2 100% |#####################################################################################################################################| Time: 0:00:00   3.77 MB/s
numpy-1.9.2-py 100% |#####################################################################################################################################| Time: 0:00:01   4.46 MB/s
path.py-8.1.1- 100% |#####################################################################################################################################| Time: 0:00:00   3.15 MB/s
pcaspy-0.5.1-p 100% |#####################################################################################################################################| Time: 0:00:00   3.76 MB/s
pexpect-3.3-py 100% |#####################################################################################################################################| Time: 0:00:00   4.69 MB/s
pickleshare-0. 100% |#####################################################################################################################################| Time: 0:00:00   5.20 MB/s
prettytable-0. 100% |#####################################################################################################################################| Time: 0:00:00   2.91 MB/s
pyepics-v3.2.4 100% |#####################################################################################################################################| Time: 0:00:00   2.85 MB/s
pymongo-2.8-py 100% |#####################################################################################################################################| Time: 0:00:00   1.41 MB/s
mongoengine-0. 100% |#####################################################################################################################################| Time: 0:00:00   3.40 MB/s
pytz-2015.6-py 100% |#####################################################################################################################################| Time: 0:00:00   3.47 MB/s
pyyaml-3.11-py 100% |#####################################################################################################################################| Time: 0:00:00   3.66 MB/s
requests-2.7.0 100% |#####################################################################################################################################| Time: 0:00:00   1.97 MB/s
simplegeneric- 100% |#####################################################################################################################################| Time: 0:00:00   4.00 MB/s
six-1.9.0-py34 100% |#####################################################################################################################################| Time: 0:00:00   2.02 MB/s
traitlets-4.0. 100% |#####################################################################################################################################| Time: 0:00:00   2.56 MB/s
humanize-0.5.1 100% |#####################################################################################################################################| Time: 0:00:00   3.40 MB/s
ipython-4.0.0- 100% |#####################################################################################################################################| Time: 0:00:00   2.47 MB/s
jinja2-2.8-py3 100% |#####################################################################################################################################| Time: 0:00:00   2.54 MB/s
metadatastore- 100% |#####################################################################################################################################| Time: 0:00:00   3.53 MB/s
pyolog-v4.0.0. 100% |#####################################################################################################################################| Time: 0:00:00   2.17 MB/s
ophyd-v0.1.0-n 100% |#####################################################################################################################################| Time: 0:00:00 102.47 MB/s
Extracting packages ...
[      COMPLETE      ]|########################################################################################################################################################| 100%
Linking packages ...
[      COMPLETE      ]|########################################################################################################################################################| 100%
===== testing package: ophyd-v0.1.0-np19py34_0 =====
import: u'ophyd'
import: u'ophyd.controls'
import: u'ophyd.controls.areadetector'
import: u'ophyd.controls.cas'
Traceback (most recent call last):
  File "/opt/conda/conda-bld/test-tmp_dir/run_test.py", line 34, in <module>
    import ophyd.controls.cas
  File "/opt/conda/envs/_test/lib/python3.4/site-packages/ophyd-0.1.0-py3.4.egg/ophyd/controls/cas/__init__.py", line 15, in <module>
  File "/opt/conda/envs/_test/lib/python3.4/site-packages/ophyd-0.1.0-py3.4.egg/ophyd/controls/cas/server.py", line 16, in <module>
  File "/opt/conda/envs/_test/lib/python3.4/site-packages/pcaspy/__init__.py", line 1, in <module>
    from .driver import Driver, SimpleServer, PVInfo, SimplePV
  File "/opt/conda/envs/_test/lib/python3.4/site-packages/pcaspy/driver.py", line 1, in <module>
    from . import cas
  File "/opt/conda/envs/_test/lib/python3.4/site-packages/pcaspy/cas.py", line 29, in <module>
    _cas = swig_import_helper()
  File "/opt/conda/envs/_test/lib/python3.4/site-packages/pcaspy/cas.py", line 25, in swig_import_helper
    _mod = imp.load_module('_cas', fp, pathname, description)
  File "/opt/conda/envs/_test/lib/python3.4/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
ImportError: libasIoc.so.3.14.12: cannot open shared object file: No such file or directory
TESTS FAILED: ophyd-v0.1.0-np19py34_0
root@edill-810g:/# 

Still failing with the same error. I am not sure what to do at this point.

ericdill commented 9 years ago

cc @tacaswell

ericdill commented 9 years ago

This is now into a part of the stack that I do not have any experience building

danielballan commented 9 years ago

It works! Gotta use the same epics build that pyepics and pycaspy were built against. There are multiple epics recipes floating around.

ericdill commented 9 years ago

Which recipe is the correct one?

ericdill commented 9 years ago

See #59 to address my last comment