Package Details: protobuf-go 1.3.5-1

Git Clone URL: https://aur.archlinux.org/protobuf-go.git (read-only, click to copy)
Package Base: protobuf-go
Description: Go support for Google's protocol buffers
Upstream URL: https://github.com/golang/protobuf
Keywords: golang protouf
Licenses: BSD
Submitter: fzerorubigd
Maintainer: fzerorubigd
Last Packager: fzerorubigd
Votes: 6
Popularity: 0.065021
First Submitted: 2016-05-18 07:38
Last Updated: 2020-03-13 12:12

Latest Comments

fzerorubigd commented on 2019-11-08 14:32

I can confirm the issue, if you set the GOBIN in your shell, it fails. fixed in the new version

fzerorubigd commented on 2019-11-08 14:26

I tried the build with makepkg and also with yay (I guess that bsed on the path in your log) and there was no problem. do you set GOBIN env in your shell? can you unset GOBIN and try again?

chibby0ne commented on 2019-11-08 11:39

I'm getting this error at install time:

==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '/home/user1/.cache/yay/protobuf-go/src/bin/protoc-gen-go': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

even though it actually downloaded it to the $GOBIN.

freswa commented on 2019-10-24 13:20

Thank you for the changes. Looks better now. The packaging guidlines state, that a PKGBUILD using the latest commit is a -git package. Using a git tag or a tarball it's a normal release without any suffix. If you'd use a prebuild binary the pkgname should have the -bin suffix. You can make building easier if you change the url to

https://github.com/golang/protobuf/archive/v${pkgver}.tar.gz

which points to the corresponding tarball of the release. It's the same code as the tag, but it's easier to download than a git clone. :)

fzerorubigd commented on 2019-10-24 11:28

@freswa Yes, you are right. but since there is no pre-built binary release, now it builds on tags. technically it's a git version, but on the latest tag.

freswa commented on 2019-10-23 13:37

This is a package not following any releases. Could you please rename it to protobuf-go-git according to our VCS packaging guidlines [0] xor use the tarballs provided by upstream?

Thanks :)

[0] https://wiki.archlinux.org/index.php/VCS_package_guidelines