All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Garman <scott.a.garman@intel.com>
To: "Tian, Kevin" <kevin.tian@intel.com>
Cc: "poky@pokylinux.org" <poky@pokylinux.org>
Subject: Re: Shared state prebuild copy bug report (bug #602)
Date: Thu, 16 Dec 2010 18:15:52 -0800	[thread overview]
Message-ID: <4D0AC7D8.8080001@intel.com> (raw)
In-Reply-To: <625BA99ED14B2D499DC4E29D8138F1504D5F40984C@shsmsx502.ccr.corp.intel.com>

On 12/16/2010 06:06 PM, Tian, Kevin wrote:
>> From: Scott Garman
>> Sent: Friday, December 17, 2010 9:39 AM
>> To: poky@pokylinux.org
>> Subject: [poky] Shared state prebuild copy bug report (bug #602)
>>
>> Hello,
>>
>> I did a build of poky-image-lsb from Poky master today and tried copying
>> the shared state prebuilds (sstate-cache) to my laptop. Things looked
>> good for a while as it populated my sysroot area from the prebuilds, but
>> then it started building autoconf-native and ran into the following
>> error during do_compile:
>>
>> Can't locate Data/Dumper.pm in @INC (@INC contains: ../lib
>> /toastssd/poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.8.8
>> /toastssd/poky/build/tmp/sysroots/x86_64-  linux/usr/lib/perl/5.8.8
>> /toastssd/poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.8.8
>> /toastssd/poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl /toastssd/
>> poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.8.8
>> /toastssd/poky/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.8.8
>> /toastssd/poky/build/tmp/sysroots/x86_64-  linux/usr/lib/perl .) at
>> ../lib/Autom4te/C4che.pm line 33.
>>
>> "/toastssd" is a path specific to the original build machine, but does
>> not exist on my laptop.
>>
>> I have reported this as bug #602.
>>
>> Scott
>>
>
> That's interesting. Does similar error if you try it on same machine?

Do you mean rebuild poky-image-lsb from scratch on my laptop? I would 
imaging that error would not occur.

I'm guessing Perl creates a configuration file somewhere in the sysroot 
which contains full pathnames to it's Perl module directories. That 
config file gets rolled into the prebuild package and cannot be used on 
another build directory.

Scott

-- 
Scott Garman
Embedded Linux Distro Engineer - Yocto Project


  reply	other threads:[~2010-12-17  2:17 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17  1:38 Shared state prebuild copy bug report (bug #602) Scott Garman
2010-12-17  2:06 ` Tian, Kevin
2010-12-17  2:15   ` Scott Garman [this message]
2010-12-17  2:19     ` Tian, Kevin
2010-12-17  2:30       ` Scott Garman
2010-12-17  2:35         ` Tian, Kevin
2010-12-17  4:47         ` Tian, Kevin
2010-12-17  5:29           ` perl binary hard-code path hurts sstate Tian, Kevin
2010-12-17 13:49             ` Chris Larson
2010-12-17 13:58               ` Richard Purdie
2010-12-17 15:08                 ` Gary Thomas
2010-12-21  1:09                   ` Tian, Kevin
2010-12-21 11:51                     ` Tian, Kevin
2010-12-21 12:30                       ` Gary Thomas
2010-12-21 15:14                         ` Gary Thomas
2010-12-22  1:25                           ` Tian, Kevin
2010-12-22 12:07                             ` Tian, Kevin
2010-12-22 12:35                               ` Gary Thomas
2010-12-22 13:38                                 ` Tian, Kevin
2010-12-22 13:42                                   ` Tian, Kevin
2010-12-23  4:52                           ` Tian, Kevin
2010-12-21 11:43                 ` Tian, Kevin
2010-12-17  5:43           ` Shared state prebuild copy bug report (bug #602) Scott Garman
2010-12-20 22:58             ` 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=4D0AC7D8.8080001@intel.com \
    --to=scott.a.garman@intel.com \
    --cc=kevin.tian@intel.com \
    --cc=poky@pokylinux.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.