tooblu
October 21, 2021, 12:32pm
1
How should one report an install/build failure?
Submit a nixpkgs issue on GitHub?
Email a maintainer from the list of maintainers that show up when searching packages?
Something/Somewhere else?
What about problems with a package after it has installed successfully?
If it’s a reproducible issue (i.e. you can summarize a list of steps and conditions that will allow others to look into it) of the install process or the package, open an issue on nixpkgs repo. If you are unsure or you don’t know how to triage the problem, ask here or on the chat.
1 Like
A github issue is always a good start.
tooblu
October 21, 2021, 2:52pm
4
I think this probably needs an issue submission, but I’m very new to Nix, so maybe not:
On x86_64-darwin, unstable channel, when I try to install cbqn, it fails to finish, looks like an issue with creating a link:
$ nix-env -iA nixpkgs.cbqn
installing 'cbqn-0.0.0+unstable=2021-10-01'
these derivations will be built:
/nix/store/qxcx4g41c5zbysl0b465902hyprsmncg-cbqn-standalone-0.0.0+unstable=2021-10-01.drv
/nix/store/gp8qxz43vgayq0qb66zv1n2qb63jplld-cbqn-0.0.0+unstable=2021-10-01.drv
/nix/store/8xj59gmjd3nsvs2kficlih1b9f75p3v3-cbqn-0.0.0+unstable=2021-10-01.drv
these paths will be fetched (131.46 MiB download, 659.71 MiB unpacked):
/nix/store/2jfpbzvma5j6pkjk6g0lv8dk38cpdws5-gnumake-4.3
/nix/store/2lhsddykb8f8ynr8gg0jfqv4aglrkr6c-cbqn-bytecode-files
/nix/store/2y2srnl4ch1pcnjfcwjv4bq0mwp64sww-cctools-binutils-darwin-949.0.1
<snip>
utils/each.c
load.c
1 warning generated.
clang-7: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
installing
ln: failed to create symbolic link '/nix/store/g88z9yszgj1jws69w1qwic8cgbya6nnl-cbqn-standalone-0.0.0+unstable=2021-10-01/bin/bqn': File exists
builder for '/nix/store/qxcx4g41c5zbysl0b465902hyprsmncg-cbqn-standalone-0.0.0+unstable=2021-10-01.drv' failed with exit code 1
cannot build derivation '/nix/store/gp8qxz43vgayq0qb66zv1n2qb63jplld-cbqn-0.0.0+unstable=2021-10-01.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/8xj59gmjd3nsvs2kficlih1b9f75p3v3-cbqn-0.0.0+unstable=2021-10-01.drv': 1 dependencies couldn't be built
error: build of '/nix/store/8xj59gmjd3nsvs2kficlih1b9f75p3v3-cbqn-0.0.0+unstable=2021-10-01.drv' failed
I can still run bqn, but have to use the full store path:
$ rlwrap /nix/store/g88z9yszgj1jws69w1qwic8cgbya6nnl-cbqn-standalone-0.0.0+unstable=2021-10-01/bin/bqn
2 × π
6.283185307179586
I was able use Nix to install cbqn on aarch64-linux without any issue, if I remember correctly.
Hey @tooblu , I’m sorry but I’m no macOS, expert. I’m not into it as it seems just a source of issues, I’m sorry. The best thing for you to do in order to get help from people that knows it is to open a new topic in this forum with the right title.
tooblu
October 22, 2021, 1:51pm
6
Sounds good. Thanks for taking a look.