Skip to content

Build failure: pkgsCross.mingwW64.python3 #351007

@greg-hellings

Description

@greg-hellings

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix build "nixpkgs#pkgsCross.mingwW64.python3 -- this builds Python 3.12.6 at the time of submission
  2. nix build "nixpkgs#pkgsCross.mingwW64.python311 -- this builds Python 3.11.10 at the time of submission

Build log

<other output>
       > patching file configure.ac
       > Hunk #1 succeeded at 940 (offset 4 lines).
       > applying patch /nix/store/vjpajc2ww5m4yypsh9yrb0im83jw01cx-mingw-python-patches/*.patch
       > /nix/store/3qg526kqkpzgd2ggaj6knzwzxsiyhck9-stdenv-linux/setup: line 1361: /nix/store/vjpajc2ww5m4yypsh9yrb0im83jw01cx-mingw-python-patches/*.patch: No such file or directory

Additional context

This stems from the package trying to do shell expansion in a Nix array:

  • in [
  • "${mingw-patch}/*.patch"
  • ]);

Notify maintainers

The whole Python team?

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: `"x86_64-linux"`
 - host os: `Linux 6.6.57, NixOS, 24.11 (Vicuna), 24.11.20241020.1997e4a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - nixpkgs: `/nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source`

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build6.topic: cross-compilationBuilding packages on a different platform than they will be used on6.topic: pythonPython is a high-level, general-purpose programming language.6.topic: windowsRunning, or buiding, packages on Windows

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions