On Mon, Jan 14, 2019 at 7:22 PM Ken Dreyer <kdreyer(a)redhat.com> wrote:
Hi folks,
I'm attempting to package up a Go-based application and I'm lost :)
I've run "yum install gofed" so I've got gofed-1.0.0-0.21.rc1.fc29
installed. Here's where I tried to use it:
$ gofed repo2spec --detect
https://github.com/rook/rook
Repo URL:
github.com/rook/rook
Commit: 43a83f7d8fff8753eb6f492d729f9c6876105164
Name: golang-github-rook-rook
(1/4) Checking if the package already exists in PkgDB
(2/4) Collecting data
2019-01-14 17:16:34,402 - ERROR - [Errno 13] Permission denied:
'/var/lib/gofed/resource_provider/githubsourcecodeprovider-9ef70a1c8c7d4532abe3ea8cdd330ccbac5aa58d6fd842f0b55e078c033ca3df'
I'm not sure how to get past this error. I also have some general questions:
1. Am I on the right track and I should continue with gofed?
2. How can I tell gofed that I'm packaging an application (like etcd),
not a library?
I've only been able to use gofed as root, though I think there's a way
to run it not as root. As for telling it you're packaging a
application, just add --with-build.
--
真実はいつも一つ!/ Always, there's only one truth!