Skip to content

pythonPackages.mysqlclient fails to build #57263

@Gerschtli

Description

@Gerschtli

Issue description

In current master branch pythonPackages.mysqlclient fails to build.

Steps to reproduce

Checkout nixpkgs on revision 132a9a0 and run:

$> nix build -f . pythonPackages.mysqlclient
builder for '/nix/store/1wcp8ym36476w0h89ayqxcm936fm4xrq-python2.7-mysqlclient-1.4.2.post1.drv' failed with exit code 1; last 10 log lines:
  Traceback (most recent call last):
    File "nix_run_setup", line 8, in <module>
      exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
    File "setup.py", line 16, in <module>
      metadata, options = get_config()
    File "/build/mysqlclient-1.4.2.post1/setup_posix.py", line 51, in get_config
      libs = mysql_config("libs")
    File "/build/mysqlclient-1.4.2.post1/setup_posix.py", line 29, in mysql_config
      raise EnvironmentError("%s not found" % (_mysql_config_path,))
  EnvironmentError: mysql_config not found
[0 built (1 failed), 5 copied (55.7 MiB), 10.4 MiB DL]
error: build of '/nix/store/1wcp8ym36476w0h89ayqxcm936fm4xrq-python2.7-mysqlclient-1.4.2.post1.drv' failed            

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.103, NixOS, 18.09.2327.37694c8cc0e (Jellyfish)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.1.3
  • channels(root): "nixos-18.09.2327.37694c8cc0e"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.topic: pythonPython is a high-level, general-purpose programming language.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions