Comments (10)
Thank you, formulae is fixed and is installable.
from homebrew-freecad.
you mind posting the output of?
brew doctor
brew config
from homebrew-freecad.
homebrew is up to date and fine:
➜ ~ brew doctor
Your system is ready to brew.
➜ ~ brew config
HOMEBREW_VERSION: 3.5.4-70-g40b20de
ORIGIN: https://github.com/Homebrew/brew
HEAD: 40b20dea22f558810e016147879b263df2763a84
Last commit: 13 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: aa318735cae1f5bdf4f21fdad47a144aa9b6caf5
Core tap last commit: 14 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 13.1.6 build 1316
Git: 2.37.1 => /opt/homebrew/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.4-arm64
CLT: 13.4.0.0.1.1651278267
Xcode: 13.4.1
Rosetta 2: false
➜ ~ brew search freecad
==> Formulae
freecad/freecad/elmer freecad/freecad/[email protected] freecad/freecad/qwtelmer
freecad/freecad/freecad freecad/freecad/[email protected] freecad/freecad/[email protected]
freecad/freecad/[email protected] freecad/freecad/[email protected] freecad/freecad/[email protected]
freecad/freecad/med-file ✔ freecad/freecad/[email protected] freecad/freecad/[email protected]
freecad/freecad/[email protected] freecad/freecad/pyside2 freecad/freecad/[email protected]
freecad/freecad/[email protected] freecad/freecad/[email protected] freecad/freecad/[email protected] ✔
freecad/freecad/[email protected] freecad/freecad/[email protected] freecad/freecad/tbb@2020_u3
freecad/freecad/opencamlib freecad/freecad/[email protected] freeciv
==> Casks
freecad freecol homebrew/cask-versions/freecad-pre
➜ ~ brew install freecad/freecad/[email protected]
==> Downloading https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.5-src/pyside-setup-opensource-src-5.15.5.zip
Already downloaded: /Users/dirkolbrich/Library/Caches/Homebrew/downloads/7e478bd63671464e429850a09bc66eeda44c95ddd8ab0b66cfc8224ffd477cc9--pyside-setup-opensource-src-5.15.5.zip
==> Installing [email protected] from freecad/freecad
==> Patching
Error: Failure while executing; `patch -g 0 -f -p1` exited with 1. Here's the output:
patching file sources/shiboken2/libshiboken/pep384impl.cpp
Hunk #1 FAILED at 707.
1 out of 1 hunk FAILED -- saving rejects to file sources/shiboken2/libshiboken/pep384impl.cpp.rej
patching file sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 116.
1 out of 1 hunk FAILED -- saving rejects to file sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp.rej
Could this be an Arm vs. Intel issue?
from homebrew-freecad.
building from source fails as well:
➜ ~ brew install --build-from-source freecad/freecad/[email protected]
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Downloading https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.5-src/pyside-setup-opensource-src-5.15.5.zip
Already downloaded: /Users/dirkolbrich/Library/Caches/Homebrew/downloads/7e478bd63671464e429850a09bc66eeda44c95ddd8ab0b66cfc8224ffd477cc9--pyside-setup-opensource-src-5.15.5.zip
==> Installing [email protected] from freecad/freecad
==> Patching
Error: Failure while executing; `patch -g 0 -f -p1` exited with 1. Here's the output:
patching file sources/shiboken2/libshiboken/pep384impl.cpp
Hunk #1 FAILED at 707.
1 out of 1 hunk FAILED -- saving rejects to file sources/shiboken2/libshiboken/pep384impl.cpp.rej
patching file sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 116.
1 out of 1 hunk FAILED -- saving rejects to file sources/shiboken2/libshiboken/sbknumpyarrayconverter.cpp.rej
from homebrew-freecad.
the missing line ending it is -> https://forum.freecadweb.org/viewtopic.php?p=609954#p609954
from homebrew-freecad.
the missing line ending it is -> forum.freecadweb.org/viewtopic.php?p=609954#p609954
okay, thanks for reporting that. i'll work on fixing the formula. oddly enough i don't think the missing line ending effected me on my system. i tried it on my local box (catalina) and a mojave vm. 🤷♂️ and it seemed to build with all three runners. so this is definitely an edge the CI did not pick up 🤦♀️ unfortunately for whatever reason.
thanks for reporting this issue to BTW. 🙏
from homebrew-freecad.
attempted to fix this issue this afternoon with with #338
but reasons i don't quite understand the carriage returns are getting omitted after the PR is merged FWR.
i might have to make the patches an external to see if that resolves the issue.
forgive me for the present incompatibility. i'll work to get this resolved later.
from homebrew-freecad.
try with pr #344
from homebrew-freecad.
okay #345 should fix this, will require manually building of the formula, as the inline patch with CRLF has issues with the current CI unfortunately.
from homebrew-freecad.
have not run into this issue any longer withe latest commit,
if you're experiencing any more issues with brew install freecad/freecad/[email protected]
please leave comment and i'll gladly reopen this issue.
from homebrew-freecad.
Related Issues (20)
- Homebrew update pyside & shiboken to 5.15.5 HOT 9
- update readme with contributing section HOT 1
- `[email protected]` install fails HOT 15
- mac app bundling using cmake on m1 failure due to install_name_tool HOT 11
- swig, add a caveat section to formula HOT 1
- Freecad formula failing on M1 mac HOT 8
- Failing to build from HEAD HOT 14
- Documentation on building dev version HOT 6
- installing 0.20.1 on Apple M1 (errors installing [email protected]) HOT 17
- update workflow files for github actions to remove deprecated commands HOT 4
- [email protected] fails to build on gnu+linux ie. arch linux HOT 3
- setup a github action for the self-hosted runners to auto renew before they expire. HOT 6
- periodically update bottle artifacts HOT 1
- home brew install failed with "Could not identify shiboken version" HOT 3
- fix broken link for med-file HOT 3
- med-file todo add caveats section to formula about python mismatches
- brew install --only-dependencies freecad fails in step freecad/freecad/[email protected] HOT 17
- "brew install --only-dependencies freecad" error building PySide2 QtSensors HOT 2
- "Python.h no such file or directory" error on compilation of freecad/freecad/[email protected] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-freecad.