Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Done. Both packages build, install, and work perfectly.

Thanks for all the advice.

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Thanks to Sergio and everyone who helped me get this up and running. If you 
have time to offer any feedback it would be greatly appreciated. All the 
relevant links are:

  https://github.com/cowboysmall-apps/hid-ite8291r3-kmod
  https://pagure.io/hid-ite8291r3-kmod
  https://copr.fedorainfracloud.org/coprs/cowboysmall/hid-ite8291r3-kmod/

Thanks again for your time and patience,

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Leigh Scott
> I'm guessing I need to provide a separate common package containing the 
> non-binary
> files - i.e. udev configs, license, readme, and so on. So the akmod, or the 
> kmod package
> implicitly expects a corresponding common package to be made available? 
> Anything need to
> be done specifically to make this work as expected? 
> 
> J.K.

You add this to the hid-ite8291r3 (common) package.

Provides:   %{name}-kmod-common = %{version}
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
I'm guessing I need to provide a separate common package containing the 
non-binary files - i.e. udev configs, license, readme, and so on. So the akmod, 
or the kmod package implicitly expects a corresponding common package to be 
made available? Anything need to be done specifically to make this work as 
expected? 

J.K.
 
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
After removing the sub-package references I am now getting:

  dnf install ./akmod-hid-ite8291r3-0.0-1.fc36.1.x86_64.rpm 
./hid-ite8291r3-kmod-0.0-1.fc36.1.x86_64.rpm 
  Last metadata expiration check: 0:06:33 ago on Mon 29 Aug 2022 13:39:50.
  Error: 
   Problem: conflicting requests
- nothing provides hid-ite8291r3-kmod-common >= 0.0 needed by 
akmod-hid-ite8291r3-0.0-1.fc36.1.x86_64
  (try to add '--skip-broken' to skip uninstallable packages)

Any idea?

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Done. Thanks for the feedback.

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Leigh Scott
> Here is a link to the code:
> 
> https://github.com/cowboysmall-apps/hid-ite8291r3-kmod
> 
> any help would be appreciated.
> 
> Thanks in advance,
> 
> J.K.
Drop the sub-package as it isn't correct to have it the kmod package.

https://github.com/cowboysmall-apps/hid-ite8291r3-kmod/blob/main/hid-ite8291r3-kmod.spec#L41

You will need to package it separately. 
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Sérgio Basto
On Mon, 2022-08-29 at 10:32 +, Jerry Kiely wrote:
> Thanks so much. Making lots of progress now. The process has
> completed, and seems to be working. This is the contents of the
> result directory:
> 
>  ls -la
>  total 212
>  drwxrwsr-x. 1 jerry mock   432 Aug 29 11:07 .
>  drwxrwsr-x. 1 root  mock    48 Aug 29 11:07 ..
>  -rw-r--r--. 1 jerry mock 23454 Aug 29 11:07 akmod-hid-ite8291r3-0.0-
> 1.fc36.1.x86_64.rpm
>  -rw-rw-r--. 1 jerry mock 17705 Aug 29 11:07 build.log
>  -rw-r--r--. 1 jerry mock 15621 Aug 29 11:07 hid-ite8291r3-0.0-
> 1.fc36.1.x86_64.rpm
>  -rw-r--r--. 1 jerry mock 21253 Aug 29 11:07 hid-ite8291r3-kmod-0.0-
> 1.fc36.1.src.rpm
>  -rw-rw-r--. 1 jerry mock  3217 Aug 29 11:07 hw_info.log
>  -rw-rw-r--. 1 jerry mock 15748 Aug 29 11:07 installed_pkgs.log
>  -rw-r--r--. 1 jerry mock  6509 Aug 29 11:07 kmod-hid-ite8291r3-0.0-
> 1.fc36.1.x86_64.rpm
>  -rw-rw-r--. 1 jerry mock 97891 Aug 29 11:07 root.log
>  -rw-rw-r--. 1 jerry mock   883 Aug 29 11:07 state.log
> 
> Can I now install the akmod rpm to see if it works? Or do I need to
> do anything else? Please excuse my questions - this is my first RPM
> project and I am finding it quite difficult.
> 
> Thanks again to everyone for all of your time and patience,

