Skip to content

CI Failure #70

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

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

CI Failure #70

wants to merge 24 commits into from

Conversation

pradal
Copy link
Contributor

@pradal pradal commented Apr 18, 2025

Related to issue #69

@pradal pradal changed the title try to fix CI CI Failure Apr 18, 2025
@AurelienBesnier
Copy link

Ubuntu is fixed. However for mac there seems to be a c++ library problem:
/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:144:9: error: no member named 'at_quick_exit' in the global namespace
Seems to be related to the Mac SDK

@AurelienBesnier
Copy link

For Windows, the setup of visual studio seems to be failing for some reason

@baugetfa
Copy link

baugetfa commented Apr 18, 2025

I don't know if it could help, but on a fresh virtual windows-8.1, with python 3.9 (above it does not pass compatibility for the env), I got the same exit error than the CI at the same moment plantgl_conda_build_log.txt, with the following error:
`
le point d'entree de procedure SetThreadDescription est introuvable dans la bibliothèque de liens dynamiques

C:\Users\FB\miniconda3\envs\plg\conda-bld\openalea.plantgl_1744982685671_build_env\Library\bin\uv.dll
`

@pradal
Copy link
Contributor Author

pradal commented Apr 18, 2025

Thanks

Ubuntu is fixed. However for mac there seems to be a c++ library problem: /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:144:9: error: no member named 'at_quick_exit' in the global namespace Seems to be related to the Mac SDK

This can be due to a wrong definition of
MACOSX_DEPLOYMENT_TARGET (mismatch between libc++ and system)

@pradal
Copy link
Contributor Author

pradal commented Apr 18, 2025

@AurelienBesnier : Great thank you!

@AurelienBesnier
Copy link

@pradal no problem!
But it still doesn't work after changing sdk version

@AurelienBesnier
Copy link

The current setup of the meta.yaml + conda_build_config.yaml works on @christian34 's computer.
We are trying to fix the setup of the windows runner

@AurelienBesnier AurelienBesnier linked an issue Apr 22, 2025 that may be closed by this pull request
@pradal
Copy link
Contributor Author

pradal commented Apr 22, 2025

@AurelienBesnier : it seems that the version of the compilers is managed in the file conda-build-config.yaml

In the https://github.com/conda-forge/conda-forge-pinning-feedstock you have the two lines:

  - vs2019                     # [win and x86_64]
  - vs2022                     # [win and arm64]

Not sure it helps, but this is a good guideline to be in sync with onda-forge

Only let conda_build_config handling of vs version
@AurelienBesnier
Copy link

Ok so, it seems to start working when we get rid of the previous action that sets up the install of VS and only mention the version of VS in the conda_build_config.yaml.

Problem is, we start to have some compilation errors.

@pradal
Copy link
Contributor Author

pradal commented Apr 22, 2025

@AurelienBesnier Great progress! Thanks.
If there are errors, it mmay be mainly due to the environment setting.
A long way, but we can act on it now.

Just to see what happen with vs2019 and no msvc actions
@pradal
Copy link
Contributor Author

pradal commented Apr 23, 2025

@christian34 It works guy! So smart...

@christian34
Copy link
Contributor

Bingo !!!

The two lines :
` - vs2019 # [win and x86_64]

  • vs2022 # [win and arm64]`

mentioned above in the conf seems then to be the better solution !

Concerning the action I will submit PR for removing the msvc action. Probably some lines/howto use msvc will be needed in the guidelines !

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 this pull request may close these issues.

CI is failing on Windows and MacOSX
4 participants