lzma-native: M1 support broken since v8.0.1
Hello,
I’m using this library at https://github.com/microlinkhq/ffprobe
I noted some of the last versions are missing; also, the latest version published is broken in some way I not fully understand.
Here is the way to reproduce the problem:
npm i lzma-native@8.0.5 && npm run postinstall
up to date in 874ms
> @microlink/ffprobe@1.0.2 postinstall
> node scripts/postinstall.js
dyld[52834]: missing symbol called
fish: Job 1, 'npm run postinstall' terminated by signal SIGABRT (Abort)
~/Projects/microlink/ffprobe master*
❯ npm i lzma-native@8.0.4 && npm run postinstall
npm ERR! code ETARGET
npm ERR! notarget No matching version found for lzma-native@8.0.4.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/kikobeats/.npm/_logs/2022-01-17T11_47_43_916Z-debug.log
~/Projects/microlink/ffprobe master*
❯ npm i lzma-native@8.0.3 && npm run postinstall
npm ERR! code ETARGET
npm ERR! notarget No matching version found for lzma-native@8.0.3.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/kikobeats/.npm/_logs/2022-01-17T11_47_50_145Z-debug.log
~/Projects/microlink/ffprobe master*
❯ npm i lzma-native@8.0.2 && npm run postinstall
npm ERR! code ETARGET
npm ERR! notarget No matching version found for lzma-native@8.0.2.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/kikobeats/.npm/_logs/2022-01-17T11_47_53_700Z-debug.log
~/Projects/microlink/ffprobe master*
❯ npm i lzma-native@8.0.1 && npm run postinstall
changed 1 package in 19s
> @microlink/ffprobe@1.0.2 postinstall
> node scripts/postinstall.js
# exit with 0 in this case, all fine
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 5
- Comments: 15 (6 by maintainers)
Commits related to this issue
- fix: lock lzma-native version until the following issue is resolved: https://github.com/addaleax/lzma-native/issues/127 — committed to microlinkhq/ffprobe by Kikobeats 2 years ago
- build: fix dyld load error on Apple Silicon (#128) Fixes: https://github.com/addaleax/lzma-native/issues/127 — committed to addaleax/lzma-native by tylinux 2 years ago
Any update? 😥
Is there any chance of this getting fixed?
In case you want to replicate in your end, if you have a M1 laptop just:
and you can see the crash