Created attachment 752 [details] log of do_rootfs add following line to local.conf: INC_RPM_IMAGE_GEN = "1" when run "bitbake core-image-sato","bitbake core-image-sato-sdk" to build qemumips image, following error (sato-sdk for example): ... | Delayed package scriptlet: # oprofileui - postinst | log_check: Using /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.31533 as logfile | log_check: There were error messages in the logfile | log_check: Matched keyword: [ERR] | | perl-module-extutils-cbuilde################################################## | perl-module-extutils-cbuilde################################################## | perl-module-exporter-heavy ################################################## | perl-module-exporter ################################################## | perl-module-exceptions ################################################## | perl-module-errno ################################################## | perl-module-english ################################################## | perl-module-encoding-warning################################################## | perl-module-encoding ################################################## | perl-module-encode-unicode-u################################################## | perl-module-encode-unicode ################################################## | -- | grep: /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs/etc/passwd: No such file or directory | WARNING: useradd command did not succeed. Retrying... | useradd: user 'avahi' already exists | grep: /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs/etc/passwd: No such file or directory | WARNING: useradd command did not succeed. Retrying... | ERROR: tried running useradd command 10 times without success, giving up | avahi-daemon ################################################## | Adding system startup for /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs/etc/init.d/avahi-daemon. | base-passwd ################################################## | bash ################################################## | update-alternatives: Linking /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs//bin/sh to bash | -- | WARNING: useradd command did not succeed. Retrying... | WARNING: useradd command did not succeed. Retrying... | WARNING: useradd command did not succeed. Retrying... | WARNING: useradd command did not succeed. Retrying... | WARNING: useradd command did not succeed. Retrying... | ERROR: tried running useradd command 10 times without success, giving up | connman ################################################## | Adding system startup for /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs/etc/init.d/connman. | connman-gnome ################################################## | coreutils ################################################## | update-alternatives: Linking /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs//usr/bin/[ to lbracket.coreutils | -- | WARNING: groupadd command did not succeed. Retrying... | WARNING: groupadd command did not succeed. Retrying... | WARNING: groupadd command did not succeed. Retrying... | WARNING: groupadd command did not succeed. Retrying... | WARNING: groupadd command did not succeed. Retrying... | ERROR: tried running groupadd command 10 times without success, giving up | dbus-1 warning: user messagebus does not exist - using root | warning: group messagebus does not exist - using root | warning: user messagebus does not exist - using root | warning: group messagebus does not exist - using root | warning: group messagebus does not exist - using root | -- | libglib-2.0-dev ################################################## | libglu1 ################################################## | libgmp10 ################################################## | libgnome-keyring0 ################################################## | libgnutls26 ################################################## | libgpg-error0 ################################################## | libgstaudio-0.10-0 ################################################## | libgstinterfaces-0.10-0 ################################################## | libgstpbutils-0.10-0 ################################################## | libgstriff-0.10-0 ################################################## | libgsttag-0.10-0 ################################################## | -- | WARNING: useradd command did not succeed. Retrying... | WARNING: useradd command did not succeed. Retrying... | WARNING: useradd command did not succeed. Retrying... | WARNING: useradd command did not succeed. Retrying... | WARNING: useradd command did not succeed. Retrying... | ERROR: tried running useradd command 10 times without success, giving up | openssh-sshd ################################################## | Adding system startup for /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs/etc/init.d/sshd. | oprofile ################################################## | pango ################################################## | pango-module-basic-fc ################################################## | -- | Processing xserver-xorg-dev... | Processing flac-dev... | Processing xkbcomp-dev... | Processing xserver-nodm-init-dev... | Processing formfactor-dev... | Processing libgpg-error-dev... | Processing matchbox-desktop-dev... | Processing task-base-irda-dev... | Processing owl-video-dev... | Processing qt4-x11-free-dev... | Processing libxcalibrate-dev... | -- | libogg-dev ################################################## | update-rc.d-dev ################################################## | libatk-1.0-dev ################################################## | libreadline-dev ################################################## | libuuid-dev ################################################## | libgpg-error-dev ################################################## | hicolor-icon-theme-dev ################################################## | libqtsql4 ################################################## | base-passwd-dev ################################################## | libsndfile1 ################################################## | libqtscript4 ################################################## | libqtopengl4 ################################################## | libbz2-dev ################################################## | libqtxmlpatterns4 ################################################## | libqtdbus4 ################################################## | libjson0 ################################################## | libcom-err2 ################################################## | liblzma-dev ################################################## | libboost-system1.50.0 ################################################## | libattr-dev ################################################## | zypper-locale-en-us ################################################## | formfactor-dev ################################################## | | ERROR: Function failed: do_rootfs (see /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.31533 for further information) ERROR: Task 7 (/buildarea/poky.ubuntu.new/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 6073 tasks of which 5267 didn't need to be rerun and 1 failed. Summary: 1 task failed: /buildarea/poky.ubuntu.new/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs Summary: There were 16 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. ------------- the error "ERROR: tried running useradd command 10 times without success, giving up" is found. /buildarea/tester/build_29/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.31533 is as attachement. git info: git branch:poky/master the error maybe similar to bug 2743.
git info:bb0aab79e488a99cb1b43f72f0e8ddbe39d97519 git branch: poky/master test env: opensuse 12.1 x86_64
I will figure out the relationship between INC_RPM_IMAGE_GEN and the useradd failure.
*** Bug 3074 has been marked as a duplicate of this bug. ***
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=092895cdb1adbe4e2155c4ba40ad2986734b0044
verified on : git info:7250638ec895bc89508711831083d43b9e1e9826 git branch: poky/master test env: host :fedora 17 x86_64 build qemu-mips sato,sato-sdk,minimal images add following line to local.conf: INC_RPM_IMAGE_GEN = "1",no such error. also as follown steps descibed in bug 3074: bitbake core-image-minimal bitbake zlib -cclean bitbake core-image-minimal no error met.