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

freebsd14, netbsd9, openbsd7 box: rust compiler needed (master) #8365

Closed
ThomasWaldmann opened this issue Sep 9, 2024 · 4 comments · Fixed by #8437
Closed

freebsd14, netbsd9, openbsd7 box: rust compiler needed (master) #8365

ThomasWaldmann opened this issue Sep 9, 2024 · 4 comments · Fixed by #8437
Assignees
Labels
Milestone

Comments

@ThomasWaldmann
Copy link
Member

looks like cryptography wants bcrypt wants rust.

@ThomasWaldmann ThomasWaldmann added this to the 2.0.0b11 milestone Sep 9, 2024
@ThomasWaldmann ThomasWaldmann changed the title netbsd9 box: rust compiler needed (master) netbsd9 and openbsd7 box: rust compiler needed (master) Sep 9, 2024
@ThomasWaldmann ThomasWaldmann changed the title netbsd9 and openbsd7 box: rust compiler needed (master) freebsd14, netbsd9, openbsd7 box: rust compiler needed (master) Sep 9, 2024
@ThomasWaldmann ThomasWaldmann modified the milestones: 2.0.0b11, 2.0.0b12 Sep 19, 2024
@ThomasWaldmann
Copy link
Member Author

netbsd:

pkg_add rust

But then runs into:

      Building wheels for collected packages: maturin
        Building wheel for maturin (pyproject.toml): started
        Building wheel for maturin (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error
     
        ? Building wheel for maturin (pyproject.toml) did not run successfully.
        ? exit code: 1
        ??> [34 lines of output]
            running bdist_wheel
            running build
            running build_py
            creating build/lib.netbsd-9.3-amd64-cpython-311/maturin
            copying maturin/__init__.py -> build/lib.netbsd-9.3-amd64-cpython-311/maturin
            copying maturin/__main__.py -> build/lib.netbsd-9.3-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
                Updating crates.io index
            error: failed to get `anyhow` as a dependency of package `maturin v1.7.3 (/tmp/pip-install-8lnh41fw/maturin_7196b4f673ff4abc96134f4a28bb9b67)`
     
            Caused by:
              failed to query replaced source registry `crates-io`
     
            Caused by:
              download of config.json failed
     
            Caused by:
              failed to download from `https://index.crates.io/config.json`
     
            Caused by:
              [60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer certificate)
            error: `cargo metadata --manifest-path Cargo.toml --format-version 1 --locked` failed with code 101
            -- Output captured from stdout:
(borg-env) [root@netbsd9 ~]$ pkg_add ca-certificates
pkg_add: package `ca-certificates-20240203' already recorded as installed

@ThomasWaldmann
Copy link
Member Author

ThomasWaldmann commented Sep 25, 2024

freebsd:

pkg install rust

and it works!

@ThomasWaldmann
Copy link
Member Author

ThomasWaldmann commented Sep 25, 2024

openbsd:

pkg_add rust

openbsd7:

            cargo build --manifest-path Cargo.toml --message-format=json-render-diagnostics --release -v --no-default-features --locked
            error: package `clap_builder v4.5.7` cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.72.1
            Either upgrade to rustc 1.74 or newer, or use
            cargo update -p [email protected] --precise ver
            where `ver` is the latest version of `clap_builder` supporting rustc 1.72.1

@ThomasWaldmann
Copy link
Member Author

rust compiler now installed, freebsd fixes, openbsd/netbsd issues remaining, see above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant