Skip to contentSkip to conversation

Tizen Bitbake error - systemd

DISCUSSION Anoop 2 participants 2 messages Jul 30, 2014 – Aug 11, 2014

lore
Share & tools
lore

Anoop

author
#0 lore raw

Tizen yocto build bitbake error

Summary: 1 task failed:
/home/sfm/yocto_temp/meta-tizen/recipes-tizen/systemd/systemd_git.bb,
do_install
+ /usr/bin/mkdir -p /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon- poky-linux-gnueabi/systemd/git-r0/image//usr/sbin

/home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/temp/run.do_install.17788: line 131: /usr/bin/mkdir:
No such file or directory
+ bb_exit_handler
+ ret=1
+ case $ret in
+ case $BASH_VERSION in
+ echo 'WARNING: /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon- poky-linux-gnueabi/systemd/git-r0/temp/run.do_install.17788:1 exit 1 from /usr/bin/mkdir' -p /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-
neon-poky-linux-gnueabi/systemd/git-r0/image//usr/sbin
WARNING: /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/temp/run.do_install.17788:1 exit 1 from
/usr/bin/mkdir -p /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-
poky-linux-gnueabi/systemd/git-r0/image//usr/sbin
+ exit 1

ERROR: Function failed: do_install (log file is located at /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/temp/log.do_install.17788)
ERROR: Logfile of failure stored in:
/home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/temp/log.do_install.17788
NOTE: recipe systemd-git-r0: task do_install: Failed checking if gcc supports -fno-rtti -fno-exceptions...
ERROR: Task 1466 (/home/sfm/yocto_temp/meta-tizen/recipes- tizen/systemd/systemd_git.bb, do_install) failed with exit code '1'

***do install log file****

+ rm -f /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image/usr/share/info/dir
+ find /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image -regex '.*\.la$'
+ xargs rm -f --

+ find /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image -regex '.*\.a$'

+ xargs rm -f --

+ /usr/bin/mkdir -p /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon- poky-linux-gnueabi/systemd/git-r0/image//usr/sbin

xa9hf-vfp-neon-poky-linux-gnueabi/systemd/git-r0/image$dir/$2 && ln -s $1 /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image$dir/$2 && shift 2 || exit $?; done unable to set CAP_SETFCAP effective capability: Operation not permitted Makefile:14448: recipe for target 'systemd-detect-virt-install-hook' failed make[4]: [systemd-detect-virt-install-hook] Error 1 (ignored) what="systemd-udevd-control.socket systemd-udevd-kernel.socket systemd- journald.socket systemd-initctl.socket systemd-shutdownd.socket" &&
wants=sockets.target && [ -z "$what" ] || (
dir=/home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image/usr/lib/systemd/system/$wants.wants && /bin/mkdir -p -m 0755 $dir && cd $dir && rm -f $what && for i in $what; do ln -s ../$i . || exit $? ; done )
what="systemd-tmpfiles-clean.timer" && wants=timers.target && [ -z "$what"
] || ( dir=/home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky- linux-gnueabi/systemd/git-r0/image/usr/lib/systemd/system/$wants.wants && /bin/mkdir -p -m 0755 $dir && cd $dir && rm -f $what && for i in $what; do ln -s ../$i . || exit $? ; done )
setfacl -nm g:wheel:rx,d:g:wheel:rx /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image/var/log/journal/
setfacl: Option -m: Invalid argument near character 3 Makefile:14536: recipe for target 'libsystemd-journal-install-hook' failed make[4]: [libsystemd-journal-install-hook] Error 2 (ignored)
what="" && wants=slices.target && [ -z "$what" ] || (
dir=/home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image/usr/lib/systemd/system/$wants.wants && /bin/mkdir -p -m 0755 $dir && cd $dir && rm -f $what && for i in $what; do ln -s ../$i . || exit $? ; done )
set -- /usr/lib/systemd/system/remote-fs.target /etc/systemd/system/multi- user.target.wants/remote-fs.target /usr/lib/systemd/system/[email protected] /etc/systemd/system/getty.target.wants/[email protected] /etc/systemd/user /etc/xdg/systemd/user ../system-services/org.freedesktop.systemd1.service

/usr/share/dbus-1/services/org.freedesktop.systemd1.service && \
	dir= && 	while [ -n "$1" ]; do /bin/mkdir -p `dirname 

/home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image$dir/$2` && rm -f /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image$dir/$2 && ln -s $1 /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image$dir/$2 && shift 2 || exit $?; done Making install in po
linguas=""; \
for lang in $linguas; do \
dir=/home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-
gnueabi/systemd/git-r0/image/usr/share/locale/$lang/LC_MESSAGES; \
/bin/bash /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-
linux-gnueabi/systemd/git-r0/git/build-aux/install-sh -d $dir; \

  if test -r $lang.gmo; then \
    /usr/bin/install -c -m 644 $lang.gmo $dir/systemd.mo; \
    echo "installing $lang.gmo as $dir/systemd.mo"; \
  else \
    /usr/bin/install -c -m 644 ./$lang.gmo $dir/systemd.mo; \
    echo "installing ./$lang.gmo as" \
	 "$dir/systemd.mo"; \
  fi; \
  if test -r $lang.gmo.m; then \
    /usr/bin/install -c -m 644 $lang.gmo.m $dir/systemd.mo.m; \
    echo "installing $lang.gmo.m as $dir/systemd.mo.m"; \
  else \
    if test -r ./$lang.gmo.m ; then \
      /usr/bin/install -c -m 644 ./$lang.gmo.m \
	$dir/systemd.mo.m; \
      echo "installing ./$lang.gmo.m as" \
	   "$dir/systemd.mo.m"; \
    else \
      true; \
    fi; \

fi; \
done
+ rm -f /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image/usr/share/info/dir
+ find /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image -regex '.*\.la$'
+ xargs rm -f --
+ find /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/image -regex '.*\.a$'
+ xargs rm -f --
+ /usr/bin/mkdir -p /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon- poky-linux/home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky- linux-gnueabi/systemd/git-r0/temp/run.do_install.17788: line 131:
/usr/bin/mkdir: No such file or directory
+ bb_exit_handler
+ ret=1
+ case $ret in
+ case $BASH_VERSION in
+ echo 'WARNING: /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon- poky-linux-gnueabi/systemd/git-r0/temp/run.do_install.17788:1 exit 1 from /usr/bin/mkdir' -p /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-
neon-poky-linux-gnueabi/systemd/git-r0/image//usr/sbin
WARNING: /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/temp/run.do_install.17788:1 exit 1 from
/usr/bin/mkdir -p /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-
poky-linux-gnueabi/systemd/git-r0/image//usr/sbin
+ exit 1

-gnueabi/systemd/git-r0/image//usr/sbin /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/temp/run.do_install.17788: line 131: /usr/bin/mkdir:
No such file or directory
+ bb_exit_handler
+ ret=1
+ case $ret in
+ case $BASH_VERSION in
+ echo 'WARNING: /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon- poky-linux-gnueabi/systemd/git-r0/temp/run.do_install.17788:1 exit 1 from /usr/bin/mkdir' -p /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-
neon-poky-linux-gnueabi/systemd/git-r0/image//usr/sbin
WARNING: /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/temp/run.do_install.17788:1 exit 1 from
/usr/bin/mkdir -p /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-
poky-linux-gnueabi/systemd/git-r0/image//usr/sbin
+ exit 1
ERROR: Function failed: do_install (log file is located at /home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/temp/log.do_install.17788)

Request inputs to resolve this error

#1 lore raw
Quoted 3 lines · Anoop

/home/sfm/yocto_temp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux- gnueabi/systemd/git-r0/temp/run.do_install.17788: line 131: /usr/bin/mkdir:
No such file or directory

Did you get this resolved? The recipe is hard-coding /usr/bin/mkdir but you don't have a mkdir there - the recipe should just be using mkdir.

However as I've said before the maintainers of meta-tizen don't read this list, so you should approach them directly.

Ross