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]_py310: update formula with new hdf5 patch should fix cmake reruns #647

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
14 changes: 7 additions & 7 deletions Formula/[email protected]_py310.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class FreecadAT0212Py310 < Formula

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

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

No bottle built for [email protected]_py310!

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

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

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

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

tbb

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

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

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

tbb
desc "Parametric 3D modeler"
homepage "https://www.freecadweb.org"
license "GPL-2.0-only"
Expand All @@ -14,11 +14,6 @@
sha256 "fce55c5179756c3a89d1a3e9b6c01e81a82bee21f876c1485044b7fe1b7c822a"
end

patch do
url "https://raw.githubusercontent.com/FreeCAD/homebrew-freecad/95e5aa838ae8b5e7d4fd6ddd710bc53c8caedddc/patches/freecad-0.20.2-cmake-find-hdf5.patch"
sha256 "99d115426cb3e8d7e5ab070e1d726e51eda181ac08768866c6e0fd68cda97f20"
end

patch do
url "https://raw.githubusercontent.com/FreeCAD/homebrew-freecad/95e5aa838ae8b5e7d4fd6ddd710bc53c8caedddc/patches/freecad-0.20.2-vtk-9.3.patch"
sha256 "67794ebfcd70a160d379eeca7d2ef78d510057960d0eaa4e2e345acb7ae244aa"
Expand All @@ -43,6 +38,11 @@
url "https://raw.githubusercontent.com/FreeCAD/homebrew-freecad/b510bf8a0feba8b3d75e121a2fe32fa697a6fef5/patches/freecad%400.21.2_py310-boost-dep-errors.patch"
sha256 "535316c559a1fb1bd6fab0287c12fcc6ccd6c5b065bbe339207c2bb98fa600b6"
end

patch do
url "https://raw.githubusercontent.com/FreeCAD/homebrew-freecad/e78eeda91a16658ce4954114b5fdb85b7e72e774/patches/freecad%400.21.2_py310-hdf5-fix-cmake-reruns.patch"
sha256 "b1becbdc867e96aa1bfe8d8fd1c1b01053b2ce5d1d9483cd0ed19b2d2c6f387f"
end
end

bottle do
Expand All @@ -61,8 +61,8 @@
depends_on "yaml-cpp"

patch do
url "https://raw.githubusercontent.com/FreeCAD/homebrew-freecad/95e5aa838ae8b5e7d4fd6ddd710bc53c8caedddc/patches/freecad-0.20.2-cmake-find-hdf5.patch"
sha256 "99d115426cb3e8d7e5ab070e1d726e51eda181ac08768866c6e0fd68cda97f20"
url "https://raw.githubusercontent.com/FreeCAD/homebrew-freecad/e78eeda91a16658ce4954114b5fdb85b7e72e774/patches/freecad%400.21.2_py310-hdf5-fix-cmake-reruns.patch"
sha256 "b1becbdc867e96aa1bfe8d8fd1c1b01053b2ce5d1d9483cd0ed19b2d2c6f387f"
end

patch do
Expand Down Expand Up @@ -116,7 +116,7 @@
# sha256 "ce9f4b2afb2c621274e74208a563616eeeee54369f295b6c5f6f4f3112923135"
# end

def install

Check warning on line 119 in Formula/[email protected]_py310.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

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

| ^ 8 warnings generated. [822/4963] /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\" -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/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/src/Gui/FreeCADGui_autogen/include -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/src -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/FreeCAD-0.21.2/src -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/FreeCAD-0.21.2/src/Gui -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/FreeCAD-0.21.2/src/Gui/Quarter -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/src/Gui -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/FreeCAD-0.21.2/src/Gui/.. -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/src/Gui/.. -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/src/Gui/Language -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/src/Gui/propertyeditor -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/src/Gui/TaskView -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/src/Gui/Quarter -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/src/Gui/DAGView -I/home/linuxbrew/.linuxbrew/opt/eigen/include/eigen3 -I/home/linuxbrew/.linuxbrew/opt/coin3d_py310/include -I/home/linuxbrew/.linuxbrew/opt/xerces-c/include -I/home/linuxbrew/.linuxbrew/opt/zlib/include -I/home/linuxbrew/.linuxbrew/opt/[email protected]_py310/include/PySide2/QtCore -I/home/linuxbrew/.linuxbrew/opt/[email protected]_py310/include/PySide2/QtGui -I/home/linuxbrew/.linuxbrew/opt/[email protected]_py310/include/PySide2/QtWidgets -I/tmp/freecadA0.21.2_py310-20241121-24580-uzn8dq/build/_deps/fmt-src/include -isystem /home/linuxbrew/.linuxbrew/Cellar/boost/1.86.0_2/include -isystem /home/linuxbrew/.linuxbrew/opt/[email protected]/include/python3.10 -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/[email protected]_py310/include/shiboken2 -isystem /home/linuxbrew/.linuxbrew/opt/[email protected]_py310/include/PySide2 -isystem /home/linuxbrew/.linuxbrew/opt/qt@5/include/QtXml -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/freecadA0.21.2_py310-20241121-24580-uzn8dq/FreeCAD-0.21.2/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_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOS

