FS#74164 - [apm] Not working at all, breaks Atom editor, throws ERR_DLOPEN_FAILED
Attached to Project:
Community Packages
Opened by Caleb Maclennan (alerque) - Saturday, 19 March 2022, 09:01 GMT
Last edited by Caleb Maclennan (alerque) - Wednesday, 30 March 2022, 10:45 GMT
Opened by Caleb Maclennan (alerque) - Saturday, 19 March 2022, 09:01 GMT
Last edited by Caleb Maclennan (alerque) - Wednesday, 30 March 2022, 10:45 GMT
|
Details
A fresh install of Atom (currently 1.58.0) produced a
working editor (can open and edit files) with completely
broken settings (the packages/theme/install sections just
hang indefinitely).
Looking into it a bit Atom was throwing errors using apm, so I tried running it manually and got the same error ```console $ apm node:internal/modules/cjs/loader:1187 return process.dlopen(module, path.toNamespacedPath(filename)); ^ Error: /usr/lib/node_modules/atom-package-manager/node_modules/git-utils/build/Release/git.node: undefined symbol: _ZN2v812api_internal12ToLocalEmptyEv at Object.Module._extensions..node (node:internal/modules/cjs/loader:1187:18) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/src/git.js:3:22) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) { code: 'ERR_DLOPEN_FAILED' } ``` |
This task depends upon
Closed by Caleb Maclennan (alerque)
Wednesday, 30 March 2022, 10:45 GMT
Reason for closing: Fixed
Additional comments about closing: apm-2.6.5-1
Wednesday, 30 March 2022, 10:45 GMT
Reason for closing: Fixed
Additional comments about closing: apm-2.6.5-1

This is because the upstream git-utils dependency (developed by
Atom) is not compatible with Arch's system libgit2 any more. I'm
temporarily rebuilding this package without the devendoring for
libgit2 until that is fixed. Upstream bug filed here:
https://github.com/atom/git-utils/issues/115