[Bug 740] New: openmoko-devel-image do_rootfs fails in makedevs

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Wed Aug 22 01:40:05 CEST 2007


           Summary: openmoko-devel-image do_rootfs fails in makedevs
           Product: OpenMoko
           Version: 2007.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: OE bitbake recipes  / build system
        AssignedTo: mickey at vanille-media.de
        ReportedBy: jseghers at cequint.com
                CC: buglog at lists.openmoko.org

This task first erases the old rootfs, creates rootfs/dev then calls makedevs.

However, the input file to makedevs also specifies three files in rootfs/bin
which it is unable to write because of the missing directory.

openembedded/classes/image.bbclass needs to create rootfs/bin before calling

Error is shown below:

/home/moko2$ make openmoko-devel-image
( cd build && . ../setup-env && \
          bitbake openmoko-devel-image )
NOTE: Handling BitBake files: / (4566/4566) [100 %]
NOTE: Parsing finished. 4342 cached, 0 parsed, 224 skipped, 0 masked.
NOTE: build 200708211515: started

OE Build Configuration:
BB_VERSION     = "1.8.6"
OE_REVISION    = "ea002ef2dfcdc37b8ecca56a22b29c5104e27f75"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "fic-gta01"
DISTRO         = "openmoko"
DISTRO_VERSION = "P1-August-Snapshot-20070821"
TARGET_FPU     = "soft"

NOTE: Resolving missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 3391 of 3392 (ID: 10,
/home/moko2/org.openembedded.dev/packages/images/openmoko-devel-image.bb, do_rootfs)
NOTE: package openmoko-devel-image-1.0: started
NOTE: package openmoko-devel-image-1.0-r0: task do_rootfs: started
ERROR: function do_rootfs failed
ERROR: log data follows
| + rm -rf /home/moko2/build/tmp/rootfs
| + '[' 0 '!=' 1 ']'
| + mkdir -p /home/moko2/build/tmp/rootfs/dev
| + for devtable in /home/moko2/openembedded/files/device_table-minimal.txt
| + makedevs -r /home/moko2/build/tmp/rootfs -D
| makedevs: /home/moko2/build/tmp/rootfs/bin/tinylogin: file can not be created!
NOTE: Task failed:
NOTE: package openmoko-devel-image-1.0-r0: task do_rootfs: failed
ERROR: TaskFailed event exception, aborting
NOTE: package openmoko-devel-image-1.0: failed
ERROR: Build of
do_rootfs failed
ERROR: Task 10
do_rootfs) failed
NOTE: Tasks Summary: Attempted 3390 tasks of which 3390 didn't need to be rerun
and 1 failed.
'/home/moko2/org.openembedded.dev/packages/images/openmoko-devel-image.bb' failed
make: *** [openmoko-devel-image] Error 1

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the buglog mailing list