Re: rpmdeps: find requires for scripts with env shebang

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

 



On 06/16, Panu Matilainen wrote:
> On 06/15/2016 08:54 PM, Stephano Cetola wrote:
> >I'm working on getting rpmdeps to return a "Requires" result for scripts
> >with "/usr/bin/env python" (more descriptive than the current result of
> >"Requires:/usr/bin/env"). I've looked over rpmfcSCRIPT and I have some
> >ideas on how to remedy the issue.
> >
> >Is this something that would be of interest, or is there any way I could
> >bend this project to your needs?
> 
> See http://rpm.org/ticket/136 and http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=e7f73133cbb35ed0f21938996018654391b0a7d7

Perfect, these are exactly the types of cases we are trying to remedy on
our side.

> 
> In hindsight, with survivers from Fedora's UsrMove crash still wandering
> aimlessly on the shore... I find myself thinking perhaps it wouldn't be so
> bad to use build environment $PATH to resolve non-absolute arguments into
> absolute ones (and thus, into file dependencies). IFF the argument can be

This seems reasonable. I'll dig in a bit and see what I find.

Here is the ticket on my side:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=9692

> resolved within the build environment, that is, otherwise throw a warning
> maybe. That's more or less what's outlined in the ticket.
> 
> 	- Panu -
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxxxxx
> http://lists.rpm.org/mailman/listinfo/rpm-list
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux