[Nix-dev] nixos-install building FLAC and failing

Malcolm Matalka mmatalka at gmail.com
Fri Jun 14 00:23:04 CEST 2013


I'm trying to install NixOS on another Linode host, and I'm running into
something odd during 'nixos-install'.

Despite my configuration, AFAIK, a bunch of sound stuff is being
installed, and FLAC is failing on tests, most likely because I'm running
as root.  I just don't understand why FLAC is being installed at all.
Here is part of the output from nixos-install showing the deps it still
needs to build.

building the system configuration...
these derivations will be built:
  /nix/store/0kpj3rl5w9ycgfqs2wb5bikdmyf1sgir-unit.drv
  /nix/store/4v3x9b21gk0yf80aahy3l6m23l1g66kk-udev-rules.drv
  /nix/store/85zn8vkpwprb1i7zacd150gjmxmxh3vz-dbus-conf.drv
  /nix/store/9xaz4r1ivpf4pk5cq4yqzw5bfhk3hz9m-libsndfile-1.0.23.drv
  /nix/store/iq8rdzk2ybzvpq8m1pvwwb6lsrz6gvpg-flac-1.3.0.drv
  /nix/store/ja8a6k37a2vp60gpd74gd3y01iqgh7z9-units.drv
  /nix/store/jc3935zzvkyzc2xq61lflmnqb5420b61-alsa-utils-1.0.26.drv
  /nix/store/kdr9hr1gdkn1q81sigijry48shgf8r9l-system-path.drv
  /nix/store/npkljyz5ilgg9b8r45yi384bgqibr4cf-etc.drv
  /nix/store/p6cr6phxzavm78wk4srgkr8cknw53kyf-nixos-0.2pre-git.drv
  /nix/store/szj3ha2qac6xkr4wzvgp0p5z1gg6ahk8-system-crontab.drv
  /nix/store/wy5m4svdmj1gkgyzmijy7z09jfwfgqcb-libsamplerate-0.1.7.drv

Here is the error:

ERROR: iterator claims file is writable when tester thinks it should not
be; are you running as root?

ERROR during test_libFLAC
make[1]: *** [check] Error 1
make[1]: Leaving directory
`/tmp/nix-build-flac-1.3.0.drv-0/flac-1.3.0/test'
ESC[qESC[qmake: *** [check-recursive] Error 1
ESC[qESC[qESC[qbuilder for
`/nix/store/iq8rdzk2ybzvpq8m1pvwwb6lsrz6gvpg-flac-1.3.0.drv' failed with
exit code 2
cannot build derivation
`/nix/store/9xaz4r1ivpf4pk5cq4yqzw5bfhk3hz9m-libsndfile-1.0.23.drv': 1
dependencies couldn't be built
cannot build derivation
`/nix/store/wy5m4svdmj1gkgyzmijy7z09jfwfgqcb-libsamplerate-0.1.7.drv': 1
dependencies couldn't be built
cannot build derivation
`/nix/store/jc3935zzvkyzc2xq61lflmnqb5420b61-alsa-utils-1.0.26.drv': 1
dependencies couldn't be built
cannot build derivation
`/nix/store/kdr9hr1gdkn1q81sigijry48shgf8r9l-system-path.drv': 1
dependencies couldn't be built
cannot build derivation
`/nix/store/p6cr6phxzavm78wk4srgkr8cknw53kyf-nixos-0.2pre-git.drv': 1
dependencies couldn't be built
error: build of
`/nix/store/p6cr6phxzavm78wk4srgkr8cknw53kyf-nixos-0.2pre-git.drv' failed

Also, I don't seem able to build a dependency graph to see why sound is
begin pulled in because nothing is actually installed yet.

Any suggestions how to debug this?


More information about the nix-dev mailing list