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

Failed: conda build . -m .ci_support/linux_python3.8.____cpython.yaml #40

Open
amrit3701 opened this issue Jul 16, 2020 · 3 comments
Open

Comments

@amrit3701
Copy link
Member

Hi @looooo

I am creating an AppImage for Linux using docker and getting below errors:

Logs of conda build . -m .ci_support/linux_python3.8.____cpython.yaml: https://paste.ubuntu.com/p/sk2DK3BKv4/

CMakeError.log: https://paste.ubuntu.com/p/rChRWNYBGJ/

From errors, it looks like CMake unable to found lpthreads. Do, I have to create any symbolic link (ln -s) inside a docker container.

Steps I followed:

  1. Clone https://github.com/looooo/freecad-feedstock.
  2. Run sudo docker run -i -t -v ~/projects/:/home/conda/projects --name conda-forge condaforge/linux-anvil-comp7 command. Here in ~/projects/ folder I have freecad-feedstock.
  3. After entering into docker shell, I run /usr/bin/sudo yum install -y mesa-libGL-devel command.
  4. Also, run conda update --all command.
  5. Go the freecad-feedstock directory (cd ~/projects/freecad-feedstock).
  6. Run conda build . -m .ci_support/linux_python3.8.____cpython.yaml command.

Source: https://github.com/FreeCAD/FreeCAD_Conda/blob/master/build.md#linux

On debugging, I found that process failed at cmake command. (https://github.com/looooo/freecad-feedstock/blob/master/recipe/build.sh#L38)

Before three months, I was successfully able to create an AppImage (#38) by following same above procedure.

Thanks in advance!

@looooo
Copy link
Collaborator

looooo commented Jul 17, 2020

until now we didn't run into this issue. Let's see if we can reproduce on the next full build.

@looooo
Copy link
Collaborator

looooo commented Jul 20, 2020

https://github.com/looooo/freecad-feedstock/commits?author=sgrogan
doesn't seem like we run into this with the ci-services.

also locally with docker I cannot reproduce.

@amrit3701
Copy link
Member Author

@looooo okay, I will re-try it again and let you know. thanks.

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

2 participants