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

mpd doesn't build on darwin #43118

Closed
anttih opened this issue Jul 6, 2018 · 3 comments
Closed

mpd doesn't build on darwin #43118

anttih opened this issue Jul 6, 2018 · 3 comments
Labels
6.topic: darwin Running or building packages on Darwin

Comments

@anttih
Copy link

anttih commented Jul 6, 2018

Issue description

mpd doesn't build on my Mac. Looks to me like the other package managers have a patch for this, like in here.

In file included from src/output/plugins/OSXOutputPlugin.cxx:35:
include/boost/lockfree/spsc_queue.hpp:140:43: error: no member named 'next' in namespace 'boost'
        const ConstIterator last = boost::next(begin, input_count);
                                   ~~~~~~~^
include/boost/lockfree/spsc_queue.hpp:145:51: error: no member named 'next' in namespace 'boost'
            const ConstIterator midpoint = boost::next(begin, count0);
                                           ~~~~~~~^
src/output/plugins/OSXOutputPlugin.cxx:714:42: warning: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Wcast-qual]
        return od->ring_buffer->push((uint8_t *)chunk, size);
                                                ^
1 warning and 2 errors generated.
make[1]: *** [Makefile:13223: src/output/plugins/liboutput_plugins_a-OSXOutputPlugin.o] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-mpd-0.20.18.drv-0/source'
make: *** [Makefile:5325: all] Error 2
builder for '/nix/store/dp26x7a6v6gcqb7bhw674mfzw6lbqw7q-mpd-0.20.18.drv' failed with exit code 2
error: build of '/nix/store/dp26x7a6v6gcqb7bhw674mfzw6lbqw7q-mpd-0.20.18.drv' failed

Steps to reproduce

nix-env -i mpd

Technical details

  • system: "x86_64-darwin"
  • host os: Darwin 17.6.0, macOS 10.13.5
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.0.4
  • channels(root): "nixpkgs-18.09pre144939.14a9ca27e69"
  • channels(aholvika): "nixpkgs"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
@aanderse
Copy link
Member

aanderse commented Feb 9, 2019

@anttih is this still an issue with an up to date nixpkgs?

@prusnak prusnak added the 6.topic: darwin Running or building packages on Darwin label May 9, 2020
@stale
Copy link

stale bot commented Nov 5, 2020

I marked this as stale due to inactivity. → More info

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

This should be closed: https://hydra.nixos.org/job/nixpkgs/trunk/mpd.x86_64-darwin

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

No branches or pull requests

4 participants