@Mark-C Hi Mark,
Thanks for all the trouble, I tried to replicate your steps but unfortunately without success.
[root@xo-admin ~]# cd /opt
[root@xo-admin opt]# git clone https://github.com/vatesfr/xen-orchestra
Cloning into 'xen-orchestra'...
remote: Enumerating objects: 120119, done.
remote: Counting objects: 100% (3260/3260), done.
remote: Compressing objects: 100% (1430/1430), done.
remote: Total 120119 (delta 2274), reused 2458 (delta 1787), pack-reused 116859
Receiving objects: 100% (120119/120119), 63.88 MiB | 39.84 MiB/s, done.
Resolving deltas: 100% (86372/86372), done.
[root@xo-admin opt]# mkdir /usr/local/build && cd /usr/local/build
[root@xo-admin build]# git clone https://github.com/sagemathinc/fuse-native
Cloning into 'fuse-native'...
remote: Enumerating objects: 409, done.
remote: Counting objects: 100% (409/409), done.
remote: Compressing objects: 100% (160/160), done.
remote: Total 409 (delta 259), reused 396 (delta 246), pack-reused 0
Receiving objects: 100% (409/409), 150.36 KiB | 6.26 MiB/s, done.
Resolving deltas: 100% (259/259), done.
[root@xo-admin build]# cp -a fuse-native fuse-native.orig
[root@xo-admin build]# vim fuse-native/package.json
[root@xo-admin build]# diff -u fuse-native.orig fuse-native
Common subdirectories: fuse-native.orig/.git and fuse-native/.git
diff -u fuse-native.orig/package.json fuse-native/package.json
--- fuse-native.orig/package.json 2023-10-23 18:51:45.481550145 +0000
+++ fuse-native/package.json 2023-10-23 18:57:55.147358162 +0000
@@ -1,6 +1,6 @@
{
- "name": "@cocalc/fuse-native",
- "version": "2.4.0",
+ "name": "fuse-native",
+ "version": "2.2.6",
"description": "Node.js bindings for the FUSE api (Filesystem in Userspace)",
"main": "index.js",
"bin": {
@@ -28,7 +28,7 @@
},
"repository": {
"type": "git",
- "url": "https://github.com/sagemathinc/fuse-native.git"
+ "url": "https://github.com/fuse-friends/fuse-native.git"
},
"author": {
"name": "William Stein (SageMath, Inc.)",
@@ -44,7 +44,7 @@
"author": " ()",
"license": "MIT",
"bugs": {
- "url": "https://github.com/sagemathinc/fuse-native/issues"
+ "url": "https://github.com/fuse-friends/fuse-native/issues"
},
- "homepage": "https://github.com/sagemathinc/fuse-native"
+ "homepage": "https://github.com/fuse-friends/fuse-native"
}
Common subdirectories: fuse-native.orig/test and fuse-native/test
[root@xo-admin build]# cp -a fuse-native /opt/xen-orchestra && cd /opt/xen-orchestra/fuse-native
[root@xo-admin fuse-native]# yarn link
yarn link v1.22.19
success Registered "fuse-native".
info You can now run `yarn link "fuse-native"` in the projects where you want to use this package and it will be used instead.
Done in 0.07s.
[root@xo-admin fuse-native]# cd ..
[root@xo-admin xen-orchestra]# yarn link fuse-native
yarn link v1.22.19
success Using linked package for "fuse-native".
Done in 0.06s.
[root@xo-admin xen-orchestra]# yarn
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning "workspace-aggregator-a38c624e-a713-4a04-9b77-b644fa3bdb45 > @vates/node-vsphere-soap > soap@1.0.0" has incorrect peer dependency "axios@^0.27.2".
warning Workspaces can only be enabled in private projects.
[5/5] Building fresh packages...
[6/19] ⠐ vue-demi
[2/19] ⠐ highlight.js
[3/19] ⠐ esbuild
[4/19] ⠐ fuse-native
error /opt/xen-orchestra/node_modules/fuse-native: Command failed.
Exit code: 1
Command: node-gyp-build
Arguments:
Directory: /opt/xen-orchestra/node_modules/fuse-native
Output:
node:events:495
throw er; // Unhandled 'error' event
^
Error: spawn node-gyp ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:284:19)
at onErrorNT (node:internal/child_process:477:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:290:12)
at onErrorNT (node:internal/child_process:477:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn node-gyp',
path: 'node-gyp',
spawnargs: [ 'rebuild' ]
[root@xo-admin xen-orchestra]#
The instance is an ARM based instance on Oracle Cloud Infrastructure running
[root@xo-admin xen-orchestra]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:8:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.8
Cheers