All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Yocto Project <yocto@yoctoproject.org>
Subject: Problems building SDK
Date: Mon, 11 Aug 2014 10:32:39 -0600	[thread overview]
Message-ID: <53E8F027.1030105@mlbassoc.com> (raw)

As I reported on Friday (2014-08-08), I was having issues
installing an SDK I had built (xargs overflow).  Today, I
tried patching the appropriate .bbclass to change this behaviour
and rebuilt the SDK.  Sadly, this is now failing miserably.
It seems that there are pieces of the SDK left over from
last Friday that are conflicting with my builds of today.

First note that I have these variables set in my $DISTRO:
   DISTRO = "mydistro"
   DISTRO_NAME = "My distribution"
   MYDISTRO_DATE = "${DATE}"
   DISTRO_VERSION = "1.6+snapshot-${MYDISTRO_DATE}"
   SDK_VENDOR = "-mydistrosdk"
   SDK_VERSION = "${DISTRO_VERSION}"
   SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
   SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"

When I build an SDK today, it gets confused because ${DISTRO_VERSION}
is date-stamped.  I can see that some pieces are being placed in
a directory with last Friday's date, others with today's date:
   $ ls -l tmp/work/teton_p0382-mydistro-linux-gnueabi/mydistro-console-image/1.0-r0/sdk/image/opt/mydistro/
   total 8
   drwxr-xr-x 3 gthomas gthomas 4096 Aug  8 15:41 1.6+snapshot-20140808
   drwxr-xr-x 3 gthomas gthomas 4096 Aug 11 10:18 1.6+snapshot-20140811
Now when the SDK is packed up into the tar file, some bits are being
left out, etc, which leads to a broken SDK.

I'd like to keep the SDK date-stamped (in fact, I think I got this
idea from the Poky $DISTRO years ago) if possible.  Should this be
able to work, or should I just give up on the date-stamp?

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


                 reply	other threads:[~2014-08-11 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=53E8F027.1030105@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --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.