* [meta-mingw] build error
@ 2014-05-21 20:45 Stefan Seefeld
2014-05-22 6:10 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Seefeld @ 2014-05-21 20:45 UTC (permalink / raw)
To: yocto
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"
Thanks,
Stefan
--
Stefan Seefeld
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-mingw] build error
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
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2014-05-22 6:10 UTC (permalink / raw)
To: Stefan Seefeld; +Cc: yocto
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.
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-mingw] build error
2014-05-22 6:10 ` Richard Purdie
@ 2014-05-22 13:10 ` Stefan Seefeld
2014-05-22 15:46 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Seefeld @ 2014-05-22 13:10 UTC (permalink / raw)
To: Richard Purdie; +Cc: yocto
[-- 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))
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-mingw] build error
2014-05-22 13:10 ` Stefan Seefeld
@ 2014-05-22 15:46 ` Richard Purdie
0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2014-05-22 15:46 UTC (permalink / raw)
To: Stefan Seefeld; +Cc: yocto
On Thu, 2014-05-22 at 09:10 -0400, Stefan Seefeld wrote:
> 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.
I think this was fixed on master, there is a patch we need to backport
to daisy. I've just done that since I've been aware of that issue.
> 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 ?)
You can file a bug in the bugzilla for it, yes.
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-05-22 15:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-05-22 15:46 ` Richard Purdie
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.