All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Poky Project <poky@yoctoproject.org>
Subject: Re: Problem with gettext-native
Date: Fri, 03 Jun 2011 10:25:35 -0600	[thread overview]
Message-ID: <4DE90AFF.5090801@mlbassoc.com> (raw)
In-Reply-To: <1307035303.27470.584.camel@rex>

On 06/02/2011 11:21 AM, Richard Purdie wrote:
> On Thu, 2011-06-02 at 08:32 -0600, Gary Thomas wrote:
>> I had a working build based on
>>     commit 52295fa3deef3b0374b99829626d524cefae6001
>>     Author: Richard Purdie<richard.purdie@linuxfoundation.org>
>>     Date:   Wed May 18 00:03:02 2011 +0100
>>
>>       Improve handling of 'all' architecture recipes and their interaction with sstate
>>
>> Today, I updated to
>>     commit 484c4e73245c93a08413cd204513bf5c5698b994
>>     Author: Saul Wold<sgw@linux.intel.com>
>>     Date:   Tue May 31 22:42:49 2011 -0700
>>
>>       clutter-1.6: Add patch to update gettext macro version
>>
>> Now, it tries to build gettext-native and fails with the log at
>>     http://www.mlbassoc.com/poky/gettext-native-log.do_compile
>> I don't see what's happening here.  If I try an identical
>> build (same local.conf, etc) in a new tree, it succeeds.
>>
>> I notice that my old build has git-native built and installed (which based
>> on the log is being used?), but the build from scratch does not.
>>
>> Any ideas?
>
> It looks like gettext now has a dependency on git being present. We need
> to add git-native to its DEPENDS, crazy as that may be :/
>
> For a while I thought cvs was required too but it turns out its not,
> thankfully.
>
> I'm testing a patch which I'll push shortly.

Sadly, this still fails for me, but only when I'm using SSTATE_MIRRORS
from a build of a few days ago.  If I don't use the SSTATE_MIRRORS, it
builds fine.

Once I get into this state, I can't even clean my way out of this :-(

   $ bitbake gettext-native -c clean
   Pseudo is not present but is required, building this first before the main build
   NOTE: Out of date cache found, rebuilding...
   Parsing recipes: 100% |##################################################################################| Time: 00:00:21
   Parsing of 994 .bb files complete (0 cached, 994 parsed). 1227 targets, 37 skipped, 0 masked, 0 errors.

   OE Build Configuration:
   BB_VERSION        = "1.11.0"
   METADATA_BRANCH   = "my_master"
   METADATA_REVISION = "6b5d323b6c8960a0999dbafa0422fe127fd0fa97"
   TARGET_ARCH       = "arm"
   TARGET_OS         = "linux-gnueabi"
   MACHINE           = "cobra3530p60"
   DISTRO            = "amltd"
   DISTRO_VERSION    = "1.00+snapshot-20110603"
   TARGET_FPU        = "soft"

   NOTE: Resolving any missing task queue dependencies
   NOTE: Preparing runqueue
   NOTE: Executing SetScene Tasks
   NOTE: Executing RunQueue Tasks
   NOTE: Running task 121 of 133 (ID: 62, virtual:native:/home/local/poky-amltd/meta/recipes-core/gettext/gettext_0.18.1.1.bb, do_compile)
   NOTE: package gettext-native-0.18.1.1-r0: task do_compile: Started
   ERROR: 'virtual:native:/home/local/poky-amltd/meta/recipes-core/gettext/gettext_0.18.1.1.bb' failed
   ERROR: Logfile of failure stored in: /home/local/p60_build2/tmp/work/i686-linux/gettext-native-0.18.1.1-r0/temp/log.do_compile.20106

Why is it running the do_compile step, when I explicitly asked for do_clean?

Looking closer, it seems that the git-native I built yesterday (which is what I was using for SSTATE_MIRRORS)
doesn't work correctly.  One built today, on the exact same host (no changes), etc, does.  Very strange.

Here's yesterday's build:
   $ ls -l /local/p60_test_orig/sstate-cache/sstate-git-native*
   -rw-rw-r-- 1 gthomas gthomas    7470 Jun  2 03:37 /local/p60_test_orig/sstate-cache/sstate-git-native-i686-linux-1.7.5.1-r0-i686-2-4a5372ef2d6e43d9bb5a98258b332ab9_populate-lic.tgz
   -rw-rw-r-- 1 gthomas gthomas    6921 Jun  2 03:37 
/local/p60_test_orig/sstate-cache/sstate-git-native-i686-linux-1.7.5.1-r0-i686-2-4a5372ef2d6e43d9bb5a98258b332ab9_populate-lic.tgz.siginfo
   -rw-rw-r-- 1 gthomas gthomas 4483022 Jun  2 03:25 
/local/p60_test_orig/sstate-cache/sstate-git-native-i686-linux-1.7.5.1-r0-i686-2-da709c00f8a7f7abbc7c8fff28802d70_populate-sysroot.tgz
   -rw-rw-r-- 1 gthomas gthomas   12279 Jun  2 03:25 
/local/p60_test_orig/sstate-cache/sstate-git-native-i686-linux-1.7.5.1-r0-i686-2-da709c00f8a7f7abbc7c8fff28802d70_populate-sysroot.tgz.siginfo
   $ /local/p60_test_orig/tmp/sysroots/i686-linux/usr/bin/git repack
   git: 'repack' is not a git command. See 'git --help'.

Here's today's:
   $ ls -l /local/p60_build/sstate-cache/sstate-git-native-i686-linux-1.7.5.1-r0-i686-2-*
   -rw-rw-r-- 1 gthomas gthomas    7472 Jun  3 05:11 /local/p60_build/sstate-cache/sstate-git-native-i686-linux-1.7.5.1-r0-i686-2-4a5372ef2d6e43d9bb5a98258b332ab9_populate-lic.tgz
   -rw-rw-r-- 1 gthomas gthomas    6921 Jun  3 05:11 
/local/p60_build/sstate-cache/sstate-git-native-i686-linux-1.7.5.1-r0-i686-2-4a5372ef2d6e43d9bb5a98258b332ab9_populate-lic.tgz.siginfo
   -rw-rw-r-- 1 gthomas gthomas 4482605 Jun  3 04:37 /local/p60_build/sstate-cache/sstate-git-native-i686-linux-1.7.5.1-r0-i686-2-da709c00f8a7f7abbc7c8fff28802d70_populate-sysroot.tgz
   -rw-rw-r-- 1 gthomas gthomas   12279 Jun  3 04:37 
/local/p60_build/sstate-cache/sstate-git-native-i686-linux-1.7.5.1-r0-i686-2-da709c00f8a7f7abbc7c8fff28802d70_populate-sysroot.tgz.siginfo
   $ /local/p60_build/tmp/sysroots/i686-linux/usr/bin/git repack
   fatal: Not a git repository (or any parent up to mount parent )
   Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

How can this be?  Doesn't the sstate signature imply they should be identical?

Note: I'll keep these trees around in case there's something else you'd like to see.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  parent reply	other threads:[~2011-06-03 16:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02 14:32 Problem with gettext-native Gary Thomas
2011-06-02 17:21 ` Richard Purdie
2011-06-03  0:54   ` Khem Raj
2011-06-03 16:25   ` Gary Thomas [this message]
2011-06-03 16:35     ` Mark Hatle
2011-06-03 16:56     ` Gary Thomas

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=4DE90AFF.5090801@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@yoctoproject.org \
    --cc=richard.purdie@linuxfoundation.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.