Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisit conda-forge recipe #4

Open
durack1 opened this issue Mar 4, 2020 · 5 comments
Open

Revisit conda-forge recipe #4

durack1 opened this issue Mar 4, 2020 · 5 comments

Comments

@durack1
Copy link
Member

durack1 commented Mar 4, 2020

An attempt back in Jan 2019 was made to get this library hosted by conda-forge, see conda-forge/staged-recipes#7518. Due to errors the package has not been hosted, and so some work is required to revive this PR and get it approved for conda-forge

@doutriaux1

@doutriaux1
Copy link
Contributor

ezget is in I believe. Best candidate that come to mind to do this are @mauzey1 @painter1

@doutriaux1
Copy link
Contributor

@jasonb5 and @muryanto1 might be able to help as well.

@mauzey1
Copy link

mauzey1 commented Mar 5, 2020

@doutriaux1
Here's what I have found so far when looking through conda-forge/staged-recipes#7518.

The commit CDAT/staged-recipes@3b8a0b6, which changed how libnetcdf was pinned, had an issue with the LALInference library.

checking for LALINFERENCE... yes
configure: error: could not find the LALInference library
checking for LALInferenceAddVariable in -llalinference... no
Traceback (most recent call last):
  File "/home/conda/.ci_support/build_all.py", line 134, in <module>
    build_all(args.recipes_dir, args.arch)
  File "/home/conda/.ci_support/build_all.py", line 68, in build_all
    build_folders(recipes_dir, old_comp_folders, arch, channel_urls)
  File "/home/conda/.ci_support/build_all.py", line 124, in build_folders
    conda_build.api.build(list(d.keys()), config=get_config(arch, channel_urls))
  File "/opt/conda/lib/python3.6/site-packages/conda_build/api.py", line 208, in build
    notest=notest, need_source_download=need_source_download, variants=variants)
  File "/opt/conda/lib/python3.6/site-packages/conda_build/build.py", line 2311, in build_tree
    notest=notest,
  File "/opt/conda/lib/python3.6/site-packages/conda_build/build.py", line 1477, in build
    cwd=src_dir, stats=build_stats)
  File "/opt/conda/lib/python3.6/site-packages/conda_build/utils.py", line 374, in check_call_env
    return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs)
  File "/opt/conda/lib/python3.6/site-packages/conda_build/utils.py", line 354, in _func_defaulting_env_to_os_environ
    raise subprocess.CalledProcessError(proc.returncode, _args)
subprocess.CalledProcessError: Command '['/bin/bash', '-e', '/home/conda/feedstock_root/build_artifacts/lalapps_1547659671054/work/conda_build.sh']' returned non-zero exit status 1.
Exited with code 1

The commit CDAT/staged-recipes@44d989a, which pinned hdf5 again, also added the files .gitattributes, .gitignore, and LICENSE.txt into the recipes directory. Which caused the build script to erroneously treat them as directories.

+ python /home/conda/.ci_support/build_all.py /home/conda/conda-recipes
Building r-clustercrit,lats,plaster_pastedeploy,r-tkrplot,r-recordlinkage,.gitignore,r-lasso2,r-rlabkey,treecorr,safe-netrc,.github,r-logicreg,pyramid,filesystem-spec,r-gganimate,.circleci,r-mongolite,r-kza,lalapps,r-pdftools,r-readstata13,plaster,r-lpsolveapi,hupper,.gitattributes,r-dppackage,r-distrex,r-diffusr,r-rhpcblasctl,LICENSE.txt with conda-forge/label/main
Setting build arch. This is only useful when pretending to be on another arch, such as for rendering necessary dependencies on a non-native arch. I trust that you know what you're doing.
rendering /home/conda/conda-recipes/r-clustercrit for linux-64
Setting build platform. This is only useful when pretending to be on another platform, such as for rendering necessary dependencies on a non-native platform. I trust that you know what you're doing.
rendering /home/conda/conda-recipes/lats for linux-64
rendering /home/conda/conda-recipes/plaster_pastedeploy for linux-64
rendering /home/conda/conda-recipes/r-tkrplot for linux-64
rendering /home/conda/conda-recipes/r-recordlinkage for linux-64
Traceback (most recent call last):
  File "/home/conda/.ci_support/build_all.py", line 134, in <module>
    build_all(args.recipes_dir, args.arch)
  File "/home/conda/.ci_support/build_all.py", line 68, in build_all
    build_folders(recipes_dir, old_comp_folders, arch, channel_urls)
  File "/home/conda/.ci_support/build_all.py", line 108, in build_folders
    config=config, finalize=False)
  File "/home/conda/.ci_support/compute_build_graph.py", line 390, in construct_graph
    raise ValueError("Specified folder {} does not exist".format(recipe_dir))
ValueError: Specified folder /home/conda/conda-recipes/.gitignore does not exist
Exited with code 1

@doutriaux1
Copy link
Contributor

I would recommend copy the recipe and start from scratch.

@durack1
Copy link
Member Author

durack1 commented Mar 6, 2020

@mauzey1 thanks for taking a look at this, it's great to get these open issues fixed, cleaned up and resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants