Skip to content

[netgen] Fix dependencies.#51494

Open
BillyONeal wants to merge 12 commits intomicrosoft:masterfrom
BillyONeal:netgen
Open

[netgen] Fix dependencies.#51494
BillyONeal wants to merge 12 commits intomicrosoft:masterfrom
BillyONeal:netgen

Conversation

@BillyONeal
Copy link
Copy Markdown
Member

In #51419 we see netgen:x64-android fails due to

CMake Error at /vcpkg/downloads/tools/cmake-4.2.3-linux/cmake-4.2.3-linux-x86_64/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
  Could NOT find Fontconfig (missing: Fontconfig_LIBRARY
  Fontconfig_INCLUDE_DIR)
Call Stack (most recent call first):
  /vcpkg/downloads/tools/cmake-4.2.3-linux/cmake-4.2.3-linux-x86_64/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
  /vcpkg/downloads/tools/cmake-4.2.3-linux/cmake-4.2.3-linux-x86_64/share/cmake-4.2/Modules/FindFontconfig.cmake:99 (find_package_handle_standard_args)
  /vcpkg/scripts/buildsystems/vcpkg.cmake:908 (_find_package)
  CMakeLists.txt:405 (find_package)

Initial test of a PR build run testing just that port to see if it's broken in the baseline (it is not broken in CI builds but they may have just happened to install fontconfig first)

In microsoft#51419 we see netgen:x64-android fails due to

```
CMake Error at /vcpkg/downloads/tools/cmake-4.2.3-linux/cmake-4.2.3-linux-x86_64/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
  Could NOT find Fontconfig (missing: Fontconfig_LIBRARY
  Fontconfig_INCLUDE_DIR)
Call Stack (most recent call first):
  /vcpkg/downloads/tools/cmake-4.2.3-linux/cmake-4.2.3-linux-x86_64/share/cmake-4.2/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
  /vcpkg/downloads/tools/cmake-4.2.3-linux/cmake-4.2.3-linux-x86_64/share/cmake-4.2/Modules/FindFontconfig.cmake:99 (find_package_handle_standard_args)
  /vcpkg/scripts/buildsystems/vcpkg.cmake:908 (_find_package)
  CMakeLists.txt:405 (find_package)
```

Initial test of a PR build run testing just that port to see if it's broken in the baseline (it is not broken in CI builds but they may have just happened to install fontconfig first)
@BillyONeal BillyONeal changed the title [netgen] Fix fontconfig dependency. [netgen] Fix dependencies. May 2, 2026
Comment thread ports/netgen/cmake-adjustments.patch Outdated
@BillyONeal BillyONeal marked this pull request as ready for review May 2, 2026 12:09
@BillyONeal
Copy link
Copy Markdown
Member Author

image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A file that shouldn't be there?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A file that shouldn't be there?

Copy link
Copy Markdown
Member

@vicroms vicroms left a comment

Choose a reason for hiding this comment

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

Installation output found its way into the PR.

@vicroms vicroms marked this pull request as draft May 3, 2026 06:35
@vicroms
Copy link
Copy Markdown
Member

vicroms commented May 3, 2026

image

Time to make it a post build check.

@BillyONeal
Copy link
Copy Markdown
Member Author

Time to make it a post build check.

Unfortunately we explicitly do the opposite right now. When we apply patches with git we explicitly give it flags to ignore line ending bits, probably as fallout from when we often used PowerShell > which does the wrong thing.

@BillyONeal BillyONeal marked this pull request as ready for review May 4, 2026 04:53
@BillyONeal BillyONeal requested review from vicroms and xiaozhuai May 4, 2026 04:53
netcdf-cxx4:arm64-windows-static-md=fail
netcdf-cxx4:x64-windows-static-md=fail
netgen[python]:arm64-linux=cascade
netgen[core,cgns,jpeg,mpeg,occ,python]:arm64-linux=combination-fails
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I figure the number of tests that work has not actually changed from this ;)

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.

3 participants