BCDA-APS / apstools

various tools for use with Bluesky at the APS
https://bcda-aps.github.io/apstools/latest/
Other
16 stars 9 forks source link

conda build failing #281

Closed prjemian closed 4 years ago

prjemian commented 4 years ago

Still problems from PyEpics while trying to build conda package:

details

``` (bluesky) mintadmin@mint-vm:~/.../eclipse/apstools$ conda build ./conda-recipe/ No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11 WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11 Copying /home/mintadmin/Documents/eclipse/apstools to /tmp/conda-bld/apstools_1581283520239/work/ Adding in variants from internal_defaults INFO:conda_build.variants:Adding in variants from internal_defaults Attempting to finalize metadata for apstools INFO:conda_build.metadata:Attempting to finalize metadata for apstools Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done BUILD START: ['apstools-1.1.17rc6-py_0.tar.bz2'] Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done ## Package Plan ## environment location: /tmp/conda-bld/apstools_1581283520239/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_ The following NEW packages will be INSTALLED: _libgcc_mutex: 0.1-main ca-certificates: 2020.1.1-0 certifi: 2019.11.28-py37_0 ld_impl_linux-64: 2.33.1-h53a641e_7 libedit: 3.1.20181209-hc058e9b_0 libffi: 3.2.1-hd88cf55_4 libgcc-ng: 9.1.0-hdf63c60_0 libstdcxx-ng: 9.1.0-hdf63c60_0 ncurses: 6.1-he6710b0_1 openssl: 1.1.1d-h7b6447c_3 pip: 20.0.2-py37_1 python: 3.7.6-h0371630_2 readline: 7.0-h7b6447c_5 setuptools: 45.1.0-py37_0 sqlite: 3.31.1-h7b6447c_0 tk: 8.6.8-hbc83047_0 wheel: 0.34.2-py37_0 xz: 5.2.4-h14c3975_4 zlib: 1.2.11-h7b6447c_3 Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done source tree in: /tmp/conda-bld/apstools_1581283520239/work export PREFIX=/tmp/conda-bld/apstools_1581283520239/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_ export BUILD_PREFIX=/tmp/conda-bld/apstools_1581283520239/_build_env export SRC_DIR=/tmp/conda-bld/apstools_1581283520239/work Processing $SRC_DIR Building wheels for collected packages: apstools Building wheel for apstools (setup.py): started Building wheel for apstools (setup.py): finished with status 'done' Created wheel for apstools: filename=apstools-1.1.17rc6-py3-none-any.whl size=79925 sha256=787c777627862f698400a5ac0002ec1f7c790dd9747af569f37b6e3d4970df32 Stored in directory: /tmp/pip-ephem-wheel-cache-3sebn5dk/wheels/9b/c7/cc/258f37d0e8f09d927c2f780c7d8c8555d1887aa54a5037fdb2 Successfully built apstools Installing collected packages: apstools Successfully installed apstools-1.1.17rc6 Resource usage statistics from building apstools: Process count: 3 CPU time: Sys=0:00:00.3, User=0:00:01.1 Memory: 37.7M Disk usage: 6.8K Time elapsed: 0:00:06.3 Packaging apstools INFO:conda_build.build:Packaging apstools INFO conda_build.build:build(1540): Packaging apstools Packaging apstools-1.1.17rc6-py_0 INFO:conda_build.build:Packaging apstools-1.1.17rc6-py_0 INFO conda_build.build:bundle_conda(879): Packaging apstools-1.1.17rc6-py_0 number of files: 35 Fixing permissions Packaged license file. TEST START: /tmp/conda-bld/noarch/apstools-1.1.17rc6-py_0.tar.bz2 Adding in variants from /tmp/tmpzwprei8o/info/recipe/conda_build_config.yaml INFO:conda_build.variants:Adding in variants from /tmp/tmpzwprei8o/info/recipe/conda_build_config.yaml INFO conda_build.variants:_combine_spec_dictionaries(189): Adding in variants from /tmp/tmpzwprei8o/info/recipe/conda_build_config.yaml Renaming work directory, /tmp/conda-bld/apstools_1581283520239/work to /tmp/conda-bld/apstools_1581283520239/work_moved_apstools-1.1.17rc6-py_0_noarch Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done ## Package Plan ## environment location: /tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place The following NEW packages will be INSTALLED: _libgcc_mutex: 0.1-main apstools: 1.1.17rc6-py_0 local asn1crypto: 1.3.0-py37_0 asteval: 0.9.16-pyh5ca1d4c_0 conda-forge attrs: 19.3.0-py_0 backcall: 0.1.0-py37_0 blas: 1.0-mkl bluesky: 1.5.5-py_0 conda-forge boltons: 20.0.0-py_0 conda-forge ca-certificates: 2020.1.1-0 certifi: 2019.11.28-py37_0 cffi: 1.13.2-py37h2e261b9_0 chardet: 3.0.4-py37_1003 cryptography: 2.8-py37h1ba5d50_0 cycler: 0.10.0-py37_0 cytoolz: 0.10.1-py37h7b6447c_0 databroker: 0.13.3-py_0 conda-forge dbus: 1.13.12-h746ee38_0 decorator: 4.4.1-py_0 doct: 1.1.0-py_0 conda-forge enum34: 1.1.6-py37_1002 conda-forge event-model: 1.13.2-py_0 conda-forge expat: 2.2.6-he6710b0_0 fontconfig: 2.13.0-h9420a91_0 freetype: 2.9.1-h8a8886c_1 glib: 2.63.1-h5a9c865_0 gst-plugins-base: 1.14.0-hbbd80ab_1 gstreamer: 1.14.0-hb453b48_1 h5py: 2.10.0-py37h7918eee_0 hdf5: 1.10.4-hb1b8bf9_0 historydict: 1.2.3-py_0 conda-forge humanize: 0.5.1-py37_1 icu: 58.2-h9c2bf20_1 idna: 2.8-py37_0 imagecodecs-lite: 2019.12.3-py37h516909a_0 conda-forge importlib_metadata: 1.5.0-py37_0 inflect: 4.1.0-py37_0 intel-openmp: 2020.0-166 ipython: 7.12.0-py37h5ca1d4c_0 ipython_genutils: 0.2.0-py37_0 jaraco.itertools: 5.0.0-py_0 jedi: 0.16.0-py37_0 jinja2: 2.11.1-py_0 jpeg: 9b-h024ee3a_2 jsonschema: 3.2.0-py37_0 kiwisolver: 1.1.0-py37he6710b0_0 ld_impl_linux-64: 2.33.1-h53a641e_7 libedit: 3.1.20181209-hc058e9b_0 libffi: 3.2.1-hd88cf55_4 libgcc-ng: 9.1.0-hdf63c60_0 libgfortran-ng: 7.3.0-hdf63c60_0 libpng: 1.6.37-hbc83047_0 libsodium: 1.0.16-h1bed415_0 libstdcxx-ng: 9.1.0-hdf63c60_0 libtiff: 4.1.0-h2733197_0 libuuid: 1.0.3-h1bed415_2 libxcb: 1.13-h1bed415_1 libxml2: 2.9.9-hea5a465_1 libxslt: 1.1.33-h7d1a2b0_0 lmfit: 1.0.0-py_0 conda-forge lxml: 4.5.0-py37hefd8a0e_0 markupsafe: 1.1.1-py37h7b6447c_0 matplotlib: 3.1.3-py37_0 matplotlib-base: 3.1.3-py37hef1b27d_0 mkl: 2020.0-166 mkl-service: 2.3.0-py37he904b0f_0 mkl_fft: 1.0.15-py37ha843d7b_0 mkl_random: 1.1.0-py37hd6b4f25_0 mongoquery: 1.3.5-py_0 conda-forge more-itertools: 8.2.0-py_0 ncurses: 6.1-he6710b0_1 networkx: 2.4-py_0 numpy: 1.18.1-py37h4f9e942_0 numpy-base: 1.18.1-py37hde5b4d6_1 olefile: 0.46-py37_0 openssl: 1.1.1d-h7b6447c_3 ophyd: 1.4.0rc3-py_0 lightsource2-tag pandas: 1.0.0-py37h0573a6f_0 parso: 0.6.0-py_0 pathlib: 1.0.1-py37_1 pcre: 8.43-he6710b0_0 pexpect: 4.8.0-py37_0 pickleshare: 0.7.5-py37_0 pillow: 7.0.0-py37hb39fc2d_0 pims: 0.4.1-py_1 conda-forge pip: 20.0.2-py37_1 prettytable: 0.7.2-py_3 conda-forge prompt_toolkit: 3.0.3-py_0 ptyprocess: 0.6.0-py37_0 pycparser: 2.19-py37_0 pyepics: 3.4.0-py37_1 conda-forge pygments: 2.5.2-py_0 pyopenssl: 19.1.0-py37_0 pyparsing: 2.4.6-py_0 pyqt: 5.9.2-py37h05f1152_2 pyresttable: 2020.0.2-py_0 aps-anl-tag pyrsistent: 0.15.7-py37h7b6447c_0 pysocks: 1.7.1-py37_0 python: 3.7.6-h0371630_2 python-dateutil: 2.8.1-py_0 pytz: 2019.3-py_0 pyyaml: 5.3-py37h7b6447c_0 pyzmq: 18.1.1-py37he6710b0_0 qt: 5.9.7-h5867ecd_1 readline: 7.0-h7b6447c_5 requests: 2.22.0-py37_1 scipy: 1.4.1-py37h0b6359f_0 setuptools: 45.1.0-py37_0 sip: 4.19.8-py37hf484d3e_0 six: 1.14.0-py37_0 slicerator: 1.0.0-py_0 conda-forge spec2nexus: 2021.1.7-h39e3cac_0 aps-anl-tag sqlite: 3.31.1-h7b6447c_0 super_state_machine: 2.0.2-py37_1000 conda-forge tifffile: 2019.7.26.2-py37_0 conda-forge tk: 8.6.8-hbc83047_0 toolz: 0.10.0-py_0 tornado: 6.0.3-py37h7b6447c_1 tqdm: 4.42.0-py_0 traitlets: 4.3.3-py37_0 tzlocal: 2.0.0-py37_0 ujson: 1.35-py37h14c3975_0 uncertainties: 3.1.2-py37_0 conda-forge urllib3: 1.25.8-py37_0 wcwidth: 0.1.8-py_0 wheel: 0.34.2-py37_0 xlrd: 1.2.0-py37_0 xz: 5.2.4-h14c3975_4 yaml: 0.1.7-had09818_2 zeromq: 4.3.1-he6710b0_3 zipp: 2.1.0-py_0 zlib: 1.2.11-h7b6447c_3 zstd: 1.3.7-h0b5b093_0 Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done export PREFIX=/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place export SRC_DIR=/tmp/conda-bld/apstools_1581283520239/test_tmp import: 'apstools' import: 'apstools.synApps' Traceback (most recent call last): File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/ctypes/__init__.py", line 97, in CFUNCTYPE return _c_functype_cache[(restype, argtypes, flags)] KeyError: (None, (,), 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/conda-bld/apstools_1581283520239/test_tmp/run_test.py", line 5, in import apstools.synApps File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/apstools/synApps/__init__.py", line 36, in from .asyn import * File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/apstools/synApps/asyn.py", line 25, in from ophyd.device import Component File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/ophyd/__init__.py", line 72, in set_cl() File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/ophyd/__init__.py", line 22, in set_cl set_cl(c_type, pv_telemetry=pv_telemetry) File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/ophyd/__init__.py", line 33, in set_cl from . import _pyepics_shim as shim File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/ophyd/_pyepics_shim.py", line 5, in import epics File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/epics/__init__.py", line 29, in from . import ca File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/epics/ca.py", line 713, in dbr.access_rights_handler_args) File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/epics/dbr.py", line 339, in make_callback return ctypes.CFUNCTYPE(None, args)(func) File "/tmp/conda-bld/apstools_1581283520239/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/ctypes/__init__.py", line 99, in CFUNCTYPE class CFunctionType(_CFuncPtr): TypeError: item 1 in _argtypes_ passes a struct/union with a bitfield by value, which is unsupported. Tests failed for apstools-1.1.17rc6-py_0.tar.bz2 - moving package to /tmp/conda-bld/broken WARNING:conda_build.build:Tests failed for apstools-1.1.17rc6-py_0.tar.bz2 - moving package to /tmp/conda-bld/broken WARNING conda_build.build:tests_failed(2200): Tests failed for apstools-1.1.17rc6-py_0.tar.bz2 - moving package to /tmp/conda-bld/broken TESTS FAILED: apstools-1.1.17rc6-py_0.tar.bz2 ```

