* [PATCH] libxml2: add missing dependency on binutils
@ 2012-02-21 19:07 Steve Sakoman
2012-02-21 21:52 ` Richard Purdie
0 siblings, 1 reply; 7+ messages in thread
From: Steve Sakoman @ 2012-02-21 19:07 UTC (permalink / raw)
To: openembedded-core; +Cc: Steve Sakoman
Otherwise build fails with following error:
| In file included from libxml.h:36:0,
| from xmlmemory.c:8:
| ./include/libxml/xmlversion.h:396:22: fatal error: ansidecl.h: No such file or directory
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/recipes-core/libxml/libxml2.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
index 0979acd..6230f60 100644
--- a/meta/recipes-core/libxml/libxml2.inc
+++ b/meta/recipes-core/libxml/libxml2.inc
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \
file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
DEPENDS_virtclass-native = "python-native"
-DEPENDS =+ "zlib"
+DEPENDS =+ "zlib binutils"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
file://libxml-64bit.patch"
--
1.7.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] libxml2: add missing dependency on binutils
2012-02-21 19:07 [PATCH] libxml2: add missing dependency on binutils Steve Sakoman
@ 2012-02-21 21:52 ` Richard Purdie
2012-02-21 22:26 ` Steve Sakoman
2012-02-21 22:58 ` Khem Raj
0 siblings, 2 replies; 7+ messages in thread
From: Richard Purdie @ 2012-02-21 21:52 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Steve Sakoman
On Tue, 2012-02-21 at 11:07 -0800, Steve Sakoman wrote:
> Otherwise build fails with following error:
>
> | In file included from libxml.h:36:0,
> | from xmlmemory.c:8:
> | ./include/libxml/xmlversion.h:396:22: fatal error: ansidecl.h: No such file or directory
>
> Signed-off-by: Steve Sakoman <steve@sakoman.com>
> ---
> meta/recipes-core/libxml/libxml2.inc | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
> index 0979acd..6230f60 100644
> --- a/meta/recipes-core/libxml/libxml2.inc
> +++ b/meta/recipes-core/libxml/libxml2.inc
> @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \
> file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
>
> DEPENDS_virtclass-native = "python-native"
> -DEPENDS =+ "zlib"
> +DEPENDS =+ "zlib binutils"
>
> SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
> file://libxml-64bit.patch"
This sounds very wrong. It would have implications for libxml2-native
I'd imagine. What is it doing that needs binutils?
Its going to add considerable time to the build too.
Cheers,
Richard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libxml2: add missing dependency on binutils
2012-02-21 21:52 ` Richard Purdie
@ 2012-02-21 22:26 ` Steve Sakoman
2012-02-21 22:48 ` Martin Jansa
2012-02-22 15:09 ` Steve Sakoman
2012-02-21 22:58 ` Khem Raj
1 sibling, 2 replies; 7+ messages in thread
From: Steve Sakoman @ 2012-02-21 22:26 UTC (permalink / raw)
To: Richard Purdie, Patches and discussions about the oe-core layer
On Tue, Feb 21, 2012 at 1:52 PM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Tue, 2012-02-21 at 11:07 -0800, Steve Sakoman wrote:
>> Otherwise build fails with following error:
>>
>> | In file included from libxml.h:36:0,
>> | from xmlmemory.c:8:
>> | ./include/libxml/xmlversion.h:396:22: fatal error: ansidecl.h: No such file or directory
>>
>> Signed-off-by: Steve Sakoman <steve@sakoman.com>
>> ---
>> meta/recipes-core/libxml/libxml2.inc | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
>> index 0979acd..6230f60 100644
>> --- a/meta/recipes-core/libxml/libxml2.inc
>> +++ b/meta/recipes-core/libxml/libxml2.inc
>> @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \
>> file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
>>
>> DEPENDS_virtclass-native = "python-native"
>> -DEPENDS =+ "zlib"
>> +DEPENDS =+ "zlib binutils"
>>
>> SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
>> file://libxml-64bit.patch"
>
> This sounds very wrong. It would have implications for libxml2-native
> I'd imagine. What is it doing that needs binutils?
For some reason the libxml2 configure phase decides that ansidecl.h
from binutils is present, but then at compile time it finds that it
actually isn't there! I saw the same issue on both my desktop and
autobuilder setups.
I'll try a clean build to see if the problem persists. The libz
change from last week seems to have put my builds in a bad state, and
the PR bumps intended to fix things really don't seem to be fixing
things, at least on my build machines. I suspect it might be faster
to do a clean build than to track down where the corruption is.
Steve
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libxml2: add missing dependency on binutils
2012-02-21 22:26 ` Steve Sakoman
@ 2012-02-21 22:48 ` Martin Jansa
2012-02-21 23:02 ` Phil Blundell
2012-02-22 15:09 ` Steve Sakoman
1 sibling, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2012-02-21 22:48 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 2657 bytes --]
On Tue, Feb 21, 2012 at 02:26:49PM -0800, Steve Sakoman wrote:
> On Tue, Feb 21, 2012 at 1:52 PM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > On Tue, 2012-02-21 at 11:07 -0800, Steve Sakoman wrote:
> >> Otherwise build fails with following error:
> >>
> >> | In file included from libxml.h:36:0,
> >> | from xmlmemory.c:8:
> >> | ./include/libxml/xmlversion.h:396:22: fatal error: ansidecl.h: No such file or directory
> >>
> >> Signed-off-by: Steve Sakoman <steve@sakoman.com>
> >> ---
> >> meta/recipes-core/libxml/libxml2.inc | 2 +-
> >> 1 files changed, 1 insertions(+), 1 deletions(-)
> >>
> >> diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
> >> index 0979acd..6230f60 100644
> >> --- a/meta/recipes-core/libxml/libxml2.inc
> >> +++ b/meta/recipes-core/libxml/libxml2.inc
> >> @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \
> >> file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
> >>
> >> DEPENDS_virtclass-native = "python-native"
> >> -DEPENDS =+ "zlib"
> >> +DEPENDS =+ "zlib binutils"
> >>
> >> SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
> >> file://libxml-64bit.patch"
> >
> > This sounds very wrong. It would have implications for libxml2-native
> > I'd imagine. What is it doing that needs binutils?
>
> For some reason the libxml2 configure phase decides that ansidecl.h
> from binutils is present, but then at compile time it finds that it
> actually isn't there! I saw the same issue on both my desktop and
> autobuilder setups.
>
> I'll try a clean build to see if the problem persists. The libz
> change from last week seems to have put my builds in a bad state, and
> the PR bumps intended to fix things really don't seem to be fixing
> things, at least on my build machines. I suspect it might be faster
> to do a clean build than to track down where the corruption is.
The list of PR bumped recipes probably wasn't complete for you. It was
for me, but later I've noticed that ie subversion-1.6 wasn't bumped,
because I'm using only 1.7.
So it was complete for my default build (when those PR bumps were
applied to all included layers at once, which is not the case for most
people) and if you build different recipes or different versions you
have to add your own PR bumps in those recipes (see khem's script).
Clean build could be faster but doesn't fix installed -dev packages on
target..
Cheers,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libxml2: add missing dependency on binutils
2012-02-21 21:52 ` Richard Purdie
2012-02-21 22:26 ` Steve Sakoman
@ 2012-02-21 22:58 ` Khem Raj
1 sibling, 0 replies; 7+ messages in thread
From: Khem Raj @ 2012-02-21 22:58 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Steve Sakoman
On Tue, Feb 21, 2012 at 1:52 PM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Tue, 2012-02-21 at 11:07 -0800, Steve Sakoman wrote:
>> Otherwise build fails with following error:
>>
>> | In file included from libxml.h:36:0,
>> | from xmlmemory.c:8:
>> | ./include/libxml/xmlversion.h:396:22: fatal error: ansidecl.h: No such file or directory
>>
>> Signed-off-by: Steve Sakoman <steve@sakoman.com>
>> ---
>> meta/recipes-core/libxml/libxml2.inc | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
>> index 0979acd..6230f60 100644
>> --- a/meta/recipes-core/libxml/libxml2.inc
>> +++ b/meta/recipes-core/libxml/libxml2.inc
>> @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \
>> file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
>>
>> DEPENDS_virtclass-native = "python-native"
>> -DEPENDS =+ "zlib"
>> +DEPENDS =+ "zlib binutils"
>>
>> SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
>> file://libxml-64bit.patch"
>
> This sounds very wrong. It would have implications for libxml2-native
> I'd imagine. What is it doing that needs binutils?
configure detects the header and then uses it. So as long as you provide
binutils or not provide consistently it will build in a consistent way
whats happening here probably is that its configured with binutils-dev
being staged but is building without then being in staging.
>
> Its going to add considerable time to the build too.
>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libxml2: add missing dependency on binutils
2012-02-21 22:48 ` Martin Jansa
@ 2012-02-21 23:02 ` Phil Blundell
0 siblings, 0 replies; 7+ messages in thread
From: Phil Blundell @ 2012-02-21 23:02 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Tue, 2012-02-21 at 23:48 +0100, Martin Jansa wrote:
> On Tue, Feb 21, 2012 at 02:26:49PM -0800, Steve Sakoman wrote:
> > I'll try a clean build to see if the problem persists. The libz
> > change from last week seems to have put my builds in a bad state, and
> > the PR bumps intended to fix things really don't seem to be fixing
> > things, at least on my build machines. I suspect it might be faster
> > to do a clean build than to track down where the corruption is.
>
> The list of PR bumped recipes probably wasn't complete for you. It was
> for me, but later I've noticed that ie subversion-1.6 wasn't bumped,
> because I'm using only 1.7.
>
> So it was complete for my default build (when those PR bumps were
> applied to all included layers at once, which is not the case for most
> people) and if you build different recipes or different versions you
> have to add your own PR bumps in those recipes (see khem's script).
>
> Clean build could be faster but doesn't fix installed -dev packages on
> target..
I still don't entirely understand why we don't just put libz.la back the
way it was. I can understand the attraction of eliminating .la files in
a general sense, but it doesn't seem as though the removal of this
particular one is buying us much. What is the reason for expending so
much effort on getting rid of it?
p.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] libxml2: add missing dependency on binutils
2012-02-21 22:26 ` Steve Sakoman
2012-02-21 22:48 ` Martin Jansa
@ 2012-02-22 15:09 ` Steve Sakoman
1 sibling, 0 replies; 7+ messages in thread
From: Steve Sakoman @ 2012-02-22 15:09 UTC (permalink / raw)
To: Richard Purdie, Patches and discussions about the oe-core layer
On Tue, Feb 21, 2012 at 2:26 PM, Steve Sakoman <steve@sakoman.com> wrote:
> On Tue, Feb 21, 2012 at 1:52 PM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>> On Tue, 2012-02-21 at 11:07 -0800, Steve Sakoman wrote:
>>> Otherwise build fails with following error:
>>>
>>> | In file included from libxml.h:36:0,
>>> | from xmlmemory.c:8:
>>> | ./include/libxml/xmlversion.h:396:22: fatal error: ansidecl.h: No such file or directory
>>>
>>> Signed-off-by: Steve Sakoman <steve@sakoman.com>
>>> ---
>>> meta/recipes-core/libxml/libxml2.inc | 2 +-
>>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
>>> index 0979acd..6230f60 100644
>>> --- a/meta/recipes-core/libxml/libxml2.inc
>>> +++ b/meta/recipes-core/libxml/libxml2.inc
>>> @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \
>>> file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
>>>
>>> DEPENDS_virtclass-native = "python-native"
>>> -DEPENDS =+ "zlib"
>>> +DEPENDS =+ "zlib binutils"
>>>
>>> SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
>>> file://libxml-64bit.patch"
>>
>> This sounds very wrong. It would have implications for libxml2-native
>> I'd imagine. What is it doing that needs binutils?
>
> For some reason the libxml2 configure phase decides that ansidecl.h
> from binutils is present, but then at compile time it finds that it
> actually isn't there! I saw the same issue on both my desktop and
> autobuilder setups.
>
> I'll try a clean build to see if the problem persists. The libz
> change from last week seems to have put my builds in a bad state, and
> the PR bumps intended to fix things really don't seem to be fixing
> things, at least on my build machines. I suspect it might be faster
> to do a clean build than to track down where the corruption is.
FWIW, a clean build resolved the binutils dependency, so the above
patch is not required.
I suspect that the current set of PR bumps for the zlib issue still
aren't sufficient for many users, but I'm hoping the switch to
OEBasicHash will minimize further pain.
Steve
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-02-22 15:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21 19:07 [PATCH] libxml2: add missing dependency on binutils Steve Sakoman
2012-02-21 21:52 ` Richard Purdie
2012-02-21 22:26 ` Steve Sakoman
2012-02-21 22:48 ` Martin Jansa
2012-02-21 23:02 ` Phil Blundell
2012-02-22 15:09 ` Steve Sakoman
2012-02-21 22:58 ` Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox