==> Making package: freedownloadmanager 6.23.0.5754-2 (Wed 26 Jun 2024 11:29:53 PM +0330)
==> Retrieving sources...
-> Found freedownloadmanager.deb
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
freedownloadmanager.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!
-> error downloading sources: /home/parsa/.cache/yay/freedownloadmanager
context: exit status 1
:: (1/1) Parsing SRCINFO: freedownloadmanager
==> Making package: freedownloadmanager 6.23.0.5754-2 (Wed 26 Jun 2024 11:29:54 PM +0330)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found freedownloadmanager.deb
==> Validating source files with sha256sums...
freedownloadmanager.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!
-> error making: freedownloadmanager-exit status 1
-> Failed to install the following packages. Manual intervention is required:
freedownloadmanager - exit status 1
The ‘problem’ is printed.
The sha256 sums used in the PKGBUILD are wrong.
You can SKIP them, or use updpkgsums in the build directory before running makepkg -fsric.
==> Making package: freedownloadmanager 6.23.0.5754-2 (Wed 26 Jun 2024 11:49:50 PM +0330)
==> Retrieving sources...
-> Found freedownloadmanager.deb
==> WARNING: Skipping all source file integrity checks.
:: (1/1) Parsing SRCINFO: freedownloadmanager
==> Making package: freedownloadmanager 6.23.0.5754-2 (Wed 26 Jun 2024 11:49:51 PM +0330)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found freedownloadmanager.deb
==> WARNING: Skipping all source file integrity checks.
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting freedownloadmanager.deb with bsdtar
==> Starting prepare()...
tar (child): data.tar.zst: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: freedownloadmanager-exit status 4
-> Failed to install the following packages. Manual intervention is required:
freedownloadmanager - exit status 4
For second one shows this:
==> Making package: freedownloadmanager 6.23.0.5754-2 (Wed 26 Jun 2024 11:50:10 PM +0330)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found freedownloadmanager.deb
==> Validating source files with sha256sums...
freedownloadmanager.deb ... Passed
==> Extracting sources...
-> Extracting freedownloadmanager.deb with bsdtar
==> Starting prepare()...
tar (child): data.tar.zst: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
==> ERROR: A failure occurred in prepare().
Aborting...
Also having issues with the sha256sum. I think the problem here is that the developers of FDM updates the package with a newer version but does not put the package version in the package filename but instead overrides it with a new version of the package (this is bad practice). This create problems when the package is updated and the sha256sum changes. There are ways to make makepkg ignore the checksum but unless you are building from git this is not recommended, especially given the software’s history mentioned below.
Tried to install AUR package and download .deb package from source, but download seems to be limited to 17 KiB/s. >30 mins to download 38.7MiB package
==> Making package: freedownloadmanager 6.23.0.5754-2 (Thu 27 Jun 2024 02:50:33 AM +0330)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found freedownloadmanager.deb
==> Validating source files with sha256sums...
freedownloadmanager.deb ... FAILED
==> ERROR: One or more files did not pass the validity check!
Then I decided to delete freedownloadmanager.deb then I ran yay and it worked.