Добрый день! Собираю образ файловой системы с пакетом helloworld-image (для AT91SA9261, c помощью bitbake, ветка базы с пакетами org.openembedded.dev). Возникает ошибка на этапе выполнения задачи для пакета file-4.20. А именно при выполнения task'а do_patch. На консоли выводится следующее:
Код
bitbake helloworld-image
/home/Nastya/WORK/PACKAGES/OE/stuff2/bitbake-1.8.6/lib/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
import types, sets
NOTE: Handling BitBake files: / (4652/4652) [100 %]
NOTE: Parsing finished. 4432 cached, 0 parsed, 220 skipped, 0 masked.
NOTE: build 200905061953: started
OE Build Configuration:
BB_VERSION = "1.8.6"
OE_REVISION = "aa44d626baaae40ee498aea453176a8aea90d9fc"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "at91sam9261ek"
DISTRO = "angstrom"
DISTRO_VERSION = "at91-20090506"
TARGET_FPU = "soft"
NOTE: Resolving missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 163 of 335 (ID: 197, /home/Nastya/WORK/PACKAGES/OE/stuff2/org.openembedded.dev/packages/file/file-native_4.20.bb, do_patch)
NOTE: package file-native-4.20: started
NOTE: package file-native-4.20-r0: task do_patch: started
NOTE: Applying patch 'native-fix.diff'
__builtin__:11: DeprecationWarning: the md5 module is deprecated; use hashlib instead
ERROR: Error in executing:
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1 Output:
Applying patch native-fix.diff
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:
--------------------------
|Index: file-4.16/magic/Makefile.am
|===================================================================
|--- file-4.20.orig/magic/Makefile.am 2005-08-18 17:20:49.000000000 +0200
|+++ file-4.20/magic/Makefile.am 2006-03-08 17:01:13.000000000 +0100
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch native-fix.diff does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1 Output:
и так далее.
Если можно, разъясните, пожалуйста, суть ошибки (я так понимаю, он не может найти файл с патчем или файл который нужно патчить, в общем, непонятно мне

) и как можно ее преодолеть.
P.S. мой вопрос может показатьс глупым, но я новичок в этом вопросе. Спасибо)