Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#0 8.968 failed to verify the checksum of jpegxl-rs v0.8.1+libjxl-0.8.1 #20

Closed
xxai-arter opened this issue Apr 7, 2023 · 10 comments
Closed

Comments

@xxai-arter
Copy link

#0 8.968 failed to verify the checksum of jpegxl-rs v0.8.1+libjxl-0.8.1

use 0.8.0 is ok
image

@inflation
Copy link
Owner

Just tried and it works fine. Maybe clear the cache and try again?

@wacdev
Copy link

wacdev commented Apr 7, 2023

image

I use docker with alpine , everytime this error, I lock version to 0.8.0 then ok

@wacdev
Copy link

wacdev commented Apr 7, 2023

image

use 0.8.0 can compile

but when I try to enable vendored, in docker alpine this error happend


#0 89.79   [ 82%] Built target jxl_dec-obj
#0 89.79
#0 89.79   --- stderr
#0 89.79   Warning: HWY_SVE, HWY_SVE2, HWY_SVE_256, HWY_SVE2_128 and HWY_RVV CPU targets are disabled
#0 89.79   CMake Deprecation Warning at third_party/brotli/CMakeLists.txt:5 (cmake_minimum_required):
#0 89.79     Compatibility with CMake < 2.8.12 will be removed from a future version of
#0 89.79     CMake.
#0 89.79
#0 89.79     Update the VERSION argument <min> value or use a ...<max> suffix to tell
#0 89.79     CMake that the project does not need compatibility with older versions.
#0 89.79
#0 89.79
#0 89.79   -- Compiler is not EMSCRIPTEN
#0 89.79   CMake Warning:
#0 89.79     Manually-specified variables were not used by the project:
#0 89.79
#0 89.79       CMAKE_ASM_COMPILER
#0 89.79       CMAKE_ASM_FLAGS
#0 89.79
#0 89.79
#0 89.79   make: warning: -j6 forced in submake: resetting jobserver mode.
#0 89.79   Config: emu128:0 scalar:0 static:0 all_attain:0 is_test:0
#0 89.79   Compiled HWY_TARGETS:   NEON
#0 89.79   HWY_ATTAINABLE_TARGETS: NEON SCALAR
#0 89.79   HWY_BASELINE_TARGETS:   NEON SCALAR
#0 89.79   HWY_STATIC_TARGET:      NEON
#0 89.79   HWY_BROKEN_TARGETS:
#0 89.79   HWY_DISABLED_TARGETS:   SVE2_128 SVE_256 SVE2 SVE Unknown
#0 89.79   Current CPU supports:   NEON EMU128 SCALAR
#0 89.79   /usr/lib/gcc/aarch64-alpine-linux-musl/10.3.1/../../../../aarch64-alpine-linux-musl/bin/ld: attempted static link of dynamic object `libbrotlicommon.so.1.0.7'
#0 89.79   collect2: error: ld returned 1 exit status
#0 89.79   make[2]: *** [third_party/brotli/CMakeFiles/brotlienc.dir/build.make:370: third_party/brotli/libbrotlienc.so.1.0.7] Error 1
#0 89.79   make[1]: *** [CMakeFiles/Makefile2:412: third_party/brotli/CMakeFiles/brotlienc.dir/all] Error 2
#0 89.79   make[1]: *** Waiting for unfinished jobs....
#0 89.79   make: *** [Makefile:146: all] Error 2
#0 89.79   thread 'main' panicked at '
#0 89.79   command did not execute successfully, got: exit status: 2
#0 89.79
#0 89.79   build script failed, must exit now', /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5
#0 89.79   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
#0 89.79 warning: build failed, waiting for other jobs to finish...
------
ERROR: failed to solve: executor failed running [/bin/sh -c source $HOME/.cargo/env &&   sed -i '/^jpegxl-rs/s/^/# /' Cargo.toml &&  echo -e "\n[dependencies.jpegxl-rs]\nversion=\"=0.8.0\"\nfeatures=[\"vendored\
"]\n[dependencies.jpegxl-sys]\nversion=\"=0.8.0\"" >> Cargo.toml &&  ./dist.sh]: exit code: 101

@inflation
Copy link
Owner

@wacdev This is a different issue. Let's discuss it in another place.

@wacdev
Copy link

wacdev commented Apr 7, 2023

error see #21

git clone [email protected]:wacdev/rust.git
./rust/img/docker.build.sh

and remove this line is Dockerfile

echo -e "\n[dependencies.jpegxl-rs]\nversion=\"=0.8.0\"\nfeatures=[\"vendored\"]\n[dependencies.jpegxl-sys]\nversion=\"=0.8.0\"" >> Cargo.toml &&\

will see checksum error

@wacdev
Copy link

wacdev commented Apr 8, 2023

@inflation
Copy link
Owner

failed to download replaced source registry crates-io

Are you using a mirror?

@wacdev
Copy link

wacdev commented Apr 8, 2023

not use mirror
in my m2 mac 0.8.1 is ok
in linux this error

@inflation
Copy link
Owner

inflation commented Apr 10, 2023

I guess this could be related to the GitHub checksum change. Just published a new version 0.8.2-alpha and it works on Linux. Please see if this solves the issue.

@gageberz
Copy link

gageberz commented May 12, 2023

7180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants