[oe] netpbm fails - "No file to patch"

AJ ONeal coolaj86 at gmail.com
Wed Oct 27 22:07:02 UTC 2010


The reason the patch doesn't apply is just a whitespace issue

my quickfix was to edit the .bb to not include the patch and then uncomment
the line that the patch was supposed to uncomment by hand.

bitbake -c configure netpbm
vim ./tmp/work/arm*/netpbm/netpbm*/netpbm.c
# uncomment TRY(jpeg)
bitbake netpbm

AJ ONeal


On Wed, Oct 27, 2010 at 2:30 PM, AJ ONeal <coolaj86 at gmail.com> wrote:

> Applying patch ppmtojpeg.patch
> can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |# This patch makes the /usr/bin/ppmtojpeg work on OE.
> |
> |--- netpbm-10.28/netpbm.c.orig 2005-08-04 13:20:15.665273549 -0700
> |+++ netpbm-10.28/netpbm.c      2005-08-04 13:21:09.288647855 -0700
> --------------------------
> No file to patch.  Skipping patch.
> 1 out of 1 hunk ignored
> Patch ppmtojpeg.patch does not apply (enforce with -f)
> ERROR: Task 1
> (/mnt/local/overo-coolaj86/org.openembedded.dev/recipes/netpbm/
> netpbm_10.28.bb, do_patch) failed
>
>
> AJ ONeal
>
>



More information about the Openembedded-devel mailing list