All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: QA issue with staging (workdir) for .la files in xmlrpc-c package
Date: Sat, 25 Dec 2010 11:50:14 -0800	[thread overview]
Message-ID: <4D164AF6.4050206@gmail.com> (raw)
In-Reply-To: <AANLkTi=9JdAfD7te7fySLJFvADFqAht=cE0typQsRxy7@mail.gmail.com>

On 12/23/2010 1:44 AM, Martin Panter wrote:
> On 23 December 2010 18:43, Frans Meulenbroeks
> <fransmeulenbroeks@gmail.com>  wrote:
>> 2010/12/23 Martin Panter<vadmium+floss@gmail.com>:
>>> Hi all
>>>
>>> I'm having trouble building "xmlrpc-c", which I think is required for
>>> rtorrent. It's failing at the "do_qa_staging" stage with the messages
>>> such as "QA Issue with staging: libxmlrpc.la failed sanity test
>>> (workdir)".
>>>
>>> I gather the issue is that my sysroots/*/usr/lib/libxmlrpc.la file has
>>> the following, which mentions the tmp/work/ directory:
>>>
>>> # Libraries that this one depends upon.
>>> dependency_libs=' -L.libs
>>> -L/media/disk/home/vadmium/proj/aegle/build/tmp/work/armv7a-angstrom-linux-gnueabi/xmlrpc-c-1.06.41-r1/xmlrpc-c-1.06.41/src/../lib/libutil/.libs
>>> -lxmlrpc_util -lxml2 -lz -lm'
>>>
>>> So looks like another Libtool issue. But I'm stuck this time so if
>>> anyone has any hints that would be awesome. For instance why does that
>>> -L. . ./tmp/work/. . . component get there, and perhaps is there some
>>> Libtool option to prevent or fix it?
>>>
>>> I think the xmlrpc-c packages has its own version of Libtool (1.3.4?).
>>> I tried coaxing the build process to use OE's Libtool version
>>> (EXTRA_OEMAKE = "LIBTOOL='${HOST_SYS}-libtool'", after the import
>>> line, in the recipe file), but this didn't seem to help.
>>>
>>> Previously I thought I had another "QA issue" with this xmlrpc-c
>>> package, something about a "hash style", which I thought I solved by
>>> passing LADD='${LDFLAGS}' to the Make command. But recently when I
>>> removed this change I am not getting the earlier "hash style QA
>>> issue"; only this newer "workdir" one. But I may be confused.
>>>
>>> -Martin
>>>
>>> These are the full messages taken straight from log.do_qa_staging file
>>> with awesome-long path names:
>>>
>>> ERROR: QA Issue with staging: libxmlrpc.la failed sanity test
>>> (workdir) in path
>>> /media/disk/home/vadmium/proj/aegle/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
>>> ERROR: QA Issue with staging: libxmlrpc_server_abyss.la failed sanity
>>> test (workdir) in path
>>> /media/disk/home/vadmium/proj/aegle/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
>>> ERROR: QA Issue with staging: libxmlrpc_server.la failed sanity test
>>> (workdir) in path
>>> /media/disk/home/vadmium/proj/aegle/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
>>> ERROR: QA Issue with staging: libxmlrpc_server_cgi.la failed sanity
>>> test (workdir) in path
>>> /media/disk/home/vadmium/proj/aegle/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
>>> ERROR: QA Issue with staging: libxmlrpc_client.la failed sanity test
>>> (workdir) in path
>>> /media/disk/home/vadmium/proj/aegle/build/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib
>>> FATAL: QA staging was broken by the package built above
>>
>> I *think* I've rebuild rtorrent yesterday. for beagleboard/minimal.
>> Didn't get the error. Can't verify things right now. Feel frree to
>> ping me this evening on irc (roughly 18.00-22.00 gmt) or tomorrow
>> during the day)
>> What libtool are you using? and is this on git head ?
>
> On 23/12/2010, Frans Meulenbroeks<fransmeulenbroeks@gmail.com>  wrote:
>> 2010/12/23 Martin Panter<vadmium+floss@gmail.com>:
>>> Hi all
>>>
>>> I'm having trouble building "xmlrpc-c", which I think is required for
>>> rtorrent. It's failing at the "do_qa_staging" stage with the messages
>>> such as "QA Issue with staging: libxmlrpc.la failed sanity test
>>> (workdir)".
>>>
>>> I gather the issue is that my sysroots/*/usr/lib/libxmlrpc.la file has
>>> the following, which mentions the tmp/work/ directory:
>>>
>>> # Libraries that this one depends upon.
>>> dependency_libs=' -L.libs
>>> -L/media/disk/home/vadmium/proj/aegle/build/tmp/work/armv7a-angstrom-linux-gnueabi/xmlrpc-c-1.06.41-r1/xmlrpc-c-1.06.41/src/../lib/libutil/.libs
>>> -lxmlrpc_util -lxml2 -lz -lm'
>>>
>>> So looks like another Libtool issue. But I'm stuck this time so if
>>> anyone has any hints that would be awesome. For instance why does that
>>> -L. . ./tmp/work/. . . component get there, and perhaps is there some
>>> Libtool option to prevent or fix it?


Yes it a mix of libtool and the xmlrpc-c build system combined issue. 
The patch you provided solved some part of the problem. I have committed 
a modified patch which fixes several problems along with this
one in xmlrpc-c recipe

-Khem



  reply	other threads:[~2010-12-25 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23  7:26 QA issue with staging (workdir) for .la files in xmlrpc-c package Martin Panter
2010-12-23  7:43 ` Frans Meulenbroeks
2010-12-23  9:44   ` Martin Panter
2010-12-25 19:50     ` Khem Raj [this message]
2010-12-24 11:59 ` Martin Panter

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=4D164AF6.4050206@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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.