Commit Message

On 23 December 2010 07:26, Martin Panter <vadmium+floss@gmail.com> wrote:
> 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 think I've solved this problem. Half of my solution is to modify the
xmlrpc-c package's Make file to pass the library file names directly
instead of using the "-L<directory> -l<name>" method. The other half
is to force it to use the newer Libtool version instead of its own.
See patch #1 attached, though I'm not really an expert on Libtool or
Open embedded, so I can't say if it might break something else, and I
haven't even tested out the packages I built yet.
> 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.
Still confused why this other failure temporarily went away but when I
fixed the "workdir" issue above, this "GNU_HASH" one came back.
Solution I originally tried worked and is in patch #2 attached.
-Martin
From 52867ad00845a4f67ac9ae4cf8335ff1f4c3daaa Mon Sep 17 00:00:00 2001
From: Martin Panter <vadmium à gmail.com>
Date: Fri, 24 Dec 2010 02:00:44 +0000
Subject: [PATCH 1/2] XML-RPC: Avoid "QA issue" where build directory is hard-coded into .la files
Adds a patch to avoid using -L link flags, and forces the Make files to use a
newer external Libtool.
---
recipes/xmlrpc-c/xmlrpc-c-1.06.41/lib-path.patch | 58 ++++++++++++++++++++++
recipes/xmlrpc-c/xmlrpc-c_1.06.41.bb | 9 +++-
2 files changed, 66 insertions(+), 1 deletions(-)
create mode 100644 recipes/xmlrpc-c/xmlrpc-c-1.06.41/lib-path.patch