-
Notifications
You must be signed in to change notification settings - Fork 938
CI: update freebsd test to python 3.10. #8229
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
Open
rustyrussell
wants to merge
9
commits into
ElementsProject:master
Choose a base branch
from
rustyrussell:freebsd-update-python
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
CI: update freebsd test to python 3.10. #8229
rustyrussell
wants to merge
9
commits into
ElementsProject:master
from
rustyrussell:freebsd-update-python
+14
−26
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` 12 MiB to be downloaded. [1/1] Fetching pkg-2.1.0.pkg: .......... done Checking integrity... done (0 conflicting) [1/1] Upgrading pkg from 1.21.3 to 2.1.0... [1/1] Extracting pkg-2.1.0: .......... done Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'python38' have been found in the repositories Error: The process '/usr/bin/bash' failed with exit code 1 ``` Changelog-None: CI only Signed-off-by: Rusty Russell <[email protected]>
It didn't work, and it was downloading the Linux binary anyway! ``` 2025-04-11 02:37:12 (1.61 MB/s) - ‘bitcoin-27.1-x86_64-linux-gnu.tar.gz’ saved [48920073/48920073] tar: Error opening archive: Failed to open 'bitcoin-27.1-x86_64-linux-gnu.tar.bz2' ``` Signed-off-by: Rusty Russell <[email protected]>
``` ... skipping non-regular file "lightning/lightning/ccan/ccan/short_types/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/str/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/str/base32/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/str/hex/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/strmap/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/structeq/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/take/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/tal/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/tal/grab_file/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/tal/link/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/tal/path/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/tal/str/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/tcon/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/time/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/timer/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/typesafe_cb/LICENSE" skipping non-regular file "lightning/lightning/ccan/ccan/utf8/LICENSE" skipping non-regular file "lightning/lightning/doc/CHANGELOG.md" skipping non-regular file "lightning/lightning/doc/LICENSE.md" sent 583 bytes received 1,319,490 bytes 880,048.67 bytes/sec total size is 62,270,071 speedup is 47.17 Error: The process '/usr/bin/bash' failed with exit code 1 ``` Signed-off-by: Rusty Russell <[email protected]>
Did this ever work? Signed-off-by: Rusty Russell <[email protected]>
No, really: ``` IsolatedBuildInstallError Failed to install maturin>=1.2,<2.0. Output: Updating dependencies Resolving dependencies... Package operations: 1 install, 0 updates, 0 removals - Installing maturin (1.8.3) PEP517 build of a dependency failed Backend subprocess exited when trying to invoke build_wheel | Command '['/tmp/tmp0qxx7olq/.venv/bin/python', '/root/.local/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py', 'build_wheel', '/tmp/tmpu1wwwrff']' returned non-zero exit status 1. | | /tmp/tmp0qxx7olq/.venv/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated | !! | | ******************************************************************************** | Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). | | By 2026-Feb-18, you need to update your project and remove deprecated calls | or your builds will no longer be supported. | | See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. | ******************************************************************************** | | !! | corresp(dist, value, root_dir) | running bdist_wheel | running build | running build_py | creating build/lib.freebsd-14.2-RELEASE-amd64-cpython-311/maturin | copying maturin/__init__.py -> build/lib.freebsd-14.2-RELEASE-amd64-cpython-311/maturin | copying maturin/__main__.py -> build/lib.freebsd-14.2-RELEASE-amd64-cpython-311/maturin | running egg_info | writing maturin.egg-info/PKG-INFO | writing dependency_links to maturin.egg-info/dependency_links.txt | writing requirements to maturin.egg-info/requires.txt | writing top-level names to maturin.egg-info/top_level.txt | reading manifest file 'maturin.egg-info/SOURCES.txt' | reading manifest template 'MANIFEST.in' | warning: no files found matching '*.json' under directory 'src/python_interpreter' | writing manifest file 'maturin.egg-info/SOURCES.txt' | running build_ext | running build_rust | error: can't find Rust compiler ``` Signed-off-by: Rusty Russell <[email protected]>
``` | -- Found Python: /tmp/tmpyjjd1wyq/.venv/bin/python (found suitable version "3.11.11", minimum required is "3") found components: Interpreter Development.Module Development.SABIModule | CMake Error at /tmp/tmpyjjd1wyq/.venv/lib/python3.11/site-packages/cmake/data/share/cmake-4.0/Modules/FindPackageHandleStandardArgs.cmake:227 (message): | Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) | Call Stack (most recent call first): | /tmp/tmpyjjd1wyq/.venv/lib/python3.11/site-packages/cmake/data/share/cmake-4.0/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE) | /tmp/tmpyjjd1wyq/.venv/lib/python3.11/site-packages/cmake/data/share/cmake-4.0/Modules/FindPkgConfig.cmake:110 (find_package_handle_standard_args) | CMakeLists.txt:35 (find_package) | | | -- Configuring incomplete, errors occurred! | Traceback (most recent call last): | File "/root/.local/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> | main() | File "/root/.local/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main | json_out["return_val"] = hook(**hook_input["kwargs"]) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/root/.local/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel | return _build_backend().build_wheel( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/tmp/tmpyjjd1wyq/.venv/lib/python3.11/site-packages/hatchling/build.py", line 58, in build_wheel | return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard']))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/tmp/tmpyjjd1wyq/.venv/lib/python3.11/site-packages/hatchling/builders/plugin/interface.py", line 147, in build | build_hook.initialize(version, build_data) | File "/tmp/tmpyjjd1wyq/.venv/lib/python3.11/site-packages/scikit_build_core/hatch/plugin.py", line 125, in initialize | self._initialize(build_data=build_data) | File "/tmp/tmpyjjd1wyq/.venv/lib/python3.11/site-packages/scikit_build_core/hatch/plugin.py", line 228, in _initialize | builder.configure( | File "/tmp/tmpyjjd1wyq/.venv/lib/python3.11/site-packages/scikit_build_core/builder/builder.py", line 283, in configure | self.config.configure( | File "/tmp/tmpyjjd1wyq/.venv/lib/python3.11/site-packages/scikit_build_core/cmake.py", line 254, in configure | raise FailedLiveProcessError(msg) from None | scikit_build_core.errors.FailedLiveProcessError: CMake configuration failed Note: This error originates from the build backend, and is likely not a problem with poetry but one of the following issues with coincurve (20.0.0) - not supporting PEP 517 builds - not specifying PEP 517 build requirements correctly - the build requirements are incompatible with your operating system or Python version - the build requirements are missing system dependencies (eg: compilers, libraries, headers). You can verify this by running pip wheel --no-cache-dir --use-pep517 "coincurve (==20.0.0)". ``` Signed-off-by: Rusty Russell <[email protected]>
``` checking for jq... not found *** We need jq! ``` Signed-off-by: Rusty Russell <[email protected]>
``` fatal: detected dubious ownership in repository at '/home/runner/work/lightning/lightning/external/libwally-core' To add an exception for this directory, call: git config --global --add safe.directory /home/runner/work/lightning/lightning/external/libwally-core Reinitializing submodules src/secp256k1 ... fatal: detected dubious ownership in repository at '/home/runner/work/lightning/lightning/external/libwally-core' To add an exception for this directory, call: git config --global --add safe.directory /home/runner/work/lightning/lightning/external/libwally-core fatal: detected dubious ownership in repository at '/home/runner/work/lightning/lightning/external/libwally-core' To add an exception for this directory, call: git config --global --add safe.directory /home/runner/work/lightning/lightning/external/libwally-core gmake: *** [external/Makefile:65: submodcheck] Error 128 ``` Signed-off-by: Rusty Russell <[email protected]>
``` cargo build --quiet --example cln-plugin-startup error: failed to run custom build command for `cln-grpc v0.4.0 (/home/runner/work/lightning/lightning/cln-grpc)` Caused by: process didn't exit successfully: `/home/runner/work/lightning/lightning/target/debug/build/cln-grpc-1c0900b8d6f448d4/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-changed=proto/node.proto cargo:rerun-if-changed=proto --- stderr thread 'main' panicked at cln-grpc/build.rs:7:10: called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: "Could not find `protoc`. If `protoc` is installed, try setting the `PROTOC` environment variable to the path of the `protoc` binary. Try installing `protobuf-compiler` or `protobuf` using your package manager. It is also available at https://github.com/protocolbuffers/protobuf/releases For more information: https://docs.rs/prost-build/#sourcing-protoc" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace gmake: *** [cln-rpc/Makefile:15: target/debug/examples/cln-plugin-startup] Error 101 ``` Signed-off-by: Rusty Russell <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog-None: CI only
Important
25.05 FREEZE MAY 12TH: Non-bugfix PRs not ready by this date will wait for 25.08.
RC1 is scheduled on May 23rd, RC2 on May 26th, ...
The final release is on MAY 29TH.
Checklist
Before submitting the PR, ensure the following tasks are completed. If an item is not applicable to your PR, please mark it as checked: