Running phase: unpackPhase unpacking source archive /nix/store/snj3d9g5np6kjwaj6d0vr8cm5lfqcwd1-source source root is source Running phase: patchPhase applying patch /nix/store/7980v1mr59qv3y2mrihj6f17m5vaaxbr-0001-build-Allow-using-V8-from-system-3.1.10.patch patching file Makefile applying patch /nix/store/ffsr172qhh3yym28hdbxnba3pkmgpzc4-0001-fix-upgrade-related-woes-with-GUC-redefinitions-3.1.10.patch patching file .gitignore patching file Makefile patching file platforms/windows/CMakeLists.txt patching file plv8.cc patching file plv8.h patching file plv8_guc.cc patching script interpreter paths in ./generate_upgrade.sh ./generate_upgrade.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/q1lr86rzsxxbbqdz8m6bcv94saaz8wlv-bash-5.3p3/bin/bash" substituteStream() in derivation plv8-3.1.10: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'generate_upgrade.sh') Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: buildPhase build flags: SHELL=/nix/store/q1lr86rzsxxbbqdz8m6bcv94saaz8wlv-bash-5.3p3/bin/bash USE_SYSTEM_V8=1 V8_OUTDIR=/nix/store/2lqch35rypxjjyjyg2mvmjcb5s5aah3l-v8-9.7.106.18/lib PG_CONFIG=/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/bin/pg_config SHLIB_LINK=-lv8 all sed -e 's/^#undef PLV8_VERSION/#define PLV8_VERSION "3.1.10"/' plv8_config.h.in > plv8_config.h g++ -DJSONB_DIRECT_CONVERSION -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 -DNDEBUG -I/include -I -Wall -std=c++14 -fno-rtti -O2 -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -fPIC -c -o plv8.o plv8.cc plv8.cc: In function 'v8::Local DoCall(v8::Local, v8::Handle, v8::Handle, int, v8::Handle*, bool)': plv8.cc:941:1: warning: control reaches end of non-void function [-Wreturn-type] 941 | } | ^ g++ -DJSONB_DIRECT_CONVERSION -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 -DNDEBUG -I/include -I -Wall -std=c++14 -fno-rtti -O2 -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -fPIC -c -o plv8_type.o plv8_type.cc g++ -DJSONB_DIRECT_CONVERSION -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 -DNDEBUG -I/include -I -Wall -std=c++14 -fno-rtti -O2 -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -fPIC -c -o plv8_func.o plv8_func.cc g++ -DJSONB_DIRECT_CONVERSION -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 -DNDEBUG -I/include -I -Wall -std=c++14 -fno-rtti -O2 -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -fPIC -c -o plv8_param.o plv8_param.cc g++ -DJSONB_DIRECT_CONVERSION -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 -DNDEBUG -I/include -I -Wall -std=c++14 -fno-rtti -O2 -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -fPIC -c -o plv8_allocator.o plv8_allocator.cc g++ -DJSONB_DIRECT_CONVERSION -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 -DNDEBUG -I/include -I -Wall -std=c++14 -fno-rtti -O2 -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -fPIC -c -o plv8_guc.o plv8_guc.cc echo "extern const unsigned char coffee_script_binary_data[] = {" >coffee-script.cc (od -txC -v coffee-script.js | \ sed -e "s/^[0-9]*//" -e s"/ \([0-9a-f][0-9a-f]\)/0x\1,/g" -e"\$d" ) >>coffee-script.cc echo "0x00};" >>coffee-script.cc g++ -DJSONB_DIRECT_CONVERSION -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 -DNDEBUG -I/include -I -Wall -std=c++14 -fno-rtti -O2 -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -fPIC -c -o coffee-script.o coffee-script.cc echo "extern const unsigned char livescript_binary_data[] = {" >livescript.cc (od -txC -v livescript.js | \ sed -e "s/^[0-9]*//" -e s"/ \([0-9a-f][0-9a-f]\)/0x\1,/g" -e"\$d" ) >>livescript.cc echo "0x00};" >>livescript.cc g++ -DJSONB_DIRECT_CONVERSION -DV8_COMPRESS_POINTERS=1 -DV8_31BIT_SMIS_ON_64BIT_ARCH=1 -DNDEBUG -I/include -I -Wall -std=c++14 -fno-rtti -O2 -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -fPIC -c -o livescript.o livescript.cc g++ -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-deprecated-non-prototype -Wno-format-truncation -Wno-stringop-truncation -g -O2 -std=gnu17 -fPIC -shared -o plv8-3.1.10.so plv8.o plv8_type.o plv8_func.o plv8_param.o plv8_allocator.o plv8_guc.o coffee-script.o livescript.o -L/nix/store/8b3876yh0ra9hhnk0w61wnz720647966-postgresql-15.19-lib/lib -L/nix/store/wfk1mrpj1r5f7iyihjnh0jjixr900z7y-libxml2-2.15.1/lib -L/nix/store/62b24z1igfh6ws654fhsgnm3fm7j1z3c-lz4-1.10.0-lib/lib -L/nix/store/fqy9nkaahib56gcy0r77qjk7n03cvnfs-zstd-1.5.7/lib -Wl,--as-needed -Wl,-rpath,'/nix/store/8b3876yh0ra9hhnk0w61wnz720647966-postgresql-15.19-lib/lib',--enable-new-dtags -lv8 sed -e 's/@PLV8_VERSION@/3.1.10/g' plv8.control.common | g++ -E -P -DLANG_plv8 - > plv8.control sed -e 's/@LANG_NAME@/plv8/g' plv8.sql.common | sed -e 's/@PLV8_VERSION@/3.1.10/g' | g++ -E -P -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -DLANG_plv8 - > plv8--3.1.10.sql sed -e 's/@PLV8_VERSION@/3.1.10/g' plv8.control.common | g++ -E -P -DLANG_plcoffee - > plcoffee.control sed -e 's/@LANG_NAME@/plcoffee/g' plv8.sql.common | sed -e 's/@PLV8_VERSION@/3.1.10/g' | g++ -E -P -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -DLANG_plcoffee - > plcoffee--3.1.10.sql sed -e 's/@PLV8_VERSION@/3.1.10/g' plv8.control.common | g++ -E -P -DLANG_plls - > plls.control sed -e 's/@LANG_NAME@/plls/g' plv8.sql.common | sed -e 's/@PLV8_VERSION@/3.1.10/g' | g++ -E -P -I. -I./ -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/server -I/nix/store/xbcijjb5bfcwwz3a3nqh3px3zlhk7x5x-postgresql-15.19/include/internal -D_GNU_SOURCE -I/nix/store/p17klc3qq4nl9ihfwqfpi8cnqvcf92xz-libxml2-2.15.1-dev/include/libxml2 -I/nix/store/mglbi4dy4kpx7v1dcgf6iincp5x38hsc-lz4-1.10.0-dev/include -I/nix/store/g41q9md9rdcr3lkydi6f8zd6fza3h1q4-zstd-1.5.7-dev/include -I/nix/store/n2vnr7ycfk6midbzxcwd28qj3bgb50cz-icu4c-75.1-dev/include -DLANG_plls - > plls--3.1.10.sql Running phase: installPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/k57mim6x19jl8k4k72wyhc2pqn03xc1z-plv8-3.1.10 shrinking /nix/store/k57mim6x19jl8k4k72wyhc2pqn03xc1z-plv8-3.1.10/lib/plv8-3.1.10.so checking for references to /build/ in /nix/store/k57mim6x19jl8k4k72wyhc2pqn03xc1z-plv8-3.1.10... patching script interpreter paths in /nix/store/k57mim6x19jl8k4k72wyhc2pqn03xc1z-plv8-3.1.10 stripping (with command strip and flags -S -p) in /nix/store/k57mim6x19jl8k4k72wyhc2pqn03xc1z-plv8-3.1.10/lib