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

Rebuild for python 3.13 and switch aarch64 and ppc64le to cross-compilation #102

Conversation

regro-cf-autotick-bot
Copy link
Contributor

This PR has been triggered in an effort to update python313.

Notes and instructions for merging this PR:

  1. Please merge the PR only after the tests have passed.
  2. Feel free to push to the bot's branch to update this PR if needed.

Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.


If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase @conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by - please use this URL for debugging.

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@traversaro traversaro added the automerge Merge the PR when CI passes label Sep 3, 2024
Copy link
Contributor

github-actions bot commented Sep 3, 2024

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

  • linter: passed
  • travis: failed
  • azure: passed

Thus the PR was not passing and not merged.

@traversaro
Copy link
Contributor

Travis is not working, we should switch back to cross-compilation and fix the problem mentioned in #39 (comment) .

@traversaro traversaro changed the title Rebuild for python 3.13 Rebuild for python 3.13 and switch aarch64 and ppc64le to cross-compilation Sep 4, 2024
@github-actions github-actions bot removed the automerge Merge the PR when CI passes label Sep 4, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

Hi! This is the friendly conda-forge automerge bot!

Commits were made to this PR after the automerge label was added. For security reasons, I have disabled automerge by removing the automerge label. Please add the automerge label again (or ask a maintainer to do so) if you'd like to enable automerge again!

@traversaro
Copy link
Contributor

@conda-forge-admin, please rerender

@traversaro
Copy link
Contributor

Great, we are back to:

-- Found SWIG: $BUILD_PREFIX/bin/swig4.0 (found version "4.2.1")
CMake Error at /home/conda/feedstock_root/build_artifacts/idyntree_1725434712805/_build_env/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Python3 (missing: Python3_INCLUDE_DIRS
  Python3_NumPy_INCLUDE_DIRS Development.Module NumPy) (found version
  "3.11.9")
Call Stack (most recent call first):
  /home/conda/feedstock_root/build_artifacts/idyntree_1725434712805/_build_env/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /home/conda/feedstock_root/build_artifacts/idyntree_1725434712805/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:4017 (find_package_handle_standard_args)
  /home/conda/feedstock_root/build_artifacts/idyntree_1725434712805/_build_env/share/cmake-3.30/Modules/FindPython3.cmake:601 (include)
  bindings/CMakeLists.txt:44 (find_package)


-- Configuring incomplete, errors occurred!

our old nemesis.

@traversaro
Copy link
Contributor

I guess this may be related to conda-forge/pytorch-cpu-feedstock#256 .

@traversaro
Copy link
Contributor

@traversaro
Copy link
Contributor

traversaro commented Sep 4, 2024

Full log on aarch64:

