Closed HeMaN-NL closed 5 years ago
I'll take a look at this later, but just wanted to say that I updated to the latest release without any issues the other day. I also built a brand new VM earlier this week.
EDIT: I see you are using Debian. My earlier results were on Ubuntu.
install : node-v10.13.0
mkdir : /usr/local/n/versions/node/10.13.0
fetch : https://nodejs.org/dist/v10.13.0/node-v10.13.0-linux-x64.tar.gz
Assuming that node -v
is returning 10.13.0, then this is the issue. XO currently won't run with newer versions of node.
thnx! will look what version is installed tomorrow. Suppose it will indeed be 10.13.0 Since I am a Linux noob (still learning :)), how do I install an older version of node that XO is working with?
The script should have installed v8.x. I just ran an install and saw this error --
install : node-v10.13.0
Error: invalid version 10.13.0
However, the build finished successfully and I was able to log into the VM. When I checked the node version, it shows v8.12.0
The script for updating XO has an optional switch that allows you to install a specific version of node. I would try using that.
I did a clean install of Debian 9 again. Installed curl (sudo apt install curl) checked the installed version of node (node not installed) then started the install script. version of node after the script ran: v10.13.0
noticed it say v8.12 does get installed ... and right after that it is installing v10.13 as well???
Just had a look at the nodejs webpage https://nodejs.org/en/ and noticed the LTS is v10.13 now, maybe that might explain why 10.13 is installed instead of 8.12 ??
I have a fix in place. Please try again using this command for the install --
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/Danp2-node-fix/xo_install.sh | bash
Confirmed fresh install working fine again. Thnx for your support!
I noticed this behaviour first when doing the update script. Saw there a mention of the node lts as well. Might need a fix as well?
I don't believe the update script needs modified since it doesn't modify the Node installation by default. Please provide further details If you disagree.
Expected Behavior
updating xo to 5.28 or a fresh install does not make the xo site available. Expected xo 5.28 to be running
Actual Behavior
after upgrade of an older version or fresh install xo-server fails to start
Confirm XOCE services are running
nope it is not ...
systemctl status xo-server.service
● xo-server.service - XO Server Loaded: loaded (/lib/systemd/system/xo-server.service; enabled; vendor preset: enabled) Active: failed (Result: start-limit-hit) since Fri 2018-11-02 19:12:03 CET; 30min ago Process: 13489 ExecStart=/usr/local/bin/node ./bin/xo-server (code=exited, status=0/SUCCESS) Main PID: 13489 (code=exited, status=0/SUCCESS)Provide the output of journalctl logs
CLICK ME
``` journalctl -u xo-server -f -n 50 -- Logs begin at Fri 2018-11-02 18:57:22 CET. -- Nov 02 19:12:03 XOA xo-server[13489]: at Module.load (internal/modules/cjs/loader.js:598:32) Nov 02 19:12:03 XOA xo-server[13489]: at tryModuleLoad (internal/modules/cjs/loader.js:537:12) Nov 02 19:12:03 XOA xo-server[13489]: at Function.Module._load (internal/modules/cjs/loader.js:529:3) Nov 02 19:12:03 XOA xo-server[13489]: at Module.require (internal/modules/cjs/loader.js:636:17) Nov 02 19:12:03 XOA xo-server[13489]: at require (internal/modules/cjs/helpers.js:20:18) Nov 02 19:12:03 XOA xo-server[13489]: at Module._compile (internal/modules/cjs/loader.js:688:30) Nov 02 19:12:03 XOA xo-server[13489]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) Nov 02 19:12:03 XOA xo-server[13489]: at Module.load (internal/modules/cjs/loader.js:598:32) Nov 02 19:12:03 XOA xo-server[13489]: at tryModuleLoad (internal/modules/cjs/loader.js:537:12) Nov 02 19:12:03 XOA xo-server[13489]: at Function.Module._load (internal/modules/cjs/loader.js:529:3) Nov 02 19:12:03 XOA xo-server[13489]: at Module.require (internal/modules/cjs/loader.js:636:17) Nov 02 19:12:03 XOA xo-server[13489]: at require (internal/modules/cjs/helpers.js:20:18) Nov 02 19:12:03 XOA xo-server[13489]: at Module._compile (internal/modules/cjs/loader.js:688:30) Nov 02 19:12:03 XOA xo-server[13489]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) Nov 02 19:12:03 XOA xo-server[13489]: at Module.load (internal/modules/cjs/loader.js:598:32) Nov 02 19:12:03 XOA xo-server[13489]: at tryModuleLoad (internal/modules/cjs/loader.js:537:12) Nov 02 19:12:03 XOA xo-server[13489]: at Function.Module._load (internal/modules/cjs/loader.js:529:3) Nov 02 19:12:03 XOA xo-server[13489]: at Module.require (internal/modules/cjs/loader.js:636:17) Nov 02 19:12:03 XOA xo-server[13489]: at require (internal/modules/cjs/helpers.js:20:18) Nov 02 19:12:03 XOA xo-server[13489]: at Module._compile (internal/modules/cjs/loader.js:688:30) Nov 02 19:12:03 XOA xo-server[13489]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) Nov 02 19:12:03 XOA xo-server[13489]: at Module.load (internal/modules/cjs/loader.js:598:32) Nov 02 19:12:03 XOA xo-server[13489]: at tryModuleLoad (internal/modules/cjs/loader.js:537:12) Nov 02 19:12:03 XOA xo-server[13489]: at Function.Module._load (internal/modules/cjs/loader.js:529:3) Nov 02 19:12:03 XOA xo-server[13489]: at Module.require (internal/modules/cjs/loader.js:636:17) Nov 02 19:12:03 XOA xo-server[13489]: at require (internal/modules/cjs/helpers.js:20:18) Nov 02 19:12:03 XOA xo-server[13489]: at Module._compile (internal/modules/cjs/loader.js:688:30) Nov 02 19:12:03 XOA xo-server[13489]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) Nov 02 19:12:03 XOA xo-server[13489]: at Module.load (internal/modules/cjs/loader.js:598:32) Nov 02 19:12:03 XOA xo-server[13489]: at tryModuleLoad (internal/modules/cjs/loader.js:537:12) Nov 02 19:12:03 XOA xo-server[13489]: at Function.Module._load (internal/modules/cjs/loader.js:529:3) Nov 02 19:12:03 XOA xo-server[13489]: at Function.Module.runMain (internal/modules/cjs/loader.js:741:12) Nov 02 19:12:03 XOA xo-server[13489]: at startup (internal/bootstrap/node.js:285:19) Nov 02 19:12:03 XOA xo-server[13489]: at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3) Nov 02 19:12:03 XOA xo-server[13489]: tries: Nov 02 19:12:03 XOA xo-server[13489]: [ '/opt/xen-orchestra/packages/xo-server/build/leveldown.node', Nov 02 19:12:03 XOA xo-server[13489]: '/opt/xen-orchestra/packages/xo-server/build/Debug/leveldown.node', Nov 02 19:12:03 XOA xo-server[13489]: '/opt/xen-orchestra/packages/xo-server/build/Release/leveldown.node', Nov 02 19:12:03 XOA xo-server[13489]: '/opt/xen-orchestra/packages/xo-server/out/Debug/leveldown.node', Nov 02 19:12:03 XOA xo-server[13489]: '/opt/xen-orchestra/packages/xo-server/Debug/leveldown.node', Nov 02 19:12:03 XOA xo-server[13489]: '/opt/xen-orchestra/packages/xo-server/out/Release/leveldown.node', Nov 02 19:12:03 XOA xo-server[13489]: '/opt/xen-orchestra/packages/xo-server/Release/leveldown.node', Nov 02 19:12:03 XOA xo-server[13489]: '/opt/xen-orchestra/packages/xo-server/build/default/leveldown.node', Nov 02 19:12:03 XOA xo-server[13489]: '/opt/xen-orchestra/packages/xo-server/compiled/10.13.0/linux/x64/leveldown.node' ] } } Nov 02 19:12:03 XOA systemd[1]: xo-server.service: Service hold-off time over, scheduling restart. Nov 02 19:12:03 XOA systemd[1]: Stopped XO Server. Nov 02 19:12:03 XOA systemd[1]: xo-server.service: Start request repeated too quickly. Nov 02 19:12:03 XOA systemd[1]: Failed to start XO Server. Nov 02 19:12:03 XOA systemd[1]: xo-server.service: Unit entered failed state. Nov 02 19:12:03 XOA systemd[1]: xo-server.service: Failed with result 'start-limit-hit'. ```
Provide answers to these questions:
found this error in the install-script output:
CLICK ME
``` root@XOA:/home/hijmen# curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | bash bash: curl: command not found root@XOA:/home/hijmen# curl bash: curl: command not found root@XOA:/home/hijmen# apt install curl Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libcurl3 The following NEW packages will be installed: curl libcurl3 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded. Need to get 519 kB of archives. After this operation, 989 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 libcurl3 amd64 7.52.1-5+deb9u7 [292 kB] Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 curl amd64 7.52.1-5+deb9u7 [228 kB] Fetched 519 kB in 0s (3,425 kB/s) Selecting previously unselected package libcurl3:amd64. (Reading database ... 128837 files and directories currently installed.) Preparing to unpack .../libcurl3_7.52.1-5+deb9u7_amd64.deb ... Unpacking libcurl3:amd64 (7.52.1-5+deb9u7) ... Selecting previously unselected package curl. Preparing to unpack .../curl_7.52.1-5+deb9u7_amd64.deb ... Unpacking curl (7.52.1-5+deb9u7) ... Setting up libcurl3:amd64 (7.52.1-5+deb9u7) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up curl (7.52.1-5+deb9u7) ... root@XOA:/home/hijmen# curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2839 100 2839 0 0 13071 0 --:--:-- --:--:-- --:--:-- 13082 Hit:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://ftp.nl.debian.org/debian stretch InRelease Hit:3 http://ftp.nl.debian.org/debian stretch-updates InRelease Hit:4 http://ftp.nl.debian.org/debian stretch Release Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done curl is already the newest version (7.52.1-5+deb9u7). The following additional packages will be installed: git-man liberror-perl patch rsync Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn ed diffutils-doc The following NEW packages will be installed: git git-man liberror-perl patch rsync 0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded. Need to get 6,131 kB of archives. After this operation, 32.0 MB of additional disk space will be used. Get:1 http://ftp.nl.debian.org/debian stretch/main amd64 liberror-perl all 0.17024-1 [26.9 kB] Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 git-man all 1:2.11.0-3+deb9u4 [1,433 kB] Get:3 http://ftp.nl.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+deb9u1 [112 kB] Get:4 http://ftp.nl.debian.org/debian stretch/main amd64 rsync amd64 3.1.2-1+deb9u1 [393 kB] Get:5 http://security.debian.org/debian-security stretch/updates/main amd64 git amd64 1:2.11.0-3+deb9u4 [4,167 kB] Fetched 6,131 kB in 0s (8,179 kB/s) Selecting previously unselected package liberror-perl. (Reading database ... 128854 files and directories currently installed.) Preparing to unpack .../liberror-perl_0.17024-1_all.deb ... Unpacking liberror-perl (0.17024-1) ... Selecting previously unselected package git-man. Preparing to unpack .../git-man_1%3a2.11.0-3+deb9u4_all.deb ... Unpacking git-man (1:2.11.0-3+deb9u4) ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a2.11.0-3+deb9u4_amd64.deb ... Unpacking git (1:2.11.0-3+deb9u4) ... Selecting previously unselected package patch. Preparing to unpack .../patch_2.7.5-1+deb9u1_amd64.deb ... Unpacking patch (2.7.5-1+deb9u1) ... Selecting previously unselected package rsync. Preparing to unpack .../rsync_3.1.2-1+deb9u1_amd64.deb ... Unpacking rsync (3.1.2-1+deb9u1) ... Setting up git-man (1:2.11.0-3+deb9u4) ... Setting up liberror-perl (0.17024-1) ... Setting up rsync (3.1.2-1+deb9u1) ... Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service → /lib/systemd/system/rsync.service. Setting up patch (2.7.5-1+deb9u1) ... Processing triggers for systemd (232-25+deb9u4) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up git (1:2.11.0-3+deb9u4) ... ## Installing the NodeSource Node.js 8.x LTS Carbon repo... ## Populating apt-get cache... + apt-get update Hit:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://ftp.nl.debian.org/debian stretch InRelease Hit:3 http://ftp.nl.debian.org/debian stretch-updates InRelease Hit:4 http://ftp.nl.debian.org/debian stretch Release Reading package lists... Done ## Installing packages required for setup: apt-transport-https... + apt-get install -y apt-transport-https > /dev/null 2>&1 ## Confirming "stretch" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.x/dists/stretch/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js 8.x LTS Carbon repo... + echo 'deb https://deb.nodesource.com/node_8.x stretch main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_8.x stretch main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Hit:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://ftp.nl.debian.org/debian stretch InRelease Hit:3 http://ftp.nl.debian.org/debian stretch-updates InRelease Hit:4 http://ftp.nl.debian.org/debian stretch Release Get:5 https://deb.nodesource.com/node_8.x stretch InRelease [4,647 B] Get:7 https://deb.nodesource.com/node_8.x stretch/main Sources [762 B] Get:8 https://deb.nodesource.com/node_8.x stretch/main amd64 Packages [1,009 B] Fetched 6,418 B in 0s (9,259 B/s) Reading package lists... Done ## Run `sudo apt-get install -y nodejs` to install Node.js 8.x LTS Carbon and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn OK deb https://dl.yarnpkg.com/debian/ stable main Hit:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://ftp.nl.debian.org/debian stretch InRelease Hit:3 http://ftp.nl.debian.org/debian stretch-updates InRelease Hit:4 http://ftp.nl.debian.org/debian stretch Release Get:5 https://dl.yarnpkg.com/debian stable InRelease [13.3 kB] Hit:6 https://deb.nodesource.com/node_8.x stretch InRelease Get:8 https://dl.yarnpkg.com/debian stable/main amd64 Packages [8,057 B] Get:9 https://dl.yarnpkg.com/debian stable/main all Packages [8,057 B] Fetched 29.5 kB in 0s (41.2 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: nodejs yarn 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded. Need to get 14.4 MB of archives. After this operation, 68.8 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_8.x stretch/main amd64 nodejs amd64 8.12.0-1nodesource1 [13.5 MB] Get:2 https://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.12.1-1 [824 kB] Fetched 14.4 MB in 1s (7,713 kB/s) Selecting previously unselected package nodejs. (Reading database ... 129773 files and directories currently installed.) Preparing to unpack .../nodejs_8.12.0-1nodesource1_amd64.deb ... Unpacking nodejs (8.12.0-1nodesource1) ... Selecting previously unselected package yarn. Preparing to unpack .../archives/yarn_1.12.1-1_all.deb ... Unpacking yarn (1.12.1-1) ... Setting up nodejs (8.12.0-1nodesource1) ... Setting up yarn (1.12.1-1) ... Processing triggers for man-db (2.7.6.1-2) ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 17024 100 17024 0 0 64531 0 --:--:-- --:--:-- --:--:-- 64730 install : node-v10.13.0 mkdir : /usr/local/n/versions/node/10.13.0 fetch : https://nodejs.org/dist/v10.13.0/node-v10.13.0-linux-x64.tar.gz ######################################################################## 100.0% installed : v10.13.0 ln: failed to create symbolic link '/usr/local/bin/node': File exists Reading package lists... Done Building dependency tree Reading state information... Done python-minimal is already the newest version (2.7.13-2). git is already the newest version (1:2.11.0-3+deb9u4). The following additional packages will be installed: binutils dpkg-dev fakeroot g++ g++-6 gcc gcc-6 keyutils libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan3 libbfio1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-6-dev libitm1 libjemalloc1 liblsan0 libmpx2 libnfsidmap2 libpng-tools libstdc++-6-dev libtirpc1 libtsan0 libubsan0 libvhdi1 linux-libc-dev make manpages-dev redis-tools rpcbind zlib1g-dev Suggested packages: binutils-doc debian-keyring g++-multilib g++-6-multilib gcc-6-doc libstdc++6-6-dbg gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-6-multilib gcc-6-locales libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc libstdc++-6-doc make-doc open-iscsi watchdog ruby-redis The following NEW packages will be installed: binutils build-essential dpkg-dev fakeroot g++ g++-6 gcc gcc-6 keyutils libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan3 libbfio1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-6-dev libitm1 libjemalloc1 liblsan0 libmpx2 libnfsidmap2 libpng-dev libpng-tools libstdc++-6-dev libtirpc1 libtsan0 libubsan0 libvhdi-utils libvhdi1 linux-libc-dev make manpages-dev nfs-common redis-server redis-tools rpcbind zlib1g-dev 0 upgraded, 43 newly installed, 0 to remove and 1 not upgraded. Need to get 34.6 MB of archives. After this operation, 144 MB of additional disk space will be used. Get:1 http://ftp.nl.debian.org/debian stretch/main amd64 libnfsidmap2 amd64 0.25-5.1 [32.0 kB] Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 linux-libc-dev amd64 4.9.110-3+deb9u6 [1,351 kB] Get:3 http://ftp.nl.debian.org/debian stretch/main amd64 libtirpc1 amd64 0.2.5-1.2 [80.6 kB] Get:4 http://ftp.nl.debian.org/debian stretch/main amd64 binutils amd64 2.28-5 [3,770 kB] Get:5 http://ftp.nl.debian.org/debian stretch/main amd64 libc-dev-bin amd64 2.24-11+deb9u3 [258 kB] Get:6 http://ftp.nl.debian.org/debian stretch/main amd64 libc6-dev amd64 2.24-11+deb9u3 [2,361 kB] Get:7 http://ftp.nl.debian.org/debian stretch/main amd64 libcc1-0 amd64 6.3.0-18+deb9u1 [30.6 kB] Get:8 http://ftp.nl.debian.org/debian stretch/main amd64 libitm1 amd64 6.3.0-18+deb9u1 [27.3 kB] Get:9 http://ftp.nl.debian.org/debian stretch/main amd64 libasan3 amd64 6.3.0-18+deb9u1 [311 kB] Get:10 http://ftp.nl.debian.org/debian stretch/main amd64 liblsan0 amd64 6.3.0-18+deb9u1 [115 kB] Get:11 http://ftp.nl.debian.org/debian stretch/main amd64 libtsan0 amd64 6.3.0-18+deb9u1 [257 kB] Get:12 http://ftp.nl.debian.org/debian stretch/main amd64 libubsan0 amd64 6.3.0-18+deb9u1 [107 kB] Get:13 http://ftp.nl.debian.org/debian stretch/main amd64 libcilkrts5 amd64 6.3.0-18+deb9u1 [40.5 kB] Get:14 http://ftp.nl.debian.org/debian stretch/main amd64 libmpx2 amd64 6.3.0-18+deb9u1 [11.2 kB] Get:15 http://ftp.nl.debian.org/debian stretch/main amd64 libgcc-6-dev amd64 6.3.0-18+deb9u1 [2,296 kB] Get:16 http://ftp.nl.debian.org/debian stretch/main amd64 gcc-6 amd64 6.3.0-18+deb9u1 [6,900 kB] Get:17 http://ftp.nl.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-4 [5,196 B] Get:18 http://ftp.nl.debian.org/debian stretch/main amd64 libstdc++-6-dev amd64 6.3.0-18+deb9u1 [1,420 kB] Get:19 http://ftp.nl.debian.org/debian stretch/main amd64 g++-6 amd64 6.3.0-18+deb9u1 [7,094 kB] Get:20 http://ftp.nl.debian.org/debian stretch/main amd64 g++ amd64 4:6.3.0-4 [1,546 B] Get:21 http://ftp.nl.debian.org/debian stretch/main amd64 make amd64 4.1-9.1 [302 kB] Get:22 http://ftp.nl.debian.org/debian stretch/main amd64 libdpkg-perl all 1.18.25 [1,287 kB] Get:23 http://ftp.nl.debian.org/debian stretch/main amd64 dpkg-dev all 1.18.25 [1,595 kB] Get:24 http://ftp.nl.debian.org/debian stretch/main amd64 build-essential amd64 12.3 [7,346 B] Get:25 http://ftp.nl.debian.org/debian stretch/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB] Get:26 http://ftp.nl.debian.org/debian stretch/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB] Get:27 http://ftp.nl.debian.org/debian stretch/main amd64 keyutils amd64 1.5.9-9 [52.7 kB] Get:28 http://ftp.nl.debian.org/debian stretch/main amd64 libalgorithm-diff-perl all 1.19.03-1 [48.7 kB] Get:29 http://ftp.nl.debian.org/debian stretch/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4+b2 [11.6 kB] Get:30 http://ftp.nl.debian.org/debian stretch/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB] Get:31 http://ftp.nl.debian.org/debian stretch/main amd64 libbfio1 amd64 20160108-1 [312 kB] Get:32 http://ftp.nl.debian.org/debian stretch/main amd64 libfile-fcntllock-perl amd64 0.22-3+b2 [35.3 kB] Get:33 http://ftp.nl.debian.org/debian stretch/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-5 [205 kB] Get:34 http://ftp.nl.debian.org/debian stretch/main amd64 libpng-dev amd64 1.6.28-1 [250 kB] Get:35 http://ftp.nl.debian.org/debian stretch/main amd64 libpng-tools amd64 1.6.28-1 [133 kB] Get:36 http://ftp.nl.debian.org/debian stretch/main amd64 libvhdi1 amd64 20160424-1+deb9u1 [331 kB] Get:37 http://ftp.nl.debian.org/debian stretch/main amd64 libvhdi-utils amd64 20160424-1+deb9u1 [29.0 kB] Get:38 http://ftp.nl.debian.org/debian stretch/main amd64 manpages-dev all 4.10-2 [2,145 kB] Get:39 http://ftp.nl.debian.org/debian stretch/main amd64 rpcbind amd64 0.2.3-0.6 [46.0 kB] Get:40 http://ftp.nl.debian.org/debian stretch/main amd64 nfs-common amd64 1:1.3.4-2.1 [231 kB] Get:41 http://ftp.nl.debian.org/debian stretch/main amd64 libjemalloc1 amd64 3.6.0-9.1 [89.8 kB] Get:42 http://ftp.nl.debian.org/debian stretch/main amd64 redis-tools amd64 3:3.2.6-3+deb9u2 [463 kB] Get:43 http://ftp.nl.debian.org/debian stretch/main amd64 redis-server amd64 3:3.2.6-3+deb9u2 [413 kB] Fetched 34.6 MB in 3s (11.5 MB/s) Extracting templates from packages: 100% Selecting previously unselected package libnfsidmap2:amd64. (Reading database ... 133276 files and directories currently installed.) Preparing to unpack .../00-libnfsidmap2_0.25-5.1_amd64.deb ... Unpacking libnfsidmap2:amd64 (0.25-5.1) ... Selecting previously unselected package libtirpc1:amd64. Preparing to unpack .../01-libtirpc1_0.2.5-1.2_amd64.deb ... Unpacking libtirpc1:amd64 (0.2.5-1.2) ... Selecting previously unselected package binutils. Preparing to unpack .../02-binutils_2.28-5_amd64.deb ... Unpacking binutils (2.28-5) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../03-libc-dev-bin_2.24-11+deb9u3_amd64.deb ... Unpacking libc-dev-bin (2.24-11+deb9u3) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../04-linux-libc-dev_4.9.110-3+deb9u6_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.9.110-3+deb9u6) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../05-libc6-dev_2.24-11+deb9u3_amd64.deb ... Unpacking libc6-dev:amd64 (2.24-11+deb9u3) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../06-libcc1-0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libcc1-0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../07-libitm1_6.3.0-18+deb9u1_amd64.deb ... Unpacking libitm1:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libasan3:amd64. Preparing to unpack .../08-libasan3_6.3.0-18+deb9u1_amd64.deb ... Unpacking libasan3:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../09-liblsan0_6.3.0-18+deb9u1_amd64.deb ... Unpacking liblsan0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../10-libtsan0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libtsan0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libubsan0:amd64. Preparing to unpack .../11-libubsan0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libubsan0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libcilkrts5:amd64. Preparing to unpack .../12-libcilkrts5_6.3.0-18+deb9u1_amd64.deb ... Unpacking libcilkrts5:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../13-libmpx2_6.3.0-18+deb9u1_amd64.deb ... Unpacking libmpx2:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libgcc-6-dev:amd64. Preparing to unpack .../14-libgcc-6-dev_6.3.0-18+deb9u1_amd64.deb ... Unpacking libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package gcc-6. Preparing to unpack .../15-gcc-6_6.3.0-18+deb9u1_amd64.deb ... Unpacking gcc-6 (6.3.0-18+deb9u1) ... Selecting previously unselected package gcc. Preparing to unpack .../16-gcc_4%3a6.3.0-4_amd64.deb ... Unpacking gcc (4:6.3.0-4) ... Selecting previously unselected package libstdc++-6-dev:amd64. Preparing to unpack .../17-libstdc++-6-dev_6.3.0-18+deb9u1_amd64.deb ... Unpacking libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package g++-6. Preparing to unpack .../18-g++-6_6.3.0-18+deb9u1_amd64.deb ... Unpacking g++-6 (6.3.0-18+deb9u1) ... Selecting previously unselected package g++. Preparing to unpack .../19-g++_4%3a6.3.0-4_amd64.deb ... Unpacking g++ (4:6.3.0-4) ... Selecting previously unselected package make. Preparing to unpack .../20-make_4.1-9.1_amd64.deb ... Unpacking make (4.1-9.1) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../21-libdpkg-perl_1.18.25_all.deb ... Unpacking libdpkg-perl (1.18.25) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../22-dpkg-dev_1.18.25_all.deb ... Unpacking dpkg-dev (1.18.25) ... Selecting previously unselected package build-essential. Preparing to unpack .../23-build-essential_12.3_amd64.deb ... Unpacking build-essential (12.3) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../24-libfakeroot_1.21-3.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-3.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../25-fakeroot_1.21-3.1_amd64.deb ... Unpacking fakeroot (1.21-3.1) ... Selecting previously unselected package keyutils. Preparing to unpack .../26-keyutils_1.5.9-9_amd64.deb ... Unpacking keyutils (1.5.9-9) ... Selecting previously unselected package libalgorithm-diff-perl. Preparing to unpack .../27-libalgorithm-diff-perl_1.19.03-1_all.deb ... Unpacking libalgorithm-diff-perl (1.19.03-1) ... Selecting previously unselected package libalgorithm-diff-xs-perl. Preparing to unpack .../28-libalgorithm-diff-xs-perl_0.04-4+b2_amd64.deb ... Unpacking libalgorithm-diff-xs-perl (0.04-4+b2) ... Selecting previously unselected package libalgorithm-merge-perl. Preparing to unpack .../29-libalgorithm-merge-perl_0.08-3_all.deb ... Unpacking libalgorithm-merge-perl (0.08-3) ... Selecting previously unselected package libbfio1. Preparing to unpack .../30-libbfio1_20160108-1_amd64.deb ... Unpacking libbfio1 (20160108-1) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../31-libfile-fcntllock-perl_0.22-3+b2_amd64.deb ... Unpacking libfile-fcntllock-perl (0.22-3+b2) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../32-zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Selecting previously unselected package libpng-dev:amd64. Preparing to unpack .../33-libpng-dev_1.6.28-1_amd64.deb ... Unpacking libpng-dev:amd64 (1.6.28-1) ... Selecting previously unselected package libpng-tools. Preparing to unpack .../34-libpng-tools_1.6.28-1_amd64.deb ... Unpacking libpng-tools (1.6.28-1) ... Selecting previously unselected package libvhdi1:amd64. Preparing to unpack .../35-libvhdi1_20160424-1+deb9u1_amd64.deb ... Unpacking libvhdi1:amd64 (20160424-1+deb9u1) ... Selecting previously unselected package libvhdi-utils. Preparing to unpack .../36-libvhdi-utils_20160424-1+deb9u1_amd64.deb ... Unpacking libvhdi-utils (20160424-1+deb9u1) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../37-manpages-dev_4.10-2_all.deb ... Unpacking manpages-dev (4.10-2) ... Selecting previously unselected package rpcbind. Preparing to unpack .../38-rpcbind_0.2.3-0.6_amd64.deb ... Unpacking rpcbind (0.2.3-0.6) ... Selecting previously unselected package nfs-common. Preparing to unpack .../39-nfs-common_1%3a1.3.4-2.1_amd64.deb ... Unpacking nfs-common (1:1.3.4-2.1) ... Selecting previously unselected package libjemalloc1. Preparing to unpack .../40-libjemalloc1_3.6.0-9.1_amd64.deb ... Unpacking libjemalloc1 (3.6.0-9.1) ... Selecting previously unselected package redis-tools. Preparing to unpack .../41-redis-tools_3%3a3.2.6-3+deb9u2_amd64.deb ... Unpacking redis-tools (3:3.2.6-3+deb9u2) ... Selecting previously unselected package redis-server. Preparing to unpack .../42-redis-server_3%3a3.2.6-3+deb9u2_amd64.deb ... Unpacking redis-server (3:3.2.6-3+deb9u2) ... Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ... Setting up make (4.1-9.1) ... Setting up libasan3:amd64 (6.3.0-18+deb9u1) ... Setting up libnfsidmap2:amd64 (0.25-5.1) ... Setting up libjemalloc1 (3.6.0-9.1) ... Setting up libcilkrts5:amd64 (6.3.0-18+deb9u1) ... Setting up libpng-tools (1.6.28-1) ... Setting up libubsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libtsan0:amd64 (6.3.0-18+deb9u1) ... Setting up linux-libc-dev:amd64 (4.9.110-3+deb9u6) ... Setting up libdpkg-perl (1.18.25) ... Setting up keyutils (1.5.9-9) ... Setting up libbfio1 (20160108-1) ... Setting up liblsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libfile-fcntllock-perl (0.22-3+b2) ... Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Setting up libtirpc1:amd64 (0.2.5-1.2) ... Setting up libfakeroot:amd64 (1.21-3.1) ... Processing triggers for systemd (232-25+deb9u4) ... Setting up libalgorithm-diff-perl (1.19.03-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up binutils (2.28-5) ... Setting up libc-dev-bin (2.24-11+deb9u3) ... Setting up manpages-dev (4.10-2) ... Setting up libc6-dev:amd64 (2.24-11+deb9u3) ... Setting up libitm1:amd64 (6.3.0-18+deb9u1) ... Setting up rpcbind (0.2.3-0.6) ... Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /lib/systemd/system/rpcbind.service. Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /lib/systemd/system/rpcbind.socket. Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Setting up libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ... Setting up redis-tools (3:3.2.6-3+deb9u2) ... Setting up libvhdi1:amd64 (20160424-1+deb9u1) ... Setting up libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ... Setting up nfs-common (1:1.3.4-2.1) ... Creating config file /etc/idmapd.conf with new version Adding system user `statd' (UID 118) ... Adding new user `statd' (UID 118) with group `nogroup' ... Not creating home directory `/var/lib/nfs'. Created symlink /etc/systemd/system/multi-user.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target. Created symlink /etc/systemd/system/remote-fs.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target. nfs-utils.service is a disabled or a static unit, not starting it. Setting up libvhdi-utils (20160424-1+deb9u1) ... Setting up fakeroot (1.21-3.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up gcc-6 (6.3.0-18+deb9u1) ... Setting up g++-6 (6.3.0-18+deb9u1) ... Setting up libalgorithm-merge-perl (0.08-3) ... Setting up dpkg-dev (1.18.25) ... Setting up libalgorithm-diff-xs-perl (0.04-4+b2) ... Setting up libpng-dev:amd64 (1.6.28-1) ... Setting up redis-server (3:3.2.6-3+deb9u2) ... Created symlink /etc/systemd/system/redis.service → /lib/systemd/system/redis-server.service. Created symlink /etc/systemd/system/multi-user.target.wants/redis-server.service → /lib/systemd/system/redis-server.service. Setting up gcc (4:6.3.0-4) ... Setting up g++ (4:6.3.0-4) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up build-essential (12.3) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u4) ... Cloning into 'xen-orchestra'... remote: Enumerating objects: 116, done. remote: Counting objects: 100% (116/116), done. remote: Compressing objects: 100% (83/83), done. remote: Total 65522 (delta 56), reused 66 (delta 33), pack-reused 65406 Receiving objects: 100% (65522/65522), 29.71 MiB | 2.39 MiB/s, done. Resolving deltas: 100% (43775/43775), done. yarn install v1.12.1 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... info fsevents@1.2.4: The platform "linux" is incompatible with this module. info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation. [4/5] Linking dependencies... [5/5] Building fresh packages... [6/9] ⡀ leveldown [-/9] ⡀ waiting... [-/9] ⢀ waiting... [-/9] ⢀ waiting... error /opt/xen-orchestra/node_modules/level-party/node_modules/leveldown: Command failed. Exit code: 1 Command: prebuild-install || node-gyp rebuild Arguments: Directory: /opt/xen-orchestra/node_modules/level-party/node_modules/leveldown Output: prebuild-install WARN install No prebuilt binaries found (target=10.13.0 runtime=node arch=x64 platform=linux) gyp info it worked if it ends with ok gyp info using node-gyp@3.8.0 gyp info using node@10.13.0 | linux | x64 gyp http GET https://nodejs.org/download/release/v10.13.0/node-v10.13.0-headers.tar.gz gyp http 200 https://nodejs.org/download/release/v10.13.0/node-v10.13.0-headers.tar.gz gyp http GET https://nodejs.org/download/release/v10.13.0/SHASUMS256.txt gyp http 200 https://nodejs.org/download/release/v10.13.0/SHASUMS256.txt gyp info spawn /usr/bin/python2 gyp info spawn args [ '/opt/xen-orchestra/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/opt/xen-orchestra/node_modules/level-party/node_modules/leveldown/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/opt/xen-orchestra/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/root/.node-gyp/10.13.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/10.13.0', gyp info spawn args '-Dnode_gyp_dir=/opt/xen-orchestra/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/root/.node-gyp/10.13.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/opt/xen-orchestra/node_modules/level-party/node_modules/leveldown', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make: Entering directory '/opt/xen-orchestra/node_modules/level-party/node_modules/leveldown/build' CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/builder.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/db_impl.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/db_iter.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/filename.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/dbformat.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/log_reader.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/log_writer.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/memtable.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/repair.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/table_cache.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/version_edit.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/version_set.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/db/write_batch.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/helpers/memenv/memenv.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/port/port_posix_sse.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/block.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/block_builder.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/filter_block.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/format.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/iterator.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/merger.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/table.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/table_builder.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/table/two_level_iterator.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/arena.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/bloom.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/cache.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/coding.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/comparator.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/crc32c.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/env.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/filter_policy.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/hash.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/logging.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/options.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/status.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/port/port_posix.o CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.20/util/env_posix.o AR(target) Release/obj.target/deps/leveldb/leveldb.a COPY Release/leveldb.a CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.4/snappy-sinksource.o CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.4/snappy-stubs-internal.o CXX(target) Release/obj.target/snappy/deps/snappy/snappy-1.1.4/snappy.o AR(target) Release/obj.target/deps/snappy/snappy.a COPY Release/snappy.a CXX(target) Release/obj.target/leveldown/src/batch.o In file included from ../../nan/nan.h:192:0, from ../src/batch.cc:3: ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
^~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:198,
from ../src/batch.cc:3:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’:
../../nan/nan_implementation_12_inl.h:337:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
return v8::StringObject::New(value).As();
^
In file included from /root/.node-gyp/10.13.0/include/node/v8.h:26:0,
from /root/.node-gyp/10.13.0/include/node/node.h:63,
from ../src/batch.cc:1:
/root/.node-gyp/10.13.0/include/node/v8.h:5053:37: note: declared here
static Local New(Local value));
^
/root/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’:
../../nan/nan.h:835:60: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../src/batch.cc:1:0:
/root/.node-gyp/10.13.0/include/node/node.h:176:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^
/root/.node-gyp/10.13.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’:
../../nan/nan.h:850:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../src/batch.cc:1:0:
/root/.node-gyp/10.13.0/include/node/node.h:169:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^
/root/.node-gyp/10.13.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)’:
../../nan/nan.h:865:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, const char*, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../src/batch.cc:1:0:
/root/.node-gyp/10.13.0/include/node/node.h:162:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^
/root/.node-gyp/10.13.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’:
../../nan/nan.h:911:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local string = from->ToString();
^
In file included from /root/.node-gyp/10.13.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/root/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here
Local Value::ToString() const {
^~~~~
In file included from ../src/batch.cc:3:0:
../../nan/nan.h:921:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
length_ = string->WriteUtf8(str_, static_cast(len), 0, flags);
^
In file included from /root/.node-gyp/10.13.0/include/node/v8.h:26:0,
from /root/.node-gyp/10.13.0/include/node/node.h:63,
from ../src/batch.cc:1:
/root/.node-gyp/10.13.0/include/node/v8.h:2659:21: note: declared here
int WriteUtf8(char* buffer, int length = -1,
^
/root/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/batch.cc:3:0:
../../nan/nan.h: In member function ‘v8::Local Nan::Callback::Call_(v8::Isolate*, v8::Local, int, v8::Local*) const’:
../../nan/nan.h:1479:5: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
));
^
In file included from ../src/batch.cc:1:0:
/root/.node-gyp/10.13.0/include/node/node.h:176:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^
/root/.node-gyp/10.13.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
__attribute__((deprecated(message))) declarator
^~~~~~~~~~
In file included from ../src/database.h:18:0,
from ../src/batch.cc:5:
../src/leveldown.h: In function ‘size_t StringOrBufferLength(v8::Local)’:
../src/leveldown.h:16:26: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return (!obj->ToObject().IsEmpty()
^
In file included from /root/.node-gyp/10.13.0/include/node/node.h:63:0,
from ../src/batch.cc:1:
/root/.node-gyp/10.13.0/include/node/v8.h:10046:15: note: declared here
Local