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

fc_bundle_py312: update formula to include missing python modules for unit testing #668

Closed
wants to merge 1 commit into from

Conversation

ipatch
Copy link
Collaborator

@ipatch ipatch commented Jan 6, 2025

brew style freecad/freecad/[NAME_OF_FORMULA_FILE] 

output from running above command should output something similiar to the below

1 file inspected, no offenses detected
  • Have you ensured your commit passed audit checks, ie.
brew audit freecad/freecad/[NAME_OF_FORMULA_FILE] --online --new-formula

Not all PRs require passing these checks ie. adding [no ci] in the commit message will prevent the CI from running but PRs that change formula files generally should run through the CI checks that way new bottles are built and uploaded to the repository thus not having to build all formula from source but rather installing from a bottle (significantly faster 🐰 ... 🐢)

For more information about this template file learn more

@ipatch
Copy link
Collaborator Author

ipatch commented Jan 6, 2025

attempt to resolve #665 due to missing python modules. ie.

freecad -t 0

@ipatch
Copy link
Collaborator Author

ipatch commented Jan 6, 2025

error on gnu+linux (taken from the raw ci logs)

2025-01-06T18:11:06.3789599Z ##[group]Full linkage --test freecad/freecad/fc_bundle_py312 output
2025-01-06T18:11:06.3789991Z Missing libraries:
2025-01-06T18:11:06.3790598Z   libXau-154567c4.so.6.0.0
2025-01-06T18:11:06.3790841Z   libbrotlicommon-5b2eba61.so.1.1.0
2025-01-06T18:11:06.3791096Z   libbrotlidec-a621e7f2.so.1.1.0
2025-01-06T18:11:06.3791323Z   libfreetype-edd71024.so.6.20.1
2025-01-06T18:11:06.3791542Z   libjpeg-0988b44a.so.62.4.0
2025-01-06T18:11:06.3791748Z   liblzma-a5872208.so.5.6.3
2025-01-06T18:11:06.3791970Z   libpng16-2a828d05.so.16.44.0
2025-01-06T18:11:06.3792184Z   libsharpyuv-f67a7212.so.0.1.1
2025-01-06T18:11:06.3792391Z   libwebp-0feb04d2.so.7.1.10
2025-01-06T18:11:06.3792597Z Unwanted system libraries:
2025-01-06T18:11:06.3792807Z   /lib/x86_64-linux-gnu/libz.so.1
2025-01-06T18:11:06.3793654Z ##[endgroup]
2025-01-06T18:11:06.3801445Z ##[group]Truncated linkage --test freecad/freecad/fc_bundle_py312 output
2025-01-06T18:11:06.3821963Z ##[error]  /lib/x86_64-linux-gnu/libz.so.1

2025-01-06T18:11:06.3822881Z ##[endgroup]
2025-01-06T18:11:06.3823278Z �[34m==>�[0m �[1mbrew linkage --cached freecad/freecad/fc_bundle_py312�[0m
2025-01-06T18:11:07.5633623Z �[34m==>�[0m �[1mbrew install --formula --only-dependencies --include-test freecad/freecad/fc_bundle_py312�[0m
2025-01-06T18:11:12.0930470Z �[34m==>�[0m �[1mbrew test --verbose freecad/freecad/fc_bundle_py312�[0m
2025-01-06T18:11:14.5417221Z �[31m==>�[0m �[1m�[31mFAILED�[0m �[32mfreecad/freecad/fc_bundle_py312�[39m�[0m
2025-01-06T18:11:14.5420714Z ##[error]linkage failed

@ipatch ipatch force-pushed the fc_bundle_py312-updates branch from 546e6ae to cd7b558 Compare January 7, 2025 01:18
@ipatch ipatch self-assigned this Jan 7, 2025
@ipatch ipatch added the pr-pull label Jan 7, 2025
github-actions bot pushed a commit that referenced this pull request Jan 7, 2025
@ipatch ipatch closed this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant