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

Prebuilt packages compatible with older OS #888

Open
pzelasko opened this issue Dec 6, 2021 · 4 comments · May be fixed by #890
Open

Prebuilt packages compatible with older OS #888

pzelasko opened this issue Dec 6, 2021 · 4 comments · May be fixed by #890

Comments

@pzelasko
Copy link
Contributor

pzelasko commented Dec 6, 2021

We’re facing some issues with pip and conda installed k2 packages on the CLSP grid since the GitHub actions CI upgraded Ubuntu to 18.04. The issue is that our Debian 4.9 system has glibc version older than 2.27. Could you prebuild and upload the packages for older systems like this? I can provide more info if needed.

@csukuangfj
Copy link
Collaborator

GitHub actions does not support Ubuntu 16.04 anymore.

I have tried to use a docker image with Ubuntu 16.04 to build k2 with GitHub actions but it is failed with the following error message and I have no idea how to fix it.

Copying /__w/k2/k2 to /__w/k2/k2/3/envs/k3/conda-bld/k2_1636875528120/work/
Traceback (most recent call last):
  File "/__w/k2/k2/3/envs/k3/bin/conda-build", line 11, in <module>
    sys.exit(main())
  File "/__w/k2/k2/3/envs/k3/lib/python3.6/site-packages/conda_build/cli/main_build.py", line 481, in main
    execute(sys.argv[1:])
  File "/__w/k2/k2/3/envs/k3/lib/python3.6/site-packages/conda_build/cli/main_build.py", line 472, in execute
    verify=args.verify, variants=args.variants, cache_dir=args.cache_dir)
  File "/__w/k2/k2/3/envs/k3/lib/python3.6/site-packages/conda_build/api.py", line 195, in build
    variants=variants
  File "/__w/k2/k2/3/envs/k3/lib/python3.6/site-packages/conda_build/build.py", line 3090, in build_tree
    notest=notest,
  File "/__w/k2/k2/3/envs/k3/lib/python3.6/site-packages/conda_build/build.py", line 2135, in build
    try_download(m, no_download_source=False, raise_error=True)
  File "/__w/k2/k2/3/envs/k3/lib/python3.6/site-packages/conda_build/render.py", line 650, in try_download
    source.provide(metadata)
  File "/__w/k2/k2/3/envs/k3/lib/python3.6/site-packages/conda_build/source.py", line 903, in provide
    locking=metadata.config.locking, clobber=True)
  File "/__w/k2/k2/3/envs/k3/lib/python3.6/site-packages/conda_build/utils.py", line 571, in copy_into
    merge_tree(src, dst, symlinks, timeout=timeout, lock=lock, locking=locking, clobber=clobber)
  File "/__w/k2/k2/3/envs/k3/lib/python3.6/site-packages/conda_build/utils.py", line 674, in merge_tree
    "  dst: {1}".format(src, dst))
AssertionError: Can't merge/copy source into subdirectory of itself.  Please create separate spaces for these things.
  src: /__w/k2/k2
  dst: /__w/k2/k2/3/envs/k3/conda-bld/k2_1636875528120/work
Error: Process completed with exit code 1.

The error log can be found by visiting https://github.com/csukuangfj/k2/actions/workflows/build_conda_cpu_ubuntu.yml

@pzelasko
Copy link
Contributor Author

pzelasko commented Dec 6, 2021

That is weird, it looks like you’re trying to copy a directory into a sub-directory within that directory. Maybe there are some env vars or docker args related to workdir path that could be changed to amend this. But I never built any anaconda package so I wouldn’t know what they are..

@csukuangfj
Copy link
Collaborator

I will try to fix it.

@pzelasko
Copy link
Contributor Author

pzelasko commented Dec 8, 2021

Thanks!

@csukuangfj csukuangfj linked a pull request Dec 8, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants