Closed selfisekai closed 1 year ago
It looks like Alpine Edge (temporarily?) switched to using an unstable version of musl last week:
https://gitlab.alpinelinux.org/alpine/aports/-/commit/bd758e828afaa840262f174077c151cd9c5ded04
The underscore in the version identifier means it no longer semver-valid.
Perhaps you could ask upstream if Alpine might consider using a +
to separate build information instead, e.g. 1.2.3+git20230411
? Otherwise I'll need to address this in detect-libc.
it would be incompatible with both abuild and apk-tools schemes. https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver
afaik the goal for 3.18 release is to bump it up to 1.2.4, so it's just the current edge being affected
I think I'd just do .replace('_', '+')
on the version
v0.32.1 now available, which now attempts to coerce the libc version into semver compliance. Thanks for reporting this.
the version in the error log is the version of musl that is currently deployed on edge only. works without using prebuilds (after
apk add vips-dev
)Possible install-time or require-time problem
npm install
is the same as the architecture and platform of Node.js used at runtime.Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of
sharp
that is not the latest, please open an issue against that package instead.Is this a problem with filesystem permissions?
no
What is the complete output of running
npm install --verbose --foreground-scripts sharp
in an empty directory?What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?