{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/3407","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/3407/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/3407/comments","events_url":"https://api.github.com/repos/conda/conda/issues/3407/events","html_url":"https://github.com/conda/conda/issues/3407","id":176267846,"number":3407,"title":"conda build - exception - padding error","user":{"login":"davidslac","id":16782213,"avatar_url":"https://avatars.githubusercontent.com/u/16782213?v=3","gravatar_id":"","url":"https://api.github.com/users/davidslac","html_url":"https://github.com/davidslac","followers_url":"https://api.github.com/users/davidslac/followers","following_url":"https://api.github.com/users/davidslac/following{/other_user}","gists_url":"https://api.github.com/users/davidslac/gists{/gist_id}","starred_url":"https://api.github.com/users/davidslac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidslac/subscriptions","organizations_url":"https://api.github.com/users/davidslac/orgs","repos_url":"https://api.github.com/users/davidslac/repos","events_url":"https://api.github.com/users/davidslac/events{/privacy}","received_events_url":"https://api.github.com/users/davidslac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-11T21:58:30Z","updated_at":"2016-09-13T10:10:50Z","closed_at":null,"body":"I just updated to the lastest conda-build in defaults, and latest conda conda-env in conda canary, when I run conda build I am getting a 'package error'. Here is my conda environemnt:\r\n\r\n               platform : linux-64\r\n          conda version : 4.2.5\r\n       conda is private : False\r\n      conda-env version : 2.6.0\r\n    conda-build version : 2.0.1\r\n         python version : 2.7.12.final.0\r\n       requests version : 2.10.0\r\n       root environment : /reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7  (writable)\r\n    default environment : /reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7\r\n       envs directories : /reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/envs\r\n          package cache : /reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/pkgs\r\n           channel URLs : file:///reg/g/psdm/sw/conda/channels/system-rhel7/linux-64/\r\n                          file:///reg/g/psdm/sw/conda/channels/system-rhel7/noarch/\r\n                          file:///reg/g/psdm/sw/conda/channels/psana-rhel7/linux-64/\r\n                          file:///reg/g/psdm/sw/conda/channels/psana-rhel7/noarch/\r\n                          file:///reg/g/psdm/sw/conda/channels/external-rhel7/linux-64/\r\n                          file:///reg/g/psdm/sw/conda/channels/external-rhel7/noarch/\r\n                          https://repo.continuum.io/pkgs/free/linux-64/\r\n                          https://repo.continuum.io/pkgs/free/noarch/\r\n                          https://repo.continuum.io/pkgs/pro/linux-64/\r\n                          https://repo.continuum.io/pkgs/pro/noarch/\r\n                          https://conda.anaconda.org/scikit-beam/linux-64/\r\n                          https://conda.anaconda.org/scikit-beam/noarch/\r\n                          file:///reg/g/psdm/sw/conda/channels/testing-rhel7/linux-64/\r\n                          file:///reg/g/psdm/sw/conda/channels/testing-rhel7/noarch/\r\n            config file : /reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/.condarc\r\n           offline mode : False\r\n\r\nand here is the build output\r\n```\r\nSIT_ARCH=x86_64-rhel7-gcc48-opt conda build  -c file:///reg/g/psdm/sw/conda/channels/system-rhel7 -c file:///reg/g/psdm/sw/conda/channels/psana-rhel7 -c file:///reg/g/psdm/sw/conda/channels/external-rhel7 --quiet recipes/psana/psana-conda-opt 2>&1 | tee -a /reg/g/psdm/sw/conda/logs/conda_build_psana_psana-conda-1.0.2-py27_1_rhel7_linux-64.log\r\n/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda_build/environ.py:303: UserWarning: The environment variable 'SIT_ROOT' is undefined.\r\n  UserWarning\r\nBUILD START: psana-conda-1.0.2-py27_1\r\n    (actual version deferred until further download or env creation)\r\n\r\nThe following NEW packages will be INSTALLED:\r\n\r\n    boost:           1.57.0-4                                                                         \r\n    cairo:           1.12.18-6                                                                        \r\n    cycler:          0.10.0-py27_0                                                                    \r\n    cython:          0.24.1-py27_0                                                                    \r\n    fontconfig:      2.11.1-6                                                                         \r\n    freetype:        2.5.5-1                                                                          \r\n    h5py:            2.5.0-py27_hdf518_mpi4py2_100 file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    hdf5:            1.8.17-openmpi_100            file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    icu:             54.1-0                                                                           \r\n    libgfortran:     3.0.0-1                                                                          \r\n    libpng:          1.6.22-0                                                                         \r\n    libsodium:       1.0.10-0                                                                         \r\n    libxml2:         2.9.2-0                                                                          \r\n    matplotlib:      1.5.1-np111py27_0                                                                \r\n    mkl:             11.3.3-0                                                                         \r\n    mpi4py:          2.0.0-py27_openmpi_100        file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    mysql:           5.5.24-0                                                                         \r\n    ndarray:         1.1.5-0                       file:///reg/g/psdm/sw/conda/channels/psana-rhel7   \r\n    numexpr:         2.6.1-np111py27_0                                                                \r\n    numpy:           1.11.1-py27_0                                                                    \r\n    openmpi:         1.10.3-lsf_verbs_100          file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    openssl:         1.0.2h-1                                                                         \r\n    pip:             8.1.2-py27_0                                                                     \r\n    pixman:          0.32.6-0                                                                         \r\n    pycairo:         1.10.0-py27_0                                                                    \r\n    pyparsing:       2.1.4-py27_0                                                                     \r\n    pyqt:            4.11.4-py27_4                                                                    \r\n    python:          2.7.12-1                                                                         \r\n    python-dateutil: 2.5.3-py27_0                                                                     \r\n    pytz:            2016.6.1-py27_0                                                                  \r\n    pyzmq:           15.4.0-py27_0                                                                    \r\n    qt:              4.8.5-0                                                                          \r\n    readline:        6.2-2                                                                            \r\n    scipy:           0.18.0-np111py27_0                                                               \r\n    scons:           2.3.0-py27_0                                                                     \r\n    setuptools:      26.1.1-py27_0                                                                    \r\n    sip:             4.18-py27_0                                                                      \r\n    six:             1.10.0-py27_0                                                                    \r\n    sqlite:          3.13.0-0                                                                         \r\n    szip:            2.1-100                       file:///reg/g/psdm/sw/conda/channels/external-rhel7\r\n    tables:          3.2.3.1-py27_hdf18_100        file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    tk:              8.5.18-0                                                                         \r\n    wheel:           0.29.0-py27_0                                                                    \r\n    zeromq:          4.1.4-0                                                                          \r\n    zlib:            1.2.8-3                                                                          \r\n\r\n\r\nThe following NEW packages will be INSTALLED:\r\n\r\n    boost:           1.57.0-4                                                                         \r\n    cairo:           1.12.18-6                                                                        \r\n    cycler:          0.10.0-py27_0                                                                    \r\n    cython:          0.24.1-py27_0                                                                    \r\n    fontconfig:      2.11.1-6                                                                         \r\n    freetype:        2.5.5-1                                                                          \r\n    h5py:            2.5.0-py27_hdf518_mpi4py2_100 file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    hdf5:            1.8.17-openmpi_100            file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    icu:             54.1-0                                                                           \r\n    libgfortran:     3.0.0-1                                                                          \r\n    libpng:          1.6.22-0                                                                         \r\n    libsodium:       1.0.10-0                                                                         \r\n    libxml2:         2.9.2-0                                                                          \r\n    matplotlib:      1.5.1-np111py27_0                                                                \r\n    mkl:             11.3.3-0                                                                         \r\n    mpi4py:          2.0.0-py27_openmpi_100        file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    mysql:           5.5.24-0                                                                         \r\n    ndarray:         1.1.5-0                       file:///reg/g/psdm/sw/conda/channels/psana-rhel7   \r\n    numexpr:         2.6.1-np111py27_0                                                                \r\n    numpy:           1.11.1-py27_0                                                                    \r\n    openmpi:         1.10.3-lsf_verbs_100          file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    openssl:         1.0.2h-1                                                                         \r\n    pip:             8.1.2-py27_0                                                                     \r\n    pixman:          0.32.6-0                                                                         \r\n    pycairo:         1.10.0-py27_0                                                                    \r\n    pyparsing:       2.1.4-py27_0                                                                     \r\n    pyqt:            4.11.4-py27_4                                                                    \r\n    python:          2.7.12-1                                                                         \r\n    python-dateutil: 2.5.3-py27_0                                                                     \r\n    pytz:            2016.6.1-py27_0                                                                  \r\n    pyzmq:           15.4.0-py27_0                                                                    \r\n    qt:              4.8.5-0                                                                          \r\n    readline:        6.2-2                                                                            \r\n    scipy:           0.18.0-np111py27_0                                                               \r\n    scons:           2.3.0-py27_0                                                                     \r\n    setuptools:      26.1.1-py27_0                                                                    \r\n    sip:             4.18-py27_0                                                                      \r\n    six:             1.10.0-py27_0                                                                    \r\n    sqlite:          3.13.0-0                                                                         \r\n    szip:            2.1-100                       file:///reg/g/psdm/sw/conda/channels/external-rhel7\r\n    tables:          3.2.3.1-py27_hdf18_100        file:///reg/g/psdm/sw/conda/channels/system-rhel7  \r\n    tk:              8.5.18-0                                                                         \r\n    wheel:           0.29.0-py27_0                                                                    \r\n    zeromq:          4.1.4-0                                                                          \r\n    zlib:            1.2.8-3                                                                          \r\n\r\nTraceback (most recent call last):\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/bin/conda-build\", line 6, in <module>\r\n    sys.exit(conda_build.cli.main_build.main())\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda_build/cli/main_build.py\", line 239, in main\r\n    execute(sys.argv[1:])\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda_build/cli/main_build.py\", line 231, in execute\r\n    already_built=None, config=config)\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda_build/api.py\", line 83, in build\r\n    need_source_download=need_source_download, config=config)\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda_build/build.py\", line 998, in build_tree\r\n    config=recipe_config)\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda_build/build.py\", line 558, in build\r\n    create_env(config.build_prefix, specs, config=config)\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda_build/build.py\", line 451, in create_env\r\n    clear_cache=clear_cache)\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda_build/build.py\", line 427, in create_env\r\n    plan.execute_actions(actions, index, verbose=config.debug)\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda/plan.py\", line 643, in execute_actions\r\n    inst.execute_instructions(plan, index, verbose)\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda/instructions.py\", line 132, in execute_instructions\r\n    cmd(state, arg)\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda/instructions.py\", line 77, in LINK_CMD\r\n    link(state['prefix'], dist, lt, index=state['index'])\r\n  File \"/reg/g/psdm/sw/conda/inst/miniconda2-dev-rhel7/lib/python2.7/site-packages/conda/install.py\", line 973, in link\r\n    (placeholder, dist))\r\nconda.exceptions.PaddingError: Padding error: \r\nfinished running conda build. logfile: /reg/g/psdm/sw/conda/logs/conda_build_psana_psana-conda-1.0.2-py27_1_rhel7_linux-64.log\r\nsh: -c: line 0: unexpected EOF while looking for matching `''\r\nsh: -c: line 1: syntax error: unexpected end of file\r\n```\r\nAn older version of the recipe can be found here\r\nhttps://github.com/davidslac/manage-lcls-conda-build-system/tree/master/recipes/psana/psana-conda-opt\r\n\r\nAfter backing conda-build back down to 1.19, things look like they are working again, at least conda made the build environment and is running my build script"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/246636474","html_url":"https://github.com/conda/conda/issues/3407#issuecomment-246636474","issue_url":"https://api.github.com/repos/conda/conda/issues/3407","id":246636474,"user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T10:10:50Z","updated_at":"2016-09-13T10:10:50Z","body":"@davidslac I've fixed the other two issues you filed.  And I'll make the messaging better on this one.\r\n\r\nThe issue here is that around conda-build 2.0, we changed the length of the binary path placeholder.  Before, it was arbitrarily set to 80 characters, and now we've extended it to the max value we can while still maintaining broad interoperability (255).  The downside is that dependencies sometimes have to be rebuilt with the longer padding.\r\n\r\nI think we've rebuilt most of the packages in defaults that needed it, but we could have missed some.  My guess is it's one of the packages in one of your local file:// channels.\r\n\r\nRegardless, I'll make the messaging better so you know exactly which one is the culprit."}}
{"actor":{"display_login":"kalefranz"}}