Git Product home page Git Product logo

Comments (10)

dirkolbrich avatar dirkolbrich commented on June 9, 2024 1

Thank you, formulae is fixed and is installable.

from homebrew-freecad.

ipatch avatar ipatch commented on June 9, 2024

you mind posting the output of?

brew doctor
brew config

from homebrew-freecad.

dirkolbrich avatar dirkolbrich commented on June 9, 2024

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.

dirkolbrich avatar dirkolbrich commented on June 9, 2024

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.

dirkolbrich avatar dirkolbrich commented on June 9, 2024

the missing line ending it is -> https://forum.freecadweb.org/viewtopic.php?p=609954#p609954

from homebrew-freecad.

ipatch avatar ipatch commented on June 9, 2024

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.

ipatch avatar ipatch commented on June 9, 2024

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.

ipatch avatar ipatch commented on June 9, 2024

try with pr #344

from homebrew-freecad.

ipatch avatar ipatch commented on June 9, 2024

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.

ipatch avatar ipatch commented on June 9, 2024

have not run into this issue any longer withe latest commit,

addab68

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.