[Galaxy S I9000 Android Development] elitevet:
Well, after repo init and sync I am trying to make a build but it fails consistently on:

target Strip: rild (/home/cyanobacter/android/output/system/target/product/galaxysmtd/obj/EXECUTABLES/rild_intermediates/rild)
Install: /home/cyanobacter/android/system//home/cyanobacter/android/output/system/target/product/galaxysmtd/system/lib/drm/libfwdlockengine.so
Install: /home/cyanobacter/android/system//home/cyanobacter/android/output/system/target/product/galaxysmtd/system/lib/libreference-ril.so
target Dex: framework
target SharedLib: hwcomposer.aries (/home/cyanobacter/android/output/system/target/product/galaxysmtd/obj/SHARED_LIBRARIES/hwcomposer.aries_intermediates/LINKED/hwcomposer.aries.so)
target Strip: libGLESv2 (/home/cyanobacter/android/output/system/target/product/galaxysmtd/obj/lib/libGLESv2.so)
Using /home/cyanobacter/android/system/kernel/samsung/aries as source for kernel
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/cyanobacter/android/system/kernel/samsung/aries/scripts/checksyscalls.sh
target Symbolic: libchromium_net (/home/cyanobacter/android/output/system/target/product/galaxysmtd/symbols/system/lib/libchromium_net.so)
CHK include/generated/compile.h
CC arch/arm/vfp/vfpmodule.o
GEN usr/initramfs_data.cpio
[B]File ../../ramdisk.img could not be opened for reading
line 49
File ../../ramdisk-recovery.img could not be opened for reading
line 50
make[3]: *** [usr/initramfs_data.cpio] Error 255
make[2]: *** [usr] Error 2
make[2]: *** Waiting for unfinished jobs....[/B]
Install: /home/cyanobacter/android/system//home/cyanobacter/android/output/system/target/product/galaxysmtd/system/lib/libGLESv2.so
AS arch/arm/vfp/entry.o
target SharedLib: libjni_mosaic (/home/cyanobacter/android/output/system/target/product/galaxysmtd/obj/SHARED_LIBRARIES/libjni_mosaic_intermediates/LINKED/libjni_mosaic.so)
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
CC arch/arm/vfp/vfpdouble.o
target Strip: libjni_eglfence (/home/cyanobacter/android/output/system/target/product/galaxysmtd/obj/lib/libjni_eglfence.so)
target Strip: libandroidfw (/home/cyanobacter/android/output/system/target/product/galaxysmtd/obj/lib/libandroidfw.so)
LD arch/arm/vfp/vfp.o
target SharedLib: libhwui (/home/cyanobacter/android/output/system/target/product/galaxysmtd/obj/SHARED_LIBRARIES/libhwui_intermediates/LINKED/libhwui.so)
LD arch/arm/vfp/built-in.o
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/cyanobacter/android/system/kernel/samsung/aries'
[B]make: *** [TARGET_KERNEL_BINARIES] Error 2[/B]
make: *** Waiting for unfinished jobs....

The above are the last lines of stdout & stderr of the build command redirected to file:

cyanobacter@cyanobuilder: . build/envsetup.sh && brunch galaxysmtd > /tmp/build_08082012_0104 2>&1

There are no other errors in the log except for those shown above, as far as I can tell (the file is available)

The output dir contains the following at this stage:

cyanobacter@cyanobuilder:~/android/output/system$ ll target/product/galaxysmtd/
total 50248
drwxrwxr-x 10 cyanobacter cyanobacter 4096 Aug 8 00:21 ./
drwxrwxr-x 3 cyanobacter cyanobacter 4096 Aug 7 23:09 ../
-rw-rw-r-- 1 cyanobacter cyanobacter 94 Aug 7 23:10 android-info.txt
-rw-rw-r-- 1 cyanobacter cyanobacter 23475 Aug 8 00:05 clean_steps.mk
drwxrwxr-x 2 cyanobacter cyanobacter 4096 Aug 8 00:21 data/
drwxrwxr-x 3 cyanobacter cyanobacter 4096 Aug 7 23:11 device/
-rw-r--r-- 1 cyanobacter cyanobacter 12582912 Aug 7 23:15 modem.bin
drwxrwxr-x 17 cyanobacter cyanobacter 4096 Aug 8 00:18 obj/
-rw-rw-r-- 1 cyanobacter cyanobacter 572 Aug 8 00:05 previous_build_config.mk
-rw-rw-r-- 1 cyanobacter cyanobacter 169008 Aug 8 00:21 ramdisk.img
-rw-rw-r-- 1 cyanobacter cyanobacter 2590720 Aug 8 00:21 ramdisk-recovery.cpio
-rw-rw-r-- 1 cyanobacter cyanobacter 1796836 Aug 8 00:21 ramdisk-recovery.img
drwxrwxr-x 3 cyanobacter cyanobacter 4096 Aug 8 00:21 recovery/
drwxrwxr-x 8 cyanobacter cyanobacter 4096 Aug 8 00:21 root/
drwxrwxr-x 6 cyanobacter cyanobacter 4096 Aug 8 00:20 symbols/
drwxrwxr-x 14 cyanobacter cyanobacter 4096 Aug 8 00:21 system/
-rwxrwxr-x 1 cyanobacter cyanobacter 7268 Aug 7 23:14 updater.sh*
-rw-r--r-- 1 cyanobacter cyanobacter 34222732 Aug 8 00:21 userdata.img
drwxrwxr-x 2 cyanobacter cyanobacter 4096 Aug 8 00:21 utilities/

Output dir:

cyanobacter@cyanobuilder:~/android/system$ echo $OUT_DIR_COMMON_BASE
/home/cyanobacter/android/output
cyanobacter@cyanobuilder:~/android/system$ du -sh $OUT_DIR_COMMON_BASE
11G	/home/cyanobacter/android/output
cyanobacter@cyanobuilder:~/android/system$ du -sh $OUT_DIR_COMMON_BASE/system/target/product/galaxysmtd
5.1G	/home/cyanobacter/android/output/system/target/product/galaxysmtd

syslog is silent about all of this

cpio is installed

the .img files in the product/galaxysmtd dir are OK when checked with gunzip -t

Any ideas what might that be caused by? Or where do I look to attack this?