Andreas Enge <andr...@enge.fr> skribis: > On Sat, Jun 06, 2015 at 07:41:42PM +0200, Ludovic Courtès wrote: >> Could you run “make V=1”? Normally DEFAULT_CHROOT_DIRS is defined from >> the command line (see ‘libstore_a_CPPFLAGS’.) > > There is no trace of it on the command line: > > g++ -DHAVE_CONFIG_H -I. -I./nix -I./nix -I./nix/libutil -I./nix > -I./nix/libstore -I./nix/libstore -DNIX_STORE_DIR=\"/gnu/store\" > -DNIX_DATA_DIR=\"/usr/local/guix/share\" > -DNIX_STATE_DIR=\"/usr/local/guix/var/guix\" > -DNIX_LOG_DIR=\"/usr/local/guix/var/log/guix\" > -DNIX_CONF_DIR=\"/usr/local/guix/etc/guix\" > -DNIX_LIBEXEC_DIR=\"/usr/local/guix/libexec\" > -DNIX_BIN_DIR=\"/usr/local/guix/bin\" -DOPENSSL_PATH="\"guix-authenticate\"" > -Wall -std=c++0x -g -O2 -MT nix/libstore/libstore_a-build.o -MD -MP -MF > nix/libstore/.deps/libstore_a-build.Tpo -c -o nix/libstore/libstore_a-build.o > `test -f 'nix/libstore/build.cc' || echo './'`nix/libstore/build.cc > nix/libstore/build.cc: In member function ‘void > nix::DerivationGoal::startBuilder()’: > nix/libstore/build.cc:1808:91: error: ‘DEFAULT_CHROOT_DIRS’ was not declared > in this scope > PathSet dirs = > tokenizeString<StringSet>(settings.get("build-chroot-dirs", > string(DEFAULT_CHROOT_DIRS)));
Hmm. What’s the value of ‘libstore_a_CPPFLAGS’ in daemon.am, Makefile.in, and Makefile? There’s also the fact that it’s using -std=c++0x, whereas current master uses -std=c++11. Fishy! Ludo’.