Please help me to bitbake "stable" version.

Vladimir Doukhanine vova12 at gmail.com
Sun Dec 7 19:35:25 CET 2008


*Hi Holger,**
**
**I've commented**
**
**#BB_GIT_CLONE_FOR_SRCREV = "1"**
**
**but it still failes for git checkout origin/org.openmoko.asu.stable **
*

*and for **org.openmoko.dev **as well. An error is different:*

$*git show*
commit b0feadc4e73b31ac2e70c5ea5d3f3fedf414b4e0
Author: John Lee <john_lee at openmoko.com>
Date: Fri Dec 5 23:58:04 2008 +0800

*$git checkout origin/org.openmoko.asu.stable*

$ *bitbake --version*
BitBake Build Tool Core version 1.8.11, bitbake version 1.8.11

*ALLOW_EMPTY = "1"
BBFILES := "${HOME}/moko/openmoko/packages/*/*.bb"
#BB_GIT_CLONE_FOR_SRCREV = "1"
BBINCLUDELOGS = "yes"
BBMASK = ""
DISTRO = "openmoko"
DL_DIR = "${HOME}/moko/sources"
EXTENDPE = ""
GLIBC_GENERATE_LOCALES = "en_US.UTF-8"
IMAGE_FSTYPES = "jffs2 tar.gz"
INHERIT += "om-utils"
MACHINE = "om-gta02"
#PARALLEL_MAKE = "-j 8"
#BB_NUMBER_THREADS = "8"
QA_LOG = "1"
TMPDIR := "${HOME}/moko/build/"

**$bitbake helloworld*
r/moko/build//work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/../include
/home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/gcov-dump.c
-o gcov-dump.o
| ccache gcc
-isystem/home/vladimir/moko/build//staging/i686-linux/usr/include -Os
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -DHAVE_CONFIG_H gcov-dump.o version.o
../libiberty/libiberty.a -o gcov-dump
| ccache gcc
-isystem/home/vladimir/moko/build//staging/i686-linux/usr/include -Os
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -DHAVE_CONFIG_H
-isystem/home/vladimir/moko/build//staging/i686-linux/usr/include -I. -I.
-I/home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc
-I/home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/.
-I/home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/../include
\
| -DTARGET_MACHINE=\"i686-linux\" \
| -c
/home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/collect2.c
-o collect2.o
| In function 'open',
| inlined from 'collect_execute' at
/home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/collect2.c:1537:
| /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode'
declared with attribute error: open with O_CREAT in second argument needs 3
arguments
| make[1]: *** [collect2.o] Error 1
| make[1]: Leaving directory
`/home/vladimir/moko/build/work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/build.i686-linux.i686-linux/gcc'
| make: *** [all-gcc] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/temp/log.do_compile.21134
NOTE: package gcc-native-3.4.4-r7: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gcc-native-3.4.4: failed
ERROR: Build of /home/vladimir/moko/openmoko/packages/gcc/
gcc-native_3.4.4.bb do_compile failed
ERROR: Task 274 (/home/vladimir/moko/openmoko/packages/gcc/
gcc-native_3.4.4.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 132 tasks of which 0 didn't need to be rerun
and 1 failed.
ERROR: '/home/vladimir/moko/openmoko/packages/gcc/gcc-native_3.4.4.bb'
failed
NOTE: build 200812060947: completed


*$git checkout org.openmoko.dev*
*$bitbake helloworld*

**
*After fixing syscall.c I can compile helloworld:*

*nedit
~/moko/build/work/i686-linux/qemu-native-0.9.1-r7/qemu-0.9.1/linux-user/syscall.c&
**
**#include <dirent.h> instead of <linux/dirent.h>*

*bitbake fso-image*

ERROR: Multiple .bb files are due to be built which each provide
virtual/xserver
(/home/vladimir/moko/openmoko/packages/xorg-xserver/xserver-kdrive-glamo_1.3.0.0+
git.bb /home/vladimir/moko/openmoko/packages/xorg-xserver/
xserver-kdrive_1.3.0.0.bb/home/vladimir/moko/openmoko/packages/xorg-xserver/
xserver-xorg_1.3.0.0.bb).
 This usually means one provides something the other doesn't and should.

ERROR: QA Issue: ecore_evas_gl_x11.la failed sanity test (workdir) in path
/home/vladimir/moko/build//staging/armv4t-angstrom-linux-gnueabi/usr/lib/etk/engines
ERROR: QA Issue: libxf4bpp.la failed sanity test (workdir) in path
/home/vladimir/moko/build//staging/armv4t-angstrom-linux-gnueabi/usr/lib/xorg/modules
ERROR: QA staging was broken by the package built above
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Build of
/home/vladimir/moko/openmoko/packages/images/fso-image.bbdo_qa_staging
failed
ERROR: Task 13 (/home/vladimir/moko/openmoko/packages/images/fso-image.bb,
do_qa_staging) failed
NOTE: Tasks Summary: Attempted 5070 tasks of which 431 didn't need to be
rerun and 1 failed.
ERROR: '/home/vladimir/moko/openmoko/packages/images/fso-image.bb' failed
NOTE: build 200812061504: completed

*$ls -la ~/moko/build/deploy/glibc/images/om-gta02/*
total 26548
drwxr-xr-x 2 vladimir vladimir 4096 2008-12-06 19:59 .
drwxr-xr-x 3 vladimir vladimir 4096 2008-12-06 19:59 ..
-rw-r--r-- 1 vladimir vladimir 25351594 2008-12-06 19:59
modules-2.6.24+gitr0+fb42ce6724576fc173faf8abfb04aa2c36d213b7-r2-om-gta02.tgz
-rw-r--r-- 1 vladimir vladimir 1780056 2008-12-06 19:59
uImage-2.6.24+gitr0+fb42ce6724576fc173faf8abfb04aa2c36d213b7-r2-om-gta02.bin
lrwxrwxrwx 1 vladimir vladimir 133 2008-12-06 19:59
uImage-om-gta02-latest.bin ->
/home/vladimir/moko/build//deploy/glibc/images/om-gta02//uImage-2.6.24+gitr0+fb42ce6724576fc173faf8abfb04aa2c36d213b7-r2-om-gta02.bin
vladimir at vladimir-desktop:~/moko/openmoko$

*I also run bitbake  with config files from:*

*http://downloads.openmoko.org/build/testing/*

*but also without success.*

**

*Cheers,**
*
*
**Vlad**
**
*
On Thu, Dec 4, 2008 at 3:46 PM, Holger Freyther <zecke at selfish.org> wrote:

> On Thursday 04 December 2008 21:18:13 Vladimir Doukhanine wrote:
> > *Hi,*
> >
> > *I'm trying to build more or less stable version:
>
> which version of Bitbake do you use? Which configuration (feel free to
> attach
> that to this mail). For private builds you might not want to have
> BB_GIT_CLONE_FOR_SRCREV="1" in your local.conf.
>
>
>
> >
> > *At first, readme is misleading:*
>
> I will fix that tomorrow.
>
>
> z.
>
>
> _______________________________________________
> devel mailing list
> devel at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/devel/attachments/20081207/d9e40a69/attachment-0001.htm 


More information about the devel mailing list