$ rfpkg --release f35  mockbuild -N --root fedora-35-x86_64-
rpmfusion_free

(...)
Wrote: /builddir/build/RPMS/akmod-hid-ite8291r3-0.0-1.fc35.1.x86_64.rpm
Wrote: /builddir/build/RPMS/kmod-hid-ite8291r3-0.0-1.fc35.1.x86_64.rpm
Wrote: /builddir/build/RPMS/hid-ite8291r3-0.0-1.fc35.1.x86_64.rpm

# dnf install /var/lib/mock/fedora-35-x86_64/result/akmod-hid-
ite8291r3-0.0-1.fc35.1.x86_64.rpm /var/lib/mock/fedora-35-
x86_64/result/hid-ite8291r3-0.0-1.fc35.1.x86_64.rpm 

# akmods

(...)
Building rpms failed; see /var/cache/akmods/hid-ite8291r3/0.0-1.1-for-
5.19.4-100.fc35.x86_64.failed.log for details


$ vi /var/cache/akmods/hid-ite8291r3/0.0-1.1-for-5.19.4-
100.fc35.x86_64.failed.log

(...)
Makefile:9: *** missing separator.  Stop.

> 
> J.K.
> ___
> 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

-- 
Sérgio M. B.
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Thanks so much. Making lots of progress now. The process has completed, and 
seems to be working. This is the contents of the result directory:

 ls -la
 total 212
 drwxrwsr-x. 1 jerry mock   432 Aug 29 11:07 .
 drwxrwsr-x. 1 root  mock48 Aug 29 11:07 ..
 -rw-r--r--. 1 jerry mock 23454 Aug 29 11:07 
akmod-hid-ite8291r3-0.0-1.fc36.1.x86_64.rpm
 -rw-rw-r--. 1 jerry mock 17705 Aug 29 11:07 build.log
 -rw-r--r--. 1 jerry mock 15621 Aug 29 11:07 
hid-ite8291r3-0.0-1.fc36.1.x86_64.rpm
 -rw-r--r--. 1 jerry mock 21253 Aug 29 11:07 
hid-ite8291r3-kmod-0.0-1.fc36.1.src.rpm
 -rw-rw-r--. 1 jerry mock  3217 Aug 29 11:07 hw_info.log
 -rw-rw-r--. 1 jerry mock 15748 Aug 29 11:07 installed_pkgs.log
 -rw-r--r--. 1 jerry mock  6509 Aug 29 11:07 
kmod-hid-ite8291r3-0.0-1.fc36.1.x86_64.rpm
 -rw-rw-r--. 1 jerry mock 97891 Aug 29 11:07 root.log
 -rw-rw-r--. 1 jerry mock   883 Aug 29 11:07 state.log

Can I now install the akmod rpm to see if it works? Or do I need to do anything 
else? Please excuse my questions - this is my first RPM project and I am 
finding it quite difficult.

Thanks again to everyone for all of your time and patience,

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Leigh Scott
> Thanks for the reply - I'll try this later.
> 
> Can you point me at the documentation for the process please? I can find docs 
> and
> tutorials on building standard RPMs - the hello tutorial for example - but I 
> can't
> find any documentation anywhere for building RPMs for kernel module, or for 
> building RPMs
> for RPMFusion.
> 
> Thanks in advance,
> 
> J.K.
Try

https://rpmfusion.org/Packaging/KernelModules/Kmods2#Mini-FAQ
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Fabio Valentini
On Mon, Aug 29, 2022 at 10:47 AM Jerry Kiely  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@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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Here is the code:

  https://github.com/cowboysmall-apps/hid-ite8291r3-kmod

I tried to post the link a few minutes ago but it failed. Any help or advice 
would be greatly appreciated.

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Here is a link to the code:

https://github.com/cowboysmall-apps/hid-ite8291r3-kmod

any help would be appreciated.

Thanks in advance,

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
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

I feel like I am lost - could you point me at the relevant documentation?

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Thanks for the reply - I'll try this later.

