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

[email protected]_rc2_py312: fix runtime issue with PySide #597

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions Formula/[email protected]_rc2_py312.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class FreecadAT100Rc2Py312 < Formula

Check warning on line 1 in Formula/[email protected]_rc2_py312.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

No bottle built for [email protected]_rc2_py312!

[email protected]_rc2_py312 has unbottled dependencies, so a bottle will not be built.

Check warning on line 1 in Formula/[email protected]_rc2_py312.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew linkage --cached --test --strict freecad/freecad/[email protected]_rc2_py312` failed on macOS Sonoma (14) on Apple Silicon!

tbb

Check warning on line 1 in Formula/[email protected]_rc2_py312.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

`brew linkage --cached --test --strict freecad/freecad/[email protected]_rc2_py312` failed on macOS Ventura (13)!

tbb
desc "Parametric 3D modeler"
homepage "https://www.freecadweb.org"
license "GPL-2.0-only"
Expand Down Expand Up @@ -52,8 +52,7 @@
depends_on "cmake" => :build
depends_on "freecad/freecad/[email protected]" => :build
depends_on "gcc" => :build
# epends_on "hdf5-mpi" => :build # requires fortran compiler
depends_on "hdf5" => :build # requires fortran compiler
depends_on "hdf5" => :build
depends_on "llvm" => :build if OS.linux?
depends_on "mesa" => :build if OS.linux?
depends_on "ninja" => :build if OS.linux?
Expand All @@ -74,19 +73,23 @@
depends_on "freetype"
depends_on "glew"
depends_on "icu4c"
depends_on macos: :high_sierra # no access to sierra test box
depends_on macos: :high_sierra
depends_on "mesa-glu" if OS.linux?
depends_on "openblas"
depends_on "opencascade"
depends_on "orocos-kdl"
# epends_on "freecad/freecad/[email protected]"
depends_on "qt@5"
depends_on "vtk"
depends_on "webp"
depends_on "xerces-c"
depends_on "yaml-cpp"
depends_on "zlib"

patch do
url "https://raw.githubusercontent.com/FreeCAD/homebrew-freecad/a979a1011bb1d911c2c26db9b663b04862b8b950/patches/freecad%401.0.0_rc2_py312-fix-pyside-path-issue.patch"
sha256 "c312676f490a9850691cc47ced760849bd440d20f0fdbefcac42b613f5873a2f"
end

# NOTE: https://docs.brew.sh/Formula-Cookbook#handling-different-system-configurations
# patch for mojave with 10.15 SDK
# patch :p1 do
Expand All @@ -94,7 +97,7 @@
# sha256 "ce9f4b2afb2c621274e74208a563616eeeee54369f295b6c5f6f4f3112923135"
# end

def install

Check warning on line 100 in Formula/[email protected]_rc2_py312.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew install --verbose --formula --build-bottle freecad/freecad/[email protected]_rc2_py312` failed on Linux!

| ^ 8 warnings generated. [778/6261] /home/linuxbrew/.linuxbrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PP_VARIADICS=1 -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBUILD_ADDONMGR -DCMAKE_BUILD_TYPE=\"RelWithDebInfo\" -DFMT_SHARED -DFreeCADGui_EXPORTS -DHAVE_CONFIG_H -DHAVE_PYSIDE2 -DHAVE_SHIBOKEN2 -DNDEBUG -DPYCXX_6_2_COMPATIBILITY -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_OCC64 -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build/src/Gui/FreeCADGui_autogen/include -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build/src -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/FreeCAD-1.0rc2/src -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/FreeCAD-1.0rc2/src/Gui -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/FreeCAD-1.0rc2/src/Gui/Quarter -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build/src/Gui -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/FreeCAD-1.0rc2/src/Gui/.. -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build/src/Gui/.. -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build/src/Gui/Language -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build/src/Gui/propertyeditor -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build/src/Gui/TaskView -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build/src/Gui/Quarter -I/tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/build/src/Gui/DAGView -I/home/linuxbrew/.linuxbrew/opt/eigen/include/eigen3 -I/home/linuxbrew/.linuxbrew/opt/[email protected]_py312/include -I/home/linuxbrew/.linuxbrew/opt/xerces-c/include -I/home/linuxbrew/.linuxbrew/opt/zlib/include -I/home/linuxbrew/.linuxbrew/opt/[email protected]_py312/include/PySide2/QtCore -I/home/linuxbrew/.linuxbrew/opt/[email protected]_py312/include/PySide2/QtGui -I/home/linuxbrew/.linuxbrew/opt/[email protected]_py312/include/PySide2/QtWidgets -isystem /home/linuxbrew/.linuxbrew/Cellar/boost/1.86.0_1/include -isystem /home/linuxbrew/.linuxbrew/opt/[email protected]/include/python3.12 -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtCore -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/./mkspecs/linux-g++ -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtWidgets -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtGui -isystem /home/linuxbrew/.linuxbrew/opt/mesa/include -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtOpenGL -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtPrintSupport -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtSvg -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtNetwork -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtUiTools -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtXml -isystem /home/linuxbrew/.linuxbrew/opt/[email protected]_py312/include/shiboken2 -isystem /home/linuxbrew/.linuxbrew/opt/[email protected]_py312/include/PySide2 -isystem /home/linuxbrew/.linuxbrew/opt/fmt/include -Wall -Wextra -Wpedantic -Wno-write-strings -Wno-undefined-var-template -O2 -g -DNDEBUG -std=gnu++17 -fPIC -I/home/linuxbrew/.linuxbrew/opt/open-mpi/include -fPIC -MD -MT src/Gui/CMakeFiles/FreeCADGui.dir/SoFCOffscreenRenderer.cpp.o -MF src/Gui/CMakeFiles/FreeCADGui.dir/SoFCOffscreenRenderer.cpp.o.d -o src/Gui/CMakeFiles/FreeCADGui.dir/SoFCOffscreenRenderer.cpp.o -c /tmp/freecadA1.0.0_rc2_py312-20241024-23772-poq4pt/FreeCAD-1.0rc2/src/Gui/SoFCOffscreenRenderer.cpp FAILED: src/Gui/CMakeFiles/FreeCADGui.dir/SoFCOffscreenRenderer.cpp.o /home/linuxbrew/.linuxbrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DY
hbp = HOMEBREW_PREFIX

# NOTE: `which` cmd is not installed by default on every OS
Expand Down
Loading