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

libsigrok: migrate to [email protected] #201588

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions Formula/lib/libsigrok.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
depends_on "nettle"
depends_on "numpy"
depends_on "pygobject3"
depends_on "python@3.12"
depends_on "python@3.13"

on_macos do
depends_on "gettext"
Expand All @@ -95,10 +95,10 @@
end

def python3
"python3.12"
"python3.13"
end

def install

Check failure on line 101 in Formula/lib/libsigrok.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew install --verbose --formula --build-bottle libsigrok` failed on macOS Sequoia (15) on Apple Silicon!

******************************************************************************** !! ep.load()(self, ep.name, value) ../../../bindings/python/sigrok/core/../../../swig/classes.i:51: Warning 330: Template forward class 'enable_shared_from_this< Context >' cannot be used to instantiate a full template class with name 'ContextShared'. sigrok/core/classes_wrap.cpp:43679:21: error: use of undeclared identifier 'PyEval_CallObject' 43679 | auto result = PyEval_CallObject(swig_obj[1], arglist); | ^ sigrok/core/classes_wrap.cpp:47846:21: error: use of undeclared identifier 'PyEval_CallObject' 47846 | auto result = PyEval_CallObject(swig_obj[1], arglist); | ^ sigrok/core/classes_wrap.cpp:48160:27: error: use of undeclared identifier 'PyEval_CallObject' 48160 | const auto result = PyEval_CallObject(swig_obj[1], nullptr); | ^ 3 errors generated. error: command '/opt/homebrew/Library/Homebrew/shims/mac/super/clang++' failed with exit code 1 make[1]: *** [bindings/python/timestamp] Error 1 make: *** [all] Error 2 ==> Formula Path: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/lib/libsigrok.rb ==> Configuration HOMEBREW_VERSION: 4.4.12-18-gd94720e ORIGIN: https://github.com/Homebrew/brew HEAD: d94720efcb7a0dbb006e1f76c747795ddb5ea20a Last commit: 2 hours ago Branch: master Core tap HEAD: 5f7593636774b0254be710ee615e96b2481385cd Core tap last commit: 9 minutes ago Core tap JSON: 18 Dec 04:52 UTC Core cask tap JSON: 18 Dec 04:52 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl 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: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.3.6 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby CPU: quad-core 64-bit dunno Clang: 16.0.0 build 1600 Git: 2.39.5 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 15.1-arm64 CLT: 16.1.0.0.1.1729049160 Xcode: 16.1 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /opt/homebrew/opt/readline:/opt/homebrew/opt/sqlite:/opt/homebrew/opt/icu4c@76:/opt/homebrew/opt/openblas:/opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries CMAKE_FRAMEWORK_PATH: /opt/homebrew/opt/[email protected]/Frameworks PKG_CONFIG_PATH: /opt/homebrew/Cellar/libsigrok/0.5.2_5/lib/pkgconfig:/opt/homebrew/opt/graphviz/lib/pkgconfig:/opt/homebrew/opt/pkgconf/lib/pkgconfig:/opt/homebrew/opt/pcre2/lib/pkgconfig:/opt/homebrew/opt/mpdecimal/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/xz/lib/pkgconfig:/opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/glib/lib/pkgconfig:/opt/homebrew/opt/libsigc++@2/lib/pkgconfig:/opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/hidapi/lib/pkgconfig:/opt/homebrew/opt/icu4c@76/lib/pkgconfig:/opt/homebrew/opt/lz4/lib/pkgconfig:/opt/homebrew/opt/zstd/lib/pkgconfig:/opt/homebrew/opt/confuse/lib/pkgconfig:/opt/homebrew/opt/libusb/lib/pkgconfig:/opt/homebrew/opt/libftdi/lib/pkgconfig:/opt/homebrew/opt/libzip/lib/pkgconfig:/opt/homebrew/opt/gmp/lib/pkgconfig:/opt/homebrew/opt/nettle/lib/pkgconfig:/opt/homebrew/opt/isl/lib/pkgconfig:/opt/homebrew/opt/mpfr
resource("fw-fx2lafw").stage do
if build.head?
system "./autogen.sh"
Expand Down
Loading