Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@matthewbauer
Created October 17, 2018 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewbauer/6dcea99618994b53546677580e80bfa3 to your computer and use it in GitHub Desktop.
Save matthewbauer/6dcea99618994b53546677580e80bfa3 to your computer and use it in GitHub Desktop.
unpacking sources
unpacking source archive /nix/store/2ihgp08f4hgr7v0g8jp31sk7y7wxlkx2-nix-2.1.3.tar.xz
source root is nix-2.1.3
setting SOURCE_DATE_EPOCH to timestamp 1538428226 of file nix-2.1.3/src/libexpr/parser-tab.hh
patching sources
configuring
configure flags: --prefix=/nix/store/r3f19x5cnqzbrkd47bx6fqiym2y1qi62-nix-2.1.3-x86_64-pc-mingw32 --bindir=/nix/store/r3f19x5cnqzbrkd47bx6fqiym2y1qi62-nix-2.1.3-x86_64-pc-mingw32/bin --sbindir=/nix/store/r3f19x5cnqzbrkd47bx6fqiym2y1qi62-nix-2.1.3-x86_64-pc-mingw32/sbin --includedir=/nix/store/jznh48ksqx3rricy142h68pfkbhypfhg-nix-2.1.3-x86_64-pc-mingw32-dev/include --oldincludedir=/nix/store/jznh48ksqx3rricy142h68pfkbhypfhg-nix-2.1.3-x86_64-pc-mingw32-dev/include --mandir=/nix/store/hzhac1ygwxq2jz26fvmkl8839wwd0iz7-nix-2.1.3-x86_64-pc-mingw32-man/share/man --infodir=/nix/store/r3f19x5cnqzbrkd47bx6fqiym2y1qi62-nix-2.1.3-x86_64-pc-mingw32/share/info --docdir=/nix/store/b702x7vm1dlibrfw96qgl34x8dfyzv52-nix-2.1.3-x86_64-pc-mingw32-doc/share/doc/nix --libdir=/nix/store/r3f19x5cnqzbrkd47bx6fqiym2y1qi62-nix-2.1.3-x86_64-pc-mingw32/lib --libexecdir=/nix/store/r3f19x5cnqzbrkd47bx6fqiym2y1qi62-nix-2.1.3-x86_64-pc-mingw32/libexec --localedir=/nix/store/r3f19x5cnqzbrkd47bx6fqiym2y1qi62-nix-2.1.3-x86_64-pc-mingw32/share/locale --with-store-dir=/nix/store --localstatedir=/nix/var --sysconfdir=/etc --disable-init-state --enable-gc --disable-seccomp-sandboxing --build=x86_64-unknown-linux-gnu --host=x86_64-pc-mingw32
configure: WARNING: unrecognized options: --disable-init-state
checking for a sed that does not truncate output... /nix/store/zj5pg6bcab6b5wllj87bmws432gh4sm6-gnused-4.5/bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-mingw32
checking for the canonical Nix system name... x86_64-mingw
checking for x86_64-pc-mingw32-gcc... x86_64-pc-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-mingw32-gcc accepts -g... yes
checking for x86_64-pc-mingw32-gcc option to accept ISO C89... none needed
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct dirent.d_type... no
checking for x86_64-pc-mingw32-gcc... (cached) x86_64-pc-mingw32-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-mingw32-gcc accepts -g... (cached) yes
checking for x86_64-pc-mingw32-gcc option to accept ISO C89... (cached) none needed
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-mingw32-g++ accepts -g... yes
checking how to run the C preprocessor... x86_64-pc-mingw32-gcc -E
checking whether x86_64-pc-mingw32-g++ supports C++14 features by default... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for pubsetbuf... yes
checking for statvfs... no
checking for pipe2... no
checking for lutimes... no
checking whether it is possible to create a link to a symlink... yes
checking how to run the C++ preprocessor... x86_64-pc-mingw32-g++ -E
checking for grep that handles long lines and -e... /nix/store/a7pnidn0y95axmhhkpm3vh7ws54qa324-gnugrep-3.1/bin/grep
checking for egrep... /nix/store/a7pnidn0y95axmhhkpm3vh7ws54qa324-gnugrep-3.1/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 locale usability... yes
checking locale presence... yes
checking for locale... yes
checking for bash... /nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash
checking for patch... /nix/store/f6yvlzappwwvwza31ap13j0qdhnhgymk-patch-2.7.6/bin/patch
checking for xmllint... false
checking for xsltproc... false
checking for flex... false
checking for bison... false
checking for sed... /nix/store/zj5pg6bcab6b5wllj87bmws432gh4sm6-gnused-4.5/bin/sed
checking for tar... /nix/store/y9nwn094yhwkg11pdl1w3427lyk9nvg3-gnutar-1.30/bin/tar
checking for bzip2... /nix/store/l2i9gmhz0rsi91mz4pvvvnvzkvi5wl6b-bzip2-1.0.6.0.1-bin/bin/bzip2
checking for gzip... /nix/store/gkzw2a5lygmjn7bxnj4sjr79ybg8ln47-gzip-1.9/bin/gzip
checking for xz... /nix/store/3530yjs5jpm2qic5f0n8kdr25kmd1ncs-xz-5.2.4-bin/bin/xz
checking for dot... no
checking for pv... pv
checking for brotli... no
checking for bro... no
checking for lsof... lsof
checking for cat... /nix/store/dzvbhkzfgwkq97ljkcvi4gs7vmflh6a0-coreutils-8.30/bin/cat
checking for tr... /nix/store/dzvbhkzfgwkq97ljkcvi4gs7vmflh6a0-coreutils-8.30/bin/tr
checking for x86_64-pc-mingw32-pkg-config... no
checking for pkg-config... /nix/store/zkakybl5c3r4rwgc129238ivlbxi6p5a-pkg-config-0.29.2/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for libcrypto... 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 >= 3.6.19... yes
checking for libcurl... yes
checking for libsodium... no
checking for liblzma... yes
checking for lzma_stream_encoder_mt in -llzma... yes
checking for libbrotlienc libbrotlidec... yes
checking aws/s3/S3Client.h usability... no
checking aws/s3/S3Client.h presence... no
checking for aws/s3/S3Client.h... no
checking for bdw-gc... yes
checking for setresuid... no
checking for setreuid... no
checking for lchown... no
checking for strsignal... no
checking for posix_fallocate... no
checking for sysconf... no
checking if you have a recent GNU tar... yes
configure: creating ./config.status
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-init-state
building
build flags: -j8 -l8 SHELL=/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash profiledir=\$\(out\)/etc/profile.d
GEN Makefile.config
CXX src/linenoise/ConvertUTF.o
CXX src/linenoise/linenoise.o
CXX src/linenoise/wcwidth.o
CXX src/nix/add-to-store.o
CXX src/nix/build.o
CXX src/nix/cat.o
CXX src/nix/copy.o
CXX src/nix/command.o
CXX src/nix/dump-path.o
CXX src/nix/edit.o
In file included from src/libutil/args.hh:7:0,
from src/nix/command.hh:3,
from src/nix/add-to-store.cc:1:
src/libutil/util.hh:221:22: error: 'SIGKILL' was not declared in this scope
int killSignal = SIGKILL;
^~~~~~~
src/libutil/util.hh:221:22: note: suggested alternative: 'SIGILL'
int killSignal = SIGKILL;
^~~~~~~
SIGILL
src/libutil/util.hh:239:15: error: variable or field 'killUser' declared void
void killUser(uid_t uid);
^~~~~
src/libutil/util.hh:239:15: error: 'uid_t' was not declared in this scope
src/libutil/util.hh:239:15: note: suggested alternative: 'pid_t'
void killUser(uid_t uid);
^~~~~
pid_t
src/libutil/util.hh:481:5: error: 'pthread_t' does not name a type; did you mean 'fread_s'?
pthread_t target;
^~~~~~~~~
fread_s
src/libutil/util.hh: In constructor 'nix::ReceiveInterrupts::ReceiveInterrupts()':
src/libutil/util.hh:485:11: error: class 'nix::ReceiveInterrupts' does not have any field named 'target'
: target(pthread_self())
^~~~~~
src/libutil/util.hh:485:18: error: 'pthread_self' was not declared in this scope
: target(pthread_self())
^~~~~~~~~~~~
In file included from src/libutil/args.hh:7:0,
from src/nix/command.hh:3,
from src/nix/copy.cc:1:
src/libutil/util.hh:221:22: error: 'SIGKILL' was not declared in this scope
int killSignal = SIGKILL;
^~~~~~~
src/libutil/util.hh:485:18: note: suggested alternative: 'fread_s'
: target(pthread_self())
^~~~~~~~~~~~
fread_s
src/libutil/util.hh: In lambda function:
src/libutil/util.hh:486:65: error: 'target' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
src/libutil/util.hh:221:22: note: suggested alternative: 'SIGILL'
int killSignal = SIGKILL;
^~~~~~~
SIGILL
src/libutil/util.hh:239:15: error: variable or field 'killUser' declared void
void killUser(uid_t uid);
^~~~~
src/libutil/util.hh:239:15: error: 'uid_t' was not declared in this scope
src/libutil/util.hh:486:65: note: suggested alternative: 'get'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
get
src/libutil/util.hh:486:73: error: 'SIGUSR1' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
src/libutil/util.hh:239:15: note: suggested alternative: 'pid_t'
void killUser(uid_t uid);
^~~~~
pid_t
src/libutil/util.hh:486:73: note: suggested alternative: 'SIG_ERR'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
SIG_ERR
src/libutil/util.hh:486:52: error: 'pthread_kill' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
src/libutil/util.hh:486:52: note: suggested alternative: 'thread_local'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
thread_local
src/libutil/util.hh:481:5: error: 'pthread_t' does not name a type; did you mean 'fread_s'?
pthread_t target;
^~~~~~~~~
fread_s
src/libutil/util.hh: In constructor 'nix::ReceiveInterrupts::ReceiveInterrupts()':
src/libutil/util.hh:485:11: error: class 'nix::ReceiveInterrupts' does not have any field named 'target'
: target(pthread_self())
^~~~~~
src/libutil/util.hh:485:18: error: 'pthread_self' was not declared in this scope
: target(pthread_self())
^~~~~~~~~~~~
src/libutil/util.hh:485:18: note: suggested alternative: 'fread_s'
: target(pthread_self())
^~~~~~~~~~~~
fread_s
src/libutil/util.hh: In lambda function:
src/libutil/util.hh:486:65: error: 'target' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
src/libutil/util.hh:486:65: note: suggested alternative: 'get'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
get
src/libutil/util.hh:486:73: error: 'SIGUSR1' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
src/libutil/util.hh:486:73: note: suggested alternative: 'SIG_ERR'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
SIG_ERR
src/libutil/util.hh:486:52: error: 'pthread_kill' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
src/libutil/util.hh:486:52: note: suggested alternative: 'thread_local'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
thread_local
In file included from src/libutil/args.hh:7:0,
from src/nix/command.hh:3,
from src/nix/command.cc:1:
src/libutil/util.hh:221:22: error: 'SIGKILL' was not declared in this scope
int killSignal = SIGKILL;
^~~~~~~
src/libutil/util.hh:221:22: note: suggested alternative: 'SIGILL'
int killSignal = SIGKILL;
^~~~~~~
SIGILL
src/libutil/util.hh:239:15: error: variable or field 'killUser' declared void
void killUser(uid_t uid);
^~~~~
src/libutil/util.hh:239:15: error: 'uid_t' was not declared in this scope
src/libutil/util.hh:239:15: note: suggested alternative: 'pid_t'
void killUser(uid_t uid);
^~~~~
pid_t
src/libutil/util.hh:481:5: error: 'pthread_t' does not name a type; did you mean 'fread_s'?
pthread_t target;
^~~~~~~~~
fread_s
src/libutil/util.hh: In constructor 'nix::ReceiveInterrupts::ReceiveInterrupts()':
src/libutil/util.hh:485:11: error: class 'nix::ReceiveInterrupts' does not have any field named 'target'
: target(pthread_self())
^~~~~~
src/libutil/util.hh:485:18: error: 'pthread_self' was not declared in this scope
: target(pthread_self())
^~~~~~~~~~~~
src/libutil/util.hh:485:18: note: suggested alternative: 'fread_s'
: target(pthread_self())
^~~~~~~~~~~~
fread_s
src/libutil/util.hh: In lambda function:
src/libutil/util.hh:486:65: error: 'target' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
src/libutil/util.hh:486:65: note: suggested alternative: 'get'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
get
src/libutil/util.hh:486:73: error: 'SIGUSR1' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
src/libutil/util.hh:486:73: note: suggested alternative: 'SIG_ERR'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
SIG_ERR
src/libutil/util.hh:486:52: error: 'pthread_kill' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
src/libutil/util.hh:486:52: note: suggested alternative: 'thread_local'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
thread_local
In file included from src/libutil/args.hh:7:0,
from src/nix/command.hh:3,
from src/nix/build.cc:1:
src/libutil/util.hh:221:22: error: 'SIGKILL' was not declared in this scope
int killSignal = SIGKILL;
^~~~~~~
src/libutil/util.hh:221:22: note: suggested alternative: 'SIGILL'
int killSignal = SIGKILL;
^~~~~~~
SIGILL
src/libutil/util.hh:239:15: error: variable or field 'killUser' declared void
void killUser(uid_t uid);
^~~~~
src/libutil/util.hh:239:15: error: 'uid_t' was not declared in this scope
src/libutil/util.hh:239:15: note: suggested alternative: 'pid_t'
void killUser(uid_t uid);
^~~~~
pid_t
In file included from src/libstore/store-api.hh:7:0,
from src/nix/add-to-store.cc:3:
src/libutil/sync.hh: At global scope:
src/libutil/sync.hh:26:34: error: 'mutex' in namespace 'std' does not name a type
template<class T, class M = std::mutex>
^~~~~
src/libutil/sync.hh:53:24: error: 'std::condition_variable' has not been declared
void wait(std::condition_variable & cv)
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:60:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_for(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh:68:28: error: 'std::condition_variable' has not been declared
bool wait_for(std::condition_variable & cv,
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:77:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_until(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh: In member function 'void nix::Sync<T, M>::Lock::wait(int&)':
src/libutil/sync.hh:56:16: error: request for member 'wait' in 'cv', which is of non-class type 'int'
cv.wait(lk);
^~~~
src/libutil/sync.hh: In member function 'bool nix::Sync<T, M>::Lock::wait_for(int&, const std::chrono::duration<_Rep, _Period>&, Predicate)':
src/libutil/sync.hh:73:23: error: request for member 'wait_for' in 'cv', which is of non-class type 'int'
return cv.wait_for(lk, duration, pred);
^~~~~~~~
src/libutil/util.hh:481:5: error: 'pthread_t' does not name a type; did you mean 'fread_s'?
pthread_t target;
^~~~~~~~~
fread_s
In file included from src/nix/add-to-store.cc:3:0:
src/libstore/store-api.hh: At global scope:
src/libstore/store-api.hh:262:15: error: template argument 2 is invalid
Sync<State> state;
^
In file included from src/libstore/store-api.hh:7:0,
from src/nix/copy.cc:3:
src/libutil/sync.hh: At global scope:
src/libutil/sync.hh:26:34: error: 'mutex' in namespace 'std' does not name a type
template<class T, class M = std::mutex>
^~~~~
src/libutil/sync.hh:53:24: error: 'std::condition_variable' has not been declared
void wait(std::condition_variable & cv)
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:60:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_for(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh:68:28: error: 'std::condition_variable' has not been declared
bool wait_for(std::condition_variable & cv,
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:77:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_until(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh: In member function 'void nix::Sync<T, M>::Lock::wait(int&)':
src/libutil/sync.hh:56:16: error: request for member 'wait' in 'cv', which is of non-class type 'int'
cv.wait(lk);
^~~~
src/libutil/sync.hh: In member function 'bool nix::Sync<T, M>::Lock::wait_for(int&, const std::chrono::duration<_Rep, _Period>&, Predicate)':
src/libutil/sync.hh:73:23: error: request for member 'wait_for' in 'cv', which is of non-class type 'int'
return cv.wait_for(lk, duration, pred);
^~~~~~~~
src/libutil/util.hh: In constructor 'nix::ReceiveInterrupts::ReceiveInterrupts()':
src/libutil/util.hh:485:11: error: class 'nix::ReceiveInterrupts' does not have any field named 'target'
: target(pthread_self())
^~~~~~
src/libutil/util.hh:485:18: error: 'pthread_self' was not declared in this scope
: target(pthread_self())
^~~~~~~~~~~~
src/libstore/store-api.hh: In member function 'void nix::Store::clearPathInfoCache()':
src/libstore/store-api.hh:595:15: error: request for member 'lock' in '((nix::Store*)this)->nix::Store::state', which is of non-class type 'int'
state.lock()->pathInfoCache.clear();
^~~~
src/libutil/util.hh:485:18: note: suggested alternative: 'fread_s'
: target(pthread_self())
^~~~~~~~~~~~
fread_s
src/libutil/util.hh: In lambda function:
src/libutil/util.hh:486:65: error: 'target' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
src/libutil/util.hh:486:65: note: suggested alternative: 'get'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
get
src/libutil/util.hh:486:73: error: 'SIGUSR1' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
src/libutil/util.hh:486:73: note: suggested alternative: 'SIG_ERR'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
SIG_ERR
src/libutil/util.hh:486:52: error: 'pthread_kill' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
src/libutil/util.hh:486:52: note: suggested alternative: 'thread_local'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
thread_local
In file included from src/libutil/args.hh:7:0,
from src/nix/command.hh:3,
from src/nix/cat.cc:1:
src/libutil/util.hh:221:22: error: 'SIGKILL' was not declared in this scope
int killSignal = SIGKILL;
^~~~~~~
In file included from src/nix/copy.cc:3:0:
src/libstore/store-api.hh: At global scope:
src/libstore/store-api.hh:262:15: error: template argument 2 is invalid
Sync<State> state;
^
src/libutil/util.hh:221:22: note: suggested alternative: 'SIGILL'
int killSignal = SIGKILL;
^~~~~~~
SIGILL
src/libutil/util.hh:239:15: error: variable or field 'killUser' declared void
void killUser(uid_t uid);
^~~~~
src/libutil/util.hh:239:15: error: 'uid_t' was not declared in this scope
src/libutil/util.hh:239:15: note: suggested alternative: 'pid_t'
void killUser(uid_t uid);
^~~~~
pid_t
src/libstore/store-api.hh: In member function 'void nix::Store::clearPathInfoCache()':
src/libstore/store-api.hh:595:15: error: request for member 'lock' in '((nix::Store*)this)->nix::Store::state', which is of non-class type 'int'
state.lock()->pathInfoCache.clear();
^~~~
In file included from src/libstore/store-api.hh:7:0,
from src/nix/command.cc:2:
src/libutil/sync.hh: At global scope:
src/libutil/sync.hh:26:34: error: 'mutex' in namespace 'std' does not name a type
template<class T, class M = std::mutex>
^~~~~
src/libutil/sync.hh:53:24: error: 'std::condition_variable' has not been declared
void wait(std::condition_variable & cv)
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:60:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_for(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh:68:28: error: 'std::condition_variable' has not been declared
bool wait_for(std::condition_variable & cv,
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:77:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_until(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh: In member function 'void nix::Sync<T, M>::Lock::wait(int&)':
src/libutil/sync.hh:56:16: error: request for member 'wait' in 'cv', which is of non-class type 'int'
cv.wait(lk);
^~~~
src/libutil/sync.hh: In member function 'bool nix::Sync<T, M>::Lock::wait_for(int&, const std::chrono::duration<_Rep, _Period>&, Predicate)':
src/libutil/sync.hh:73:23: error: request for member 'wait_for' in 'cv', which is of non-class type 'int'
return cv.wait_for(lk, duration, pred);
^~~~~~~~
src/libutil/util.hh:481:5: error: 'pthread_t' does not name a type; did you mean 'fread_s'?
pthread_t target;
^~~~~~~~~
fread_s
In file included from src/nix/copy.cc:5:0:
src/libutil/thread-pool.hh: At global scope:
src/libutil/thread-pool.hh:50:26: error: 'thread' is not a member of 'std'
std::vector<std::thread> workers;
^~~~~~
src/libutil/thread-pool.hh:50:26: note: suggested alternative: 'tera'
std::vector<std::thread> workers;
^~~~~~
tera
src/libutil/thread-pool.hh:50:26: error: 'thread' is not a member of 'std'
src/libutil/thread-pool.hh:50:26: note: suggested alternative: 'tera'
std::vector<std::thread> workers;
^~~~~~
tera
src/libutil/thread-pool.hh:50:32: error: template argument 1 is invalid
std::vector<std::thread> workers;
^
src/libutil/thread-pool.hh:50:32: error: template argument 2 is invalid
src/libutil/util.hh: In constructor 'nix::ReceiveInterrupts::ReceiveInterrupts()':
src/libutil/util.hh:485:11: error: class 'nix::ReceiveInterrupts' does not have any field named 'target'
: target(pthread_self())
^~~~~~
src/libutil/util.hh:485:18: error: 'pthread_self' was not declared in this scope
: target(pthread_self())
^~~~~~~~~~~~
src/libutil/thread-pool.hh:56:15: error: template argument 2 is invalid
Sync<State> state_;
^
src/libutil/thread-pool.hh:58:10: error: 'condition_variable' in namespace 'std' does not name a type
std::condition_variable work;
^~~~~~~~~~~~~~~~~~
src/libutil/thread-pool.hh: In function 'void nix::processGraph(nix::ThreadPool&, const std::set<T>&, std::function<std::set<T>(const T&)>, std::function<void(const T&)>)':
src/libutil/thread-pool.hh:80:15: error: template argument 2 is invalid
Sync<Graph> graph_(Graph{nodes, {}, {}});
^
src/libutil/thread-pool.hh: In lambda function:
src/libutil/thread-pool.hh:87:31: error: request for member 'lock' in 'graph_', which is of non-class type 'int'
auto graph(graph_.lock());
^~~~
src/libutil/thread-pool.hh:100:35: error: request for member 'lock' in 'graph_', which is of non-class type 'int'
auto graph(graph_.lock());
^~~~
src/libutil/thread-pool.hh:119:31: error: request for member 'lock' in 'graph_', which is of non-class type 'int'
auto graph(graph_.lock());
^~~~
src/libutil/thread-pool.hh: In function 'void nix::processGraph(nix::ThreadPool&, const std::set<T>&, std::function<std::set<T>(const T&)>, std::function<void(const T&)>)':
src/libutil/thread-pool.hh:139:17: error: request for member 'lock' in 'graph_', which is of non-class type 'int'
if (!graph_.lock()->left.empty())
^~~~
src/libutil/util.hh:485:18: note: suggested alternative: 'fread_s'
: target(pthread_self())
^~~~~~~~~~~~
fread_s
src/libutil/util.hh: In lambda function:
src/libutil/util.hh:486:65: error: 'target' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
src/libutil/util.hh:486:65: note: suggested alternative: 'get'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
get
src/libutil/util.hh:486:73: error: 'SIGUSR1' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
In file included from src/nix/command.cc:2:0:
src/libstore/store-api.hh: At global scope:
src/libstore/store-api.hh:262:15: error: template argument 2 is invalid
Sync<State> state;
^
src/libutil/util.hh:486:73: note: suggested alternative: 'SIG_ERR'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
SIG_ERR
src/libutil/util.hh:486:52: error: 'pthread_kill' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
src/libutil/util.hh:486:52: note: suggested alternative: 'thread_local'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
thread_local
src/libstore/store-api.hh: In member function 'void nix::Store::clearPathInfoCache()':
src/libstore/store-api.hh:595:15: error: request for member 'lock' in '((nix::Store*)this)->nix::Store::state', which is of non-class type 'int'
state.lock()->pathInfoCache.clear();
^~~~
In file included from src/libstore/store-api.hh:7:0,
from src/nix/build.cc:4:
src/libutil/sync.hh: At global scope:
src/libutil/sync.hh:26:34: error: 'mutex' in namespace 'std' does not name a type
template<class T, class M = std::mutex>
^~~~~
src/libutil/sync.hh:53:24: error: 'std::condition_variable' has not been declared
void wait(std::condition_variable & cv)
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:60:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_for(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh:68:28: error: 'std::condition_variable' has not been declared
bool wait_for(std::condition_variable & cv,
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:77:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_until(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh: In member function 'void nix::Sync<T, M>::Lock::wait(int&)':
src/libutil/sync.hh:56:16: error: request for member 'wait' in 'cv', which is of non-class type 'int'
cv.wait(lk);
^~~~
src/libutil/sync.hh: In member function 'bool nix::Sync<T, M>::Lock::wait_for(int&, const std::chrono::duration<_Rep, _Period>&, Predicate)':
src/libutil/sync.hh:73:23: error: request for member 'wait_for' in 'cv', which is of non-class type 'int'
return cv.wait_for(lk, duration, pred);
^~~~~~~~
In file included from src/nix/build.cc:4:0:
src/libstore/store-api.hh: At global scope:
src/libstore/store-api.hh:262:15: error: template argument 2 is invalid
Sync<State> state;
^
In file included from src/libutil/args.hh:7:0,
from src/nix/command.hh:3,
from src/nix/dump-path.cc:1:
src/libutil/util.hh:221:22: error: 'SIGKILL' was not declared in this scope
int killSignal = SIGKILL;
^~~~~~~
src/libutil/util.hh:221:22: note: suggested alternative: 'SIGILL'
int killSignal = SIGKILL;
^~~~~~~
SIGILL
src/libutil/util.hh:239:15: error: variable or field 'killUser' declared void
void killUser(uid_t uid);
^~~~~
src/libutil/util.hh:239:15: error: 'uid_t' was not declared in this scope
src/libutil/util.hh:239:15: note: suggested alternative: 'pid_t'
void killUser(uid_t uid);
^~~~~
pid_t
src/libstore/store-api.hh: In member function 'void nix::Store::clearPathInfoCache()':
src/libstore/store-api.hh:595:15: error: request for member 'lock' in '((nix::Store*)this)->nix::Store::state', which is of non-class type 'int'
state.lock()->pathInfoCache.clear();
^~~~
src/libutil/util.hh:481:5: error: 'pthread_t' does not name a type; did you mean 'fread_s'?
pthread_t target;
^~~~~~~~~
fread_s
src/libutil/util.hh: In constructor 'nix::ReceiveInterrupts::ReceiveInterrupts()':
src/libutil/util.hh:485:11: error: class 'nix::ReceiveInterrupts' does not have any field named 'target'
: target(pthread_self())
^~~~~~
src/libutil/util.hh:485:18: error: 'pthread_self' was not declared in this scope
: target(pthread_self())
^~~~~~~~~~~~
src/libutil/util.hh:485:18: note: suggested alternative: 'fread_s'
: target(pthread_self())
^~~~~~~~~~~~
fread_s
src/libutil/util.hh: In lambda function:
src/libutil/util.hh:486:65: error: 'target' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
src/libutil/util.hh:486:65: note: suggested alternative: 'get'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
get
src/libutil/util.hh:486:73: error: 'SIGUSR1' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
src/libutil/util.hh:486:73: note: suggested alternative: 'SIG_ERR'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
SIG_ERR
src/libutil/util.hh:486:52: error: 'pthread_kill' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
src/libutil/util.hh:486:52: note: suggested alternative: 'thread_local'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
thread_local
In file included from src/libstore/store-api.hh:7:0,
from src/nix/cat.cc:2:
src/libutil/sync.hh: At global scope:
src/libutil/sync.hh:26:34: error: 'mutex' in namespace 'std' does not name a type
template<class T, class M = std::mutex>
^~~~~
src/libutil/sync.hh:53:24: error: 'std::condition_variable' has not been declared
void wait(std::condition_variable & cv)
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:60:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_for(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh:68:28: error: 'std::condition_variable' has not been declared
bool wait_for(std::condition_variable & cv,
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:77:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_until(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh: In member function 'void nix::Sync<T, M>::Lock::wait(int&)':
src/libutil/sync.hh:56:16: error: request for member 'wait' in 'cv', which is of non-class type 'int'
cv.wait(lk);
^~~~
src/libutil/sync.hh: In member function 'bool nix::Sync<T, M>::Lock::wait_for(int&, const std::chrono::duration<_Rep, _Period>&, Predicate)':
src/libutil/sync.hh:73:23: error: request for member 'wait_for' in 'cv', which is of non-class type 'int'
return cv.wait_for(lk, duration, pred);
^~~~~~~~
In file included from src/nix/cat.cc:2:0:
src/libstore/store-api.hh: At global scope:
src/libstore/store-api.hh:262:15: error: template argument 2 is invalid
Sync<State> state;
^
src/libstore/store-api.hh: In member function 'void nix::Store::clearPathInfoCache()':
src/libstore/store-api.hh:595:15: error: request for member 'lock' in '((nix::Store*)this)->nix::Store::state', which is of non-class type 'int'
state.lock()->pathInfoCache.clear();
^~~~
In file included from src/libstore/store-api.hh:7:0,
from src/nix/dump-path.cc:2:
src/libutil/sync.hh: At global scope:
src/libutil/sync.hh:26:34: error: 'mutex' in namespace 'std' does not name a type
template<class T, class M = std::mutex>
^~~~~
src/libutil/sync.hh:53:24: error: 'std::condition_variable' has not been declared
void wait(std::condition_variable & cv)
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:60:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_for(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh:68:28: error: 'std::condition_variable' has not been declared
bool wait_for(std::condition_variable & cv,
^~~~~~~~~~~~~~~~~~
src/libutil/sync.hh:77:14: error: 'cv_status' in namespace 'std' does not name a type
std::cv_status wait_until(std::condition_variable & cv,
^~~~~~~~~
src/libutil/sync.hh: In member function 'void nix::Sync<T, M>::Lock::wait(int&)':
src/libutil/sync.hh:56:16: error: request for member 'wait' in 'cv', which is of non-class type 'int'
cv.wait(lk);
^~~~
src/libutil/sync.hh: In member function 'bool nix::Sync<T, M>::Lock::wait_for(int&, const std::chrono::duration<_Rep, _Period>&, Predicate)':
src/libutil/sync.hh:73:23: error: request for member 'wait_for' in 'cv', which is of non-class type 'int'
return cv.wait_for(lk, duration, pred);
^~~~~~~~
src/linenoise/linenoise.cpp:1045:13: warning: 'void linenoiseAtExit()' defined but not used [-Wunused-function]
static void linenoiseAtExit(void) { disableRawMode(); }
^~~~~~~~~~~~~~~
src/linenoise/linenoise.cpp:944:12: warning: 'atexit_registered' defined but not used [-Wunused-variable]
static int atexit_registered = 0; /* register atexit just 1 time */
^~~~~~~~~~~~~~~~~
src/linenoise/linenoise.cpp:943:12: warning: 'rawmode' defined but not used [-Wunused-variable]
static int rawmode = 0; /* for atexit() function to check if restore is needed*/
^~~~~~~
make: *** [mk/patterns.mk:3: src/nix/add-to-store.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/nix/dump-path.cc:2:0:
src/libstore/store-api.hh: At global scope:
src/libstore/store-api.hh:262:15: error: template argument 2 is invalid
Sync<State> state;
^
src/libstore/store-api.hh: In member function 'void nix::Store::clearPathInfoCache()':
src/libstore/store-api.hh:595:15: error: request for member 'lock' in '((nix::Store*)this)->nix::Store::state', which is of non-class type 'int'
state.lock()->pathInfoCache.clear();
^~~~
make: *** [mk/patterns.mk:3: src/nix/copy.o] Error 1
make: *** [mk/patterns.mk:3: src/nix/command.o] Error 1
make: *** [mk/patterns.mk:3: src/nix/build.o] Error 1
In file included from src/libutil/args.hh:7:0,
from src/nix/command.hh:3,
from src/nix/edit.cc:1:
src/libutil/util.hh:221:22: error: 'SIGKILL' was not declared in this scope
int killSignal = SIGKILL;
^~~~~~~
src/libutil/util.hh:221:22: note: suggested alternative: 'SIGILL'
int killSignal = SIGKILL;
^~~~~~~
SIGILL
src/libutil/util.hh:239:15: error: variable or field 'killUser' declared void
void killUser(uid_t uid);
^~~~~
src/libutil/util.hh:239:15: error: 'uid_t' was not declared in this scope
src/libutil/util.hh:239:15: note: suggested alternative: 'pid_t'
void killUser(uid_t uid);
^~~~~
pid_t
src/libutil/util.hh:481:5: error: 'pthread_t' does not name a type; did you mean 'fread_s'?
pthread_t target;
^~~~~~~~~
fread_s
src/libutil/util.hh: In constructor 'nix::ReceiveInterrupts::ReceiveInterrupts()':
src/libutil/util.hh:485:11: error: class 'nix::ReceiveInterrupts' does not have any field named 'target'
: target(pthread_self())
^~~~~~
src/libutil/util.hh:485:18: error: 'pthread_self' was not declared in this scope
: target(pthread_self())
^~~~~~~~~~~~
src/libutil/util.hh:485:18: note: suggested alternative: 'fread_s'
: target(pthread_self())
^~~~~~~~~~~~
fread_s
src/libutil/util.hh: In lambda function:
src/libutil/util.hh:486:65: error: 'target' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
src/libutil/util.hh:486:65: note: suggested alternative: 'get'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~
get
src/libutil/util.hh:486:73: error: 'SIGUSR1' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
src/libutil/util.hh:486:73: note: suggested alternative: 'SIG_ERR'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~
SIG_ERR
src/libutil/util.hh:486:52: error: 'pthread_kill' was not declared in this scope
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
src/libutil/util.hh:486:52: note: suggested alternative: 'thread_local'
, callback(createInterruptCallback([&]() { pthread_kill(target, SIGUSR1); }))
^~~~~~~~~~~~
thread_local
make: *** [mk/patterns.mk:3: src/nix/cat.o] Error 1
make: *** [mk/patterns.mk:3: src/nix/dump-path.o] Error 1
make: *** [mk/patterns.mk:3: src/nix/edit.o] Error 1
builder for '/nix/store/cj6n4zb5wkb554dvzjkdffjyxqw911nz-nix-2.1.3-x86_64-pc-mingw32.drv' failed with exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment