Looks promising, I hope I will not need to convert all existing packages for InfluxDB :) 22.06.2015 10:59, Thomas Boerger пишет:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
It's some kind of work in progress. Some people including me are working on an better approach for packaging go like it is already done for Fedora. Just take a look at my current start [1]. Hopefully we will find some time pretty soon to kill the last issues with this approach. After fixing these issues we should be able to do proper packaging of go packages :). If you want to follow the progress come in and join #opensuse-golang on Freenode, hopefully we will get more people in there soon.
Regards, Thomas Boerger
[1] https://build.opensuse.org/project/monitor/home:tboerger:branches:devel: languages:go
On 06/19/2015 03:55 PM, Matwey V. Kornilov wrote:
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).
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJVh8BfAAoJEFo4j1UoOWC2zAIP/iAqQ5+fojd+2l7JBl5kH9GG oJXQWnSjDd8ykiXrgGN7OGF5OoJVA7MF+W/5hkg6hmeah+DlO0pxM6Sa1osCk863 QSmQiNKAgQ6bFmXJGguNxU3w1vCn0VOdBNPCGJArs7894LIfsqXyw755noq7nZG6 MdHuft6uBrwwauCnnM6n+Jq4jomIswJ3Bd1raqrx169nz5kJudnb/wwI9uZGFJDt ixe30PhhwCdQxlg7XYDRadQYa8fSIXZQgSyh3JGsWAedcFu7ZYrFsiNV38TrSV8P h0vDcJr/m2Ia0zARJqYx8oRSlFtmYsWOQ2yb3r9oga7oJsVLMjpwZWWnNEieUE9T psGxllsPcHDIMy/JsMW5rbSGLADILOXPs6DPlunDswN/AseMCpNdhZ7XKRzM13PB tSROEMuD1NT9OpJGA7C9ZmEI6l1x29XyQfRhj0CkSMNV7k4zhL5CiXBNGNJ+fgwK SEtUIaXXFDIFhx00xv2eHpNsp4TBYSphFUNxOAgMCXl6I/mu4FGMcpHIaKAJNNrK PdCyKXNbw4+qMBrbeQ44On2gyQzC7A7tlVQsnf+5WZBHZyTPEB+ob2SG9Xgrcui6 x4WEkmWZWjPu/9TlOppXl1LOMeobwt5NSO27IZx1z4iEVTlbbjsS9zaLqrkniHyn JQjWg/O2iuMgSi+CCGU3 =QiKO -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org