[Nix-dev] services.xserver.multitouch broken?

Bjørn Forsman bjorn.forsman at gmail.com
Sun Sep 30 23:02:17 CEST 2012


Hi,

I'm trying to get the multi-touch trackpad on my laptop to work. I
think this has worked before, but now it doesn't. In
/etc/nixos/configuration.nix:

    services.xserver.multitouch.enable = true;

[bfo at nixos:~]$ sudo nixos-rebuild test
building Nix...
building the system configuration...
these derivations will be built:
  /nix/store/544z1p52niqvbzb0agqgjlk2s4107zb1-xserver.conf.drv
  /nix/store/ayhkpxhwf1rm271pvyabjfmwac27l14i-slim.cfg.drv
  /nix/store/ba99bxhwhqsjwm6vk9y3s1zklkllgi3q-nixos-0.1pre3948_1b47614-35cc2c3.drv
  /nix/store/cpp1ac4pfj9xmjlxzivsnnq5x8l67y7l-xf86-input-mtrack-0.2.0.drv
  /nix/store/g8cr1f8ickcjxn168jx61054i203ffyv-etc.drv
  /nix/store/nxyv4dl190zr6d7ix797ppzxbigrwlpp-upstart-xserver.conf.drv
building path(s)
`/nix/store/zsr77z4dlhi36y2rdn3nnz5nyn4lkrbs-xf86-input-mtrack-0.2.0'
building /nix/store/zsr77z4dlhi36y2rdn3nnz5nyn4lkrbs-xf86-input-mtrack-0.2.0
unpacking sources
unpacking source archive
/nix/store/mnxx27kzcq10l7kfhp5j2vflizz7h0nz-xf86-input-mtrack.tar.gz
source root is BlueDragonX-xf86-input-mtrack-4d517e7
patching sources
configuring
/nix/store/b48470bj4b8d4x6z5rr62924n30cwsiq-stdenv/setup: line 16:
/nix/store/q6dnxk2mmhr15pi1dx7nfisbfi60hwqd-autoconf-2.69/bin/autoreconf:
cannot execute binary file
builder for
`/nix/store/cpp1ac4pfj9xmjlxzivsnnq5x8l67y7l-xf86-input-mtrack-0.2.0.drv'
failed; keeping build directory
`/tmp/nix-build-cpp1ac4pfj9xmjlxzivsnnq5x8l67y7l-xf86-input-mtrack-0.2.0.drv-8'
builder for `/nix/store/cpp1ac4pfj9xmjlxzivsnnq5x8l67y7l-xf86-input-mtrack-0.2.0.drv'
failed with exit code 126
cannot build derivation
`/nix/store/544z1p52niqvbzb0agqgjlk2s4107zb1-xserver.conf.drv': 1
dependencies couldn't be built
cannot build derivation
`/nix/store/ayhkpxhwf1rm271pvyabjfmwac27l14i-slim.cfg.drv': 1
dependencies couldn't be built
cannot build derivation
`/nix/store/nxyv4dl190zr6d7ix797ppzxbigrwlpp-upstart-xserver.conf.drv':
1 dependencies couldn't be built
cannot build derivation
`/nix/store/g8cr1f8ickcjxn168jx61054i203ffyv-etc.drv': 1 dependencies
couldn't be built
cannot build derivation
`/nix/store/ba99bxhwhqsjwm6vk9y3s1zklkllgi3q-nixos-0.1pre3948_1b47614-35cc2c3.drv':
1 dependencies couldn't be built
error: build of
`/nix/store/ba99bxhwhqsjwm6vk9y3s1zklkllgi3q-nixos-0.1pre3948_1b47614-35cc2c3.drv'
failed

The "...autoreconf: cannot execute binary file" is due to that the
...autoreconf file is just full of zeros(!):

[bfo at nixos:~]$ hexdump -C
/nix/store/q6dnxk2mmhr15pi1dx7nfisbfi60hwqd-autoconf-2.69/bin/autoreconf
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000053b0  00 00 00 00 00 00 00                              |.......|
000053b7

Does anyone know how to fix the "services.xserver.multitouch.enable =
true;" build? Or give me any pointer on how to debug this?

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list