[yocto] Yocto Bitbake Error - rmp-native task failure

Joseph Andrew de la Peña jdelapena at lexmark.com
Wed Jul 23 00:07:48 PDT 2014


Good day Anoop,

Error is from do_patch task for rpm-native unit:
patch: **** Can't create file /tmp/tmpT3pUSD/poMZnbmM : No such file or
directory

Please verify in your recipe all the SRC_URIs (patches) to be applied.
Could be that your SRCREV and patches are in conflict. The odd thing is why
the patch -p0 is not specifying a patch file.

To sum it up, please check the rpm-native recipe.

Thanks,
Joseph


On Wed, Jul 23, 2014 at 2:51 PM, Anoop <babu.anoop at gmail.com> wrote:

>
> I gave bitbake for imx6qsabreauto
>
> command used
> bitbake -v tizen-common-core-image-minimal-dev
>
>
> below is the error section from the log
> + patch -p0
>
> patch: **** Can't create file /tmp/tmpT3pUSD/poMZnbmM : No such file or
> directory
>
> + bb_exit_handler
> + ret=2
> + echo WARNING: exit code 2 from a shell command.
> WARNING: exit code 2 from a shell command.
> + exit 2
>
> ERROR: Function failed: do_prep (log file is located at
> /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
> r0/temp/log.do_patch.32228)
> /usr/bin/install -c -m 644 ./Lib/test/test_bool.py
> /home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib/python2.7/test
>
> ERROR: Logfile of failure stored in:
> /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
> r0/temp/log.do_patch.32228
> NOTE: recipe rpm-native-git-r0: task do_patch: Failed
> ERROR: Task 85 (virtual:native:/home/sfm/yocto_temp/meta-tizen/recipes-
> tizen/rpm/rpm_git.bb, do_patch) failed with exit code '1'
>
> Error log from patch file
> +
> chmod
>  -Rf
>  a+rX,u+w,g-w,o-w
>  /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-r0/git
>
>
> + cp /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
> r0/git/packaging/rpm.manifest .
>
> + rm -rf sqlite
>
> + tar xjf /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
> r0/git/packaging/db-4.8.30.tar.bz2
>
> + ln -s db-4.8.30 db
>
> + chmod -R u+w db/LICENSE db/README db/btree db/build_brew db/build_s60
> db/build_unix db/build_vxworks db/build_wince db/build_windows db/clib
> db/common db/crypto db/csharp db/cxx db/db db/db185 db/db_archive
> db/db_checkpoint db/db_deadlock db/db_dump db/db_dump185 db/db_hotbackup
> db/db_load db/db_printlog db/db_recover db/db_sql db/db_stat db/db_upgrade
> db/db_verify db/dbinc db/dbinc_auto db/dbm db/dbreg db/dist db/docs
> db/docs_src db/env db/examples_c db/examples_csharp db/examples_cxx
> db/examples_java db/examples_stl db/fileops db/hash db/hmac db/hsearch
> db/java db/libdb_csharp db/libdb_java db/lock db/log db/mod_db4 db/mp
> db/mutex db/os db/os_brew db/os_qnx db/os_s60 db/os_vxworks db/os_windows
> db/perl db/php_db4 db/qam db/rep db/repmgr db/sequence db/stl db/tcl
> db/test
> db/test_micro db/test_stl db/txn
>
> + rm -f rpmdb/db.h
>
> + patch -p0
>
> patch: **** Can't create file /tmp/tmpT3pUSD/poMZnbmM : No such file or
> directory
>
> + bb_exit_handler
> + ret=2
> + echo WARNING: exit code 2 from a shell command.
> WARNING: exit code 2 from a shell command.
> + exit 2
>
> + cd /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-r0/git
> + do_prep
> + cd /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-r0/git
> + chmod -Rf a+rX,u+w,g-w,o-w /home/sfm/yocto_temp/build/tmp/work/i686-
> linux/rpm-native/git-r0/git
> + cp /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
> r0/git/packaging/rpm.manifest .
> + rm -rf sqlite
> + tar xjf /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
> r0/git/packaging/db-4.8.30.tar.bz2
> + ln -s db-4.8.30 db
> + chmod -R u+w db/LICENSE db/README db/btree db/build_brew db/build_s60
> db/build_unix db/build_vxworks db/build_wince db/build_windows db/clib
> db/common db/crypto db/csharp db/cxx db/db db/db185 db/db_archive
> db/db_checkpoint db/db_deadlock db/db_dump db/db_dump185 db/db_hotbackup
> db/db_load db/db_printlog db/db_recover db/db_sql db/db_stat db/db_upgrade
> db/db_verify db/dbinc db/dbinc_auto db/dbm db/dbreg db/dist db/docs
> db/docs_src db/env db/examples_c db/examples_csharp db/examples_cxx
> db/examples_java db/examples_stl db/fileops db/hash db/hmac db/hsearch
> db/java db/libdb_csharp db/libdb_java db/lock db/log db/mod_db4 db/mp
> db/mutex db/os db/os_brew db/os_qnx db/os_s60 db/os_vxworks db/os_windows
> db/perl db/php_db4 db/qam db/rep db/repmgr db/sequence db/stl db/tcl
> db/test
> db/test_micro db/test_stl db/txn
> + rm -f rpmdb/db.h
> + patch -p0
> patch: **** Can't create file /tmp/tmpT3pUSD/poMZnbmM : No such file or
> directory
> + bb_exit_handler
> + ret=2
> + echo WARNING: exit code 2 from a shell command.
> WARNING: exit code 2 from a shell command.
> + exit 2
> DEBUG: Python function do_patch finished
> ERROR: Function failed: do_prep (log file is located at
> /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
> r0/temp/log.do_patch.32228)
>
> can any one help on how to resolve this error
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140723/104736f4/attachment.html>


More information about the yocto mailing list