Can you point me at the documentation for the process please? I can find docs 
and tutorials on building standard RPMs - the hello tutorial for example - but 
I can't find any documentation anywhere for building RPMs for kernel module, or 
for building RPMs for RPMFusion.

Thanks in advance,

J.K. 
___
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


Re: problem creating a kernel module rpm package

2022-08-28 Thread Maxwell G via devel
On Sunday, August 28, 2022 Jerry Kiely wrote:
> I did remove it and got the following result:
> 
>   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
> 

Try `spectool -g NAME_HERE.spec` and then rerun the rfpkg command. You have to 
download the sources to build the package. 

-- 
Thanks,

Maxwell G (@gotmax23)
Pronouns: He/Him/His

signature.asc
Description: This is a digitally signed message part.
___
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


Re: problem creating a kernel module rpm package

2022-08-28 Thread Jerry Kiely
I did remove it and got the following result:

  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

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-28 Thread Sérgio Basto
On Sun, 2022-08-28 at 18:43 +, Jerry Kiely wrote:
> --no-local-resultsdir 

sorry my pull request isn't approved
https://pagure.io/rpkg/pull-request/609
so you don't have the option --no-local-resultsdir please just remove
and ignore it 
-- 
Sérgio M. B.
___
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


Re: problem creating a kernel module rpm package

2022-08-28 Thread Jerry Kiely
Thanks for the reply. Could you recommend any up-to-date documentation?

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-28 Thread Jerry Kiely
Thanks for the response. 

I followed the examples you linked as closely as I could, and executed the 
command you suggested, but two issues:

 rfpkg mockbuild -N --no-local-resultsdir --root fedora-36-x86_64-rpmfusion_free
 rfpkg: error: unrecognized arguments: --no-local-resultsdir

and:

 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

any help would be greatly appreciated.

Thanks again,

J.K.
___
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


Re: problem creating a kernel module rpm package

2022-08-28 Thread Sérgio Basto

On Sun, 2022-08-28 at 12:51 +, Jerry Kiely wrote:
> Hi,
> 
> I am trying to create a kernel module rpm package, but am running
> into difficulty. I have cobbled together a spec based on the
> following tutorial:
> 
>  - https://rpmfusion.org/Packaging/KernelModules/Kmods2
> 
> and I am trying to use the following command - 'fedpkg --release f36
> mockbuild' - to build the package, but it is failing: 
> 
> > No matching package to install: 'buildsys-build-rpmfusion-
> > kerneldevpkgs-current-x86_64'
> > Not all dependencies satisfied
> > Error: Some packages could not be found.
> > 
> > Could not execute mockbuild: Failed to execute command.
> 

buildsys-build-rpmfusion-kerneldevpkgs-current-x86_64 is in RPMFusion
repo 

so you can use --root,  rfpkg mockbuild -N --no-local-resultsdir --root
fedora-36-x86_64-rpmfusion_free 

for how packaging , you have these two examples here : 
https://pagure.io/rtl8821ce-kmod/
https://pagure.io/rtl88x2bu-kmod/


> Could someone suggest a more up-to-date or relevant tutorial, or
> documentation please? I have been able to successfully create and
> build an rpm for a regular package - by following the hello example:
> 
>  -
> https://docs.fedoraproject.org/bn/package-maintainers/Packaging_Tutorial_GNU_Hello/
> 
> but creating a kmod package is proving difficult for me. Any help
> would be appreciated.
> 

you have two examples here : 
https://pagure.io/rtl8821ce-kmod/
https://pagure.io/rtl88x2bu-kmod/



> Thanks in advance,
> 
> J.K.
> ___
> 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

-- 
Sérgio M. B.
___
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


Re: problem creating a kernel module rpm package

2022-08-28 Thread Vitaly Zaitsev via devel

On 28/08/2022 14:51, Jerry Kiely wrote:

and I am trying to use the following command - 'fedpkg --release f36 mockbuild' 
- to build the package, but it is failing:


You must use rfpkg instead of fedpkg for building RPM Fusion packages.

--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)
___
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