-
Notifications
You must be signed in to change notification settings - Fork 34
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
[email protected]_py310: ci fails to build bottles for gnu+linux #546
Comments
believe this is related to improper directory setup 🧐,
i believe the above logic should be referencing the |
see PR #575 |
hopefully i'll get this resolved using the below branch on my personal homebrew tap then update the effected formula in this tap when i find a fix.
https://github.com/ipatch/homebrew-us-05/blob/dev/Formula/hello_world_opengl.rb |
i think i might have finally figured this one out, 😮💨 the below files will all need to be patched,
i think unfortunately on linux using the cmake cmake variables from the cli prevents cmake from finding the -DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=FALSE
-DCMAKE_FIND_USE_CMAKE_SYSTEM_PATH=FALSE
-DCMAKE_IGNORE_PATH=#{hbp}/lib;#{hbp}/include/QtCore;#{hbp}/Cellar/qt; patching the above mentioned file with the below, #if !defined(FC_OS_MACOSX)
# include <GL/gl.h>
# if defined(__linux__) && defined(HOMEBREW_PREFIX)
# pragma message("ipatch, HOMEBREW_PREFIX is: " HOMEBREW_PREFIX)
// #define GLU_PATH HOMEBREW_PREFIX "/opt/mesa-glu/include/GL/glu.h"
// #define GLU_PATH_STR TOSTRING(HOMEBREW_PREFIX "/opt/mesa-glu/include/GL/glu.h")
// #pragma message("ipatch, Including GLU from: " GLU_PATH_STR)
// # include GLU_PATH_STR
// # pragma message("ipatch, GLU_PATH is: " GLU_PATH_STR)
# include "/home/linuxbrew/.linuxbrew/opt/mesa-glu/include/GL/glu.h"
# else
# include <GL/glu.h>
# endif
# include <GL/glext.h>
#endif did increment the build further, but unfortunately it hard-codes the path of the HOMEBREW_PREFIX, so if someone is running linuxbrew with a non standard prefix i believe the build will still fail. so maybe a guard be added to only set that include if the below HOMEBREW_PREFIX is found. 🧐 |
the current ci setup in this repo/tap uses the github provided ubuntu runner image, and some of the formula contained within this tap do contain bottles built for gnu+linux. however the formula
[email protected]_py310
does not contain a bottle for gnu+linux due to the below build errors / issues when attempting to build using the github provided unbuntu runner images.from my limited testing,
brew install freecad/freecad/freecad
on my arch linux install (aka my daily driver). does indeed build and install freecad. so it maybe an issue specific to the github ci or how homebrew interacts with the github ci or the runner image provided by github.more testing will be required, and i have not tested this issue with other distros of linux ...yet.
The text was updated successfully, but these errors were encountered: