On Fri, Feb 2, 2024 at 4:03 PM Priscila Gutierres <prgut...@redhat.com> wrote:
>
> I'm trying to package kubectl for Fedora, but I'm having a bad time with some 
> dependencies.
> I created the specfile using go2rpm, and I'm using auto dependencies:
> https://pastebin.com/fmvttDBt
>
> %generate_buildrequires
> %go_generate_buildrequires
>
> But it is blaming that some dependencies are missing:
>
> Failed to resolve the transaction:
> Package "go-rpm-macros-3.3.1-3.fc40.x86_64" is already installed.
> No match for argument: golang(github.com/chai2010/gettext-go/gettext)

It appears you are attempting to package a very old version of
kubectl; this import path was removed 1.5 years ago:
https://github.com/kubernetes/kubectl/commit/4bf64b98777b846942aacf6e787cec7764c5b576

> No match for argument: golang(github.com/russross/blackfriday)
> No match for argument: golang(k8s.io/kubectl/pkg/generated)
>
> I could find, for example, golang-github-chai2010-gettext:
> https://src.fedoraproject.org/rpms/golang-github-chai2010-gettext
> But it isn't found when trying to create a mock package.
>
> Can someone please help me?
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to