<strong>Hi Holger,</strong><strong><br></strong><strong><br></strong><strong>I&#39;ve  commented</strong><strong><br></strong><strong><br></strong><strong>#BB_GIT_CLONE_FOR_SRCREV = &quot;1&quot;</strong><strong><br></strong><strong><br>
</strong><strong>but it still failes for git checkout origin/org.openmoko.asu.stable </strong><strong><br></strong><p><strong>and for  </strong><strong>org.openmoko.dev </strong><strong>as well. An error is different:</strong></p>
<p>$<strong>git show</strong><br>commit b0feadc4e73b31ac2e70c5ea5d3f3fedf414b4e0<br>Author: John Lee &lt;<a href="mailto:john_lee@openmoko.com">john_lee@openmoko.com</a>&gt;<br>Date:   Fri Dec 5 23:58:04 2008 +0800<br><br>
<strong>$git checkout origin/org.openmoko.asu.stable</strong><br><br>$ <strong>bitbake --version</strong><br>BitBake Build Tool Core version 1.8.11, bitbake version 1.8.11<br><br><strong>ALLOW_EMPTY = &quot;1&quot;<br>BBFILES := &quot;${HOME}/moko/openmoko/packages/*/*.bb&quot;<br>
#BB_GIT_CLONE_FOR_SRCREV = &quot;1&quot;<br>BBINCLUDELOGS = &quot;yes&quot;<br>BBMASK = &quot;&quot;<br>DISTRO = &quot;openmoko&quot;<br>DL_DIR = &quot;${HOME}/moko/sources&quot;<br>EXTENDPE = &quot;&quot;<br>GLIBC_GENERATE_LOCALES = &quot;en_US.UTF-8&quot;<br>
IMAGE_FSTYPES = &quot;jffs2 tar.gz&quot;<br>INHERIT += &quot;om-utils&quot;<br>MACHINE = &quot;om-gta02&quot;<br>#PARALLEL_MAKE = &quot;-j 8&quot;<br>#BB_NUMBER_THREADS = &quot;8&quot;<br>QA_LOG = &quot;1&quot;<br>TMPDIR := &quot;${HOME}/moko/build/&quot;<br>
<br></strong><strong>$bitbake helloworld</strong><br>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<br>
| 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<br>
| 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   \<br>
|         -DTARGET_MACHINE=\&quot;i686-linux\&quot; \<br>|         -c /home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/collect2.c -o collect2.o<br>| In function &#39;open&#39;,<br>|     inlined from &#39;collect_execute&#39; at /home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/collect2.c:1537:<br>
| /usr/include/bits/fcntl2.h:51: error: call to &#39;__open_missing_mode&#39; declared with attribute error: open with O_CREAT in second argument needs 3 arguments<br>| make[1]: *** [collect2.o] Error 1<br>| 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&#39;<br>
| make: *** [all-gcc] Error 2<br>| FATAL: oe_runmake failed<br>NOTE: Task failed: /home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/temp/log.do_compile.21134<br>NOTE: package gcc-native-3.4.4-r7: task do_compile: failed<br>
ERROR: TaskFailed event exception, aborting<br>NOTE: package gcc-native-3.4.4: failed<br>ERROR: Build of /home/vladimir/moko/openmoko/packages/gcc/<a href="http://gcc-native_3.4.4.bb">gcc-native_3.4.4.bb</a> do_compile failed<br>
ERROR: Task 274 (/home/vladimir/moko/openmoko/packages/gcc/<a href="http://gcc-native_3.4.4.bb">gcc-native_3.4.4.bb</a>, do_compile) failed<br>NOTE: Tasks Summary: Attempted 132 tasks of which 0 didn&#39;t need to be rerun and 1 failed.<br>
ERROR: &#39;/home/vladimir/moko/openmoko/packages/gcc/<a href="http://gcc-native_3.4.4.bb">gcc-native_3.4.4.bb</a>&#39; failed<br>NOTE: build 200812060947: completed<br><br><br><strong>$git checkout org.openmoko.dev</strong><br>
<strong>$bitbake helloworld</strong></p><p><strong></strong><br><strong>After fixing syscall.c I can compile helloworld:</strong></p><p><strong>nedit ~/moko/build/work/i686-linux/qemu-native-0.9.1-r7/qemu-0.9.1/linux-user/syscall.c&amp;</strong><strong><br>
</strong><strong>#include &lt;dirent.h&gt; instead of &lt;linux/dirent.h&gt;</strong><br></p><p><strong>bitbake fso-image</strong><br><br>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+<a href="http://git.bb">git.bb</a> /home/vladimir/moko/openmoko/packages/xorg-xserver/<a href="http://xserver-kdrive_1.3.0.0.bb">xserver-kdrive_1.3.0.0.bb</a> /home/vladimir/moko/openmoko/packages/xorg-xserver/<a href="http://xserver-xorg_1.3.0.0.bb">xserver-xorg_1.3.0.0.bb</a>).<br>
&nbsp;This usually means one provides something the other doesn&#39;t and should.<br><br>ERROR: QA Issue: <a href="http://ecore_evas_gl_x11.la">ecore_evas_gl_x11.la</a> failed sanity test (workdir) in path /home/vladimir/moko/build//staging/armv4t-angstrom-linux-gnueabi/usr/lib/etk/engines<br>
ERROR: QA Issue: <a href="http://libxf4bpp.la">libxf4bpp.la</a> failed sanity test (workdir) in path /home/vladimir/moko/build//staging/armv4t-angstrom-linux-gnueabi/usr/lib/xorg/modules<br>ERROR: QA staging was broken by the package built above<br>
ERROR: Error in executing:&nbsp;<br>ERROR: Exception:&lt;type &#39;exceptions.SystemExit&#39;&gt; Message:1<br>ERROR: Printing the environment of the function<br>ERROR: Build of /home/vladimir/moko/openmoko/packages/images/<a href="http://fso-image.bb">fso-image.bb</a> do_qa_staging failed<br>
ERROR: Task 13 (/home/vladimir/moko/openmoko/packages/images/<a href="http://fso-image.bb">fso-image.bb</a>, do_qa_staging) failed<br>NOTE: Tasks Summary: Attempted 5070 tasks of which 431 didn&#39;t need to be rerun and 1 failed.<br>
ERROR: &#39;/home/vladimir/moko/openmoko/packages/images/<a href="http://fso-image.bb">fso-image.bb</a>&#39; failed<br>NOTE: build 200812061504: completed<br></p><p><strong>$ls -la ~/moko/build/deploy/glibc/images/om-gta02/</strong><br>
total 26548<br>drwxr-xr-x 2 vladimir vladimir     4096 2008-12-06 19:59 .<br>drwxr-xr-x 3 vladimir vladimir     4096 2008-12-06 19:59 ..<br>-rw-r--r-- 1 vladimir vladimir 25351594 2008-12-06 19:59 modules-2.6.24+gitr0+fb42ce6724576fc173faf8abfb04aa2c36d213b7-r2-om-gta02.tgz<br>
-rw-r--r-- 1 vladimir vladimir  1780056 2008-12-06 19:59 uImage-2.6.24+gitr0+fb42ce6724576fc173faf8abfb04aa2c36d213b7-r2-om-gta02.bin<br>lrwxrwxrwx 1 vladimir vladimir      133 2008-12-06 19:59 uImage-om-gta02-latest.bin -&gt; /home/vladimir/moko/build//deploy/glibc/images/om-gta02//uImage-2.6.24+gitr0+fb42ce6724576fc173faf8abfb04aa2c36d213b7-r2-om-gta02.bin<br>
vladimir@vladimir-desktop:~/moko/openmoko$&nbsp;<br><br></p><p><strong>I also run bitbake &nbsp;with config files from:</strong></p><p><strong><a href="http://downloads.openmoko.org/build/testing/">http://downloads.openmoko.org/build/testing/</a></strong></p>
<p><strong>but also without success.</strong></p><p><strong></strong></p><p><strong>Cheers,</strong><strong><br></strong></p><strong><br></strong><strong>Vlad</strong><strong><br></strong><strong><br></strong><br><div class="gmail_quote">
On Thu, Dec 4, 2008 at 3:46 PM, Holger Freyther <span dir="ltr">&lt;<a href="mailto:zecke@selfish.org">zecke@selfish.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Thursday 04 December 2008 21:18:13 Vladimir Doukhanine wrote:<br>
&gt; *Hi,*<br>
<div class="Ih2E3d">&gt;<br>
&gt; *I&#39;m trying to build more or less stable version:<br>
<br>
</div>which version of Bitbake do you use? Which configuration (feel free to attach<br>
that to this mail). For private builds you might not want to have<br>
BB_GIT_CLONE_FOR_SRCREV=&quot;1&quot; in your local.conf.<br>
<br>
<br>
<br>
&gt;<br>
&gt; *At first, readme is misleading:*<br>
<br>
I will fix that tomorrow.<br>
<br>
<br>
z.<br>
<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@lists.openmoko.org">devel@lists.openmoko.org</a><br>
<a href="https://lists.openmoko.org/mailman/listinfo/devel" target="_blank">https://lists.openmoko.org/mailman/listinfo/devel</a><br>
</blockquote></div><br>