void-linux / void-linux/void-packages

Checksum Mismatch when Compiling Package from Source

Open
#50,184 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Anydesk package under srcpkgs/anydesk and reproduce the failure using ./xbps-src pkg after cloning void-packages. Compare the reported source checksum with the package template and verify that the package builds successfully without a checksum mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.