On Tue, Sep 3, 2024 at 1:50 PM Richard W.M. Jones wrote:
>
> On Sun, Sep 01, 2024 at 09:54:38PM +, Dridi Boukelmoune wrote:
> > On Sun, Sep 1, 2024 at 9:40 PM Dridi Boukelmoune
> > wrote:
> > >
> > > > > I can't say I'm proud of this hack but at least, the error message
> > > > > shows up to
On Sun, Sep 01, 2024 at 09:54:38PM +, Dridi Boukelmoune wrote:
> On Sun, Sep 1, 2024 at 9:40 PM Dridi Boukelmoune
> wrote:
> >
> > > > I can't say I'm proud of this hack but at least, the error message
> > > > shows up to give a clue. I can finally add some error handling to my
> > > > depende
On Sun, Sep 1, 2024 at 9:40 PM Dridi Boukelmoune
wrote:
>
> > > I can't say I'm proud of this hack but at least, the error message
> > > shows up to give a clue. I can finally add some error handling to my
> > > dependency generators.
> >
> > Yes, currently the exit code is ignored, and the only w
> > I can't say I'm proud of this hack but at least, the error message
> > shows up to give a clue. I can finally add some error handling to my
> > dependency generators.
>
> Yes, currently the exit code is ignored, and the only way to break the
> build is to generate a line that does not parse as
On Sun, Sep 1, 2024 at 5:31 PM Dridi Boukelmoune
wrote:
>
> > I made the scripts end with something written to stderr followed by an
> > explicit "exit 1", and I can see the error message, but then it just
> > succeeds. So my question is how to make RPM register that a dependency
> > generator fai
> I made the scripts end with something written to stderr followed by an
> explicit "exit 1", and I can see the error message, but then it just
> succeeds. So my question is how to make RPM register that a dependency
> generator failed and in turn fail the build?
I tried following the rpmdeps code
Greetings,
I recently implemented generators for Hare modules (provides and
requires so far) and my current work in progress does what it says on
the tin. However, trying to answer the question "what if the package
installs garbage" I was not able to fail a package build with the
dependency genera