Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-12 Thread Leigh Scott
mock is nearly as fast as rpmbuild if you use use --no-clean Do your edits, then build a srpm rpm -bs whatever.spec mock -r fedora-xx /path/to/whatever.srpm the first build will be slow. Do more edits rpm -bs whatever.spec mock -r fedora-xx --no-clean /path/to/whatever.srpm the second build is

Re: Subject: Original Sender msu...@redhat.com Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-11 Thread Barry Scott
> On 9 Oct 2024, at 18:52, recoveredem...@riotgames.com wrote: > > Are you sure you want to install it on your workstation. The good > habit is to NOT install builddeps and NOT running > rpmbuild directly, but running The point of RPMs is that I can install and uninstall. The point of mock is t

Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-11 Thread Barry Scott
> On 9 Oct 2024, at 12:22, Dominik 'Rathann' Mierzejewski > wrote: > > You can do this with mock, too. Have you tried mock shell? You can edit > the code using your favourite editor in /var/lib/mock//root/... > and re-running the build command inside mock shell from another > terminal. But th

Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-09 Thread Dominik 'Rathann' Mierzejewski
On Wednesday, 09 October 2024 at 00:23, Barry wrote: > > On 8 Oct 2024, at 21:08, Miroslav Suchý wrote: > > > > Dne 08. 10. 24 v 7:09 odp. Barry Scott napsal(a): > >> Now I have systemd .src.rpm installed next I needed the build deps > >> so that I can do a rpmbuild. > > > > Are you sure you wa

Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-09 Thread Barry Scott
> On 9 Oct 2024, at 11:09, Zbigniew Jędrzejewski-Szmek > wrote: > > It'd be worth filing a bug for this. There were some bugs about > dnf5 not reporting things, but this one seems egregious. > > Zbyszek Done. Raised https://bugzilla.redhat.com/show_bug.cgi?id=2317531 Barry --

Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-09 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Oct 08, 2024 at 09:39:49PM -0700, Samuel Sieb wrote: > The problem is that you're using "sudo" for this. dnf5 doesn't print the > reason for the failure, which is unfortunate. If you do it with "dnf4", you > do get the reason. > > $ sudo dnf4 builddep SPECS/systemd.spec > RPM: error: Una

Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-09 Thread Barry Scott
> On 9 Oct 2024, at 05:39, Samuel Sieb wrote: > > The problem is that you're using "sudo" for this. dnf5 doesn't print the > reason for the failure, which is unfortunate. If you do it with "dnf4", you > do get the reason. Raised https://bugzilla.redhat.com/show_bug.cgi?id=2317531 > > $ s

Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-08 Thread Samuel Sieb
On 10/8/24 10:09 AM, Barry Scott wrote: Now I have systemd .src.rpm installed next I needed the build deps so that I can do a rpmbuild. $ sudo dnf builddep systemd.spec [sudo] password for barry: Updating and loading repositories: Fedora 41 - aarch64

Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-08 Thread Barry
> On 8 Oct 2024, at 21:08, Miroslav Suchý wrote: > > Dne 08. 10. 24 v 7:09 odp. Barry Scott napsal(a): >> Now I have systemd .src.rpm installed next I needed the build deps >> so that I can do a rpmbuild. > > Are you sure you want to install it on your workstation. The good habit is to > NOT

Re: f41 dnf builddeps fails to parse systemd.spec

2024-10-08 Thread Miroslav Suchý
Dne 08. 10. 24 v 7:09 odp. Barry Scott napsal(a): Now I have systemd .src.rpm installed next I needed the build deps so that I can do a rpmbuild. Are you sure you want to install it on your workstation. The good habit is to NOT install builddeps and NOT running rpmbuild directly, but running