2024-09-04T07:56:32.1332468Z CMake Debug Log at /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:2863 (find_program):
2024-09-04T07:56:32.1333154Z   find_program called with the following settings:
2024-09-04T07:56:32.1333306Z 
2024-09-04T07:56:32.1333444Z     VAR: _Python3_CONFIG
2024-09-04T07:56:32.1333728Z     NAMES: "python3.10-config"
2024-09-04T07:56:32.1334122Z     Documentation: Path to a program.
2024-09-04T07:56:32.1334348Z     Framework
2024-09-04T07:56:32.1334532Z       Only Search Frameworks: 0
2024-09-04T07:56:32.1335071Z       Search Frameworks Last: 0
2024-09-04T07:56:32.1335265Z       Search Frameworks First: 0
2024-09-04T07:56:32.1335465Z     AppBundle
2024-09-04T07:56:32.1335647Z       Only Search AppBundle: 0
2024-09-04T07:56:32.1336175Z       Search AppBundle Last: 0
2024-09-04T07:56:32.1336588Z       Search AppBundle First: 0
2024-09-04T07:56:32.1337014Z     CMAKE_FIND_USE_CMAKE_PATH: 1
2024-09-04T07:56:32.1339742Z     CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
2024-09-04T07:56:32.1340259Z     CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
2024-09-04T07:56:32.1340845Z     CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
2024-09-04T07:56:32.1341150Z     CMAKE_FIND_USE_INSTALL_PREFIX: 1
2024-09-04T07:56:32.1341315Z 
2024-09-04T07:56:32.1341583Z   find_program considered the following locations:
2024-09-04T07:56:32.1341755Z 
2024-09-04T07:56:32.1342411Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/bin/bin/python3.10-config
2024-09-04T07:56:32.1342915Z 
2024-09-04T07:56:32.1343167Z   The item was found at
2024-09-04T07:56:32.1343502Z 
2024-09-04T07:56:32.1344220Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/bin/python3.10-config
2024-09-04T07:56:32.1344435Z 
2024-09-04T07:56:32.1344604Z Call Stack (most recent call first):
2024-09-04T07:56:32.1345258Z   /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython3.cmake:601 (include)
2024-09-04T07:56:32.1345615Z   bindings/CMakeLists.txt:44 (find_package)
2024-09-04T07:56:32.1345778Z 
2024-09-04T07:56:32.1346013Z 
2024-09-04T07:56:32.2275681Z CMake Debug Log at /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:3568 (find_path):
2024-09-04T07:56:32.2324208Z   find_path called with the following settings:
2024-09-04T07:56:32.2324792Z 
2024-09-04T07:56:32.2325050Z     VAR: _Python3_INCLUDE_DIR
2024-09-04T07:56:32.2325296Z     NAMES: "Python.h"
2024-09-04T07:56:32.2325511Z     Documentation: Path to a file.
2024-09-04T07:56:32.2325741Z     Framework
2024-09-04T07:56:32.2325977Z       Only Search Frameworks: 0
2024-09-04T07:56:32.2326194Z       Search Frameworks Last: 0
2024-09-04T07:56:32.2326421Z       Search Frameworks First: 0
2024-09-04T07:56:32.2326633Z     AppBundle
2024-09-04T07:56:32.2326855Z       Only Search AppBundle: 0
2024-09-04T07:56:32.2327085Z       Search AppBundle Last: 0
2024-09-04T07:56:32.2327294Z       Search AppBundle First: 0
2024-09-04T07:56:32.2327530Z     CMAKE_FIND_USE_CMAKE_PATH: 1
2024-09-04T07:56:32.2327761Z     CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
2024-09-04T07:56:32.2328206Z     CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 0
2024-09-04T07:56:32.2328450Z     CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 0
2024-09-04T07:56:32.2328701Z     CMAKE_FIND_USE_INSTALL_PREFIX: 1
2024-09-04T07:56:32.2329014Z 
2024-09-04T07:56:32.2329243Z   find_path considered the following locations:
2024-09-04T07:56:32.2329452Z 
2024-09-04T07:56:32.2329862Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/Python.h
2024-09-04T07:56:32.2330565Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/Python.h
2024-09-04T07:56:32.2331688Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/include/Python.h
2024-09-04T07:56:32.2332887Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/Python.h
2024-09-04T07:56:32.2334010Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/include/python3.10/Python.h
2024-09-04T07:56:32.2335141Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/Python.h
2024-09-04T07:56:32.2336516Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/Python.h
2024-09-04T07:56:32.2338000Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/include/Python.h
2024-09-04T07:56:32.2338630Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/Python.h
2024-09-04T07:56:32.2339574Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/include/python3.10/Python.h
2024-09-04T07:56:32.2340116Z 
2024-09-04T07:56:32.2340527Z   The item was not found.
2024-09-04T07:56:32.2340836Z 
2024-09-04T07:56:32.2341051Z Call Stack (most recent call first):
2024-09-04T07:56:32.2341520Z   /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython3.cmake:601 (include)
2024-09-04T07:56:32.2341945Z   bindings/CMakeLists.txt:44 (find_package)
2024-09-04T07:56:32.2342111Z 
2024-09-04T07:56:32.2342244Z 
2024-09-04T07:56:32.2342904Z CMake Debug Log at /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:3655 (find_path):
2024-09-04T07:56:32.2343337Z   find_path called with the following settings:
2024-09-04T07:56:32.2343497Z 
2024-09-04T07:56:32.2343850Z     VAR: _Python3_INCLUDE_DIR
2024-09-04T07:56:32.2344079Z     NAMES: "Python.h"
2024-09-04T07:56:32.2344285Z     Documentation: Path to a file.
2024-09-04T07:56:32.2344458Z     Framework
2024-09-04T07:56:32.2344680Z       Only Search Frameworks: 0
2024-09-04T07:56:32.2344894Z       Search Frameworks Last: 0
2024-09-04T07:56:32.2345122Z       Search Frameworks First: 0
2024-09-04T07:56:32.2345346Z     AppBundle
2024-09-04T07:56:32.2345559Z       Only Search AppBundle: 0
2024-09-04T07:56:32.2345763Z       Search AppBundle Last: 0
2024-09-04T07:56:32.2345944Z       Search AppBundle First: 0
2024-09-04T07:56:32.2346146Z     CMAKE_FIND_USE_CMAKE_PATH: 1
2024-09-04T07:56:32.2346343Z     CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
2024-09-04T07:56:32.2346687Z     CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 0
2024-09-04T07:56:32.2346911Z     CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 0
2024-09-04T07:56:32.2347246Z     CMAKE_FIND_USE_INSTALL_PREFIX: 1
2024-09-04T07:56:32.2347403Z 
2024-09-04T07:56:32.2347802Z   find_path considered the following locations:
2024-09-04T07:56:32.2347939Z 
2024-09-04T07:56:32.2349469Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/Python.h
2024-09-04T07:56:32.2350576Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/Python.h
2024-09-04T07:56:32.2352089Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/include/Python.h
2024-09-04T07:56:32.2353420Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/Python.h
2024-09-04T07:56:32.2354260Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/Python.h
2024-09-04T07:56:32.2355400Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/Python.h
2024-09-04T07:56:32.2356589Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/Python.h
2024-09-04T07:56:32.2357370Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/include/Python.h
2024-09-04T07:56:32.2357899Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/Python.h
2024-09-04T07:56:32.2358502Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/Python.h
2024-09-04T07:56:32.2359932Z 
2024-09-04T07:56:32.2360355Z   The item was not found.
2024-09-04T07:56:32.2360596Z 
2024-09-04T07:56:32.2360840Z Call Stack (most recent call first):
2024-09-04T07:56:32.2361540Z   /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython3.cmake:601 (include)
2024-09-04T07:56:32.2362035Z   bindings/CMakeLists.txt:44 (find_package)
2024-09-04T07:56:32.2362229Z 
2024-09-04T07:56:32.2362313Z 
2024-09-04T07:56:32.2444157Z CMake Debug Log at /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:3667 (find_path):
2024-09-04T07:56:32.2445284Z   find_path called with the following settings:
2024-09-04T07:56:32.2445585Z 
2024-09-04T07:56:32.2445836Z     VAR: _Python3_INCLUDE_DIR
2024-09-04T07:56:32.2446134Z     NAMES: "Python.h"
2024-09-04T07:56:32.2446391Z     Documentation: Path to a file.
2024-09-04T07:56:32.2446686Z     Framework
2024-09-04T07:56:32.2447111Z       Only Search Frameworks: 0
2024-09-04T07:56:32.2447517Z       Search Frameworks Last: 0
2024-09-04T07:56:32.2447941Z       Search Frameworks First: 0
2024-09-04T07:56:32.2448515Z     AppBundle
2024-09-04T07:56:32.2450530Z       Only Search AppBundle: 0
2024-09-04T07:56:32.2450996Z       Search AppBundle Last: 0
2024-09-04T07:56:32.2451262Z       Search AppBundle First: 0
2024-09-04T07:56:32.2451542Z     CMAKE_FIND_USE_CMAKE_PATH: 1
2024-09-04T07:56:32.2451824Z     CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
2024-09-04T07:56:32.2452198Z     CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
2024-09-04T07:56:32.2452501Z     CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
2024-09-04T07:56:32.2452829Z     CMAKE_FIND_USE_INSTALL_PREFIX: 1
2024-09-04T07:56:32.2453528Z 
2024-09-04T07:56:32.2453918Z   find_path considered the following locations:
2024-09-04T07:56:32.2454257Z 
2024-09-04T07:56:32.2454968Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/Python.h
2024-09-04T07:56:32.2455648Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/Python.h
2024-09-04T07:56:32.2456963Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/include/Python.h
2024-09-04T07:56:32.2458136Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/Python.h
2024-09-04T07:56:32.2458942Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/bin/Python.h
2024-09-04T07:56:32.2459642Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/bin/Python.h
2024-09-04T07:56:32.2460303Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/opt/conda/condabin/Python.h
2024-09-04T07:56:32.2460951Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/opt/conda/bin/Python.h
2024-09-04T07:56:32.2461646Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/local/sbin/Python.h
2024-09-04T07:56:32.2462338Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/local/bin/Python.h
2024-09-04T07:56:32.2463025Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/sbin/Python.h
2024-09-04T07:56:32.2463889Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/bin/Python.h
2024-09-04T07:56:32.2464577Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/sbin/Python.h
2024-09-04T07:56:32.2465552Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/bin/Python.h
2024-09-04T07:56:32.2466223Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/bin/Python.h
2024-09-04T07:56:32.2466891Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/local/include/Python.h
2024-09-04T07:56:32.2467518Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/local/Python.h
2024-09-04T07:56:32.2468156Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/include/Python.h
2024-09-04T07:56:32.2468815Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/Python.h
2024-09-04T07:56:32.2469809Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/Python.h
2024-09-04T07:56:32.2470511Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/include/Python.h
2024-09-04T07:56:32.2471237Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/Python.h
2024-09-04T07:56:32.2471928Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/X11R6/include/Python.h
2024-09-04T07:56:32.2472575Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/X11R6/Python.h
2024-09-04T07:56:32.2473390Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/pkg/include/Python.h
2024-09-04T07:56:32.2474038Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/pkg/Python.h
2024-09-04T07:56:32.2474840Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/opt/include/Python.h
2024-09-04T07:56:32.2475485Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/opt/Python.h
2024-09-04T07:56:32.2476153Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/usr/include/X11/Python.h
2024-09-04T07:56:32.2477210Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/Python.h
2024-09-04T07:56:32.2478343Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/Python.h
2024-09-04T07:56:32.2479129Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/include/Python.h
2024-09-04T07:56:32.2480235Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/Python.h
2024-09-04T07:56:32.2480909Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/bin/Python.h
2024-09-04T07:56:32.2481829Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/bin/Python.h
2024-09-04T07:56:32.2603881Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/opt/conda/condabin/Python.h
2024-09-04T07:56:32.2604880Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/opt/conda/bin/Python.h
2024-09-04T07:56:32.2605432Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/local/sbin/Python.h
2024-09-04T07:56:32.2608977Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/local/bin/Python.h
2024-09-04T07:56:32.2610017Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/sbin/Python.h
2024-09-04T07:56:32.2610968Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/bin/Python.h
2024-09-04T07:56:32.2611755Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/sbin/Python.h
2024-09-04T07:56:32.2612822Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/bin/Python.h
2024-09-04T07:56:32.2613767Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/bin/Python.h
2024-09-04T07:56:32.2617461Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/local/include/Python.h
2024-09-04T07:56:32.2618613Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/local/Python.h
2024-09-04T07:56:32.2620669Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/include/Python.h
2024-09-04T07:56:32.2622027Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/Python.h
2024-09-04T07:56:32.2622972Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/include/Python.h
2024-09-04T07:56:32.2624102Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/include/Python.h
2024-09-04T07:56:32.2628237Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/Python.h
2024-09-04T07:56:32.2628873Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/X11R6/include/Python.h
2024-09-04T07:56:32.2629340Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/X11R6/Python.h
2024-09-04T07:56:32.2629981Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/pkg/include/Python.h
2024-09-04T07:56:32.2630720Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/pkg/Python.h
2024-09-04T07:56:32.2631166Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/opt/include/Python.h
2024-09-04T07:56:32.2631602Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/opt/Python.h
2024-09-04T07:56:32.2632054Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/usr/include/X11/Python.h
2024-09-04T07:56:32.2632220Z 
2024-09-04T07:56:32.2632358Z   The item was not found.
2024-09-04T07:56:32.2632459Z 
2024-09-04T07:56:32.2632597Z Call Stack (most recent call first):
2024-09-04T07:56:32.2632998Z   /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython3.cmake:601 (include)
2024-09-04T07:56:32.2633262Z   bindings/CMakeLists.txt:44 (find_package)
2024-09-04T07:56:32.2633381Z 
2024-09-04T07:56:32.2633448Z 
2024-09-04T07:56:32.4354137Z CMake Debug Log at /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:3938 (find_path):
2024-09-04T07:56:32.4356672Z   find_path called with the following settings:
2024-09-04T07:56:32.4357688Z 
2024-09-04T07:56:32.4358378Z     VAR: _Python3_NumPy_INCLUDE_DIR
2024-09-04T07:56:32.4358866Z     NAMES: "numpy/arrayobject.h"
2024-09-04T07:56:32.4359103Z            "numpy/numpyconfig.h"
2024-09-04T07:56:32.4359303Z     Documentation: Path to a file.
2024-09-04T07:56:32.4360624Z     Framework
2024-09-04T07:56:32.4361280Z       Only Search Frameworks: 0
2024-09-04T07:56:32.4361828Z       Search Frameworks Last: 0
2024-09-04T07:56:32.4362157Z       Search Frameworks First: 0
2024-09-04T07:56:32.4362324Z     AppBundle
2024-09-04T07:56:32.4362515Z       Only Search AppBundle: 0
2024-09-04T07:56:32.4363228Z       Search AppBundle Last: 0
2024-09-04T07:56:32.4363432Z       Search AppBundle First: 0
2024-09-04T07:56:32.4363617Z     NO_DEFAULT_PATH Enabled
2024-09-04T07:56:32.4363708Z 
2024-09-04T07:56:32.4363865Z   find_path considered the following locations:
2024-09-04T07:56:32.4363990Z 
2024-09-04T07:56:32.4364880Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/venv/lib/python3.10/site-packages/numpy/_core/include/numpy/arrayobject.h
2024-09-04T07:56:32.4365841Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/venv/lib/python3.10/site-packages/numpy/_core/include/numpy/arrayobject.h
2024-09-04T07:56:32.4366895Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/venv/lib/python3.10/site-packages/numpy/_core/include/numpy/numpyconfig.h
2024-09-04T07:56:32.4367800Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/aarch64-conda-linux-gnu/sysroot/home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/venv/lib/python3.10/site-packages/numpy/_core/include/numpy/numpyconfig.h
2024-09-04T07:56:32.4368092Z 
2024-09-04T07:56:32.4368314Z   The item was not found.
2024-09-04T07:56:32.4368433Z 
2024-09-04T07:56:32.4368626Z Call Stack (most recent call first):
2024-09-04T07:56:32.4369064Z   /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython3.cmake:601 (include)
2024-09-04T07:56:32.4369455Z   bindings/CMakeLists.txt:44 (find_package)
2024-09-04T07:56:32.4369620Z 
2024-09-04T07:56:32.4369694Z 
2024-09-04T07:56:32.4377127Z CMake Error at /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
2024-09-04T07:56:32.4377628Z   Could NOT find Python3 (missing: Python3_INCLUDE_DIRS
2024-09-04T07:56:32.4377889Z   Python3_NumPy_INCLUDE_DIRS Development.Module NumPy) (found version
2024-09-04T07:56:32.4378129Z   "3.10.14")
2024-09-04T07:56:32.4378324Z Call Stack (most recent call first):
2024-09-04T07:56:32.4378836Z   /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
2024-09-04T07:56:32.4379446Z   /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:4017 (find_package_handle_standard_args)
2024-09-04T07:56:32.4379985Z   /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython3.cmake:601 (include)
2024-09-04T07:56:32.4380307Z   bindings/CMakeLists.txt:44 (find_package)
2024-09-04T07:56:32.4380446Z 
2024-09-04T07:56:32.4384675Z 
2024-09-04T07:56:32.4394775Z CMake Debug Log at bindings/CMakeLists.txt:44 (find_package):
2024-09-04T07:56:32.4395919Z   find_package considered the following paths for FindPython3.cmake:
2024-09-04T07:56:32.4396592Z 
2024-09-04T07:56:32.4397318Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/work/cmake/FindPython3.cmake
2024-09-04T07:56:32.4397525Z 
2024-09-04T07:56:32.4397749Z   The file was found at
2024-09-04T07:56:32.4397879Z 
2024-09-04T07:56:32.4398384Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython3.cmake
2024-09-04T07:56:32.4398822Z 
2024-09-04T07:56:32.4399077Z 
2024-09-04T07:56:32.4399590Z 
2024-09-04T07:56:32.4450623Z -- Configuring incomplete, errors occurred!

