**** BEGIN LOGGING AT Sun Sep 25 02:59:57 2011 Sep 25 20:39:45 sgw: ping Sep 25 22:51:26 ant_home: pong Sep 25 22:51:38 hi there Sep 25 22:52:22 tell me if you need more logs wrt #775 Sep 25 22:53:20 ant_home: thanks let me review what you added Sep 25 22:55:24 ant_home: I was really looking for an strace of file, not update-rc.d Sep 25 22:56:42 ok, I see Sep 25 22:58:28 If you can provide that it might be helpful, you are running on a gentoo system? Which version of Yocto? Master vs a versioned? Sep 25 23:01:38 ok, attached Sep 25 23:02:00 I'm running no-distro, my bsp + oe-core Sep 25 23:02:53 I can retry with Yocto overnight if you mean Sep 25 23:03:11 seems indeed to be Gentoo specific Sep 25 23:05:53 http://paste.debian.net/132289/ Sep 25 23:11:52 ant_home: sorry, one more detail, pleas pass a file to file so it tries to open the magic file, getting usage is not helpful. Also since file is a wrapper of file.real, can you help to confirm that the magic file it passes exists. Sep 25 23:13:39 ant_home: can you confirm that this file exists on your system: /oe/oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/share/misc/magic.mgc Sep 25 23:14:56 sgw: the file exists but is not found from within devshell Sep 25 23:15:20 http://paste.debian.net/132291/ Sep 25 23:15:51 http://paste.debian.net/132292/ Sep 25 23:21:37 sgw: uploaded Sep 25 23:22:55 ant_home: which won't work on that file, it's just a data file, not a binary. Sep 25 23:23:05 look at #372 Sep 25 23:23:13 So the key is the file exsits. Sep 25 23:23:59 now, what is the code running in do_package..I could not catch it yet Sep 25 23:24:51 ant_home: I am sorry I really have not been clear, I was looking for an strace of the file command in devshell with any file as an agrument, you sent an strace of update-rc.d again. Sep 25 23:25:13 did I? Sep 25 23:26:31 log name is misleading, sorry Sep 25 23:28:34 $ strace -o file.strace -s 8192 -f file.real update-rc.d Sep 25 23:28:34 update-rc.d: POSIX shell script text executable Sep 25 23:38:16 sgw: no doubts the the magic.mgc in sysroot is v7 and the one on buildhost/Gentoo is Sep 25 23:38:16 v8, so devshell is correctly using its version Sep 25 23:39:07 my analysis is, during do_package, the 'file' from Gentoo buildhost is called instead of the one in sysroot Sep 25 23:46:53 ant_home: Ok, thanks for the update. Sep 25 23:47:02 I will look somemore at the do_package. Sep 25 23:48:36 thx, I could not find magic_load()....too late here Sep 25 23:48:41 good nite **** ENDING LOGGING AT Mon Sep 26 02:59:56 2011