On Tue, 2011-01-25 at 20:41 +0100, Koen Kooi wrote: > Op 25 jan 2011, om 20:18 heeft Koen Kooi het volgende geschreven: > > Switchting from usrp-e1xx (armv7a) to beagleboard (also armv7a) and > > building console-image again: > > > > NOTE: package perl-5.12.2-r0: task do_package: Started > > ERROR: Function 'perl_package_preprocess' failed (see > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/temp/log.do_package.28537 > > for further information) > > ERROR: Logfile of failure stored in: > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/temp/log.do_package.28537 > > Log data follows: > > | cp: cannot stat > > `/OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/image/*': > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/bin/h2xs: > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/bin/h2ph: > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/lib/perl/5.12.2/pod/*.pod: > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/lib/perl/5.12.2/cacheout.pl: > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/lib/perl/5.12.2/FileCache.pm: > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/lib/perl/config.sh: > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/lib/perl/5.12.2/Config.pm: > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/lib/perl/5.12.2/Config_heavy.pl: > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/lib/perl/5.12.2/CORE/perl.h: > > No such file or directory > > | sed: can't read > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/package/usr/lib/perl/5.12.2/CORE/pp.h: > > No such file or directory > > | Function 'perl_package_preprocess' failed (see > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/temp/log.do_package.28537 > > for further information) > > | ERROR: Function 'perl_package_preprocess' failed (see > > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/perl-5.12.2-r0/temp/log.do_package.28537 > > for further information) > > And another one: > > NOTE: package pango-1.28.3-r1.0: task do_package: Started > ERROR: Error executing a python function in > /OE/tentacle/sources/layers/meta-openembedded/recipes-graphics/pango/pango_1.28.3.bb: > OSError: [Errno 2] No such file or directory: > '/OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/pango-1.28.3-r1.0/package/usr/lib/pango/1.6.0/modules' > > ERROR: The stack trace of python calls that resulted in this > exception/failure was: > ERROR: File "populate_packages", line 203, in <module> > ERROR: > ERROR: File "populate_packages", line 7, in populate_packages > ERROR: > ERROR: File "package.bbclass", line 16, in do_split_packages > ERROR: > ERROR: The code that was being executed was: > ERROR: 0199: bb.data.setVar('pkg_prerm_%s' % pkg, > prerm, d) > ERROR: 0200: > ERROR: 0201: > ERROR: 0202: > ERROR: *** 0203:populate_packages(d) > ERROR: 0204: > ERROR: (file: 'populate_packages', lineno: 203, function: <module>) > ERROR: 0003: prologue = bb.data.getVar("postinst_prologue", d, 1) > ERROR: 0004: > ERROR: 0005: modules_root = > bb.data.expand('/usr/lib/pango/1.6.0/modules', d) > ERROR: 0006: > ERROR: *** 0007: do_split_packages(d, modules_root, > '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + > 'pango-querymodules > /etc/pango/pango.modules') > ERROR: 0008: import glob, stat, errno, re > ERROR: 0009: > ERROR: 0010: workdir = bb.data.getVar('WORKDIR', d, True) > ERROR: 0011: outdir = bb.data.getVar('DEPLOY_DIR', d, True) > ERROR: (file: 'populate_packages', lineno: 7, function: populate_packages) > ERROR: Function 'populate_packages' failed > ERROR: Logfile of failure stored in: > /OE/tentacle/build/tmp-angstrom_2010_x/work/armv7a-angstrom-linux-gnueabi/pango-1.28.3-r1.0/temp/log.do_package.27054 > > It looks like do_install needs to get rerun on those recipes.
I think these are due to the fact Koen is using rm_work (confirmed by Koen over irc). I agree we need to work out a way to handle this, it should help anyone trying to find a fix though. It should be easy to reproduce on Poky master switching between emenlow and atom-pc. Cheers, Richard _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto