Ludovic Courtès <[email protected]> writes: > To run --check, you must first already have the store item(s) available. > > So you would first run: > > guix build hwloc > > which will ensure both hwloc and hwloc:lib are in your store, possibly > by downloading substitutes. > > Then you can run “guix build hwloc --check -L --no-grafts”, which will > build hwloc locally and raise an error if hwloc:{out,lib} are not > bit-identical to what you had in store.
[Should that be documented as the procedure to use?] The trouble is that I don't get a second build with --check: $ ./pre-inst-env guix build hwloc --check -L --no-grafts guile: warning: failed to install locale warning: failed to install locale: Invalid argument @ build-started /gnu/store/7d2lk82ak7n0awbr1k5bllwfc43dicsl-hwloc-1.11.8.drv - x86_64-linux /var/log/guix/drvs/7d//2lk82ak7n0awbr1k5bllwfc43dicsl-hwloc-1.11.8.drv.bz2 grafting '/gnu/store/n2l4ryq1572wnfh4yxljjbh2q40v6jr0-hwloc-1.11.8-debug' -> '/gnu/store/dgfpcmkx7wzxjj3d1q6l5dmzjr9z6wz5-hwloc-1.11.8-debug'... grafting '/gnu/store/hf6k2i6aqqs50p181bs1aa7xw49kd6xn-hwloc-1.11.8-lib' -> '/gnu/store/jrxiynx443d894and51pa8bylaib0bkc-hwloc-1.11.8-lib'... grafting '/gnu/store/f969ab3pfvgn28xc812h97jsyif2z5vs-hwloc-1.11.8' -> '/gnu/store/2mind69xpdx8wv6ixmjix0f12dd2qb2v-hwloc-1.11.8'... /gnu/store/dgfpcmkx7wzxjj3d1q6l5dmzjr9z6wz5-hwloc-1.11.8-debug /gnu/store/jrxiynx443d894and51pa8bylaib0bkc-hwloc-1.11.8-lib /gnu/store/2mind69xpdx8wv6ixmjix0f12dd2qb2v-hwloc-1.11.8 > Makes sense? > > (The “--no-grafts” part is because what you care about is the actual > build of hwloc, not the grafting derivation.) > > Ludo’.
