Skip to content
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
13 changes: 2 additions & 11 deletions Formula/c/core-lightning.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

desc "Lightning Network implementation focusing on spec compliance and performance"
homepage "https://github.com/ElementsProject/lightning"
url "https://github.com/ElementsProject/lightning/releases/download/v25.09.3/clightning-v25.09.3.zip"
sha256 "d051a08f1432ddc7b26d1132ea9ad302de935f89a5a930eafcf92f68830649ab"
url "https://github.com/ElementsProject/lightning/releases/download/v25.12/clightning-v25.12.zip"
sha256 "9b5afc17f8df3b695339ebecb6d377467fdd44e8c17429e554ed2b3fcbc18ac6"
license "MIT"
head "https://github.com/ElementsProject/lightning.git", branch: "master"

Expand Down Expand Up @@ -62,16 +62,7 @@
sha256 "f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c"
end

# Configure script overwrites `PKG_CONFIG_PATH` on macOS
# PR: https://github.com/ElementsProject/lightning/pull/8146
patch do
url "https://github.com/botantony/lightning/commit/cca721a9f3c5a15f6792b0dc1941959dbd93ac2f.patch?full_index=1"
sha256 "ee375b92de3d49f4bdf33acf2eb672b693f5806ee418a380e37f3a6a4047c91d"
end

def install

Check failure on line 65 in Formula/c/core-lightning.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew install --verbose --formula --build-bottle core-lightning` failed on macOS Sonoma (14) on Apple Silicon!

cc lightningd/coin_mvts.c cc lightningd/dual_open_control.c cc lightningd/closed_channel.c cc lightningd/connect_control.c cc lightningd/onion_message.c lightningd/dual_open_control.c:2257:34: error: default initialization of an object of type 'const secp256k1_ecdsa_signature' leaves the object uninitialized [-Werror,-Wdefault-const-init-var-unsafe] 2257 | const secp256k1_ecdsa_signature sig; | ^ 1 error generated. make: *** [lightningd/dual_open_control.o] Error 1 make: *** Waiting for unfinished jobs.... rm external/build-arm64-apple-darwin23.6.0/libwally-core-build/src/secp256k1/libsecp256k1.la ==> Formula Path: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/c/core-lightning.rb ==> Configuration HOMEBREW_VERSION: 5.0.4-31-gd00eb45 ORIGIN: https://github.com/Homebrew/brew HEAD: d00eb4563bbbfeb165352479ea30105fbc043239 Last commit: 9 hours ago Branch: main Core tap HEAD: 0604b42e4948b005985cb7ce4d75a375dbc57e7e Core tap last commit: 13 minutes ago Core tap JSON: 04 Dec 09:06 UTC Core cask tap JSON: 04 Dec 09:06 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_DOWNLOAD_CONCURRENCY: 8 HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: 1589480+BrewTestBot@users.noreply.github.com 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.4.7 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.7/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: 14.8.2-arm64 CLT: 16.2.0.0.1.1733547573 Xcode: 16.2 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries CMAKE_FRAMEWORK_PATH: /opt/homebrew/opt/python@3.14/Frameworks PKG_CONFIG_PATH: /opt/homebrew/opt/lowdown/lib/pkgconfig:/opt/homebrew/opt/pkgconf/lib/pkgconfig:/opt/homebrew/opt/protobuf/lib/pkgconfig:/opt/homebrew/opt/python@3.14/lib/pkgconfig:/opt/homebrew/opt/capnp/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig:/opt/homebrew/opt/libevent/lib/pkgconfig:/opt/homebrew/opt/libsodium/lib/pkgconfig:/opt/homebrew/opt/zeromq/lib/pkgconfig:/opt/homebrew/opt/jq/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/14 HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk ACLOCAL_PATH: /opt/homebrew/share/aclocal PATH: /opt/homebrew/opt/gnu-sed/libexec/gnubin:/private/tmp/core-lightning-20251204-11221-30d9rp/clightning-v25.12/venv/bin:/opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/autoconf/bin:/opt/homebrew/opt/automake/bin:/opt/homebrew/opt/gettext/bin:/opt/homebrew/opt/libtool/bin:/opt/homebrew/opt/lowdown/bin:/opt/homebrew/opt/pkgconf/bin:/opt/homebrew/opt/protobuf/bin:/opt/homebrew/opt/python@3.14/bin:/opt/homebrew/opt/rust/bin:/opt/homebrew/opt/capnp/bin:/opt/homebrew/opt/openssl@3/bin:/opt/homebrew/opt/libevent/bin:/opt/homebrew/opt/zeromq/bin:/opt/homebrew/opt/bitcoin/bin:/opt/homebrew/opt/jq/bin:/opt/homebrew/opt/gnu-sed/bin:/opt/homebrew/opt/python@3.14/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/core-lightning/00.options.out
rm_r(["external/libsodium", "external/lowdown"])

venv = virtualenv_create(buildpath/"venv", "python3.14")
venv.pip_install resources
ENV.prepend_path "PATH", venv.root/"bin"
Expand Down
Loading