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

AIX: unknown OS type: AIX for ./configure #93618

Closed
aixtools opened this issue Feb 3, 2022 · 2 comments
Closed

AIX: unknown OS type: AIX for ./configure #93618

aixtools opened this issue Feb 3, 2022 · 2 comments
Labels
O-aix OS: Big Blue's Advanced Interactive eXecutive..

Comments

@aixtools
Copy link

aixtools commented Feb 3, 2022

I want to pip install cryptography, but that says:

     =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation/ for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq/
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation/#rust

      Python: 3.9.9
      platform: AIX-1-00C291F54C00-powerpc-64bit
      pip: n/a
      setuptools: 60.7.1
      setuptools_rust: 1.1.2
      =============================DEBUG ASSISTANCE=============================

  error: can't find Rust compiler

Something simple such as isn't working (I think this is a different rust:

pip install rust
Collecting rust
  Downloading RUST-0.1.1.tar.gz (13 kB)
Collecting matplotlib
  Downloading matplotlib-3.5.1.tar.gz (35.3 MB)
...

So, after downloading the rust(-lang)-1.58.1 sources:

root@x066:[/data/prj/aixtools/rust/rust-1.58.1]../src/rust-1.58.1/configure
configure: processing command line
configure:
configure: build.configure-args := []
unknown OS type: AIX

This is really REALLY sour - can't install something because a new PIP requires rust, but rust is not even recognizing the platform.

Good-bye ansible.

I know rust-lang is not the owner of python and PEP content, but still a very very sour experience.

@ehuss
Copy link
Contributor

ehuss commented Feb 3, 2022

I'm sorry you ran into that problem. I understand it can be very frustrating.

As mentioned, Rust doesn't support AIX at this time. That would be a fairly large investment which would probably require some company like IBM to sponsor the work. It looks like they have sponsored work to support LLVM, so a large step is already done. Rust's policy for adding new platforms is documented at https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html which also details the steps for the work to add a new platform. I suggest contacting IBM to see if they are interested in being involved.

I'm going to close, since adding new platforms isn't effectively tracked in the issue tracker.

@ehuss ehuss closed this as completed Feb 3, 2022
@ecnelises
Copy link
Contributor

Hi, there is ongoing proposal to add AIX support into Rust toolchain: rust-lang/compiler-team#553 , including rustc, libraries and various crates needing port.

@workingjubilee workingjubilee added the O-aix OS: Big Blue's Advanced Interactive eXecutive.. label Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-aix OS: Big Blue's Advanced Interactive eXecutive..
Projects
None yet
Development

No branches or pull requests

4 participants