Skip to content

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
Contributor

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
Contributor

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

@baugetfa
Copy link
Contributor

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
Contributor

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

@AurelienBesnier
Copy link
Contributor

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
Contributor

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 !

@pradal pradal merged commit f05a8ee into master May 13, 2025
2 checks passed
Copy link
Contributor

@thomasarsouze thomasarsouze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combined with the attempt to build using conda_pinning_feedstock in the CI, can't we get rid of conda/conda_build_config.yml ?

@pradal
Copy link
Contributor Author

pradal commented May 14, 2025

We can update this in another issue/PR

@pradal pradal deleted the CI_fail branch May 15, 2025 20:14
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

6 participants