Re: rich deps result in packages being uninstalled from buildroot

2024-05-20 Thread Zbigniew Jędrzejewski-Szmek
On Mon, May 20, 2024 at 10:55:58AM +0200, Petr Pisar wrote: > V Sat, May 18, 2024 at 08:20:53PM +0200, Sandro napsal(a): > > On 16-05-2024 13:14, Petr Pisar wrote: > > > A workaround could be rpm-build or mock to register rpm-build package in > > > /etc/dnf/protected.d configuration files. Packages

Re: rich deps result in packages being uninstalled from buildroot

2024-05-20 Thread Petr Pisar
V Sat, May 18, 2024 at 08:20:53PM +0200, Sandro napsal(a): > On 16-05-2024 13:14, Petr Pisar wrote: > > A workaround could be rpm-build or mock to register rpm-build package in > > /etc/dnf/protected.d configuration files. Packages listed there are > > prevented > > from removal no matter of --all

Re: rich deps result in packages being uninstalled from buildroot

2024-05-18 Thread Sandro
On 16-05-2024 13:14, Petr Pisar wrote: A workaround could be rpm-build or mock to register rpm-build package in /etc/dnf/protected.d configuration files. Packages listed there are prevented from removal no matter of --allow-erasing. A bit late to the party, but I was wondering if making `add-de

Re: rich deps result in packages being uninstalled from buildroot

2024-05-17 Thread Paul Howarth
On Fri, 17 May 2024 13:32:24 + Zbigniew Jędrzejewski-Szmek wrote: > > Oh, this is embarrasing. I added two patches but they didn't get > > applied because %setup not %autosetup. :( > > I'll push a fixed build in a moment. Sorry for breaking the builds. > > > > perl-Finance-Quote-1.6200-1.fc

Re: rich deps result in packages being uninstalled from buildroot

2024-05-17 Thread Zbigniew Jędrzejewski-Szmek
On Fri, May 17, 2024 at 12:19:34PM +, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, May 17, 2024 at 09:43:22AM +0100, Paul Howarth wrote: > > On Thu, 16 May 2024 10:52:29 + > > Zbigniew Jędrzejewski-Szmek wrote: > > > > > On Thu, May 16, 2024 at 11:09:01AM +0200, Fabio Valentini wrote: > >

Re: rich deps result in packages being uninstalled from buildroot

2024-05-17 Thread Zbigniew Jędrzejewski-Szmek
On Fri, May 17, 2024 at 09:43:22AM +0100, Paul Howarth wrote: > On Thu, 16 May 2024 10:52:29 + > Zbigniew Jędrzejewski-Szmek wrote: > > > On Thu, May 16, 2024 at 11:09:01AM +0200, Fabio Valentini wrote: > > > This looks like you're putting the resolver between a rock and a > > > hard place. :

Re: rich deps result in packages being uninstalled from buildroot

2024-05-17 Thread Vít Ondruch
Dne 17. 05. 24 v 7:16 Panu Matilainen napsal(a): On 5/16/24 16:10, Vít Ondruch wrote: Dne 16. 05. 24 v 14:28 Zbigniew Jędrzejewski-Szmek napsal(a): On Thu, May 16, 2024 at 01:14:16PM +0200, Petr Pisar wrote: Proper solution is actually minimazing content of the minimal build root Most of th

Re: rich deps result in packages being uninstalled from buildroot

2024-05-17 Thread Paul Howarth
On Thu, 16 May 2024 10:52:29 + Zbigniew Jędrzejewski-Szmek wrote: > On Thu, May 16, 2024 at 11:09:01AM +0200, Fabio Valentini wrote: > > This looks like you're putting the resolver between a rock and a > > hard place. :thinking: > > I don't think I've ever seen packages being *removed* when >

Re: rich deps result in packages being uninstalled from buildroot

2024-05-16 Thread Panu Matilainen
On 5/16/24 16:10, Vít Ondruch wrote: Dne 16. 05. 24 v 14:28 Zbigniew Jędrzejewski-Szmek napsal(a): On Thu, May 16, 2024 at 01:14:16PM +0200, Petr Pisar wrote: Proper solution is actually minimazing content of the minimal build root Most of the packages in the buildroot are libraries, pulled i

Re: rich deps result in packages being uninstalled from buildroot

2024-05-16 Thread Kevin Kofler via devel
Neal Gompa wrote: > I have the question of why is dnf5 running as if "--allow-erasing" is > always passed to it? Older versions of DNF explicitly didn't do that > because we get weird behaviors like this. Without --allow-erasing (which was actually passed explicitly, as Petr Pisar pointed out), t

Re: rich deps result in packages being uninstalled from buildroot

2024-05-16 Thread Vít Ondruch
Dne 16. 05. 24 v 14:28 Zbigniew Jędrzejewski-Szmek napsal(a): On Thu, May 16, 2024 at 01:14:16PM +0200, Petr Pisar wrote: Proper solution is actually minimazing content of the minimal build root Most of the packages in the buildroot are libraries, pulled in via dependencies. @buildsys-build g

Re: rich deps result in packages being uninstalled from buildroot

2024-05-16 Thread Zbigniew Jędrzejewski-Szmek
On Thu, May 16, 2024 at 01:14:16PM +0200, Petr Pisar wrote: > Proper solution is actually minimazing content of the minimal build root Most of the packages in the buildroot are libraries, pulled in via dependencies. @buildsys-build group is: Mandatory packages : bash # basic shell env

Re: rich deps result in packages being uninstalled from buildroot

2024-05-16 Thread Petr Pisar
V Thu, May 16, 2024 at 04:29:21AM -0600, Neal Gompa napsal(a): > On Thu, May 16, 2024 at 3:10 AM Fabio Valentini wrote: > > > > On Thu, May 16, 2024 at 9:25 AM Zbigniew Jędrzejewski-Szmek > > wrote: > > > > > > Hi, > > > > > > I've been trying to get 'add-determinism' deployed in buildroots. This

Re: rich deps result in packages being uninstalled from buildroot

2024-05-16 Thread Zbigniew Jędrzejewski-Szmek
On Thu, May 16, 2024 at 11:09:01AM +0200, Fabio Valentini wrote: > This looks like you're putting the resolver between a rock and a hard > place. :thinking: > I don't think I've ever seen packages being *removed* when installing > BuildRequires on top of the minimal buildroot ... > > Would it be p

Re: rich deps result in packages being uninstalled from buildroot

2024-05-16 Thread Neal Gompa
On Thu, May 16, 2024 at 3:10 AM Fabio Valentini wrote: > > On Thu, May 16, 2024 at 9:25 AM Zbigniew Jędrzejewski-Szmek > wrote: > > > > Hi, > > > > I've been trying to get 'add-determinism' deployed in buildroots. This > > has been unsuccessful because of the following issue. > > > > The dependen

Re: rich deps result in packages being uninstalled from buildroot

2024-05-16 Thread Fabio Valentini
On Thu, May 16, 2024 at 9:25 AM Zbigniew Jędrzejewski-Szmek wrote: > > Hi, > > I've been trying to get 'add-determinism' deployed in buildroots. This > has been unsuccessful because of the following issue. > > The dependency chain is: > redhat-rpm-config has > Requires build-reproducibility-srpm

rich deps result in packages being uninstalled from buildroot

2024-05-16 Thread Zbigniew Jędrzejewski-Szmek
Hi, I've been trying to get 'add-determinism' deployed in buildroots. This has been unsuccessful because of the following issue. The dependency chain is: redhat-rpm-config has Requires build-reproducibility-srpm-macros and build-reproducibility-srpm-macros has Requires:(add-determinism if