From: Stefan Seefeld <stefan_seefeld@mentor.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-mingw] build error
Date: Thu, 22 May 2014 09:10:30 -0400 [thread overview]
Message-ID: <537DF746.6060700@mentor.com> (raw)
In-Reply-To: <1400739010.17834.10.camel@ted>
[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]
On 2014-05-22 02:10, Richard Purdie wrote:
> On Wed, 2014-05-21 at 16:45 -0400, Stefan Seefeld wrote:
>> Hello,
>>
>> I started experimenting with the meta-mingw layer today, using the
>> 'daisy' branch for both, poky as well as meta-mingw.
>>
>> Running `bitbake meta-toolchain`, the build process failed in one of the
>> last steps (1003 of 1005) with:
>>
>> ERROR: nativesdk-packagegroup-sdk-host not found in the base feeds
>> (x86_64-nativesdk-mingw32 noarch any all).
>>
>> Any idea what I may be missing ? I'm using
>>
>> MACHINE ??= "qemux86"
>> SDKMACHINE ?= "x86_64-mingw32"
>
> Which pacxkage backend were you using? If you didn't use ipk, I'd
> suggest trying it. In theory others should work but its ipk I've been
> using when working with those layers.
OK, I was using rpm (the default), but now switched to ipk. That results
in a different error in meta/lib/oe/sdk.py:55, where do_populate() tries
to link ld.so.cache into a non-existent directory.
I have attempted a fix with the attached patch.
With that, things now appear to be working. (I think things should also
work with 'rpm' as package backend, though, right ? Should I file a bug
report somewhere to put that on record ?)
Thanks,
Stefan
--
Stefan Seefeld
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software/
[-- Attachment #2: sdk.py.diff --]
[-- Type: text/x-patch, Size: 772 bytes --]
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index 5643199..4a03e96 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -50,8 +50,9 @@ class Sdk(object):
"*.la"))
# Link the ld.so.cache file into the hosts filesystem
- link_name = os.path.join(self.sdk_output, self.sdk_native_path,
- self.sysconfdir, "ld.so.cache")
+ sysconfdir = os.path.join(self.sdk_output, self.sdk_native_path, self.sysconfdir)
+ bb.utils.mkdirhier(sysconfdir)
+ link_name = os.path.join(sysconfdir, "ld.so.cache")
os.symlink("/etc/ld.so.cache", link_name)
execute_pre_post_process(self.d, self.d.getVar('SDK_POSTPROCESS_COMMAND', True))
next prev parent reply other threads:[~2014-05-22 13:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-21 20:45 [meta-mingw] build error Stefan Seefeld
2014-05-22 6:10 ` Richard Purdie
2014-05-22 13:10 ` Stefan Seefeld [this message]
2014-05-22 15:46 ` 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=537DF746.6060700@mentor.com \
--to=stefan_seefeld@mentor.com \
--cc=richard.purdie@linuxfoundation.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.