Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix v.1.10 (stable) Fails to Compile on openSUSE #718

Closed
martinvahi opened this issue Nov 24, 2015 · 8 comments
Closed

Nix v.1.10 (stable) Fails to Compile on openSUSE #718

martinvahi opened this issue Nov 24, 2015 · 8 comments
Milestone

Comments

@martinvahi
Copy link

Actually I did manage to get it to compile somehow, by a lot of fiddling, but I did not keep track of the steps and when I later re-compiled it by the classical configure-make, then I got

  LD     src/libmain/libnixmain.so
  LD     src/nix-hash/nix-hash
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libsqlite3.so.0, needed by src/libstore/libnixstore.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libbz2.so.1, needed by src/libstore/libnixstore.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libcurl.so.4, needed by src/libstore/libnixstore.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libcrypto.so.1.0.0, needed by src/libutil/libnixutil.so, not found (try using -rpath or -rpath-link)
src/libstore/libnixstore.so: undefined reference to `sqlite3_column_text'
src/libstore/libnixstore.so: undefined reference to `sqlite3_close'

...some lines removed as part of the citation editing ...

ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ uname -a
Linux linux-0fiz 3.16.7-29-desktop #1 SMP PREEMPT Fri Oct 23 00:46:04 UTC 2015 (6be6a97) x86_64 x86_64 x86_64 GNU/Linux
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ date
Tue Nov 24 12:48:04 EET 2015
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $LD_LIBRARY_PATH 
/home/ts2/m_local/bin_p/gdal_org/v_1_10_0_beta/lib:/usr/lib64/mpi/gcc/openmpi/lib64
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $CXX
clang++
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $CC
clang
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $CFLAGS 
-mtune=native -ftree-vectorize
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $CXXFLAGS 
-mtune=native -ftree-vectorize
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /usr/lib/libsqlite3*
lrwxrwxrwx 1 root root     19 Oct 11 06:01 /usr/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6
-rwxr-xr-x 1 root root 796512 Sep 25  2014 /usr/lib/libsqlite3.so.0.8.6
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /usr/lib/libbz2*
lrwxrwxrwx 1 root root    15 Nov 22 02:16 /usr/lib/libbz2.so -> libbz2.so.1.0.6
lrwxrwxrwx 1 root root    15 Oct 18 12:10 /usr/lib/libbz2.so.1 -> libbz2.so.1.0.6
-rwxr-xr-x 1 root root 57904 Oct  6  2014 /usr/lib/libbz2.so.1.0.6
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /usr/lib/libcurl*
ls: cannot access /usr/lib/libcurl*: No such file or directory
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /usr/lib/libcrypto*
ls: cannot access /usr/lib/libcrypto*: No such file or directory
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /lib/libcrypto*
-r-xr-xr-x 1 root root 1972004 Jun 17 16:58 /lib/libcrypto.so.1.0.0
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ clang -v
clang version 3.8.0 (trunk 249969)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/ts2/m_local/bin_p/LLVM/vd_2015_10_11/vd_2015_10_11_installed/bin
Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.8
Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.9
Selected GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.8
Candidate multilib: .;@m64
Selected multilib: .;@m64
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$

The whole story:

ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil$ tar -xf ./nix-1.10.tar 
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil$ cd nix-1.10/
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ./configure --prefix=/home/ts2/m_local/bin_p/Nix/v_1_10
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for the canonical Nix system name... x86_64-linux
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pubsetbuf... yes
checking for chroot... yes
checking for unshare... yes
checking for statvfs... yes
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for lutimes... yes
checking for sched_setaffinity... yes
checking whether it is possible to create a link to a symlink... yes
checking how to run the C++ preprocessor... clang++ -E
checking locale usability... yes
checking locale presence... yes
checking for locale... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking for curl... /usr/bin/curl
checking for bash... /bin/bash
checking for patch... /usr/bin/patch
checking for xmllint... /usr/bin/xmllint
checking for xsltproc... /usr/bin/xsltproc
checking for flex... /usr/bin/flex
checking for bison... /usr/bin/bison
checking for perl... /usr/bin/perl
checking for sed... /usr/bin/sed
checking for tar... /bin/tar
checking for bzip2... /usr/bin/bzip2
checking for gzip... /usr/bin/gzip
checking for xz... /usr/bin/xz
checking for dot... /usr/bin/dot
checking for dblatex... /usr/bin/dblatex
checking for pv... /usr/bin/pv
checking whether Perl is recent enough... yes
checking for the Perl installation prefix... ${exec_prefix}/lib64/perl5/site_perl/5.20.1/x86_64-linux-thread-multi
checking for cat... /usr/bin/cat
checking for tr... /usr/bin/tr
checking for openssl... /usr/bin/openssl
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... yes
checking for BZ2_bzWriteOpen in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for SQLITE3... yes
checking for LIBCURL... yes
checking for SODIUM... yes
checking whether DBD::SQLite works... yes
checking whether WWW::Curl works... yes
checking whether to build the Perl bindings... yes
checking for setresuid... yes
checking for setreuid... yes
checking for lchown... yes
checking for strsignal... yes
checking for posix_fallocate... yes
checking for nanosleep... yes
checking for sysconf... yes
checking if you have a recent GNU tar... yes
configure: creating ./config.status
config.status: creating config.h
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ time nice -n20 make
  GEN    Makefile.config
  CXX    src/nix-hash/nix-hash.o
  CXX    src/libmain/shared.o
In file included from src/libmain/shared.cc:5:
src/libstore/store-api.hh:56:1: warning: 'GCResults' defined as a struct here but previously declared as a class
      [-Wmismatched-tags]
struct GCResults
^
src/libmain/shared.hh:91:1: note: did you mean struct here?
class GCResults;
^~~~~
struct
1 warning generated.
  CXX    src/libmain/stack.o
