Skip to content

pyopenssl fails to build on aarch64-darwin #175875

@hazel-ocean

Description

@hazel-ocean

Steps To Reproduce

Steps to reproduce the behavior:

  1. build python3Packages.pyopenssl on aarch64-darwin

Build log

error: Package ‘python3.9-pyopenssl-22.0.0’ in /nix/store/x1w5yls3p126bk9bj4j8lb6mf9qzm9qn-nixpkgs/nixpkgs/pkgs/development/python-modules/pyopenssl/default.nix:73 is marked as broken, refusing to evaluate.

       a) To temporarily allow broken packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_BROKEN=1

        Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
        (Flake) command, `--impure` must be passed in order to read this
        environment variable.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowBroken = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowBroken = true; }
       to ~/.config/nixpkgs/config.nix.

Additional context

This is a known issue that's being tracked in pyca/pyopenssl#873

I didn't see an open issue here to help with tracking this issue, so I'm creating this one.

Not sure if this issue impacts other systems, but feel free to tag this as Darwin and (if there is a tag) aarch64.

Notify maintainers

Not sure who to tag here.

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.5.0, macOS 12.4`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.8.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: wait-for-upstreamWaiting for upstream fix (or their other action).6.topic: darwinRunning or building packages on Darwin9.needs: upstream fixThis PR needs upstream to change something

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions