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

CentOS7 build : hash mismatch #1226

Open
nyue opened this issue Jan 6, 2023 · 1 comment
Open

CentOS7 build : hash mismatch #1226

nyue opened this issue Jan 6, 2023 · 1 comment

Comments

@nyue
Copy link

nyue commented Jan 6, 2023

I followed the instruction to build via the

env ARCH=x86_64 bash ci/build.sh 

However, right at the end, there was an error about hash mismatch

Embedding ELF...
Marking the AppImage as executable...
Embedding MD5 digest
Success

Please consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at https://github.com/AppImage/appimage.github.io
Hash 901b2337256401eb5470e1026407cce44466fe854e4a54b4a4966cf5ceb9976e doesn't match hash 1e66329ade679a98dbd24cd79bb3877686d9551d052a5b7501d6e38a6e42c559!
Test run failed: error in line 118
+ cleanup
+ '[' -d /tmp/AppImageKit-build-tH5ZmC ']'
+ rm -rf /tmp/AppImageKit-build-tH5ZmC

and there was no output written to the out/ directory

Anyone else encountered this before ?

@probonopd
Copy link
Member

It's coming from this test:

log "check whether AppImages built from the exact same AppDir are the same files (reproducible builds, #625)"
"$appimagetool" appimagetool.AppDir appimagetool.AppImage.1
"$appimagetool" appimagetool.AppDir appimagetool.AppImage.2
hash1=$(sha256sum appimagetool.AppImage.1 | awk '{print $1}')
hash2=$(sha256sum appimagetool.AppImage.2 | awk '{print $1}')
if [ "$hash1" != "$hash2" ]; then
echo "Hash $hash1 doesn't match hash $hash2!"
exit 1
fi

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

2 participants