Package Details: prototool-bin 1.10.0-1

Git Clone URL: https://aur.archlinux.org/prototool-bin.git (read-only, click to copy)
Package Base: prototool-bin
Description: Your Swiss Army Knife for Protocol Buffers
Upstream URL: https://github.com/uber/prototool
Keywords: grpc protobuf
Licenses: MIT
Conflicts: prototool-git
Provides: prototool
Submitter: mjboa
Maintainer: mjboa
Last Packager: mjboa
Votes: 1
Popularity: 0.000000
First Submitted: 2019-03-12 13:50 (UTC)
Last Updated: 2020-05-19 20:12 (UTC)

Latest Comments

dflemstr commented on 2019-12-01 14:55 (UTC)

I'm using yay as the AUR helper, but it simply invokes makepkg --verifysource -Ccf to download the source files. Just running that command on the old commit of this AUR build failed, but it would seem that your latest changes has fixed the build!

mjboa commented on 2019-11-16 13:42 (UTC)

There are no mismatching checksums in this PKGBUILD. As you can see from my previous post, this package builds and installs with makepkg and any issues with AUR helpers are another issue entirely. Therefore, if you want help with them, please post additional information next time such as which AUR helper you're using, whether you've tried clearing its cache, etc.

I've just pushed an update that may help with AUR helpers. Please give it a try.

dflemstr commented on 2019-11-16 12:56 (UTC)

I can confirm that my upgrades are also failing due to mismatching checksums. This doesn't happen for any other package

mjboa commented on 2019-10-17 20:40 (UTC)

They weren't wrong last time and aren't wrong this time. You even state as much at the end of your post.

$ wget -q -O - https://github.com/uber/prototool/releases/download/v1.9.0/prototool-Linux-x86_64.tar.gz | sha256sum
144dfe0070818f56ec5bc3c43d8fe8c837b5dbcb4d383b2a24046ebd485d5c0f  -
$ git show e8fbdd862d791a48681661f1c170f3ad0f0d7143:.SRCINFO | grep -E "source|sha256sums"
        source = https://github.com/uber/prototool/releases/download/v1.9.0/prototool-Linux-x86_64.tar.gz
        source = https://raw.githubusercontent.com/uber/prototool/v1.9.0/LICENSE
        sha256sums = 144dfe0070818f56ec5bc3c43d8fe8c837b5dbcb4d383b2a24046ebd485d5c0f
        sha256sums = 020d43a0acd998e8c1ce91f6ab7ba9fd505c9968dd6d5ce7c7ae9c749641a95e

If you run:

$ git clone https://aur.archlinux.org/prototool-bin.git && cd prototool-bin && makepkg

you'll see that it builds fine.

Do you have a suggestion how to fix the PKGBUILD so that it doesn't break AUR helpers? Because it doesn't seem to have anything to do with this package.

---

Last comment I posted in response to txomon, which I've just accidentally deleted.

I think they're right:

$ wget -q -O - https://github.com/uber/prototool/releases/download/v1.6.0/prototool-Linux-x86_64.tar.gz | sha256sum
377d9a910eabb52c8752ba49e95ada1051deffb5ba86d35251697f97071584bd  -

$ git show fdd5d24d1614f89a7e19b5fb4fde47c9daccb1ef:.SRCINFO | grep -E "source|sha256sums"
        source = https://github.com/uber/prototool/releases/download/v1.6.0/prototool-Linux-x86_64.tar.gz
        source = https://raw.githubusercontent.com/uber/prototool/v1.6.0/LICENSE
        sha256sums = 377d9a910eabb52c8752ba49e95ada1051deffb5ba86d35251697f97071584bd
        sha256sums = 020d43a0acd998e8c1ce91f6ab7ba9fd505c9968dd6d5ce7c7ae9c749641a95e

Could it be that aurman is caching something?

jbrandhorst commented on 2019-10-17 11:02 (UTC) (edited on 2019-10-17 11:09 (UTC) by jbrandhorst)

Checksums for latest updates is wrong again:

Cloning prototool-bin build files...
Checking prototool-bin dependencies...
Synchronizing package databases...
Preparing...

Building prototool-bin...
==> Making package: prototool-bin 1.9.0-1 (Thu 17 Oct 2019 12:02:25 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found prototool-Linux-x86_64.tar.gz
  -> Found LICENSE
==> Validating source files with sha256sums...
    prototool-Linux-x86_64.tar.gz ... FAILED
    LICENSE ... Passed
==> ERROR: One or more files did not pass the validity check!

Not sure why really, manually verifying it seems to work. I'm using pamac. Works when installing by manually downloading the PKGBUILD.

txomon commented on 2019-04-26 11:42 (UTC) (edited on 2019-04-26 11:43 (UTC) by txomon)

Seems like the checksums are not correct for the tar.gz:

==> Making package: prototool-bin 1.6.0-1 (Fri 26 Apr 2019 12:49:43 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found prototool-Linux-x86_64.tar.gz
  -> Found LICENSE
==> Validating source files with sha256sums...
    prototool-Linux-x86_64.tar.gz ... FAILED
    LICENSE ... Passed
==> ERROR: One or more files did not pass the validity check!
2019-04-26 12:49:43,257 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/javier/.cache/aurman/prototool-bin