All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Koen Kooi <koen@dominion.thruhere.net>
Cc: yocto <yocto@yoctoproject.org>, poky <poky@yoctoproject.org>
Subject: Re: Major feature changes for the next release - merging very soon
Date: Tue, 25 Jan 2011 21:35:13 +0000	[thread overview]
Message-ID: <1295991313.27814.55.camel@rex> (raw)
In-Reply-To: <02A97CA2-9AA6-48B8-B4DC-E4D9E0AD304D@dominion.thruhere.net>

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




WARNING: multiple messages have this Message-ID (diff)
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Koen Kooi <koen@dominion.thruhere.net>
Cc: yocto <yocto@yoctoproject.org>, poky <poky@yoctoproject.org>
Subject: Re: [poky] Major feature changes for the next release - merging very soon
Date: Tue, 25 Jan 2011 21:35:13 +0000	[thread overview]
Message-ID: <1295991313.27814.55.camel@rex> (raw)
In-Reply-To: <02A97CA2-9AA6-48B8-B4DC-E4D9E0AD304D@dominion.thruhere.net>

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




  reply	other threads:[~2011-01-25 21:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 13:57 Major feature changes for the next release - merging very soon Richard Purdie
2011-01-25 14:19 ` Koen Kooi
2011-01-25 14:19   ` [poky] " Koen Kooi
2011-01-25 18:34 ` Koen Kooi
2011-01-25 18:34   ` [poky] " Koen Kooi
2011-01-25 19:18   ` Koen Kooi
2011-01-25 19:18     ` [poky] " Koen Kooi
2011-01-25 19:41     ` Koen Kooi
2011-01-25 19:41       ` [poky] " Koen Kooi
2011-01-25 21:35       ` Richard Purdie [this message]
2011-01-25 21:35         ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295991313.27814.55.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=koen@dominion.thruhere.net \
    --cc=poky@yoctoproject.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.