FS#77486 - [protobuf] sha512sum mismatch when trying to build

Attached to Project: Arch Linux
Opened by TasosSah (tasossah) - Monday, 13 February 2023, 20:46 GMT
Last edited by Antonio Rojas (arojas) - Monday, 13 February 2023, 21:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Attempting to build the protobuf package (21.12-1) with makepkg results in ERROR: One or more files did not pass the validity check!.

The patch fetched from GitHub (101b6199.patch) has a different sha512sum than what is expected in the PKGBUILD.

$ sha512sum 101b6199.patch
acc38a761cb164caf4c9fcb6181be999ce95899658cefd3253f6104c13265a595bb5e671b9df959ac88d2044f8c21f1e29796e9f7a772291b44d2eaab7723645 101b6199.patch

but according to the sha512sums array, 63a56d6ba2bd452ef5380eca4ec5e294a395a6dae95fbe3ae28ee6bceb601450e234a2052b1df010c9cea008b8d03176ffd08fa62a66bf5e7af64c9829e788c8 is expected instead.

The package builds correctly after inspecting the patch and changing the sha512sum in the PKGBUILD.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 13 February 2023, 21:00 GMT
Reason for closing:  Fixed