On  Sun  2026-05-24  22:32 , Omair Majid wrote:
> Hi,
> 
> (Re-sending with fixed CC, sorry)
> 
> Jonathan Wakely <[email protected]> writes:
> 
> > Has something changed in rpminspect recently? I built a new dejagnu
> > package and it's failing rpminspect:
> > https://artifacts.dev.testing-farm.io/d6ffbc34-995f-47a5-b41a-87b5ff33be0d/
> 
> > The error is:
> > "/usr/share/dejagnu/remote.exp is not a valid sh script on noarch"
> >
> > and ... well, that's true. It's not a sh script at all. It's not
> > executable, it doesn't have a shebang, it doesn't end in .sh ... why
> > is rpminspect even looking at it?
> 
> I suspect this is the reason why:
> https://github.com/rpminspect/rpminspect/pull/1412
> 
> rpminspect sees that the remote.exp file has a mime-type beginning with
> `text/`, then sees that it contains `exec sh...` so the heuristic it
> uses concludes that the script itself is an `sh` script.
> 
> > A build a few weeks ago didn't have this problem.
> 
> Fedora's CI was using a stale version of rpmisnpect for a while, so
> maybe that's why this started showing up now?

The last working RPMInspect version is 2.2-1.1.202605131544git7d0 
First broken one seems to be 2.2-1.1.202605141747git545 .
This imho points the finger to the following commit

https://github.com/rpminspect/rpminspect/commit/545d62d4387240acc3326145b4b9c6fff23f05be

I've notified dcantrell (along with some rough AI generated patch
suggestion).


Martin

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to