In file included from src/libmain/stack.cc:3:
In file included from src/libutil/types.hh:9:
In file included from src/boost/format.hpp:57:
src/boost/format/feed_args.hpp:40:8: warning: function 'do_pad' is not needed and will not be emitted
      [-Wunneeded-internal-declaration]
  void do_pad( std::string & s, 
       ^
1 warning generated.
  CXX    src/libstore/build.o
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:101:10: warning: 'isValidPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool isValidPath(const Path & path);
         ^
src/libstore/store-api.hh:135:18: note: overridden virtual function is here
    virtual bool isValidPath(const Path & path) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:103:13: warning: 'queryValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidPaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:138:21: note: overridden virtual function is here
    virtual PathSet queryValidPaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:105:13: warning: 'queryAllValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryAllValidPaths();
            ^
src/libstore/store-api.hh:141:21: note: overridden virtual function is here
    virtual PathSet queryAllValidPaths() = 0;
                    ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:107:19: warning: 'queryPathInfo' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    ValidPathInfo queryPathInfo(const Path & path);
                  ^
src/libstore/store-api.hh:144:27: note: overridden virtual function is here
    virtual ValidPathInfo queryPathInfo(const Path & path) = 0;
                          ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:109:10: warning: 'queryPathHash' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Hash queryPathHash(const Path & path);
         ^
src/libstore/store-api.hh:147:18: note: overridden virtual function is here
    virtual Hash queryPathHash(const Path & path) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:111:10: warning: 'queryReferences' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferences(const Path & path, PathSet & references);
         ^
src/libstore/store-api.hh:151:18: note: overridden virtual function is here
    virtual void queryReferences(const Path & path,
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:113:10: warning: 'queryReferrers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferrers(const Path & path, PathSet & referrers);
         ^
src/libstore/store-api.hh:156:18: note: overridden virtual function is here
    virtual void queryReferrers(const Path & path,
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:115:10: warning: 'queryDeriver' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path queryDeriver(const Path & path);
         ^
src/libstore/store-api.hh:161:18: note: overridden virtual function is here
    virtual Path queryDeriver(const Path & path) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:117:13: warning: 'queryValidDerivers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidDerivers(const Path & path);
            ^
src/libstore/store-api.hh:167:21: note: overridden virtual function is here
    virtual PathSet queryValidDerivers(const Path & path) = 0;
                    ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:119:13: warning: 'queryDerivationOutputs' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet queryDerivationOutputs(const Path & path);
            ^
src/libstore/store-api.hh:170:21: note: overridden virtual function is here
    virtual PathSet queryDerivationOutputs(const Path & path) = 0;
                    ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:121:15: warning: 'queryDerivationOutputNames' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    StringSet queryDerivationOutputNames(const Path & path);
              ^
src/libstore/store-api.hh:173:23: note: overridden virtual function is here
    virtual StringSet queryDerivationOutputNames(const Path & path) = 0;
                      ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:123:10: warning: 'queryPathFromHashPart' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    Path queryPathFromHashPart(const string & hashPart);
         ^
src/libstore/store-api.hh:177:18: note: overridden virtual function is here
    virtual Path queryPathFromHashPart(const string & hashPart) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:125:13: warning: 'querySubstitutablePaths' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet querySubstitutablePaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:180:21: note: overridden virtual function is here
    virtual PathSet querySubstitutablePaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:130:10: warning: 'querySubstitutablePathInfos' overrides a member function but is
      not marked 'override' [-Winconsistent-missing-override]
    void querySubstitutablePathInfos(const PathSet & paths,
         ^
src/libstore/store-api.hh:185:18: note: overridden virtual function is here
    virtual void querySubstitutablePathInfos(const PathSet & paths,
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:133:10: warning: 'addToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addToStore(const string & name, const Path & srcPath,
         ^
src/libstore/store-api.hh:192:18: note: overridden virtual function is here
    virtual Path addToStore(const string & name, const Path & srcPath,
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:144:10: warning: 'addTextToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addTextToStore(const string & name, const string & s,
         ^
src/libstore/store-api.hh:198:18: note: overridden virtual function is here
    virtual Path addTextToStore(const string & name, const string & s,
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:147:10: warning: 'exportPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void exportPath(const Path & path, bool sign,
         ^
src/libstore/store-api.hh:205:18: note: overridden virtual function is here
    virtual void exportPath(const Path & path, bool sign,
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:150:11: warning: 'importPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Paths importPaths(bool requireSignature, Source & source);
          ^
src/libstore/store-api.hh:210:19: note: overridden virtual function is here
    virtual Paths importPaths(bool requireSignature, Source & source) = 0;
                  ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:152:10: warning: 'buildPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void buildPaths(const PathSet & paths, BuildMode buildMode);
         ^
src/libstore/store-api.hh:220:18: note: overridden virtual function is here
    virtual void buildPaths(const PathSet & paths, BuildMode buildMode = bmNormal) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:157:10: warning: 'ensurePath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void ensurePath(const Path & path);
         ^
src/libstore/store-api.hh:231:18: note: overridden virtual function is here
    virtual void ensurePath(const Path & path) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:159:10: warning: 'addTempRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addTempRoot(const Path & path);
         ^
src/libstore/store-api.hh:235:18: note: overridden virtual function is here
    virtual void addTempRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:161:10: warning: 'addIndirectRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addIndirectRoot(const Path & path);
         ^
src/libstore/store-api.hh:242:18: note: overridden virtual function is here
    virtual void addIndirectRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:163:10: warning: 'syncWithGC' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void syncWithGC();
         ^
src/libstore/store-api.hh:262:18: note: overridden virtual function is here
    virtual void syncWithGC() = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:165:11: warning: 'findRoots' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Roots findRoots();
          ^
src/libstore/store-api.hh:267:19: note: overridden virtual function is here
    virtual Roots findRoots() = 0;
                  ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:167:10: warning: 'collectGarbage' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void collectGarbage(const GCOptions & options, GCResults & results);
         ^
src/libstore/store-api.hh:270:18: note: overridden virtual function is here
    virtual void collectGarbage(const GCOptions & options, GCResults & results) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:174:10: warning: 'optimiseStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void optimiseStore();
         ^
src/libstore/store-api.hh:287:18: note: overridden virtual function is here
    virtual void optimiseStore() = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:181:10: warning: 'verifyStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool verifyStore(bool checkContents, bool repair);
         ^
src/libstore/store-api.hh:291:18: note: overridden virtual function is here
    virtual bool verifyStore(bool checkContents, bool repair) = 0;
                 ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:200:13: warning: 'queryFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryFailedPaths();
            ^
src/libstore/store-api.hh:273:21: note: overridden virtual function is here
    virtual PathSet queryFailedPaths() = 0;
                    ^
In file included from src/libstore/build.cc:7:
src/libstore/local-store.hh:202:10: warning: 'clearFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void clearFailedPaths(const PathSet & paths);
         ^
src/libstore/store-api.hh:277:18: note: overridden virtual function is here
    virtual void clearFailedPaths(const PathSet & paths) = 0;
                 ^
src/libstore/build.cc:809:12: warning: 'key' overrides a member function but is not marked 'override'
      [-Winconsistent-missing-override]
    string key()
           ^
src/libstore/build.cc:195:20: note: overridden virtual function is here
    virtual string key() = 0;
                   ^
src/libstore/build.cc:818:10: warning: 'work' overrides a member function but is not marked 'override'
      [-Winconsistent-missing-override]
    void work();
         ^
src/libstore/build.cc:162:18: note: overridden virtual function is here
    virtual void work() = 0;
                 ^
src/libstore/build.cc:866:10: warning: 'handleChildOutput' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void handleChildOutput(int fd, const string & data);
         ^
src/libstore/build.cc:168:18: note: overridden virtual function is here
    virtual void handleChildOutput(int fd, const string & data)
                 ^
src/libstore/build.cc:867:10: warning: 'handleEOF' overrides a member function but is not marked 'override'
      [-Winconsistent-missing-override]
    void handleEOF(int fd);
         ^
src/libstore/build.cc:173:18: note: overridden virtual function is here
    virtual void handleEOF(int fd)
                 ^
33 warnings generated.
  CXX    src/libstore/builtins.o
  CXX    src/libstore/derivations.o
  CXX    src/libstore/download.o
  CXX    src/libstore/gc.o
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:101:10: warning: 'isValidPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool isValidPath(const Path & path);
         ^
src/libstore/store-api.hh:135:18: note: overridden virtual function is here
    virtual bool isValidPath(const Path & path) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:103:13: warning: 'queryValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidPaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:138:21: note: overridden virtual function is here
    virtual PathSet queryValidPaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:105:13: warning: 'queryAllValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryAllValidPaths();
            ^
src/libstore/store-api.hh:141:21: note: overridden virtual function is here
    virtual PathSet queryAllValidPaths() = 0;
                    ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:107:19: warning: 'queryPathInfo' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    ValidPathInfo queryPathInfo(const Path & path);
                  ^
src/libstore/store-api.hh:144:27: note: overridden virtual function is here
    virtual ValidPathInfo queryPathInfo(const Path & path) = 0;
                          ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:109:10: warning: 'queryPathHash' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Hash queryPathHash(const Path & path);
         ^
src/libstore/store-api.hh:147:18: note: overridden virtual function is here
    virtual Hash queryPathHash(const Path & path) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:111:10: warning: 'queryReferences' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferences(const Path & path, PathSet & references);
         ^
src/libstore/store-api.hh:151:18: note: overridden virtual function is here
    virtual void queryReferences(const Path & path,
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:113:10: warning: 'queryReferrers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferrers(const Path & path, PathSet & referrers);
         ^
src/libstore/store-api.hh:156:18: note: overridden virtual function is here
    virtual void queryReferrers(const Path & path,
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:115:10: warning: 'queryDeriver' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path queryDeriver(const Path & path);
         ^
src/libstore/store-api.hh:161:18: note: overridden virtual function is here
    virtual Path queryDeriver(const Path & path) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:117:13: warning: 'queryValidDerivers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidDerivers(const Path & path);
            ^
src/libstore/store-api.hh:167:21: note: overridden virtual function is here
    virtual PathSet queryValidDerivers(const Path & path) = 0;
                    ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:119:13: warning: 'queryDerivationOutputs' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet queryDerivationOutputs(const Path & path);
            ^
src/libstore/store-api.hh:170:21: note: overridden virtual function is here
    virtual PathSet queryDerivationOutputs(const Path & path) = 0;
                    ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:121:15: warning: 'queryDerivationOutputNames' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    StringSet queryDerivationOutputNames(const Path & path);
              ^
src/libstore/store-api.hh:173:23: note: overridden virtual function is here
    virtual StringSet queryDerivationOutputNames(const Path & path) = 0;
                      ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:123:10: warning: 'queryPathFromHashPart' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    Path queryPathFromHashPart(const string & hashPart);
         ^
src/libstore/store-api.hh:177:18: note: overridden virtual function is here
    virtual Path queryPathFromHashPart(const string & hashPart) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:125:13: warning: 'querySubstitutablePaths' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet querySubstitutablePaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:180:21: note: overridden virtual function is here
    virtual PathSet querySubstitutablePaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:130:10: warning: 'querySubstitutablePathInfos' overrides a member function but is
      not marked 'override' [-Winconsistent-missing-override]
    void querySubstitutablePathInfos(const PathSet & paths,
         ^
src/libstore/store-api.hh:185:18: note: overridden virtual function is here
    virtual void querySubstitutablePathInfos(const PathSet & paths,
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:133:10: warning: 'addToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addToStore(const string & name, const Path & srcPath,
         ^
src/libstore/store-api.hh:192:18: note: overridden virtual function is here
    virtual Path addToStore(const string & name, const Path & srcPath,
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:144:10: warning: 'addTextToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addTextToStore(const string & name, const string & s,
         ^
src/libstore/store-api.hh:198:18: note: overridden virtual function is here
    virtual Path addTextToStore(const string & name, const string & s,
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:147:10: warning: 'exportPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void exportPath(const Path & path, bool sign,
         ^
src/libstore/store-api.hh:205:18: note: overridden virtual function is here
    virtual void exportPath(const Path & path, bool sign,
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:150:11: warning: 'importPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Paths importPaths(bool requireSignature, Source & source);
          ^
src/libstore/store-api.hh:210:19: note: overridden virtual function is here
    virtual Paths importPaths(bool requireSignature, Source & source) = 0;
                  ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:152:10: warning: 'buildPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void buildPaths(const PathSet & paths, BuildMode buildMode);
         ^
src/libstore/store-api.hh:220:18: note: overridden virtual function is here
    virtual void buildPaths(const PathSet & paths, BuildMode buildMode = bmNormal) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:157:10: warning: 'ensurePath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void ensurePath(const Path & path);
         ^
src/libstore/store-api.hh:231:18: note: overridden virtual function is here
    virtual void ensurePath(const Path & path) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:159:10: warning: 'addTempRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addTempRoot(const Path & path);
         ^
src/libstore/store-api.hh:235:18: note: overridden virtual function is here
    virtual void addTempRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:161:10: warning: 'addIndirectRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addIndirectRoot(const Path & path);
         ^
src/libstore/store-api.hh:242:18: note: overridden virtual function is here
    virtual void addIndirectRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:163:10: warning: 'syncWithGC' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void syncWithGC();
         ^
src/libstore/store-api.hh:262:18: note: overridden virtual function is here
    virtual void syncWithGC() = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:165:11: warning: 'findRoots' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Roots findRoots();
          ^
src/libstore/store-api.hh:267:19: note: overridden virtual function is here
    virtual Roots findRoots() = 0;
                  ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:167:10: warning: 'collectGarbage' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void collectGarbage(const GCOptions & options, GCResults & results);
         ^
src/libstore/store-api.hh:270:18: note: overridden virtual function is here
    virtual void collectGarbage(const GCOptions & options, GCResults & results) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:174:10: warning: 'optimiseStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void optimiseStore();
         ^
src/libstore/store-api.hh:287:18: note: overridden virtual function is here
    virtual void optimiseStore() = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:181:10: warning: 'verifyStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool verifyStore(bool checkContents, bool repair);
         ^
src/libstore/store-api.hh:291:18: note: overridden virtual function is here
    virtual bool verifyStore(bool checkContents, bool repair) = 0;
                 ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:200:13: warning: 'queryFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryFailedPaths();
            ^
src/libstore/store-api.hh:273:21: note: overridden virtual function is here
    virtual PathSet queryFailedPaths() = 0;
                    ^
In file included from src/libstore/gc.cc:3:
src/libstore/local-store.hh:202:10: warning: 'clearFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void clearFailedPaths(const PathSet & paths);
         ^
src/libstore/store-api.hh:277:18: note: overridden virtual function is here
    virtual void clearFailedPaths(const PathSet & paths) = 0;
                 ^
29 warnings generated.
  CXX    src/libstore/globals.o
  GEN    src/libstore/schema.sql.hh
  CXX    src/libstore/local-store.o
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:101:10: warning: 'isValidPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool isValidPath(const Path & path);
         ^
src/libstore/store-api.hh:135:18: note: overridden virtual function is here
    virtual bool isValidPath(const Path & path) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:103:13: warning: 'queryValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidPaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:138:21: note: overridden virtual function is here
    virtual PathSet queryValidPaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:105:13: warning: 'queryAllValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryAllValidPaths();
            ^
src/libstore/store-api.hh:141:21: note: overridden virtual function is here
    virtual PathSet queryAllValidPaths() = 0;
                    ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:107:19: warning: 'queryPathInfo' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    ValidPathInfo queryPathInfo(const Path & path);
                  ^
src/libstore/store-api.hh:144:27: note: overridden virtual function is here
    virtual ValidPathInfo queryPathInfo(const Path & path) = 0;
                          ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:109:10: warning: 'queryPathHash' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Hash queryPathHash(const Path & path);
         ^
src/libstore/store-api.hh:147:18: note: overridden virtual function is here
    virtual Hash queryPathHash(const Path & path) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:111:10: warning: 'queryReferences' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferences(const Path & path, PathSet & references);
         ^
src/libstore/store-api.hh:151:18: note: overridden virtual function is here
    virtual void queryReferences(const Path & path,
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:113:10: warning: 'queryReferrers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferrers(const Path & path, PathSet & referrers);
         ^
src/libstore/store-api.hh:156:18: note: overridden virtual function is here
    virtual void queryReferrers(const Path & path,
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:115:10: warning: 'queryDeriver' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path queryDeriver(const Path & path);
         ^
src/libstore/store-api.hh:161:18: note: overridden virtual function is here
    virtual Path queryDeriver(const Path & path) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:117:13: warning: 'queryValidDerivers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidDerivers(const Path & path);
            ^
src/libstore/store-api.hh:167:21: note: overridden virtual function is here
    virtual PathSet queryValidDerivers(const Path & path) = 0;
                    ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:119:13: warning: 'queryDerivationOutputs' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet queryDerivationOutputs(const Path & path);
            ^
src/libstore/store-api.hh:170:21: note: overridden virtual function is here
    virtual PathSet queryDerivationOutputs(const Path & path) = 0;
                    ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:121:15: warning: 'queryDerivationOutputNames' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    StringSet queryDerivationOutputNames(const Path & path);
              ^
src/libstore/store-api.hh:173:23: note: overridden virtual function is here
    virtual StringSet queryDerivationOutputNames(const Path & path) = 0;
                      ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:123:10: warning: 'queryPathFromHashPart' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    Path queryPathFromHashPart(const string & hashPart);
         ^
src/libstore/store-api.hh:177:18: note: overridden virtual function is here
    virtual Path queryPathFromHashPart(const string & hashPart) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:125:13: warning: 'querySubstitutablePaths' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet querySubstitutablePaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:180:21: note: overridden virtual function is here
    virtual PathSet querySubstitutablePaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:130:10: warning: 'querySubstitutablePathInfos' overrides a member function but is
      not marked 'override' [-Winconsistent-missing-override]
    void querySubstitutablePathInfos(const PathSet & paths,
         ^
src/libstore/store-api.hh:185:18: note: overridden virtual function is here
    virtual void querySubstitutablePathInfos(const PathSet & paths,
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:133:10: warning: 'addToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addToStore(const string & name, const Path & srcPath,
         ^
src/libstore/store-api.hh:192:18: note: overridden virtual function is here
    virtual Path addToStore(const string & name, const Path & srcPath,
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:144:10: warning: 'addTextToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addTextToStore(const string & name, const string & s,
         ^
src/libstore/store-api.hh:198:18: note: overridden virtual function is here
    virtual Path addTextToStore(const string & name, const string & s,
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:147:10: warning: 'exportPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void exportPath(const Path & path, bool sign,
         ^
src/libstore/store-api.hh:205:18: note: overridden virtual function is here
    virtual void exportPath(const Path & path, bool sign,
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:150:11: warning: 'importPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Paths importPaths(bool requireSignature, Source & source);
          ^
src/libstore/store-api.hh:210:19: note: overridden virtual function is here
    virtual Paths importPaths(bool requireSignature, Source & source) = 0;
                  ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:152:10: warning: 'buildPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void buildPaths(const PathSet & paths, BuildMode buildMode);
         ^
src/libstore/store-api.hh:220:18: note: overridden virtual function is here
    virtual void buildPaths(const PathSet & paths, BuildMode buildMode = bmNormal) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:157:10: warning: 'ensurePath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void ensurePath(const Path & path);
         ^
src/libstore/store-api.hh:231:18: note: overridden virtual function is here
    virtual void ensurePath(const Path & path) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:159:10: warning: 'addTempRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addTempRoot(const Path & path);
         ^
src/libstore/store-api.hh:235:18: note: overridden virtual function is here
    virtual void addTempRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:161:10: warning: 'addIndirectRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addIndirectRoot(const Path & path);
         ^
src/libstore/store-api.hh:242:18: note: overridden virtual function is here
    virtual void addIndirectRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:163:10: warning: 'syncWithGC' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void syncWithGC();
         ^
src/libstore/store-api.hh:262:18: note: overridden virtual function is here
    virtual void syncWithGC() = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:165:11: warning: 'findRoots' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Roots findRoots();
          ^
src/libstore/store-api.hh:267:19: note: overridden virtual function is here
    virtual Roots findRoots() = 0;
                  ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:167:10: warning: 'collectGarbage' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void collectGarbage(const GCOptions & options, GCResults & results);
         ^
src/libstore/store-api.hh:270:18: note: overridden virtual function is here
    virtual void collectGarbage(const GCOptions & options, GCResults & results) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:174:10: warning: 'optimiseStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void optimiseStore();
         ^
src/libstore/store-api.hh:287:18: note: overridden virtual function is here
    virtual void optimiseStore() = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:181:10: warning: 'verifyStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool verifyStore(bool checkContents, bool repair);
         ^
src/libstore/store-api.hh:291:18: note: overridden virtual function is here
    virtual bool verifyStore(bool checkContents, bool repair) = 0;
                 ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:200:13: warning: 'queryFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryFailedPaths();
            ^
src/libstore/store-api.hh:273:21: note: overridden virtual function is here
    virtual PathSet queryFailedPaths() = 0;
                    ^
In file included from src/libstore/local-store.cc:2:
src/libstore/local-store.hh:202:10: warning: 'clearFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void clearFailedPaths(const PathSet & paths);
         ^
src/libstore/store-api.hh:277:18: note: overridden virtual function is here
    virtual void clearFailedPaths(const PathSet & paths) = 0;
                 ^
29 warnings generated.
  CXX    src/libstore/misc.o
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:101:10: warning: 'isValidPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool isValidPath(const Path & path);
         ^
src/libstore/store-api.hh:135:18: note: overridden virtual function is here
    virtual bool isValidPath(const Path & path) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:103:13: warning: 'queryValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidPaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:138:21: note: overridden virtual function is here
    virtual PathSet queryValidPaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:105:13: warning: 'queryAllValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryAllValidPaths();
            ^
src/libstore/store-api.hh:141:21: note: overridden virtual function is here
    virtual PathSet queryAllValidPaths() = 0;
                    ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:107:19: warning: 'queryPathInfo' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    ValidPathInfo queryPathInfo(const Path & path);
                  ^
src/libstore/store-api.hh:144:27: note: overridden virtual function is here
    virtual ValidPathInfo queryPathInfo(const Path & path) = 0;
                          ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:109:10: warning: 'queryPathHash' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Hash queryPathHash(const Path & path);
         ^
src/libstore/store-api.hh:147:18: note: overridden virtual function is here
    virtual Hash queryPathHash(const Path & path) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:111:10: warning: 'queryReferences' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferences(const Path & path, PathSet & references);
         ^
src/libstore/store-api.hh:151:18: note: overridden virtual function is here
    virtual void queryReferences(const Path & path,
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:113:10: warning: 'queryReferrers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferrers(const Path & path, PathSet & referrers);
         ^
src/libstore/store-api.hh:156:18: note: overridden virtual function is here
    virtual void queryReferrers(const Path & path,
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:115:10: warning: 'queryDeriver' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path queryDeriver(const Path & path);
         ^
src/libstore/store-api.hh:161:18: note: overridden virtual function is here
    virtual Path queryDeriver(const Path & path) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:117:13: warning: 'queryValidDerivers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidDerivers(const Path & path);
            ^
src/libstore/store-api.hh:167:21: note: overridden virtual function is here
    virtual PathSet queryValidDerivers(const Path & path) = 0;
                    ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:119:13: warning: 'queryDerivationOutputs' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet queryDerivationOutputs(const Path & path);
            ^
src/libstore/store-api.hh:170:21: note: overridden virtual function is here
    virtual PathSet queryDerivationOutputs(const Path & path) = 0;
                    ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:121:15: warning: 'queryDerivationOutputNames' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    StringSet queryDerivationOutputNames(const Path & path);
              ^
src/libstore/store-api.hh:173:23: note: overridden virtual function is here
    virtual StringSet queryDerivationOutputNames(const Path & path) = 0;
                      ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:123:10: warning: 'queryPathFromHashPart' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    Path queryPathFromHashPart(const string & hashPart);
         ^
src/libstore/store-api.hh:177:18: note: overridden virtual function is here
    virtual Path queryPathFromHashPart(const string & hashPart) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:125:13: warning: 'querySubstitutablePaths' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet querySubstitutablePaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:180:21: note: overridden virtual function is here
    virtual PathSet querySubstitutablePaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:130:10: warning: 'querySubstitutablePathInfos' overrides a member function but is
      not marked 'override' [-Winconsistent-missing-override]
    void querySubstitutablePathInfos(const PathSet & paths,
         ^
src/libstore/store-api.hh:185:18: note: overridden virtual function is here
    virtual void querySubstitutablePathInfos(const PathSet & paths,
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:133:10: warning: 'addToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addToStore(const string & name, const Path & srcPath,
         ^
src/libstore/store-api.hh:192:18: note: overridden virtual function is here
    virtual Path addToStore(const string & name, const Path & srcPath,
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:144:10: warning: 'addTextToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addTextToStore(const string & name, const string & s,
         ^
src/libstore/store-api.hh:198:18: note: overridden virtual function is here
    virtual Path addTextToStore(const string & name, const string & s,
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:147:10: warning: 'exportPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void exportPath(const Path & path, bool sign,
         ^
src/libstore/store-api.hh:205:18: note: overridden virtual function is here
    virtual void exportPath(const Path & path, bool sign,
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:150:11: warning: 'importPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Paths importPaths(bool requireSignature, Source & source);
          ^
src/libstore/store-api.hh:210:19: note: overridden virtual function is here
    virtual Paths importPaths(bool requireSignature, Source & source) = 0;
                  ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:152:10: warning: 'buildPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void buildPaths(const PathSet & paths, BuildMode buildMode);
         ^
src/libstore/store-api.hh:220:18: note: overridden virtual function is here
    virtual void buildPaths(const PathSet & paths, BuildMode buildMode = bmNormal) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:157:10: warning: 'ensurePath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void ensurePath(const Path & path);
         ^
src/libstore/store-api.hh:231:18: note: overridden virtual function is here
    virtual void ensurePath(const Path & path) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:159:10: warning: 'addTempRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addTempRoot(const Path & path);
         ^
src/libstore/store-api.hh:235:18: note: overridden virtual function is here
    virtual void addTempRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:161:10: warning: 'addIndirectRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addIndirectRoot(const Path & path);
         ^
src/libstore/store-api.hh:242:18: note: overridden virtual function is here
    virtual void addIndirectRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:163:10: warning: 'syncWithGC' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void syncWithGC();
         ^
src/libstore/store-api.hh:262:18: note: overridden virtual function is here
    virtual void syncWithGC() = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:165:11: warning: 'findRoots' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Roots findRoots();
          ^
src/libstore/store-api.hh:267:19: note: overridden virtual function is here
    virtual Roots findRoots() = 0;
                  ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:167:10: warning: 'collectGarbage' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void collectGarbage(const GCOptions & options, GCResults & results);
         ^
src/libstore/store-api.hh:270:18: note: overridden virtual function is here
    virtual void collectGarbage(const GCOptions & options, GCResults & results) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:174:10: warning: 'optimiseStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void optimiseStore();
         ^
src/libstore/store-api.hh:287:18: note: overridden virtual function is here
    virtual void optimiseStore() = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:181:10: warning: 'verifyStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool verifyStore(bool checkContents, bool repair);
         ^
src/libstore/store-api.hh:291:18: note: overridden virtual function is here
    virtual bool verifyStore(bool checkContents, bool repair) = 0;
                 ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:200:13: warning: 'queryFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryFailedPaths();
            ^
src/libstore/store-api.hh:273:21: note: overridden virtual function is here
    virtual PathSet queryFailedPaths() = 0;
                    ^
In file included from src/libstore/misc.cc:3:
src/libstore/local-store.hh:202:10: warning: 'clearFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void clearFailedPaths(const PathSet & paths);
         ^
src/libstore/store-api.hh:277:18: note: overridden virtual function is here
    virtual void clearFailedPaths(const PathSet & paths) = 0;
                 ^
29 warnings generated.
  CXX    src/libstore/optimise-store.o
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:101:10: warning: 'isValidPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool isValidPath(const Path & path);
         ^
src/libstore/store-api.hh:135:18: note: overridden virtual function is here
    virtual bool isValidPath(const Path & path) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:103:13: warning: 'queryValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidPaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:138:21: note: overridden virtual function is here
    virtual PathSet queryValidPaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:105:13: warning: 'queryAllValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryAllValidPaths();
            ^
src/libstore/store-api.hh:141:21: note: overridden virtual function is here
    virtual PathSet queryAllValidPaths() = 0;
                    ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:107:19: warning: 'queryPathInfo' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    ValidPathInfo queryPathInfo(const Path & path);
                  ^
src/libstore/store-api.hh:144:27: note: overridden virtual function is here
    virtual ValidPathInfo queryPathInfo(const Path & path) = 0;
                          ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:109:10: warning: 'queryPathHash' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Hash queryPathHash(const Path & path);
         ^
src/libstore/store-api.hh:147:18: note: overridden virtual function is here
    virtual Hash queryPathHash(const Path & path) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:111:10: warning: 'queryReferences' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferences(const Path & path, PathSet & references);
         ^
src/libstore/store-api.hh:151:18: note: overridden virtual function is here
    virtual void queryReferences(const Path & path,
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:113:10: warning: 'queryReferrers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferrers(const Path & path, PathSet & referrers);
         ^
src/libstore/store-api.hh:156:18: note: overridden virtual function is here
    virtual void queryReferrers(const Path & path,
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:115:10: warning: 'queryDeriver' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path queryDeriver(const Path & path);
         ^
src/libstore/store-api.hh:161:18: note: overridden virtual function is here
    virtual Path queryDeriver(const Path & path) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:117:13: warning: 'queryValidDerivers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidDerivers(const Path & path);
            ^
src/libstore/store-api.hh:167:21: note: overridden virtual function is here
    virtual PathSet queryValidDerivers(const Path & path) = 0;
                    ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:119:13: warning: 'queryDerivationOutputs' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet queryDerivationOutputs(const Path & path);
            ^
src/libstore/store-api.hh:170:21: note: overridden virtual function is here
    virtual PathSet queryDerivationOutputs(const Path & path) = 0;
                    ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:121:15: warning: 'queryDerivationOutputNames' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    StringSet queryDerivationOutputNames(const Path & path);
              ^
src/libstore/store-api.hh:173:23: note: overridden virtual function is here
    virtual StringSet queryDerivationOutputNames(const Path & path) = 0;
                      ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:123:10: warning: 'queryPathFromHashPart' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    Path queryPathFromHashPart(const string & hashPart);
         ^
src/libstore/store-api.hh:177:18: note: overridden virtual function is here
    virtual Path queryPathFromHashPart(const string & hashPart) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:125:13: warning: 'querySubstitutablePaths' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet querySubstitutablePaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:180:21: note: overridden virtual function is here
    virtual PathSet querySubstitutablePaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:130:10: warning: 'querySubstitutablePathInfos' overrides a member function but is
      not marked 'override' [-Winconsistent-missing-override]
    void querySubstitutablePathInfos(const PathSet & paths,
         ^
src/libstore/store-api.hh:185:18: note: overridden virtual function is here
    virtual void querySubstitutablePathInfos(const PathSet & paths,
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:133:10: warning: 'addToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addToStore(const string & name, const Path & srcPath,
         ^
src/libstore/store-api.hh:192:18: note: overridden virtual function is here
    virtual Path addToStore(const string & name, const Path & srcPath,
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:144:10: warning: 'addTextToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addTextToStore(const string & name, const string & s,
         ^
src/libstore/store-api.hh:198:18: note: overridden virtual function is here
    virtual Path addTextToStore(const string & name, const string & s,
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:147:10: warning: 'exportPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void exportPath(const Path & path, bool sign,
         ^
src/libstore/store-api.hh:205:18: note: overridden virtual function is here
    virtual void exportPath(const Path & path, bool sign,
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:150:11: warning: 'importPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Paths importPaths(bool requireSignature, Source & source);
          ^
src/libstore/store-api.hh:210:19: note: overridden virtual function is here
    virtual Paths importPaths(bool requireSignature, Source & source) = 0;
                  ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:152:10: warning: 'buildPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void buildPaths(const PathSet & paths, BuildMode buildMode);
         ^
src/libstore/store-api.hh:220:18: note: overridden virtual function is here
    virtual void buildPaths(const PathSet & paths, BuildMode buildMode = bmNormal) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:157:10: warning: 'ensurePath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void ensurePath(const Path & path);
         ^
src/libstore/store-api.hh:231:18: note: overridden virtual function is here
    virtual void ensurePath(const Path & path) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:159:10: warning: 'addTempRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addTempRoot(const Path & path);
         ^
src/libstore/store-api.hh:235:18: note: overridden virtual function is here
    virtual void addTempRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:161:10: warning: 'addIndirectRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addIndirectRoot(const Path & path);
         ^
src/libstore/store-api.hh:242:18: note: overridden virtual function is here
    virtual void addIndirectRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:163:10: warning: 'syncWithGC' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void syncWithGC();
         ^
src/libstore/store-api.hh:262:18: note: overridden virtual function is here
    virtual void syncWithGC() = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:165:11: warning: 'findRoots' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Roots findRoots();
          ^
src/libstore/store-api.hh:267:19: note: overridden virtual function is here
    virtual Roots findRoots() = 0;
                  ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:167:10: warning: 'collectGarbage' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void collectGarbage(const GCOptions & options, GCResults & results);
         ^
src/libstore/store-api.hh:270:18: note: overridden virtual function is here
    virtual void collectGarbage(const GCOptions & options, GCResults & results) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:174:10: warning: 'optimiseStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void optimiseStore();
         ^
src/libstore/store-api.hh:287:18: note: overridden virtual function is here
    virtual void optimiseStore() = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:181:10: warning: 'verifyStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool verifyStore(bool checkContents, bool repair);
         ^
src/libstore/store-api.hh:291:18: note: overridden virtual function is here
    virtual bool verifyStore(bool checkContents, bool repair) = 0;
                 ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:200:13: warning: 'queryFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryFailedPaths();
            ^
src/libstore/store-api.hh:273:21: note: overridden virtual function is here
    virtual PathSet queryFailedPaths() = 0;
                    ^
In file included from src/libstore/optimise-store.cc:4:
src/libstore/local-store.hh:202:10: warning: 'clearFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void clearFailedPaths(const PathSet & paths);
         ^
src/libstore/store-api.hh:277:18: note: overridden virtual function is here
    virtual void clearFailedPaths(const PathSet & paths) = 0;
                 ^
29 warnings generated.
  CXX    src/libstore/pathlocks.o
  CXX    src/libstore/profiles.o
  CXX    src/libstore/references.o
  CXX    src/libstore/remote-store.o
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:27:10: warning: 'isValidPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool isValidPath(const Path & path);
         ^
src/libstore/store-api.hh:135:18: note: overridden virtual function is here
    virtual bool isValidPath(const Path & path) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:29:13: warning: 'queryValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidPaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:138:21: note: overridden virtual function is here
    virtual PathSet queryValidPaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:31:13: warning: 'queryAllValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryAllValidPaths();
            ^
src/libstore/store-api.hh:141:21: note: overridden virtual function is here
    virtual PathSet queryAllValidPaths() = 0;
                    ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:33:19: warning: 'queryPathInfo' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    ValidPathInfo queryPathInfo(const Path & path);
                  ^
src/libstore/store-api.hh:144:27: note: overridden virtual function is here
    virtual ValidPathInfo queryPathInfo(const Path & path) = 0;
                          ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:35:10: warning: 'queryPathHash' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Hash queryPathHash(const Path & path);
         ^
src/libstore/store-api.hh:147:18: note: overridden virtual function is here
    virtual Hash queryPathHash(const Path & path) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:37:10: warning: 'queryReferences' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferences(const Path & path, PathSet & references);
         ^
src/libstore/store-api.hh:151:18: note: overridden virtual function is here
    virtual void queryReferences(const Path & path,
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:39:10: warning: 'queryReferrers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferrers(const Path & path, PathSet & referrers);
         ^
src/libstore/store-api.hh:156:18: note: overridden virtual function is here
    virtual void queryReferrers(const Path & path,
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:41:10: warning: 'queryDeriver' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path queryDeriver(const Path & path);
         ^
src/libstore/store-api.hh:161:18: note: overridden virtual function is here
    virtual Path queryDeriver(const Path & path) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:43:13: warning: 'queryValidDerivers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidDerivers(const Path & path);
            ^
src/libstore/store-api.hh:167:21: note: overridden virtual function is here
    virtual PathSet queryValidDerivers(const Path & path) = 0;
                    ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:45:13: warning: 'queryDerivationOutputs' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet queryDerivationOutputs(const Path & path);
            ^
src/libstore/store-api.hh:170:21: note: overridden virtual function is here
    virtual PathSet queryDerivationOutputs(const Path & path) = 0;
                    ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:47:15: warning: 'queryDerivationOutputNames' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    StringSet queryDerivationOutputNames(const Path & path);
              ^
src/libstore/store-api.hh:173:23: note: overridden virtual function is here
    virtual StringSet queryDerivationOutputNames(const Path & path) = 0;
                      ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:49:10: warning: 'queryPathFromHashPart' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    Path queryPathFromHashPart(const string & hashPart);
         ^
src/libstore/store-api.hh:177:18: note: overridden virtual function is here
    virtual Path queryPathFromHashPart(const string & hashPart) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:51:13: warning: 'querySubstitutablePaths' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet querySubstitutablePaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:180:21: note: overridden virtual function is here
    virtual PathSet querySubstitutablePaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:53:10: warning: 'querySubstitutablePathInfos' overrides a member function but is
      not marked 'override' [-Winconsistent-missing-override]
    void querySubstitutablePathInfos(const PathSet & paths,
         ^
src/libstore/store-api.hh:185:18: note: overridden virtual function is here
    virtual void querySubstitutablePathInfos(const PathSet & paths,
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:56:10: warning: 'addToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addToStore(const string & name, const Path & srcPath,
         ^
src/libstore/store-api.hh:192:18: note: overridden virtual function is here
    virtual Path addToStore(const string & name, const Path & srcPath,
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:60:10: warning: 'addTextToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addTextToStore(const string & name, const string & s,
         ^
src/libstore/store-api.hh:198:18: note: overridden virtual function is here
    virtual Path addTextToStore(const string & name, const string & s,
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:63:10: warning: 'exportPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void exportPath(const Path & path, bool sign,
         ^
src/libstore/store-api.hh:205:18: note: overridden virtual function is here
    virtual void exportPath(const Path & path, bool sign,
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:66:11: warning: 'importPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Paths importPaths(bool requireSignature, Source & source);
          ^
src/libstore/store-api.hh:210:19: note: overridden virtual function is here
    virtual Paths importPaths(bool requireSignature, Source & source) = 0;
                  ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:68:10: warning: 'buildPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void buildPaths(const PathSet & paths, BuildMode buildMode);
         ^
src/libstore/store-api.hh:220:18: note: overridden virtual function is here
    virtual void buildPaths(const PathSet & paths, BuildMode buildMode = bmNormal) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:73:10: warning: 'ensurePath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void ensurePath(const Path & path);
         ^
src/libstore/store-api.hh:231:18: note: overridden virtual function is here
    virtual void ensurePath(const Path & path) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:75:10: warning: 'addTempRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addTempRoot(const Path & path);
         ^
src/libstore/store-api.hh:235:18: note: overridden virtual function is here
    virtual void addTempRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:77:10: warning: 'addIndirectRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addIndirectRoot(const Path & path);
         ^
src/libstore/store-api.hh:242:18: note: overridden virtual function is here
    virtual void addIndirectRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:79:10: warning: 'syncWithGC' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void syncWithGC();
         ^
src/libstore/store-api.hh:262:18: note: overridden virtual function is here
    virtual void syncWithGC() = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:81:11: warning: 'findRoots' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Roots findRoots();
          ^
src/libstore/store-api.hh:267:19: note: overridden virtual function is here
    virtual Roots findRoots() = 0;
                  ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:83:10: warning: 'collectGarbage' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void collectGarbage(const GCOptions & options, GCResults & results);
         ^
src/libstore/store-api.hh:270:18: note: overridden virtual function is here
    virtual void collectGarbage(const GCOptions & options, GCResults & results) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:85:13: warning: 'queryFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryFailedPaths();
            ^
src/libstore/store-api.hh:273:21: note: overridden virtual function is here
    virtual PathSet queryFailedPaths() = 0;
                    ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:87:10: warning: 'clearFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void clearFailedPaths(const PathSet & paths);
         ^
src/libstore/store-api.hh:277:18: note: overridden virtual function is here
    virtual void clearFailedPaths(const PathSet & paths) = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:89:10: warning: 'optimiseStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void optimiseStore();
         ^
src/libstore/store-api.hh:287:18: note: overridden virtual function is here
    virtual void optimiseStore() = 0;
                 ^
In file included from src/libstore/remote-store.cc:3:
src/libstore/remote-store.hh:91:10: warning: 'verifyStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool verifyStore(bool checkContents, bool repair);
         ^
src/libstore/store-api.hh:291:18: note: overridden virtual function is here
    virtual bool verifyStore(bool checkContents, bool repair) = 0;
                 ^
29 warnings generated.
  CXX    src/libstore/store-api.o
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:101:10: warning: 'isValidPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool isValidPath(const Path & path);
         ^
src/libstore/store-api.hh:135:18: note: overridden virtual function is here
    virtual bool isValidPath(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:103:13: warning: 'queryValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidPaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:138:21: note: overridden virtual function is here
    virtual PathSet queryValidPaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:105:13: warning: 'queryAllValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryAllValidPaths();
            ^
src/libstore/store-api.hh:141:21: note: overridden virtual function is here
    virtual PathSet queryAllValidPaths() = 0;
                    ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:107:19: warning: 'queryPathInfo' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    ValidPathInfo queryPathInfo(const Path & path);
                  ^
src/libstore/store-api.hh:144:27: note: overridden virtual function is here
    virtual ValidPathInfo queryPathInfo(const Path & path) = 0;
                          ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:109:10: warning: 'queryPathHash' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Hash queryPathHash(const Path & path);
         ^
src/libstore/store-api.hh:147:18: note: overridden virtual function is here
    virtual Hash queryPathHash(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:111:10: warning: 'queryReferences' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferences(const Path & path, PathSet & references);
         ^
src/libstore/store-api.hh:151:18: note: overridden virtual function is here
    virtual void queryReferences(const Path & path,
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:113:10: warning: 'queryReferrers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferrers(const Path & path, PathSet & referrers);
         ^
src/libstore/store-api.hh:156:18: note: overridden virtual function is here
    virtual void queryReferrers(const Path & path,
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:115:10: warning: 'queryDeriver' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path queryDeriver(const Path & path);
         ^
src/libstore/store-api.hh:161:18: note: overridden virtual function is here
    virtual Path queryDeriver(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:117:13: warning: 'queryValidDerivers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidDerivers(const Path & path);
            ^
src/libstore/store-api.hh:167:21: note: overridden virtual function is here
    virtual PathSet queryValidDerivers(const Path & path) = 0;
                    ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:119:13: warning: 'queryDerivationOutputs' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet queryDerivationOutputs(const Path & path);
            ^
src/libstore/store-api.hh:170:21: note: overridden virtual function is here
    virtual PathSet queryDerivationOutputs(const Path & path) = 0;
                    ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:121:15: warning: 'queryDerivationOutputNames' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    StringSet queryDerivationOutputNames(const Path & path);
              ^
src/libstore/store-api.hh:173:23: note: overridden virtual function is here
    virtual StringSet queryDerivationOutputNames(const Path & path) = 0;
                      ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:123:10: warning: 'queryPathFromHashPart' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    Path queryPathFromHashPart(const string & hashPart);
         ^
src/libstore/store-api.hh:177:18: note: overridden virtual function is here
    virtual Path queryPathFromHashPart(const string & hashPart) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:125:13: warning: 'querySubstitutablePaths' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet querySubstitutablePaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:180:21: note: overridden virtual function is here
    virtual PathSet querySubstitutablePaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:130:10: warning: 'querySubstitutablePathInfos' overrides a member function but is
      not marked 'override' [-Winconsistent-missing-override]
    void querySubstitutablePathInfos(const PathSet & paths,
         ^
src/libstore/store-api.hh:185:18: note: overridden virtual function is here
    virtual void querySubstitutablePathInfos(const PathSet & paths,
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:133:10: warning: 'addToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addToStore(const string & name, const Path & srcPath,
         ^
src/libstore/store-api.hh:192:18: note: overridden virtual function is here
    virtual Path addToStore(const string & name, const Path & srcPath,
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:144:10: warning: 'addTextToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addTextToStore(const string & name, const string & s,
         ^
src/libstore/store-api.hh:198:18: note: overridden virtual function is here
    virtual Path addTextToStore(const string & name, const string & s,
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:147:10: warning: 'exportPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void exportPath(const Path & path, bool sign,
         ^
src/libstore/store-api.hh:205:18: note: overridden virtual function is here
    virtual void exportPath(const Path & path, bool sign,
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:150:11: warning: 'importPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Paths importPaths(bool requireSignature, Source & source);
          ^
src/libstore/store-api.hh:210:19: note: overridden virtual function is here
    virtual Paths importPaths(bool requireSignature, Source & source) = 0;
                  ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:152:10: warning: 'buildPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void buildPaths(const PathSet & paths, BuildMode buildMode);
         ^
src/libstore/store-api.hh:220:18: note: overridden virtual function is here
    virtual void buildPaths(const PathSet & paths, BuildMode buildMode = bmNormal) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:157:10: warning: 'ensurePath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void ensurePath(const Path & path);
         ^
src/libstore/store-api.hh:231:18: note: overridden virtual function is here
    virtual void ensurePath(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:159:10: warning: 'addTempRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addTempRoot(const Path & path);
         ^
src/libstore/store-api.hh:235:18: note: overridden virtual function is here
    virtual void addTempRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:161:10: warning: 'addIndirectRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addIndirectRoot(const Path & path);
         ^
src/libstore/store-api.hh:242:18: note: overridden virtual function is here
    virtual void addIndirectRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:163:10: warning: 'syncWithGC' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void syncWithGC();
         ^
src/libstore/store-api.hh:262:18: note: overridden virtual function is here
    virtual void syncWithGC() = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:165:11: warning: 'findRoots' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Roots findRoots();
          ^
src/libstore/store-api.hh:267:19: note: overridden virtual function is here
    virtual Roots findRoots() = 0;
                  ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:167:10: warning: 'collectGarbage' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void collectGarbage(const GCOptions & options, GCResults & results);
         ^
src/libstore/store-api.hh:270:18: note: overridden virtual function is here
    virtual void collectGarbage(const GCOptions & options, GCResults & results) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:174:10: warning: 'optimiseStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void optimiseStore();
         ^
src/libstore/store-api.hh:287:18: note: overridden virtual function is here
    virtual void optimiseStore() = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:181:10: warning: 'verifyStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool verifyStore(bool checkContents, bool repair);
         ^
src/libstore/store-api.hh:291:18: note: overridden virtual function is here
    virtual bool verifyStore(bool checkContents, bool repair) = 0;
                 ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:200:13: warning: 'queryFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryFailedPaths();
            ^
src/libstore/store-api.hh:273:21: note: overridden virtual function is here
    virtual PathSet queryFailedPaths() = 0;
                    ^
In file included from src/libstore/store-api.cc:301:
src/libstore/local-store.hh:202:10: warning: 'clearFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void clearFailedPaths(const PathSet & paths);
         ^
src/libstore/store-api.hh:277:18: note: overridden virtual function is here
    virtual void clearFailedPaths(const PathSet & paths) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:27:10: warning: 'isValidPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool isValidPath(const Path & path);
         ^
src/libstore/store-api.hh:135:18: note: overridden virtual function is here
    virtual bool isValidPath(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:29:13: warning: 'queryValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidPaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:138:21: note: overridden virtual function is here
    virtual PathSet queryValidPaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:31:13: warning: 'queryAllValidPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryAllValidPaths();
            ^
src/libstore/store-api.hh:141:21: note: overridden virtual function is here
    virtual PathSet queryAllValidPaths() = 0;
                    ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:33:19: warning: 'queryPathInfo' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    ValidPathInfo queryPathInfo(const Path & path);
                  ^
src/libstore/store-api.hh:144:27: note: overridden virtual function is here
    virtual ValidPathInfo queryPathInfo(const Path & path) = 0;
                          ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:35:10: warning: 'queryPathHash' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Hash queryPathHash(const Path & path);
         ^
src/libstore/store-api.hh:147:18: note: overridden virtual function is here
    virtual Hash queryPathHash(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:37:10: warning: 'queryReferences' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferences(const Path & path, PathSet & references);
         ^
src/libstore/store-api.hh:151:18: note: overridden virtual function is here
    virtual void queryReferences(const Path & path,
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:39:10: warning: 'queryReferrers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void queryReferrers(const Path & path, PathSet & referrers);
         ^
src/libstore/store-api.hh:156:18: note: overridden virtual function is here
    virtual void queryReferrers(const Path & path,
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:41:10: warning: 'queryDeriver' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path queryDeriver(const Path & path);
         ^
src/libstore/store-api.hh:161:18: note: overridden virtual function is here
    virtual Path queryDeriver(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:43:13: warning: 'queryValidDerivers' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryValidDerivers(const Path & path);
            ^
src/libstore/store-api.hh:167:21: note: overridden virtual function is here
    virtual PathSet queryValidDerivers(const Path & path) = 0;
                    ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:45:13: warning: 'queryDerivationOutputs' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet queryDerivationOutputs(const Path & path);
            ^
src/libstore/store-api.hh:170:21: note: overridden virtual function is here
    virtual PathSet queryDerivationOutputs(const Path & path) = 0;
                    ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:47:15: warning: 'queryDerivationOutputNames' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    StringSet queryDerivationOutputNames(const Path & path);
              ^
src/libstore/store-api.hh:173:23: note: overridden virtual function is here
    virtual StringSet queryDerivationOutputNames(const Path & path) = 0;
                      ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:49:10: warning: 'queryPathFromHashPart' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    Path queryPathFromHashPart(const string & hashPart);
         ^
src/libstore/store-api.hh:177:18: note: overridden virtual function is here
    virtual Path queryPathFromHashPart(const string & hashPart) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:51:13: warning: 'querySubstitutablePaths' overrides a member function but is not
      marked 'override' [-Winconsistent-missing-override]
    PathSet querySubstitutablePaths(const PathSet & paths);
            ^
src/libstore/store-api.hh:180:21: note: overridden virtual function is here
    virtual PathSet querySubstitutablePaths(const PathSet & paths) = 0;
                    ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:53:10: warning: 'querySubstitutablePathInfos' overrides a member function but is
      not marked 'override' [-Winconsistent-missing-override]
    void querySubstitutablePathInfos(const PathSet & paths,
         ^
src/libstore/store-api.hh:185:18: note: overridden virtual function is here
    virtual void querySubstitutablePathInfos(const PathSet & paths,
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:56:10: warning: 'addToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addToStore(const string & name, const Path & srcPath,
         ^
src/libstore/store-api.hh:192:18: note: overridden virtual function is here
    virtual Path addToStore(const string & name, const Path & srcPath,
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:60:10: warning: 'addTextToStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Path addTextToStore(const string & name, const string & s,
         ^
src/libstore/store-api.hh:198:18: note: overridden virtual function is here
    virtual Path addTextToStore(const string & name, const string & s,
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:63:10: warning: 'exportPath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void exportPath(const Path & path, bool sign,
         ^
src/libstore/store-api.hh:205:18: note: overridden virtual function is here
    virtual void exportPath(const Path & path, bool sign,
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:66:11: warning: 'importPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Paths importPaths(bool requireSignature, Source & source);
          ^
src/libstore/store-api.hh:210:19: note: overridden virtual function is here
    virtual Paths importPaths(bool requireSignature, Source & source) = 0;
                  ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:68:10: warning: 'buildPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void buildPaths(const PathSet & paths, BuildMode buildMode);
         ^
src/libstore/store-api.hh:220:18: note: overridden virtual function is here
    virtual void buildPaths(const PathSet & paths, BuildMode buildMode = bmNormal) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:73:10: warning: 'ensurePath' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void ensurePath(const Path & path);
         ^
src/libstore/store-api.hh:231:18: note: overridden virtual function is here
    virtual void ensurePath(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:75:10: warning: 'addTempRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addTempRoot(const Path & path);
         ^
src/libstore/store-api.hh:235:18: note: overridden virtual function is here
    virtual void addTempRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:77:10: warning: 'addIndirectRoot' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void addIndirectRoot(const Path & path);
         ^
src/libstore/store-api.hh:242:18: note: overridden virtual function is here
    virtual void addIndirectRoot(const Path & path) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:79:10: warning: 'syncWithGC' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void syncWithGC();
         ^
src/libstore/store-api.hh:262:18: note: overridden virtual function is here
    virtual void syncWithGC() = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:81:11: warning: 'findRoots' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    Roots findRoots();
          ^
src/libstore/store-api.hh:267:19: note: overridden virtual function is here
    virtual Roots findRoots() = 0;
                  ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:83:10: warning: 'collectGarbage' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void collectGarbage(const GCOptions & options, GCResults & results);
         ^
src/libstore/store-api.hh:270:18: note: overridden virtual function is here
    virtual void collectGarbage(const GCOptions & options, GCResults & results) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:85:13: warning: 'queryFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    PathSet queryFailedPaths();
            ^
src/libstore/store-api.hh:273:21: note: overridden virtual function is here
    virtual PathSet queryFailedPaths() = 0;
                    ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:87:10: warning: 'clearFailedPaths' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void clearFailedPaths(const PathSet & paths);
         ^
src/libstore/store-api.hh:277:18: note: overridden virtual function is here
    virtual void clearFailedPaths(const PathSet & paths) = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:89:10: warning: 'optimiseStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    void optimiseStore();
         ^
src/libstore/store-api.hh:287:18: note: overridden virtual function is here
    virtual void optimiseStore() = 0;
                 ^
In file included from src/libstore/store-api.cc:303:
src/libstore/remote-store.hh:91:10: warning: 'verifyStore' overrides a member function but is not marked
      'override' [-Winconsistent-missing-override]
    bool verifyStore(bool checkContents, bool repair);
         ^
src/libstore/store-api.hh:291:18: note: overridden virtual function is here
    virtual bool verifyStore(bool checkContents, bool repair) = 0;
                 ^
58 warnings generated.
  CXX    src/libutil/affinity.o
  CXX    src/libutil/archive.o
  CXX    src/libutil/hash.o
src/libutil/hash.cc:118:10: warning: unused variable 'hash2' [-Wunused-variable]
    Hash hash2(hash);
         ^
1 warning generated.
  CXX    src/libutil/regex.o
  CXX    src/libutil/serialise.o
In file included from src/libutil/serialise.cc:1:
In file included from src/libutil/serialise.hh:3:
In file included from src/libutil/types.hh:9:
In file included from src/boost/format.hpp:57:
src/boost/format/feed_args.hpp:40:8: warning: function 'do_pad' is not needed and will not be emitted
      [-Wunneeded-internal-declaration]
  void do_pad( std::string & s, 
       ^
1 warning generated.
  CXX    src/libutil/util.o
  CXX    src/libutil/xml-writer.o
  CXX    src/boost/format/format_implementation.o
In file included from src/boost/format/format_implementation.cc:25:
In file included from src/boost/format.hpp:57:
src/boost/format/feed_args.hpp:40:8: warning: function 'do_pad' is not needed and will not be emitted
      [-Wunneeded-internal-declaration]
  void do_pad( std::string & s, 
       ^
1 warning generated.
  CXX    src/boost/format/free_funcs.o
In file included from src/boost/format/free_funcs.cc:22:
In file included from src/boost/format.hpp:57:
src/boost/format/feed_args.hpp:40:8: warning: function 'do_pad' is not needed and will not be emitted
      [-Wunneeded-internal-declaration]
  void do_pad( std::string & s, 
       ^
1 warning generated.
  CXX    src/boost/format/parsing.o
In file included from src/boost/format/parsing.cc:25:
In file included from src/boost/format.hpp:57:
src/boost/format/feed_args.hpp:40:8: warning: function 'do_pad' is not needed and will not be emitted
      [-Wunneeded-internal-declaration]
  void do_pad( std::string & s, 
       ^
1 warning generated.
  LD     src/boost/format/libnixformat.so
  LD     src/libutil/libnixutil.so
  LD     src/libstore/libnixstore.so
  LD     src/libmain/libnixmain.so
  LD     src/nix-hash/nix-hash
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libsqlite3.so.0, needed by src/libstore/libnixstore.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libbz2.so.1, needed by src/libstore/libnixstore.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libcurl.so.4, needed by src/libstore/libnixstore.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: warning: libcrypto.so.1.0.0, needed by src/libutil/libnixutil.so, not found (try using -rpath or -rpath-link)
src/libstore/libnixstore.so: undefined reference to `sqlite3_column_text'
src/libstore/libnixstore.so: undefined reference to `sqlite3_close'
src/libstore/libnixstore.so: undefined reference to `sqlite3_column_int'
src/libstore/libnixstore.so: undefined reference to `sqlite3_reset'
src/libstore/libnixstore.so: undefined reference to `curl_easy_getinfo'
src/libstore/libnixstore.so: undefined reference to `curl_easy_setopt'
src/libstore/libnixstore.so: undefined reference to `sqlite3_bind_int'
src/libstore/libnixstore.so: undefined reference to `sqlite3_open_v2'
src/libstore/libnixstore.so: undefined reference to `sqlite3_bind_null'
src/libutil/libnixutil.so: undefined reference to `MD5_Init'
src/libstore/libnixstore.so: undefined reference to `sqlite3_exec'
src/libutil/libnixutil.so: undefined reference to `MD5_Final'
src/libutil/libnixutil.so: undefined reference to `SHA1_Update'
src/libstore/libnixstore.so: undefined reference to `curl_easy_init'
src/libutil/libnixutil.so: undefined reference to `SHA256_Init'
src/libstore/libnixstore.so: undefined reference to `sqlite3_column_int64'
src/libstore/libnixstore.so: undefined reference to `sqlite3_bind_int64'
src/libstore/libnixstore.so: undefined reference to `curl_slist_append'
src/libstore/libnixstore.so: undefined reference to `sqlite3_finalize'
src/libstore/libnixstore.so: undefined reference to `sqlite3_errcode'
src/libstore/libnixstore.so: undefined reference to `BZ2_bzWriteClose'
src/libstore/libnixstore.so: undefined reference to `BZ2_bzWriteOpen'
src/libstore/libnixstore.so: undefined reference to `curl_slist_free_all'
src/libstore/libnixstore.so: undefined reference to `sqlite3_bind_text'
src/libstore/libnixstore.so: undefined reference to `sqlite3_step'
src/libstore/libnixstore.so: undefined reference to `curl_easy_perform'
src/libstore/libnixstore.so: undefined reference to `curl_easy_cleanup'
src/libutil/libnixutil.so: undefined reference to `SHA256_Update'
src/libutil/libnixutil.so: undefined reference to `MD5_Update'
src/libutil/libnixutil.so: undefined reference to `SHA256_Final'
src/libstore/libnixstore.so: undefined reference to `sqlite3_errmsg'
src/libutil/libnixutil.so: undefined reference to `SHA1_Init'
src/libutil/libnixutil.so: undefined reference to `SHA1_Final'
src/libstore/libnixstore.so: undefined reference to `sqlite3_prepare_v2'
src/libstore/libnixstore.so: undefined reference to `sqlite3_busy_timeout'
src/libstore/libnixstore.so: undefined reference to `curl_easy_strerror'
src/libstore/libnixstore.so: undefined reference to `BZ2_bzWrite'
src/libstore/libnixstore.so: undefined reference to `sqlite3_last_insert_rowid'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
mk/lib.mk:103: recipe for target 'src/nix-hash/nix-hash' failed
make: *** [src/nix-hash/nix-hash] Error 1

real    1m10.008s
user    1m6.403s
sys 0m1.866s
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ uname -a
Linux linux-0fiz 3.16.7-29-desktop #1 SMP PREEMPT Fri Oct 23 00:46:04 UTC 2015 (6be6a97) x86_64 x86_64 x86_64 GNU/Linux
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ date
Tue Nov 24 12:48:04 EET 2015
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $LD_LIBRARY_PATH 
/home/ts2/m_local/bin_p/gdal_org/v_1_10_0_beta/lib:/usr/lib64/mpi/gcc/openmpi/lib64
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $CXX
clang++
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $CC
clang
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $CFLAGS 
-mtune=native -ftree-vectorize
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ echo $CXXFLAGS 
-mtune=native -ftree-vectorize
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /usr/lib/libsqlite3*
lrwxrwxrwx 1 root root     19 Oct 11 06:01 /usr/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6
-rwxr-xr-x 1 root root 796512 Sep 25  2014 /usr/lib/libsqlite3.so.0.8.6
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /usr/lib/libbz2*
lrwxrwxrwx 1 root root    15 Nov 22 02:16 /usr/lib/libbz2.so -> libbz2.so.1.0.6
lrwxrwxrwx 1 root root    15 Oct 18 12:10 /usr/lib/libbz2.so.1 -> libbz2.so.1.0.6
-rwxr-xr-x 1 root root 57904 Oct  6  2014 /usr/lib/libbz2.so.1.0.6
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /usr/lib/libcurl*
ls: cannot access /usr/lib/libcurl*: No such file or directory
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /usr/lib/libcrypto*
ls: cannot access /usr/lib/libcrypto*: No such file or directory
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ ls -l /lib/libcrypto*
-r-xr-xr-x 1 root root 1972004 Jun 17 16:58 /lib/libcrypto.so.1.0.0
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$ clang -v
clang version 3.8.0 (trunk 249969)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/ts2/m_local/bin_p/LLVM/vd_2015_10_11/vd_2015_10_11_installed/bin
Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.8
Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.9
Selected GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.8
Candidate multilib: .;@m64
Selected multilib: .;@m64
ts2@linux-0fiz:~/m_local/bin_p/Nix/kompil/nix-1.10$
@lucabrunox
Copy link
Contributor

You should probably use nix dependencies themselves to bootstrap nix, instead of using system libraries.

@martinvahi
Copy link
Author

Without trying to figure out, if the smashed substance consists of a chicken or an egg, how could I bootstrap Nix by using packages that are maintained by Nix? Console examples welcome. :-)

@lucabrunox
Copy link
Contributor

By downloading the nix binaries for example and installing it.

@martinvahi
Copy link
Author

That does not seem to work either.

nix_haldur@linux-0fiz:~/inst/nix/v_1_10> whoami
nix_haldur
nix_haldur@linux-0fiz:~/inst/nix/v_1_10> ls -l / | grep nix
drwxr-xr-x   2 nix_haldur root  4096 Nov 25 22:03 nix
nix_haldur@linux-0fiz:~/inst/nix/v_1_10> ls /nix/
nix_haldur@linux-0fiz:~/inst/nix/v_1_10> uname -a
Linux linux-0fiz 3.16.7-29-desktop #1 SMP PREEMPT Fri Oct 23 00:46:04 UTC 2015 (6be6a97) x86_64 x86_64 x86_64 GNU/Linux
nix_haldur@linux-0fiz:~/inst/nix/v_1_10> ls -l ../
total 4372
-rw-r----- 1 nix_haldur root     4464640 Nov 25 20:56 nix-1.10.tar
drwxr-xr-x 4 nix_haldur realtime    4096 Nov 25 21:14 nix_varu
drwxr-xr-x 2 nix_haldur realtime    4096 Nov 25 22:02 v_1_10
-rw-r--r-- 1 nix_haldur realtime    1332 Nov 25 21:05 v_1_10_paigaldusskript.txt
nix_haldur@linux-0fiz:~/inst/nix/v_1_10> ls
nix_haldur@linux-0fiz:~/inst/nix/v_1_10> curl https://nixos.org/nix/install > v_1_10_install_script.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1332  100  1332    0     0   5271      0 --:--:-- --:--:-- --:--:--  5264
nix_haldur@linux-0fiz:~/inst/nix/v_1_10> ls -l
total 4
-rw-r--r-- 1 nix_haldur realtime 1332 Nov 25 22:04 v_1_10_install_script.txt
nix_haldur@linux-0fiz:~/inst/nix/v_1_10> sh ./v_1_10_install_script.txt
unpacking Nix binary tarball for x86_64-linux from `https://nixos.org/releases/nix/nix-1.10/nix-1.10-x86_64-linux.tar.bz2'...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 67.0M  100 67.0M    0     0   799k      0  0:01:25  0:01:25 --:--:--  625k
performing a single-user installation of Nix...
copying Nix to /nix/store...........................
initialising Nix database...
installing ‘nix-1.10’
download-using-manifests.pl: perl: warning: Setting locale failed.
download-using-manifests.pl: perl: warning: Please check that your locale settings:
download-using-manifests.pl:    LANGUAGE = (unset),
download-using-manifests.pl:    LC_ALL = (unset),
download-using-manifests.pl:    LC_CTYPE = "en_US.utf8",
download-using-manifests.pl:    LANG = "en_US.utf8"
download-using-manifests.pl:     are supported and installed on your system.
download-using-manifests.pl: perl: warning: Falling back to the standard locale ("C").
download-using-manifests.pl: Can't locate utf8.pm:   Permission denied at /nix/store/na9pnc5pj9d63xn5z8v4wbc35fm4m9y1-nix-1.10/libexec/nix/substituters/download-using-manifests.pl line 3.
download-using-manifests.pl: BEGIN failed--compilation aborted at /nix/store/na9pnc5pj9d63xn5z8v4wbc35fm4m9y1-nix-1.10/libexec/nix/substituters/download-using-manifests.pl line 3.
error: substituter ‘download-using-manifests.pl’ died unexpectedly
nix-binary-tarball-unpack/nix-1.10-x86_64-linux/install: unable to install Nix into your default profile
nix_haldur@linux-0fiz:~/inst/nix/v_1_10>

I also tried to dowload the binaries by downloading some "zip", but
openSUSE
was not supported.

It seems to me that as of 2015_11 the Nix Package Manager is too experimental to be dependable. May be at the autumn of 2016 there's a chance. I also think that a package manager is something that should be very robust at bootstrapping and as of 2015_11 the Nix clearly fails to be robust at bootstrapping. I suggest that all the C++/C libraries that the Nix package manager depends on, are embedded to the Nix package manager source code so that it can be built by depending only GCC and Perl from the host system. Nothing should be downloaded at bootstrapping.

But, that is, of course, my subjective taste and opinion and everyone has an opinion. :-/

@Ericson2314
Copy link
Member

What is $LANG set as? Seems your local might be confusing perl.

@martinvahi
Copy link
Author

The

echo $LANG

gives

en_US.utf8

@Ericson2314
Copy link
Member

#615 as far as binary bootstrapping goes, looks like a complete duplicate. I suppose leave this open until some triages source bootstrapping.

edit: which in turn leads to #599

@domenkozar domenkozar added this to the perl-to-c++ milestone Jul 21, 2016
@domenkozar
Copy link
Member

Since #341 is inevitable now, I'll close this. No more perl in Nix, download-using-manifests.pl has been already rewritten in master. Sorry for the wait!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants