Mailinglist Archive: opensuse-packaging (118 mails)

< Previous Next >
[opensuse-packaging] Packaging go
  • From: "Matwey V. Kornilov" <matwey.kornilov@xxxxxxxxx>
  • Date: Fri, 19 Jun 2015 16:55:39 +0300
  • Message-id: <mm170s$mru$1@ger.gmane.org>

Hi,

I've been working on RPM for new release of InfluxDB and found that we
have to consider following Fedora Provides/Requires model for Go.

The build time error looks like the following:

[ 23s]
../go/src/github.com/prometheus/client_golang/prometheus/desc.go:12:2:
cannot find package "github.com/golang/protobuf/proto" in any of:
[ 23s] /usr/lib64/go/src/github.com/golang/protobuf/proto (from
$GOROOT)
[ 23s]
/home/abuild/rpmbuild/BUILD/go/src/github.com/golang/protobuf/proto
(from $GOPATH)
[ 23s] /usr/lib64/go/contrib/src/github.com/golang/protobuf/proto

And I would like just add

BuildRequires: golang(github.com/golang/protobuf)

to my spec file.

Nowadays, I have to find go-protobuf package in OBS and then check where
did it come from. There are two implementations of protobuf
golang/protobuf (which is go-protobuf) and gogo/protobuf (which is
go-gogo-protobuf package in my branch).

[1] http://fedoraproject.org/wiki/PackagingDrafts/Go

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups