an odd problem on gentoo system

LynnOS lynnos at tong-ji.org
Mon May 19 02:40:06 UTC 2008


log_check: Using
/home1/llin/shangr/merg/build/tmp/work/alter-linux/alter-image-1.0-r1/temp/log.do_rootfs.32038
as logfile
Logfile is clean
+ insert_feed_uris
+ echo 'Building feeds for [tauri]..'
Building feeds for [tauri]..
+ rm -f /home1/llin/shangr/merg/build/tmp/rootfs/usr/lib/ipkg/lists/oe
+ clean_files
+ cd /home1/llin/shangr/merg/build/tmp/rootfs
++ find . -name .debug
+ rm -rf ./bin/.debug ./var/www/cgi-bin/.debug ./usr/bin/.debug
./usr/lib/.debug ./usr/sbin/.debug ./sbin/.debug ./dsview/DSI5200/bin/.debug
++ find . -name .svn
+ rm -rf ./usr/share/zoneinfo/Etc/.svn
+ export TOPDIR=/home1/llin/shangr/bitbake/lib/bb
+ TOPDIR=/home1/llin/shangr/bitbake/lib/bb
+ for type in ext2.gz
+ test -z 457523290
+ bbimage -n rootfs-unstable-20080519-alter -t ext2.gz -e
/home1/llin/shangr/merg/llin.local.dev/packages/images/alter-image-lite.bb
NOTE: Executing rm -rf
/home1/llin/shangr/merg/build/tmp/deploy/images/tmp.gz; mkdir
/home1/llin/shangr/merg/build/tmp/deploy/images/tmp.gz; genext2fs -b 142400
-d /home1/llin/shangr/merg/build/tmp/rootfs
/home1/llin/shangr/merg/build/tmp/deploy/images/tmp.gz/rootfs-unstable-20080519-alter.rootfs.ext2
; cat
/home1/llin/shangr/merg/build/tmp/deploy/images/tmp.gz/rootfs-unstable-20080519-alter.rootfs.ext2
| gzip -f -9 >
/home1/llin/shangr/merg/build/tmp/deploy/images/rootfs-unstable-20080519-alter.rootfs.ext2.gz
; rm -rf /home1/llin/shangr/merg/build/tmp/deploy/images/tmp.gz
the logfile name is
/home1/llin/shangr/merg/build/tmp/work/alter-linux/alter-image-lite-1.0-r1/temp/log.image_cmd.7875
Traceback (most recent call last):
  File "/home1/llin/shangr/bitbake/bin/bbimage", line 150, in <module>
    bb.build.exec_func('image_cmd', localdata)
  File "/home1/llin/shangr/bitbake/lib/bb/build.py", line 100, in exec_func
    exec_func_shell(func, d)
  File "/home1/llin/shangr/bitbake/lib/bb/build.py", line 168, in
exec_func_shell
    so = file(logfile, 'w')
IOError: [Errno 21] Is a directory
========================================

in fact the log file is not a directory,as you see the first red line ,
note:before do_rootfs ,i add a function to IMAGE_PREPROCESS_COMMAND to clean
.debug files
ps 1 :if i remove this clean debug function,it is ok

I am not sure whether it belongs to OpenEmbedded or bitbake isssue

thanks



-- 
OpenEmbedded,Linux vserver,Python
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20080519/1c4a6bdf/attachment-0002.html>


More information about the Openembedded-users mailing list