Suspect problems with EPICS base libraries.

prjemian commented 4 years ago

This advice from conda build along the way:

WARNING: Detecting which files contain PREFIX is slow, installing ripgrep makes it faster. 'conda install ripgrep'
prjemian commented 4 years ago

Try building with epicscorelibs.

prjemian commented 4 years ago

... and that built. Seems a heavy requirement. What other packages that supply EPICS base (libca & libCom)?

Use epics-base instead of epicscorelibs and expect to see v7.0.2 or v7.0.3

prjemian commented 4 years ago

local conda build failed again:

details

``` (bluesky_2020_1) mintadmin@mint-vm:~/.../eclipse/apstools$ conda build ./conda-recipe/ No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11 WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11 Copying /home/mintadmin/Documents/eclipse/apstools to /tmp/conda-bld/apstools_1581286592825/work/ Adding in variants from internal_defaults INFO:conda_build.variants:Adding in variants from internal_defaults Attempting to finalize metadata for apstools INFO:conda_build.metadata:Attempting to finalize metadata for apstools Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done BUILD START: ['apstools-1.1.17rc7-py_0.tar.bz2'] Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done ## Package Plan ## environment location: /tmp/conda-bld/apstools_1581286592825/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_ The following NEW packages will be INSTALLED: _libgcc_mutex: 0.1-main ca-certificates: 2020.1.1-0 certifi: 2019.11.28-py37_0 ld_impl_linux-64: 2.33.1-h53a641e_7 libedit: 3.1.20181209-hc058e9b_0 libffi: 3.2.1-hd88cf55_4 libgcc-ng: 9.1.0-hdf63c60_0 libstdcxx-ng: 9.1.0-hdf63c60_0 ncurses: 6.1-he6710b0_1 openssl: 1.1.1d-h7b6447c_3 pip: 20.0.2-py37_1 python: 3.7.6-h0371630_2 readline: 7.0-h7b6447c_5 setuptools: 45.1.0-py37_0 sqlite: 3.31.1-h7b6447c_0 tk: 8.6.8-hbc83047_0 wheel: 0.34.2-py37_0 xz: 5.2.4-h14c3975_4 zlib: 1.2.11-h7b6447c_3 Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done source tree in: /tmp/conda-bld/apstools_1581286592825/work export PREFIX=/tmp/conda-bld/apstools_1581286592825/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_ export BUILD_PREFIX=/tmp/conda-bld/apstools_1581286592825/_build_env export SRC_DIR=/tmp/conda-bld/apstools_1581286592825/work Processing $SRC_DIR Building wheels for collected packages: apstools Building wheel for apstools (setup.py): started Building wheel for apstools (setup.py): finished with status 'done' Created wheel for apstools: filename=apstools-1.1.17rc7-py3-none-any.whl size=79927 sha256=6ab6c64181798d14db39e77d96a016e02d66761e7e35d7930a5eb6c9334ddcd7 Stored in directory: /tmp/pip-ephem-wheel-cache-jp9jcsxy/wheels/97/72/97/7304d472b4ce845aa3309fb29093d38744ff4ad47f601ea5a5 Successfully built apstools Installing collected packages: apstools Successfully installed apstools-1.1.17rc7 Resource usage statistics from building apstools: Process count: 3 CPU time: Sys=0:00:00.1, User=0:00:00.5 Memory: 50.5M Disk usage: 7.0K Time elapsed: 0:00:04.2 Packaging apstools INFO:conda_build.build:Packaging apstools INFO conda_build.build:build(1540): Packaging apstools Packaging apstools-1.1.17rc7-py_0 INFO:conda_build.build:Packaging apstools-1.1.17rc7-py_0 INFO conda_build.build:bundle_conda(879): Packaging apstools-1.1.17rc7-py_0 number of files: 35 Fixing permissions Packaged license file. WARNING: Detecting which files contain PREFIX is slow, installing ripgrep makes it faster. 'conda install ripgrep' TEST START: /tmp/conda-bld/noarch/apstools-1.1.17rc7-py_0.tar.bz2 Adding in variants from /tmp/tmp86efiq7k/info/recipe/conda_build_config.yaml INFO:conda_build.variants:Adding in variants from /tmp/tmp86efiq7k/info/recipe/conda_build_config.yaml INFO conda_build.variants:_combine_spec_dictionaries(189): Adding in variants from /tmp/tmp86efiq7k/info/recipe/conda_build_config.yaml Renaming work directory, /tmp/conda-bld/apstools_1581286592825/work to /tmp/conda-bld/apstools_1581286592825/work_moved_apstools-1.1.17rc7-py_0_noarch Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done ## Package Plan ## environment location: /tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place The following NEW packages will be INSTALLED: _libgcc_mutex: 0.1-main appdirs: 1.4.3-py37h28b3542_0 apstools: 1.1.17rc7-py_0 local asciitree: 0.3.3-py_2 asn1crypto: 1.3.0-py37_0 asteval: 0.9.12-py37_0 lightsource2-tag attrs: 19.3.0-py_0 backcall: 0.1.0-py37_0 blas: 1.0-mkl bleach: 3.1.0-py37_0 bluesky: 1.6.0rc3-py_0 lightsource2-tag bokeh: 1.4.0-py37_0 boltons: 16.3.1-py37_0 lightsource2-tag ca-certificates: 2020.1.1-0 certifi: 2019.11.28-py37_0 cffi: 1.13.2-py37h2e261b9_0 chardet: 3.0.4-py37_1003 click: 7.0-py37_0 cloudpickle: 1.2.2-py_0 cryptography: 2.8-py37h1ba5d50_0 cycler: 0.10.0-py37_0 cytoolz: 0.10.1-py37h7b6447c_0 dask: 2.10.1-py_0 dask-core: 2.10.1-py_0 databroker: 1.0.0b2-py_1 lightsource2-tag dbus: 1.13.12-h746ee38_0 decorator: 4.4.1-py_0 defusedxml: 0.6.0-py_0 distributed: 2.10.0-py_0 doct: 1.0.5-py37_0 lightsource2-tag entrypoints: 0.3-py37_0 epics-base: 7.0.3.1-pl526_1 aps-anl-tag event-model: 1.12.0-py_0 lightsource2-tag expat: 2.2.6-he6710b0_0 fasteners: 0.15-py_0 fontconfig: 2.13.0-h9420a91_0 freetype: 2.9.1-h8a8886c_1 fsspec: 0.6.2-py_0 glib: 2.63.1-h5a9c865_0 gmp: 6.1.2-h6c8ec71_1 gst-plugins-base: 1.14.0-hbbd80ab_1 gstreamer: 1.14.0-hb453b48_1 h5py: 2.10.0-py37h7918eee_0 hdf5: 1.10.4-hb1b8bf9_0 heapdict: 1.0.1-py_0 historydict: 1.2.3-py_0 lightsource2-tag holoviews: 1.12.7-py_0 humanize: 0.5.1-py37_1 icu: 58.2-h9c2bf20_1 idna: 2.8-py37_0 importlib_metadata: 1.5.0-py37_0 inflect: 4.1.0-py37_0 intake: 0.5.4-py_0 intel-openmp: 2020.0-166 ipykernel: 5.1.4-py37h39e3cac_0 ipython: 7.12.0-py37h5ca1d4c_0 ipython_genutils: 0.2.0-py37_0 jaraco.itertools: 5.0.0-py_0 jedi: 0.16.0-py37_0 jinja2: 2.11.1-py_0 jpeg: 9b-h024ee3a_2 jsonschema: 3.2.0-py37_0 jupyter_client: 5.3.4-py37_0 jupyter_core: 4.6.1-py37_0 kiwisolver: 1.1.0-py37he6710b0_0 ld_impl_linux-64: 2.33.1-h53a641e_7 libedit: 3.1.20181209-hc058e9b_0 libffi: 3.2.1-hd88cf55_4 libgcc-ng: 9.1.0-hdf63c60_0 libgfortran-ng: 7.3.0-hdf63c60_0 libpng: 1.6.37-hbc83047_0 libsodium: 1.0.16-h1bed415_0 libstdcxx-ng: 9.1.0-hdf63c60_0 libtiff: 4.1.0-h2733197_0 libuuid: 1.0.3-h1bed415_2 libxcb: 1.13-h1bed415_1 libxml2: 2.9.9-hea5a465_1 libxslt: 1.1.33-h7d1a2b0_0 lmfit: 0.9.13-py_1 lightsource2-tag locket: 0.2.0-py37_1 lxml: 4.5.0-py37hefd8a0e_0 markupsafe: 1.1.1-py37h7b6447c_0 matplotlib: 3.1.3-py37_0 matplotlib-base: 3.1.3-py37hef1b27d_0 mistune: 0.8.4-py37h7b6447c_0 mkl: 2020.0-166 mkl-service: 2.3.0-py37he904b0f_0 mkl_fft: 1.0.15-py37ha843d7b_0 mkl_random: 1.1.0-py37hd6b4f25_0 mongoquery: 1.1.0-py37_0 lightsource2-tag monotonic: 1.5-py_0 more-itertools: 8.2.0-py_0 msgpack-numpy: 0.4.4.3-py_0 msgpack-python: 0.6.1-py37hfd86e86_1 nbconvert: 5.6.1-py37_0 nbformat: 5.0.4-py_0 ncurses: 6.1-he6710b0_1 networkx: 2.4-py_0 notebook: 6.0.3-py37_0 numcodecs: 0.6.4-py37he6710b0_0 numpy: 1.18.1-py37h4f9e942_0 numpy-base: 1.18.1-py37hde5b4d6_1 olefile: 0.46-py37_0 openssl: 1.1.1d-h7b6447c_3 ophyd: 1.4.0rc3-py_0 lightsource2-tag packaging: 20.1-py_0 pandas: 1.0.0-py37h0573a6f_0 pandoc: 2.2.3.2-0 pandocfilters: 1.4.2-py37_1 param: 1.9.3-py_0 parso: 0.6.0-py_0 partd: 1.1.0-py_0 pcre: 8.43-he6710b0_0 perl: 5.26.2-h14c3975_0 pexpect: 4.8.0-py37_0 pickleshare: 0.7.5-py37_0 pillow: 7.0.0-py37hb39fc2d_0 pims: 0.4.1-py_1 lightsource2-tag pip: 20.0.2-py37_1 prettytable: 0.7.2-py37_0 lightsource2-tag prometheus_client: 0.7.1-py_0 prompt_toolkit: 3.0.3-py_0 psutil: 5.6.7-py37h7b6447c_0 ptyprocess: 0.6.0-py37_0 pycparser: 2.19-py37_0 pyepics: 3.4.0-py37_1 lightsource2-tag pygments: 2.5.2-py_0 pymongo: 3.9.0-py37he6710b0_0 pyopenssl: 19.1.0-py37_0 pyparsing: 2.4.6-py_0 pyqt: 5.9.2-py37h05f1152_2 pyresttable: 2020.0.2-py_0 aps-anl-tag pyrsistent: 0.15.7-py37h7b6447c_0 pysocks: 1.7.1-py37_0 python: 3.7.6-h0371630_2 python-dateutil: 2.8.1-py_0 python-snappy: 0.5.4-py37he6710b0_0 pytz: 2019.3-py_0 pyviz_comms: 0.7.3-py_0 pyyaml: 5.3-py37h7b6447c_0 pyzmq: 18.1.1-py37he6710b0_0 qt: 5.9.7-h5867ecd_1 readline: 7.0-h7b6447c_5 requests: 2.22.0-py37_1 ruamel_yaml: 0.15.87-py37h7b6447c_0 scipy: 1.4.1-py37h0b6359f_0 send2trash: 1.5.0-py37_0 setuptools: 45.1.0-py37_0 sip: 4.19.8-py37hf484d3e_0 six: 1.14.0-py37_0 slicerator: 0.9.8-py37_0 lightsource2-tag snappy: 1.1.7-hbae5bb6_3 sortedcontainers: 2.1.0-py37_0 spec2nexus: 2021.1.7-h39e3cac_0 aps-anl-tag sqlite: 3.31.1-h7b6447c_0 suitcase-mongo: 0.1.1-py_0 lightsource2-tag suitcase-msgpack: 0.2.4-py37_0 lightsource2-tag suitcase-utils: 0.5.0-py_2 lightsource2-tag super_state_machine: 1.0-py37_0 lightsource2-tag tblib: 1.6.0-py_0 terminado: 0.8.3-py37_0 testpath: 0.4.4-py_0 tifffile: 0.15.1-py37_0 lightsource2-tag tk: 8.6.8-hbc83047_0 toolz: 0.10.0-py_0 tornado: 6.0.3-py37h7b6447c_1 tqdm: 4.42.0-py_0 traitlets: 4.3.3-py37_0 tzlocal: 2.0.0-py37_0 uncertainties: 3.1.1-py37_0 lightsource2-tag urllib3: 1.25.8-py37_0 wcwidth: 0.1.8-py_0 webencodings: 0.5.1-py37_1 wheel: 0.34.2-py37_0 xarray: 0.15.0-py_0 xlrd: 1.2.0-py37_0 xz: 5.2.4-h14c3975_4 yaml: 0.1.7-had09818_2 zarr: 2.3.2-py_0 zeromq: 4.3.1-he6710b0_3 zict: 1.0.0-py_0 zipp: 2.1.0-py_0 zlib: 1.2.11-h7b6447c_3 zstd: 1.3.7-h0b5b093_0 Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done export PREFIX=/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place export SRC_DIR=/tmp/conda-bld/apstools_1581286592825/test_tmp import: 'apstools' import: 'apstools.synApps' Traceback (most recent call last): File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/ctypes/__init__.py", line 97, in CFUNCTYPE return _c_functype_cache[(restype, argtypes, flags)] KeyError: (None, (,), 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/conda-bld/apstools_1581286592825/test_tmp/run_test.py", line 5, in import apstools.synApps File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/apstools/synApps/__init__.py", line 36, in from .asyn import * File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/apstools/synApps/asyn.py", line 25, in from ophyd.device import Component File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/ophyd/__init__.py", line 72, in set_cl() File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/ophyd/__init__.py", line 22, in set_cl set_cl(c_type, pv_telemetry=pv_telemetry) File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/ophyd/__init__.py", line 33, in set_cl from . import _pyepics_shim as shim File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/ophyd/_pyepics_shim.py", line 5, in import epics File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/epics/__init__.py", line 29, in from . import ca File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/epics/ca.py", line 713, in dbr.access_rights_handler_args) File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/epics/dbr.py", line 339, in make_callback return ctypes.CFUNCTYPE(None, args)(func) File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/ctypes/__init__.py", line 99, in CFUNCTYPE class CFunctionType(_CFuncPtr): TypeError: item 1 in _argtypes_ passes a struct/union with a bitfield by value, which is unsupported. Tests failed for apstools-1.1.17rc7-py_0.tar.bz2 - moving package to /tmp/conda-bld/broken WARNING:conda_build.build:Tests failed for apstools-1.1.17rc7-py_0.tar.bz2 - moving package to /tmp/conda-bld/broken WARNING conda_build.build:tests_failed(2200): Tests failed for apstools-1.1.17rc7-py_0.tar.bz2 - moving package to /tmp/conda-bld/broken TESTS FAILED: apstools-1.1.17rc7-py_0.tar.bz2 ```

Still fails in the EPICS base support:

  File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/epics/ca.py", line 713, in <module>
    dbr.access_rights_handler_args)
  File "/tmp/conda-bld/apstools_1581286592825/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.7/site-packages/epics/dbr.py", line 339, in make_callback
    return ctypes.CFUNCTYPE(None, args)(func)
prjemian commented 4 years ago

update build environment and try conda build again:

conda update epics-base -c apsu
prjemian commented 4 years ago

closing as duplicate of #280

prjemian commented 4 years ago

build failed again, continue with #280 now