Bug 925 - do_package_write_rpm failed: .../tmp/deploy/rpm does not exist
Summary: do_package_write_rpm failed: .../tmp/deploy/rpm does not exist
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 PointRelease
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-22 23:08 UTC by Dexuan Cui
Modified: 2011-05-13 11:16 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
the complete log (620.77 KB, application/octet-stream)
2011-03-22 23:09 UTC, Dexuan Cui
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dexuan Cui 2011-03-22 23:08:09 UTC
I happened to find the following error when building today's poky master plus meta-n450 and meta-demo.

Re-runing "bitbake gnu-config" worked. So there may be some race condition or task dependency issue?

Please see the attachment for the complete log.



OE Build Configuration:
BB_VERSION        = "1.11.0"
METADATA_BRANCH   = "master"
METADATA_REVISION = "aeaa356a5ee77b4596c479451a9db289381a4d16"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "n450"
DISTRO            = "poky"
DISTRO_VERSION    = "0.9+snapshot-20110323"
TARGET_FPU        = "

...

ERROR: Lockfile destination directory '/distro/dcui/poky.git/build-n450/tmp/deploy/rpm' does not exist
ERROR: Function 'do_package_rpm' failed
ERROR: Logfile of failure stored in: /distro/dcui/poky.git/build-n450/tmp/work/core2-poky-linux/gnu-config-0.1+cvs20080123-r2/temp/log.do_package_write_rpm.15239
Log data follows:
| NOTE: Creating RPM package for gnu-config
| ERROR: Lockfile destination directory '/distro/dcui/poky.git/build-n450/tmp/deploy/rpm' does not exist
| ERROR: Function 'do_package_rpm' failed
NOTE: package gnu-config-0.1+cvs20080123-r2: task do_package_write_rpm: Failed
NOTE: package gcc-cross-initial-4.5.1-r4: task do_package_write_rpm: Started
ERROR: Task 4381 (/distro/dcui/poky.git/meta/recipes-devtools/gnu-config/gnu-config_20080123.bb, do_package_write_rpm) failed with exit code '1'
Comment 1 Dexuan Cui 2011-03-22 23:09:14 UTC
Created attachment 124 [details]
the complete log
Comment 3 Dexuan Cui 2011-03-30 18:22:15 UTC
(In reply to comment #2)
> Fixed in master in
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=68baef906513c1abef5372d92c769dc5d695e054

Looks the commit doesn't really fix the bug and now the ERROR is a little different now:
http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/86/steps/shell_3/logs/stdio :
ERROR: Lockfile destination directory '/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/deploy/rpm' does not exist
ERROR: Function 'sstate_task_postfunc' failed
NOTE: package xextproto-native-1_7.1.2-r0: task do_install: Started
ERROR: Logfile of failure stored in: /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/i586-poky-linux/binutils-cross-2.21-r0/temp/log.do_package_write_rpm.14477
Log data follows:
| ERROR: Lockfile destination directory '/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/deploy/rpm' does not exist
| ERROR: Function 'sstate_task_postfunc' failed
NOTE: package binutils-cross-2.21-r0: task do_package_write_rpm: Failed
ERROR: Task 3251 (/srv/home/pokybuild/poky-slave/nightly-external/build/meta/recipes-devtools/binutils/binutils-cross_2.21.bb, do_package_write_rpm) failed with exit code '1'
NOTE: Running t
Comment 4 Richard Purdie 2011-03-31 04:29:10 UTC
Sorry, we did indeed just move the problem. I've merged a patch from upstream bitbake to address this fully:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d38968c4fca254dd478be8a54881b93ff29fadb5
Comment 5 Dexuan Cui 2011-04-10 22:48:09 UTC
(In reply to comment #4)
> Sorry, we did indeed just move the problem. I've merged a patch from upstream
> bitbake to address this fully:
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d38968c4fca254dd478be8a54881b93ff29fadb5

VERIFY