



















Getting ERROR: One or more files did not pass the validity check!.
==> Validating source files with md5sums...
firebase-tools-linux-14.4.0 ... FAILED
LICENSE-14.4.0 ... Passed
==> ERROR: One or more files did not pass the validity check!
$ md5sum firebase-tools-linux-14.4.0
38df06438e3c9c386cdf6b33a2b08d80 firebase-tools-linux-14.4.0
$ md5sum LICENSE-14.4.0
6ea8f4d1de9a164d33ffe95483a58af4 LICENSE-14.4.0
Facing an issue where starting the emulator causes it to crash if the UI option is enabled.
Console message:
⚠ ui: Fatal error occurred:
Emulator UI has exited with code: 1,
stopping all running emulators
ui.log file $ cat ui-debug.log
node:internal/modules/cjs/loader:986
throw new ERR_REQUIRE_ESM(filename, true);
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/sbeve72/.cache/firebase/emulators/ui-v1.12.1/server/server.mjs not supported.
Instead change the require of /home/sbeve72/.cache/firebase/emulators/ui-v1.12.1/server/server.mjs to a dynamic import() which is available in all CommonJS modules.
at Function.runMain (pkg/prelude/bootstrap.js:1979:12) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.5.0
Ok after quick IRC session I've managed to fix this by disabling debug option in makepkg.conf. Apparently makepkg is currently broken, not the PKGBUILD. For silikeite the fix was the cached version of the package and not the old PKGBUILD (that also doesn't work). Here are my options:
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)
Here is the upstream issue: https://gitlab.archlinux.org/pacman/pacman/-/issues/114
I'm getting the same error: Pkg: Error reading from file
It's extremely wired as there's not much that is being done in the PKGBUILD. But what I eventually got to, is that the final binary is simply broken. I've got no idea why is this happening.
In the end I'm getting such binary:
du -sh /usr/bin/firebase
45M /usr/bin/firebase
md5sum /usr/bin/firebase
202b972b9ab7d3082f3e69457427d1b2 /usr/bin/firebase
I've tried building with makepkg, with paru and even without compression cause I thought that maybe compression is the issue here. I always end up with the same result. Is it possible that the line:
install -Dm755 "${binPath}" "${pkgdir}/usr/bin/firebase"
is responsible for this? I've updated the system like twice ans still getting the same result. Really no idea where this is coming from...
Getting Pkg: Error reading from file from 13.5.1-1. Reverting to 13.5.0-1 fixes this issue, so I assume this is a regression in the PKGBUILD?
Please consider reusing pkgver value down in the script.
Thank you for feedback. I append deps now.
Please add glibc and gcc-libs to depends.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Yea not sure why that's not matching but the sums were off, I adjusted mine manually to the below to fetch the latest release, but @attakei will have to adjust the overall PKGBUILD as that md5sum seems to have been broken after the last update on 7/31.