@traversaro
Copy link
Contributor

Ok, we have a nice output:

2024-09-04T07:56:32.4394775Z CMake Debug Log at bindings/CMakeLists.txt:44 (find_package):
2024-09-04T07:56:32.4395919Z   find_package considered the following paths for FindPython3.cmake:
2024-09-04T07:56:32.4396592Z 
2024-09-04T07:56:32.4397318Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/work/cmake/FindPython3.cmake
2024-09-04T07:56:32.4397525Z 
2024-09-04T07:56:32.4397749Z   The file was found at
2024-09-04T07:56:32.4397879Z 
2024-09-04T07:56:32.4398384Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436351185/_build_env/share/cmake-3.30/Modules/FindPython3.cmake

@traversaro
Copy link
Contributor

The problem is that CMake is looking for Python.h in $PREFIX/include/Python.h, but it is actually in $PREFIX/include/python3.10/Python.h (see for example https://conda-metadata-app.streamlit.app/?q=conda-forge%2Flinux-aarch64%2Fpython-3.10.11-ha43d526_0_cpython.conda).

Interestingly, on osx-arm64 (another cross-compiled architecture, that works instead) the right header (but technically in the wrong place, as it finds the one in the build env and not in the hsot env) is found even if it is not in the tested path:

2024-09-04T07:56:24.1247170Z CMake Debug Log at /Users/runner/miniforge3/conda-bld/idyntree_1725436319378/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:3568 (find_path):
2024-09-04T07:56:24.1248210Z   find_path called with the following settings:
2024-09-04T07:56:24.1248390Z 
2024-09-04T07:56:24.1248580Z     VAR: _Python3_INCLUDE_DIR
2024-09-04T07:56:24.1248800Z     NAMES: "Python.h"
2024-09-04T07:56:24.1249120Z     Documentation: Path to a file.
2024-09-04T07:56:24.1249360Z     Framework
2024-09-04T07:56:24.1249680Z       Only Search Frameworks: 0
2024-09-04T07:56:24.1249930Z       Search Frameworks Last: 0
2024-09-04T07:56:24.1250270Z       Search Frameworks First: 0
2024-09-04T07:56:24.1250970Z     AppBundle
2024-09-04T07:56:24.1251230Z       Only Search AppBundle: 0
2024-09-04T07:56:24.1251470Z       Search AppBundle Last: 0
2024-09-04T07:56:24.1251690Z       Search AppBundle First: 0
2024-09-04T07:56:24.1252240Z     CMAKE_FIND_USE_CMAKE_PATH: 1
2024-09-04T07:56:24.1252520Z     CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
2024-09-04T07:56:24.1252920Z     CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 0
2024-09-04T07:56:24.1253210Z     CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 0
2024-09-04T07:56:24.1253450Z     CMAKE_FIND_USE_INSTALL_PREFIX: 1
2024-09-04T07:56:24.1253680Z 
2024-09-04T07:56:24.1253930Z   find_path considered the following locations:
2024-09-04T07:56:24.1254160Z 
2024-09-04T07:56:24.1254620Z     /Users/runner/miniforge3/conda-bld/idyntree_1725436319378/work/build/include/Python.h
2024-09-04T07:56:24.1255200Z     /Users/runner/miniforge3/conda-bld/idyntree_1725436319378/work/build/Python.h
2024-09-04T07:56:24.1256020Z     /Users/runner/miniforge3/conda-bld/idyntree_1725436319378/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/Python.h
2024-09-04T07:56:24.1257210Z     /Users/runner/miniforge3/conda-bld/idyntree_1725436319378/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/Python.h
2024-09-04T07:56:24.1257770Z 
2024-09-04T07:56:24.1258000Z   The item was found at
2024-09-04T07:56:24.1258200Z 
2024-09-04T07:56:24.1258630Z     /Users/runner/miniforge3/conda-bld/idyntree_1725436319378/_build_env/include/python3.12/Python.h

@traversaro
Copy link
Contributor

There is a similar behaviour in linux-64:

2024-09-04T07:54:06.8947548Z CMake Debug Log at /home/conda/feedstock_root/build_artifacts/idyntree_1725436289212/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:3568 (find_path):
2024-09-04T07:54:06.8948434Z   find_path called with the following settings:
2024-09-04T07:54:06.8948581Z 
2024-09-04T07:54:06.8948822Z     VAR: _Python3_INCLUDE_DIR
2024-09-04T07:54:06.8949072Z     NAMES: "Python.h"
2024-09-04T07:54:06.8949328Z     Documentation: Path to a file.
2024-09-04T07:54:06.8949550Z     Framework
2024-09-04T07:54:06.8949786Z       Only Search Frameworks: 0
2024-09-04T07:54:06.8950018Z       Search Frameworks Last: 0
2024-09-04T07:54:06.8950266Z       Search Frameworks First: 0
2024-09-04T07:54:06.8950482Z     AppBundle
2024-09-04T07:54:06.8950711Z       Only Search AppBundle: 0
2024-09-04T07:54:06.8950939Z       Search AppBundle Last: 0
2024-09-04T07:54:06.8951207Z       Search AppBundle First: 0
2024-09-04T07:54:06.8951448Z     CMAKE_FIND_USE_CMAKE_PATH: 1
2024-09-04T07:54:06.8951722Z     CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
2024-09-04T07:54:06.8951993Z     CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 0
2024-09-04T07:54:06.8952280Z     CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 0
2024-09-04T07:54:06.8952555Z     CMAKE_FIND_USE_INSTALL_PREFIX: 1
2024-09-04T07:54:06.8952715Z 
2024-09-04T07:54:06.8952948Z   find_path considered the following locations:
2024-09-04T07:54:06.8953338Z 
2024-09-04T07:54:06.8953822Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436289212/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/Python.h
2024-09-04T07:54:06.8954577Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436289212/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/Python.h
2024-09-04T07:54:06.8955914Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436289212/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436289212/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/Python.h
2024-09-04T07:54:06.8957279Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436289212/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/home/conda/feedstock_root/build_artifacts/idyntree_1725436289212/_build_env/x86_64-conda-linux-gnu/sysroot/usr/Python.h
2024-09-04T07:54:06.8957775Z 
2024-09-04T07:54:06.8958002Z   The item was found at
2024-09-04T07:54:06.8958146Z 
2024-09-04T07:54:06.8958634Z     /home/conda/feedstock_root/build_artifacts/idyntree_1725436289212/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/python3.10/Python.h

@traversaro
Copy link
Contributor

I think I found something interesting. The working jobs are looking for Python.h in https://github.com/Kitware/CMake/blob/v3.30.3/Modules/FindPython/Support.cmake#L3568-L3572 and finding it, while failing job are also calling there, but failing.

@traversaro
Copy link
Contributor

traversaro commented Sep 4, 2024

export CMAKE_FIND_DEBUG_MODE=1

I think I found something interesting. The working jobs are looking for Python.h in https://github.com/Kitware/CMake/blob/v3.30.3/Modules/FindPython/Support.cmake#L3568-L3572 and finding it, while failing job are also calling there, but failing.

I could not understand what is happening, also as it does not seems that debug-find prints all the hints passed to find_path. I will try the usual workaround of setting manual Python3_INCLUDE_DIR, xref: conda-forge/conda-forge.github.io#2260 .

@traversaro traversaro mentioned this pull request Sep 4, 2024
1 task
@traversaro traversaro added the automerge Merge the PR when CI passes label Sep 4, 2024
@github-actions github-actions bot removed the automerge Merge the PR when CI passes label Sep 4, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

Hi! This is the friendly conda-forge automerge bot!

Commits were made to this PR after the automerge label was added. For security reasons, I have disabled automerge by removing the automerge label. Please add the automerge label again (or ask a maintainer to do so) if you'd like to enable automerge again!

@traversaro traversaro merged commit 1555074 into conda-forge:main Sep 4, 2024
32 checks passed
@regro-cf-autotick-bot regro-cf-autotick-bot deleted the rebuild-python313-0-1_h8ba431 branch September 4, 2024 18:25
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.

2 participants