Check warning on line 119 in Formula/[email protected]_py310.rb

View workflow job for this annotation

GitHub Actions / test-bot (self-hosted-ubuntu-22.04)

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

[1/2] /home/linuxbrew/.linuxbrew/opt/llvm/bin/clang++ -MD -MT CMakeFiles/cmTC_8a91d.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_8a91d.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_8a91d.dir/testCXXCompiler.cxx.o -c /home/brewer/tmp/homebrew/freecadA0.21.2_py310-20241121-482237-mfrtvs/build/CMakeFiles/CMakeScratch/TryCompile-rl8YV8/testCXXCompiler.cxx [2/2] : && /home/linuxbrew/.linuxbrew/opt/llvm/bin/clang++ CMakeFiles/cmTC_8a91d.dir/testCXXCompiler.cxx.o -o cmTC_8a91d && : FAILED: cmTC_8a91d : && /home/linuxbrew/.linuxbrew/opt/llvm/bin/clang++ CMakeFiles/cmTC_8a91d.dir/testCXXCompiler.cxx.o -o cmTC_8a91d && : ld: cannot find -lstdc++: No such file or directory clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:26 (project) -- Configuring incomplete, errors occurred! -- Cache values CCACHE_PROGRAM:FILEPATH=CCACHE_PROGRAM-NOTFOUND CMAKE_BUILD_TYPE:STRING=RelWithDebInfo CMAKE_INSTALL_PREFIX:PATH=/home/linuxbrew/.linuxbrew/Cellar/[email protected]_py310/0.21.2 FREECAD_USE_CCACHE:BOOL=ON ==> Formula Tap: freecad/freecad Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/freecad/homebrew-freecad/Formula/[email protected]_py310.rb ==> Configuration HOMEBREW_VERSION: 4.4.6-35-gc329e72 ORIGIN: https://github.com/Homebrew/brew HEAD: c329e726f8f301c700629ec538c659246d841d7c Last commit: 2 hours ago Core tap HEAD: bcf0b597f2caa3342586ca5e0d2379b2337b7a56 Core tap last commit: 5 hours ago Core tap JSON: 22 Nov 01:41 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /home/linuxbrew/.linuxbrew/cache HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_DISPLAY: localhost:10.0 HOMEBREW_EDITOR: nvim HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /opt/code/hbfc-ar/_work/homebrew-freecad/homebrew-freecad/logs HOMEBREW_MAKE_JOBS: 8 HOMEBREW_NO_ANALYTICS: set HOMEBREW_NO_AUTOREMOVE: set HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_GITHUB_API: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_CLEANUP: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_TEMP: /home/brewer/tmp/homebrew Homebrew Ruby: 3.3.6 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby CPU: octa-core 64-bit haswell Clang: 19.1.3 Git: 2.34.1 => /usr/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.8.0-48-generic x86_64 GNU/Linux OS: Ubuntu 22.04.5 LTS (jammy) Host glibc: 2.35 /usr/bin/gcc: 11.4.0 /usr/bin/ruby: 3.0.2 glibc: N/A gcc@11: N/A gcc: 14.2.0_1 xorg: N/A ==> ENV HOMEBREW_CC: gcc-11 HOMEBREW_CXX: g++-11 MAKEFLAGS: -j8 PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/hdf5/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/mesa/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/pkgconf/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/tbb/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/icu4c@76/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/xz/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/lz4/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zlib/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zstd/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/bzip2/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/mpdecimal/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/openssl@3/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/ncurses/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/readline/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/sqlite/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libedit/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/krb5/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libtirpc/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/libnsl/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/expat/lib/pkgconfig:/h
hbp = HOMEBREW_PREFIX

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