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

Checksum Mismatch when Compiling Package from Source #50184

Open
rad1914 opened this issue May 3, 2024 · 5 comments
Open

Checksum Mismatch when Compiling Package from Source #50184

rad1914 opened this issue May 3, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@rad1914
Copy link

rad1914 commented May 3, 2024

Is this a new report?

Yes

System Info

Void 6.6.29_1 x86_64 Genuine Intel uptodate FF

Package(s) Affected

Anydesk

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

The expected outcome is that the compilation process for the Anydesk package completes successfully without encountering any checksum mismatch errors. This would allow the package to be built from source and installed on the Void Linux system. However, despite attempts to address the issue by editing the Anydesk template build script, the problem persists. It is suspected that the checksum mismatch error may be due to deprecated package checksums or outdated file versions.

Actual behaviour

When attempting to compile the Anydesk package from source using the xbps-src pkg command, the compilation process halts due to a checksum mismatch error. Specifically, the checksum of one or more source files does not match the expected value, causing the compilation to fail. As a result, the Anydesk package cannot be successfully built from source, preventing its installation on the Void Linux system.

Steps to reproduce

  1. Clone the void-packages repository: git clone https://github.com/void-linux/void-packages.git
  2. Navigate to the Anydesk package directory: cd void-packages/srcpkgs/anydesk
  3. Run the xbps-src command to compile the Anydesk package from source: ./xbps-src pkg
  4. Observe the checksum mismatch error during the compilation process.
@rad1914 rad1914 added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels May 3, 2024
@classabbyamp
Copy link
Member

the distfile appears to be 404ing now: https://download.anydesk.com/linux/anydesk_6.3.0-1_amd64.deb

probably just needs to be updated to the latest version

cc: @mobinmob

@classabbyamp classabbyamp removed the needs-testing Testing a PR or reproducing an issue needed label May 4, 2024
@rad1914
Copy link
Author

rad1914 commented May 4, 2024

Hi, I attempted to update the Anydesk package locally by modifying the template with the latest package URLs (https://download.anydesk.com/linux/anydesk-6.3.2-amd64.tar.gz). However, I encountered difficulties with the checksums of the files, even after using the new ones from the summary.

Could you please advise if there is anything I can do on my end to assist with resolving this issue, or if we need to wait for further updates from the source packages?

Thank you.

@classabbyamp
Copy link
Member

use xgensum -i from xtools

@MIvanchev
Copy link
Contributor

Keep in mind this will not work because currently Anydesk's versions for RPI and x64 do not match; no idea how to deal with this.

@mobinmob
Copy link
Contributor

Keep in mind this will not work because currently Anydesk's versions for RPI and x64 do not match; no idea how to deal with this.

I am just going to send a PR for the x86_64 only...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants