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

maturin support on solaris sparc #2239

Open
2 tasks
Ganeshkumhar1 opened this issue Sep 27, 2024 · 1 comment
Open
2 tasks

maturin support on solaris sparc #2239

Ganeshkumhar1 opened this issue Sep 27, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Ganeshkumhar1
Copy link

Bug Description

I work on building python's cryptography package on solaris sparc. with the latest cryptography version 43.0.1 , cryptography moved from setuptool-rust to maturin for builds.
I am unable to build maturin on solaris sparc, does it support on solaris.sparc platform? it seems latest maturin requires rustc 1.74 and newer but I am having 1.70 version.

i tried building older version of maturin like (1.4.0 or 1.5.0 ) but build is failing for me -

error[E0609]: no field domainname on type libc::utsname
--> /tmp/.cargo/registry/src/index.crates.io-d11c229612889eed/platform-info-2.0.2/src/platform/unix.rs:163:38
|
163 | equal = equal && (self.0.domainname == other.0.domainname)
| ^^^^^^^^^^ unknown field
|
= note: available fields are: sysname, nodename, release, version, machine

error[E0609]: no field domainname on type libc::utsname
--> /tmp/.cargo/registry/src/index.crates.io-d11c229612889eed/platform-info-2.0.2/src/platform/unix.rs:163:60
|
163 | equal = equal && (self.0.domainname == other.0.domainname)
| ^^^^^^^^^^ unknown field
|
= note: available fields are: sysname, nodename, release, version, machine

For more information about this error, try rustc --explain E0609.
error: could not compile platform-info (lib) due to 3 previous errors

How do i build it on sparc .Please suggest.

Your maturin version (maturin --version)

1.5.0

Your Python version (python -V)

3.12.6

Your pip version (pip -V)

42.2

What bindings you're using

None

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

I tried -

python3 -m pip install "maturin==1.5.0" on my sparc box.

@Ganeshkumhar1 Ganeshkumhar1 added the bug Something isn't working label Sep 27, 2024
@messense messense added enhancement New feature or request and removed bug Something isn't working labels Sep 28, 2024
@messense
Copy link
Member

Sorry but I don't have access to a solaris sparc box, pull requests are welcome to add support for it.

@messense messense added the help wanted Extra attention is needed label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants