Re: f41 dnf builddeps fails to parse systemd.spec

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

 



On Wednesday, 09 October 2024 at 00:23, Barry wrote:
> > On 8 Oct 2024, at 21:08, Miroslav Suchý <msuchy@xxxxxxxxxx> 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 install builddeps and NOT running rpmbuild directly,
> > but running
> > 
> >   mock -r fedora-41-x86_64  systemd.src.rpm
> > 
> > Mock will create minimal buildroot, install all buildeps and run the
> > rpmbuild.
> 
> I know how mock works, and love its power.
> but what I am working on is investigating a systemd bug.
> 
> To do that I need to build and test small code changes.
> Doing that with mock is slow and painful.
> Outside of mock its fast to edit the code in BUILD and make it
> incrementally.

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/<buildroot>/root/...
and re-running the build command inside mock shell from another
terminal.

Regards,
Dominik
-- 
Fedora   https://fedoraproject.org
Deep in the human unconscious is a pervasive need for a logical universe that
makes sense. But the real universe is always one step beyond logic.
        -- from "The Sayings of Muad'Dib" by the Princess Irulan
-- 
_______________________________________________
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