[OE-core] How to avoid spurious RPM dependencies?

McClintock Matthew-B29882 B29882 at freescale.com
Tue Jan 17 20:41:15 UTC 2012


On Tue, Jan 17, 2012 at 2:14 PM, Koen Kooi <koen at dominion.thruhere.net> wrote:
> Hi,
>
> I'm running into a problem with vim that seems to be caused by overeager rpmdeps:
>
> | error: Failed dependencies:
> |       /bin/csh is needed by vim-7.2.446-r10.3.armv7a
> |       /usr/local/bin/python is needed by python-imaging-1.1.7-r0.armv7a
>
> For vim I thing it's being caused by this:
>
> ./usr/share/vim/vim72/tools/vim132:1:#!/bin/csh
>
> What's the best way to stop rpm from wanting csh? Python-imaging is actually broken:
>
> ./usr/bin/pilfile.py:1:#! /usr/local/bin/python
> ./usr/bin/pilprint.py:1:#! /usr/local/bin/python
> ./usr/bin/pilconvert.py:1:#! /usr/local/bin/python
>
> Is #!/usr/bin/env python still the preferred shebang?

One option is to break out the scripts to separate packages, then only
those separate packages will bring in the unwanted deps... e.g.
vim-extras

-M




More information about the Openembedded-core mailing list