Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/y1jz21byl1bzmxlqmp4aydx92srhdg72-source source root is source Running phase: patchPhase patching sources Running phase: configurePhase configuring configure flags: --file=projects/premake4.lua gmake Building configurations... Running action 'gmake'... Generating Makefile... Generating bootil_static.make... Done. Running phase: buildPhase building build flags: SHELL=/nix/store/mysyx2ms2gm0n425gsz1hvwfk1jn1f9c-bash-5.1-p16/bin/bash ==== Building bootil_static (release) ==== Creating obj/Release globber.cpp happyhttp.cpp jpge.cpp smhash_md5.cpp crc.cpp tinythread.cpp Base.cpp JPEG.cpp Image.cpp Debug.cpp Network.cpp Socket.cpp HTTP.cpp Utility.cpp Mutex.cpp Thread.cpp Console.cpp ConsoleInput.cpp CompressionLZMA.cpp Time.cpp PackFile.cpp Processes.cpp CommandLine.cpp Compression.cpp Hasher.cpp Platform_OSX.cpp Platform_WINDOWS.cpp Platform_LINUX.cpp src/Bootil/Platform/Platform_LINUX.cpp: In function 'Bootil::BString Bootil::Platform::CurrentDir()': src/Bootil/Platform/Platform_LINUX.cpp:258:31: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 258 | getcwd( strCurrentWD, sizeof( strCurrentWD ) ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Platform_NULL.cpp String_URL.cpp Buffer.cpp String_Util.cpp String_Test.cpp String_Sanitize.cpp Math.cpp String_To.cpp String.cpp String_File.cpp String_Convert.cpp String_Encode.cpp String_Format.cpp Tree.cpp Json.cpp System.cpp Changes.cpp File.cpp src/Bootil/File/File.cpp: In function 'Bootil::BString Bootil::File::GetTempFilename()': src/Bootil/File/File.cpp:242:31: warning: ignoring return value of 'char* tmpnam(char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 242 | tmpnam( cTempName ); | ~~~~~~^~~~~~~~~~~~~ gzclose.c crc32.c inftrees.c compress.c zutil.c adler32.c uncompr.c gzlib.c src/3rdParty/zlib/gzlib.c: In function 'gz_open': src/3rdParty/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 14 | # define LSEEK lseek | ^~~~~ src/3rdParty/zlib/gzlib.c:256:24: note: in expansion of macro 'LSEEK' 256 | state->start = LSEEK(state->fd, 0, SEEK_CUR); | ^~~~~ inffast.c gzread.c src/3rdParty/zlib/gzread.c: In function 'gz_load': src/3rdParty/zlib/gzread.c:30:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 30 | ret = read(state->fd, buf + *have, len - *have); | ^~~~ | fread src/3rdParty/zlib/gzread.c: In function 'gzclose_r': src/3rdParty/zlib/gzread.c:591:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 591 | ret = close(state->fd); | ^~~~~ | pclose gzwrite.c src/3rdParty/zlib/gzwrite.c: In function 'gz_comp': src/3rdParty/zlib/gzwrite.c:84:15: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 84 | got = write(state->fd, strm->next_in, strm->avail_in); | ^~~~~ | fwrite src/3rdParty/zlib/gzwrite.c: In function 'gzclose_w': src/3rdParty/zlib/gzwrite.c:573:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 573 | if (close(state->fd) == -1) | ^~~~~ | pclose trees.c infback.c inflate.c deflate.c fastlz.c LzmaLib.c LzmaEnc.c LzFind.c Alloc.c LzmaDec.c unzip.cc src/3rdParty/xzip/unzip.cc: In function 'int XZip::huft_build(XZip::uInt*, XZip::uInt, XZip::uInt, const uInt*, const uInt*, XZip::inflate_huft**, XZip::uInt*, XZip::inflate_huft*, XZip::uInt*, XZip::uInt*)': src/3rdParty/xzip/unzip.cc:1842:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1842 | register uInt i; // counter, current code | ^ src/3rdParty/xzip/unzip.cc:1843:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1843 | register uInt j; // counter | ^ src/3rdParty/xzip/unzip.cc:1844:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1844 | register int k; // number of bits in current code | ^ src/3rdParty/xzip/unzip.cc:1847:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1847 | register uInt *p; // pointer into c[], b[], or v[] | ^ src/3rdParty/xzip/unzip.cc:1851:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1851 | register int w; // bits before this table == (l * h) | ^ src/3rdParty/xzip/unzip.cc: In member function 'XZip::ZRESULT XZip::TUnzip::Open(void*, unsigned int, DWORD)': src/3rdParty/xzip/unzip.cc:4107:15: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 4107 | getcwd(rootdir,MAX_PATH-1); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ zip.cc src/3rdParty/xzip/zip.cc: In function 'unsigned int XZip::bi_reverse(unsigned int, int)': src/3rdParty/xzip/zip.cc:1747:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1747 | register unsigned res = 0; | ^~~ src/3rdParty/xzip/zip.cc: In function 'void XZip::lm_init(XZip::TState&, int, XZip::ush*)': src/3rdParty/xzip/zip.cc:1860:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1860 | register unsigned j; | ^ src/3rdParty/xzip/zip.cc: In function 'int XZip::longest_match(XZip::TState&, XZip::IPos)': src/3rdParty/xzip/zip.cc:1936:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1936 | register uch *scan = state.ds.window + state.ds.strstart; /* current string */ | ^~~~ src/3rdParty/xzip/zip.cc:1937:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1937 | register uch *match; /* matched string */ | ^~~~~ src/3rdParty/xzip/zip.cc:1938:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1938 | register int len; /* length of current match */ | ^~~ src/3rdParty/xzip/zip.cc:1951:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1951 | register uch *strend = state.ds.window + state.ds.strstart + MAX_MATCH; | ^~~~~~ src/3rdParty/xzip/zip.cc:1952:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1952 | register uch scan_end1 = scan[best_len-1]; | ^~~~~~~~~ src/3rdParty/xzip/zip.cc:1953:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1953 | register uch scan_end = scan[best_len]; | ^~~~~~~~ src/3rdParty/xzip/zip.cc: In function 'void XZip::fill_window(XZip::TState&)': src/3rdParty/xzip/zip.cc:2047:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2047 | register unsigned n, m; | ^ src/3rdParty/xzip/zip.cc:2047:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2047 | register unsigned n, m; | ^ src/3rdParty/xzip/zip.cc: In function 'XZip::ulg XZip::deflate(XZip::TState&)': src/3rdParty/xzip/zip.cc:2236:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 2236 | register unsigned match_length = MIN_MATCH-1; /* length of best match */ | ^~~~~~~~~~~~ Linking bootil_static buildPhase completed in 3 minutes 51 seconds Running phase: installPhase installing Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/7sq25n5z7xw7vfkbrfwsj2ikb1lk8mh9-bootil-unstable-2019-11-18 strip is /nix/store/rkwixq2wda45gxx7zg1qh329zhkbvzzb-gcc-wrapper-11.3.0/bin/strip stripping (with command strip and flags -S) in /nix/store/7sq25n5z7xw7vfkbrfwsj2ikb1lk8mh9-bootil-unstable-2019-11-18/lib patching script interpreter paths in /nix/store/7sq25n5z7xw7vfkbrfwsj2ikb1lk8mh9-bootil-unstable-2019-11-18 checking for references to /build/ in /nix/store/7sq25n5z7xw7vfkbrfwsj2ikb1lk8mh9-bootil-unstable-2019-11-18...