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

nikola don't build on darwin #32087

Closed
davidak opened this issue Nov 26, 2017 · 3 comments
Closed

nikola don't build on darwin #32087

davidak opened this issue Nov 26, 2017 · 3 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: darwin Running or building packages on Darwin 6.topic: python

Comments

@davidak
Copy link
Member

davidak commented Nov 26, 2017

Issue description

inotify is not available on macosx-10.6-x86_64
builder for ‘/nix/store/akyf9rci6lwhd17gi7ylmf4swjpjr517-python3.6-pyinotify-0.9.6.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/yq23rpc2shvzghgrbajz8c1lgzi5avnr-doit-0.30.3.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/1mf17sy7cr4knrl0hlhb0p5ja2z54pap-python3.6-Nikola-7.8.10.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/1mf17sy7cr4knrl0hlhb0p5ja2z54pap-python3.6-Nikola-7.8.10.drv’ failed

cc @jluttine

Steps to reproduce

  1. set allowBroken = true;
  2. nix-env -i python3.6-Nikola-7.8.10

Technical details

  • system: "x86_64-darwin"
  • host os: Darwin 14.5.0, macOS 10.10.5
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 1.11.13
  • channels(davidak): "nixpkgs-18.03pre121255.45a85eaceb"
  • channels(root): "nixpkgs-17.09pre111402.998a0e818e"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
@jluttine
Copy link
Member

I suppose the issue is in nix packaging of doit. In setup.py https://github.com/pydoit/doit/blob/master/setup.py#L76

      extras_require={
          ':sys.platform == "darwin"': ['macfsevents'],
          ':sys.platform == "linux"': ['pyinotify'],
},

So, nix derivation of doit should use pyinotify build input for linux and macfsevents build input for darwin. However, I couldn't find macfsevents packaged for nix. But I suppose that would fix the issue, if I understood correctly.

@FRidh FRidh added 6.topic: python 6.topic: darwin Running or building packages on Darwin labels Nov 27, 2017
@stale
Copy link

stale bot commented Jun 5, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 5, 2020
@patka-123
Copy link
Contributor

I can no longer reproduce this, and reading the other messages I think it's safe to close this issue. Feel free to reopen this issue if I made a wrong assumption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: darwin Running or building packages on Darwin 6.topic: python
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants