Error: output path ‘/nix/store/vcpz3minxwq4s7h3zrkwzb27bwrxnijc-micropolis_git.patch’ should have sha256 hash ‘14h5dgs5ll7qmnzczzamdfhjwa470ysv3n5bbhfx2b14ji1rlh8k’, instead has ‘0sjl61av7lab3a5vif1jpyicmdb2igvqq6nwaw0s3agg6dh69v1d’
Platform: openSUSE 13.1, x86_64, XFCE
Version: nix-env (Nix) 1.9
I'm not sure how to find my nixpgks version, and it doesn't seem to be described in CONTRIBUTING.md either.
Output:
sven@linux-etoq:~> nix-env -i micropolis
installing ‘micropolis’
these derivations will be built:
/nix/store/54xkb90b73gs8ycm5zv6i5vshdbnabq6-byacc-20140715.tgz.drv
/nix/store/i07dck37pdq52ip0vji62a0j6jz5hd7c-byacc-1.9.drv
/nix/store/m94la96rkjxi5rx8sh7ywcvgzbqqv2r3-micropolis_git.patch.drv
/nix/store/y4fm478m8shd5plb4bf07rmx9k5p4wjk-micropolis-activity-source.tgz.drv
/nix/store/kx3flvxyw3g6478yxpaxdkdr320pnr3g-micropolis.drv
these paths will be fetched (0.05 MiB download, 0.15 MiB unpacked):
/nix/store/klskpj4f52ikxjhrswlqq0wnyjbp2pb1-libXpm-3.5.11
fetching path ‘/nix/store/klskpj4f52ikxjhrswlqq0wnyjbp2pb1-libXpm-3.5.11’...
*** Downloading ‘https://cache.nixos.org/nar/131f39bsq766vn4k682d9ccs4dc6aql0d0x4w6l6bi5kn9xamam0.nar.xz’ to ‘/nix/store/klskpj4f52ikxjhrswlqq0wnyjbp2pb1-libXpm-3.5.11’...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 51636 100 51636 0 0 58905 0 --:--:-- --:--:-- --:--:-- 58945
building path(s) ‘/nix/store/di412zijsmslxi1xy61wnxj47z4ya9xi-byacc-20140715.tgz’
trying ftp://invisible-island.net/byacc/byacc-20140715.tgz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 657k 100 657k 0 0 274k 0 0:00:02 0:00:02 --:--:-- 300k
building path(s) ‘/nix/store/alz8b2q2w2f0zs1zdlx0sgqcqnqpbca2-micropolis-activity-source.tgz’
trying http://www.donhopkins.com/home/micropolis/micropolis-activity-source.tgz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7496k 100 7496k 0 0 5494k 0 0:00:01 0:00:01 --:--:-- 5674k
building path(s) ‘/nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9’
unpacking sources
unpacking source archive /nix/store/di412zijsmslxi1xy61wnxj47z4ya9xi-byacc-20140715.tgz
source root is byacc-20140715
patching sources
configuring
configure flags: --prefix=/nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring for linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking version of gcc... 4.9.3
checking for gcc option to accept ANSI C... none needed
checking $CC variable... ok
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /nix/store/a457ywa1haa0sgr9g7a1pgldrg3s798d-coreutils-8.24/bin/install -c
checking if filesystem supports mixed-case filenames... yes
checking for exctags... no
checking for ctags... no
checking for exetags... no
checking for etags... no
checking for ctags... no
checking for etags... no
checking for mawk... no
checking for gawk... gawk
checking for tdlint... no
checking for lint... no
checking for alint... no
checking for splint... no
checking for lclint... no
checking if we must define _GNU_SOURCE... yes
checking if _XOPEN_SOURCE really is set... yes
checking how to run the C preprocessor... gcc -E
checking for fcntl.h... yes
checking for working mkstemp... yes
checking for vsnprintf... yes
checking for maximum table size... default
checking if backtracking extension is wanted...
checking if you want to check for gcc warnings... no
checking if you want to see long compiling messages... yes
checking if you want to use dmalloc for testing... no
checking if you want to use dbmalloc for testing... no
checking if you want to use valgrind for testing... no
checking if you want to perform memory-leak testing... no
configure: creating ./config.status
config.status: creating makefile
config.status: creating config.h
building
make flags: SHELL=/nix/store/zmd4jk4db5lgxb8l93mhkvr3x92g2sx2-bash-4.3-p39/bin/bash
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE closure.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE error.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE graph.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE lalr.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE lr0.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE main.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE mkpar.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE mstring.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE output.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE reader.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE yaccpar.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE symtab.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE verbose.c
gcc -c -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE warshall.c
gcc -g -O2 -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -D_GNU_SOURCE -o yacc closure.o error.o graph.o lalr.o lr0.o main.o mkpar.o mstring.o output.o reader.o yaccpar.o symtab.o verbose.o warshall.o
installing
install flags: install SHELL=/nix/store/zmd4jk4db5lgxb8l93mhkvr3x92g2sx2-bash-4.3-p39/bin/bash
mkdir -p /nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9/bin
mkdir -p /nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9/share/man/man1
/nix/store/a457ywa1haa0sgr9g7a1pgldrg3s798d-coreutils-8.24/bin/install -c yacc /nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9/bin/`echo yacc | sed 's/$//' |sed 's,x,x,'|sed 's/$//'`
/nix/store/a457ywa1haa0sgr9g7a1pgldrg3s798d-coreutils-8.24/bin/install -c -m 644 ./yacc.1 /nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9/share/man/man1/`echo yacc.1| sed 's/1$//'|sed 's,x,x,'|sed 's/$/1/'`
post-installation fixup
patching ELF executables and libraries in /nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9
/nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9/bin/yacc
gzipping man pages in /nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9
stripping (with flags -S) in /nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9/bin
patching script interpreter paths in /nix/store/8x8vpy9ygq1kpdggcyxsvigvh1i8x2gy-byacc-1.9
building path(s) ‘/nix/store/vcpz3minxwq4s7h3zrkwzb27bwrxnijc-micropolis_git.patch’
trying http://rmdir.de/~michael/micropolis_git.patch
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1108k 100 1108k 0 0 2010k 0 --:--:-- --:--:-- --:--:-- 2737k
output path ‘/nix/store/vcpz3minxwq4s7h3zrkwzb27bwrxnijc-micropolis_git.patch’ should have sha256 hash ‘14h5dgs5ll7qmnzczzamdfhjwa470ysv3n5bbhfx2b14ji1rlh8k’, instead has ‘0sjl61av7lab3a5vif1jpyicmdb2igvqq6nwaw0s3agg6dh69v1d’
cannot build derivation ‘/nix/store/kx3flvxyw3g6478yxpaxdkdr320pnr3g-micropolis.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/kx3flvxyw3g6478yxpaxdkdr320pnr3g-micropolis.drv’ failed
I'm not sure how to find my nixpgks version, and it doesn't seem to be described in
CONTRIBUTING.md
either.Output: