Re: problem creating a kernel module rpm package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 29, 2022 at 10:47 AM Jerry Kiely <jerry@xxxxxxxxxxxxxxx> wrote:
>
> spectool executed successfully.
>
>   spectool -g hid-ite8291r3-kmod.spec                                                                                                                        ✔
>   Downloading: https://github.com/pobrn/hid-ite8291r3/archive/48e04cb96517f8574225ebabb286775feb942ef5/hid-ite8291r3-48e04cb.tar.gz
>   |  12.1 KiB Elapsed Time: 0:00:00
>   Downloaded: hid-ite8291r3-48e04cb.tar.gz
>
> but executing the same command after failed again.
>
>   rfpkg mockbuild -N --root fedora-36-x86_64-rpmfusion_free                                                                                                  ✔
>   sources file doesn't exist. Source files download skipped.
>   Failed to get repository name from Git url or pushurl
>   Failed to get ns from Git url or pushurl
>   Could not execute mockbuild: /home/jerry/Workspace/Research/RPM/Modules/hid-ite8291r3-kmod is not a valid repo

This failure is caused because you use fedpkg / rfpkg for building a
package outside a dist-git repository (see "Failed to get repository
name" and "Failed to get ns (namespace)" errors).
I recommend building the .src.rpm file with "rpmbuild -bs *.spec"
instead, and then run the mock build with "mock -r
fedora-36-x86_64-rpmfusion_free ./*.src.rpm".

Fabio
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux