* How to avoid spurious RPM dependencies?
@ 2012-01-17 20:14 Koen Kooi
2012-01-17 20:41 ` McClintock Matthew-B29882
2012-01-17 20:50 ` Mark Hatle
0 siblings, 2 replies; 3+ messages in thread
From: Koen Kooi @ 2012-01-17 20:14 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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?
regards,
Koen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to avoid spurious RPM dependencies?
2012-01-17 20:14 How to avoid spurious RPM dependencies? Koen Kooi
@ 2012-01-17 20:41 ` McClintock Matthew-B29882
2012-01-17 20:50 ` Mark Hatle
1 sibling, 0 replies; 3+ messages in thread
From: McClintock Matthew-B29882 @ 2012-01-17 20:41 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Tue, Jan 17, 2012 at 2:14 PM, Koen Kooi <koen@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to avoid spurious RPM dependencies?
2012-01-17 20:14 How to avoid spurious RPM dependencies? Koen Kooi
2012-01-17 20:41 ` McClintock Matthew-B29882
@ 2012-01-17 20:50 ` Mark Hatle
1 sibling, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2012-01-17 20:50 UTC (permalink / raw)
To: openembedded-core
On 1/17/12 2:14 PM, Koen Kooi 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:
The dependency scanner checks that a file is executable before scanning it.
> ./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:
So in the csh case, if it's an example and not something people would normally
be executing simply remove the execute bit -- otherwise it's bug and should be
addressed in some way. (My preference when I see csh scripts is to execute an
rm -f) ;)
> ./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?
Yes, that is the preferred way of referring to python.
--Mark
> regards,
>
> Koen
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-17 22:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-17 20:14 How to avoid spurious RPM dependencies? Koen Kooi
2012-01-17 20:41 ` McClintock Matthew-B29882
2012-01-17 20:50 ` Mark Hatle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox