do_rootfs fails

68 views
Skip to first unread message

Kai Warncke

unread,
Feb 27, 2012, 11:10:10 AM2/27/12
to hidav-devel-list
Hi,

i've got a problem finishing the build of the hydraip-image target.

| Collected errors:
| * preinst_configure: Aborting installation of base-passwd.
| * opkg_install_cmd: Cannot install package task-basic.
| * preinst_configure: Aborting installation of systemd.
| * opkg_install_cmd: Cannot install package systemd.
| * preinst_configure: Aborting installation of base-passwd.
| * opkg_install_cmd: Cannot install package connman.
| * preinst_configure: Aborting installation of systemd.
| * opkg_install_cmd: Cannot install package portmap-systemd.
| * preinst_configure: Aborting installation of connman.
| * opkg_install_cmd: Cannot install package connman-systemd.
| * preinst_configure: Aborting installation of base-passwd.
| * opkg_install_cmd: Cannot install package angstrom-task-boot.
NOTE: package hydraip-image-1.0-r0+r11.3: task do_rootfs: Failed
ERROR: Task 8 (/home/kai/arbeit/hidav/HidaV/meta-hidav/recipes-core/
image/hydraip-image.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2773 tasks of which 2772 didn't need to
be rerun and 1 failed.

Summary: 1 task failed:
/home/kai/arbeit/hidav/HidaV/meta-hidav/recipes-core/image/hydraip-
image.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit
code.

I guess it has something to do with the denied permissions but i don't
know why there are missing permissions
all of a sudden.

| Downloading file:/home/kai/arbeit/hidav/HidaV/build/tmp-eglibc/
deploy/ipk/armv7a/libffi5_3.0.10-r0_armv7a.ipk.
| Installing libgcc1 (4.5-r45+svnr181733) to root...
| Downloading file:/home/kai/arbeit/hidav/HidaV/build/tmp-eglibc/
deploy/ipk/armv7a/libgcc1_4.5-r45+svnr181733_armv7a.ipk.
| Installing base-passwd (3.5.22-r9) to root...
| sh: /tmp/opkg-DQNZs9/base-passwd-ZVXA6x/preinst: /bin/sh: bad
interpreter: Permission denied
| Installing systemd-analyze (v39-r13) to root...
| Downloading file:/home/kai/arbeit/hidav/HidaV/build/tmp-eglibc/
deploy/ipk/armv7a/systemd-analyze_v39-r13_armv7a.ipk.
| Installing python-dbus (0.84.0-r1) to root...

Regards,

Kai

Thilo Fromm

unread,
Mar 15, 2012, 1:01:58 PM3/15/12
to hidav-de...@dresearch-fe.de
Hi Kai,

sorry for my delayed response.

> i've got a problem finishing the build of the hydraip-image target.
>
> | Collected errors:

[...]


> ERROR: Task 8 (/home/kai/arbeit/hidav/HidaV/meta-hidav/recipes-core/
> image/hydraip-image.bb, do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2773 tasks of which 2772 didn't need to
> be rerun and 1 failed.
>
> Summary: 1 task failed:
>  /home/kai/arbeit/hidav/HidaV/meta-hidav/recipes-core/image/hydraip-
> image.bb, do_rootfs
> Summary: There was 1 ERROR message shown, returning a non-zero exit
> code.
>
> I guess it has something to do with the denied permissions but i don't
> know why there are missing permissions
> all of a sudden.

This sure looks strange. Unfortunately I cannot reproduce the problem
right now. Do you still have this issue after a clean build (i.e.
after removing "build/tmp-eglibc" and "build/sstate-cache")? If so,
could you please attach the rootfs build log? You can find it at
"build/tmp-eglibc/work/hidav-angstrom-linux-gnueabi/hydraip-image-<
... version ...>/temp/log.do_rootfs".

Regards,
Thilo

--
Dipl.-Ing (FH) Thilo Fromm, MSc., Embedded Systems Architect
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, D-10319 Berlin, Germany
Tel: +49 (30) 515 932 228   mailto:fr...@dresearch-fe.de
Fax: +49 (30) 515 932 77    http://www.dresearch.de
Amtsgericht: Berlin Charlottenburg, HRB 130120 B
Ust.-IDNr. DE273952058
Geschäftsführer: Dr. M. Weber, W. Mögle

Kai Warncke

unread,
Mar 19, 2012, 5:39:01 AM3/19/12
to hidav-devel-list
Hi Thilo,

The problem was gone after setting the umask again.
The appearance of this permission issue so late in
the build process was strange though.

So, setting umask 0002 did the trick.

Thanks,
Kai
Reply all
Reply to author
Forward
0 new messages