[lug] source rpm dependencies

D. Stimits stimits at idcomm.com
Thu Mar 15 21:30:37 MST 2001

Rob Riggs wrote:
> Aha! That explains it. You can add a "AutoReqProv: no" to the RPM
> spec file to make RPM stop doing its auto-dependency thing. But
> I'd also do a quick scan of the files to see if someone didn't
> write a shell script invoking the Bourne shell with a
> "#!/usr/bin/env sh", or something similar. (This example would
> be extremely silly.) I just tested RPMv4 with this case and
> it didn't declare "sh" a dependency.

Ok, my mistake...it wanted "/bin/sh" not "sh". The AutoReqProv failed :(

> You might want to check with the RPM developers to get their
> take on the problem.

Is there any means to communicate directly with the rpm developers? I
don't know if this is considered a bug per se, and it seems like they
are rather isolated from non-bugzilla reports. I imagine they are a bit
overwhelmed by questions, and feel a need to weed out the Bozo's. I
suspect there is little I can do to talk to them about the issue.

> "D. Stimits" wrote:
> >
> > Rob Riggs wrote:
> > >
> > > That's really odd. I make *lots* of RPMS, and have yet to see RPM
> > > make a mistake on dependencies like you are seeing. Is the failed
> > > dependency for "sh" or "/bin/sh"? Is the dependency a declared one,
> > > or is this one of RPM's automatic dependencies?
> >
> > It is looking for "sh" rather than "/bin/sh". The dependency is
> > apparently automatic, since it isn't listed in the spec file.
> --
> Rob Riggs
> http://www.pangalactic.org/

More information about the LUG mailing list