]> code.ossystems Code Review - openembedded-core.git/commit
qt4: remove trailing slash from prefix
authorPaul Barker <paul@paulbarker.me.uk>
Tue, 7 May 2013 09:05:22 +0000 (10:05 +0100)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 10 Jun 2013 15:15:17 +0000 (16:15 +0100)
commitfd4abad4f440bb7fe43779ec7601576bd937b59b
treef7b716e1fd0d69ac92e24ec663bc68b43b09463e
parent1f3b3c75701b791cb32aba76f0a4448f5549fae3
qt4: remove trailing slash from prefix

The trailing slashs on "Prefix=${prefix}/" and "-prefix ${prefix}/" are passed
through to the generated pkgconfig files and may be joined to paths like
"/include" yielding a final path with a double forward-slash (eg.
"/usr//include"). This may end up in the debugging symbols in other applications
or libraries which depend on qt4 which in turn causes the debugedit program to
fail with the message "canonicalization unexpectedly shrank by one character"
when it tries to replace the double forward-slash with a single forward-slash.
Thus the function split_and_strip_files fails and ultimately do_package fails.

As this slash is removed from the prefix it is added into the regular expression
used to fix up pkgconfig files later in the recipe.

This error was seen in vlc in meta-openembedded and should be solved by this
change in openembedded-core.

(From OE-Core master rev: 61a7329a5c1f0b84f447256134f5a77917f07f38)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-qt/qt4/qt4.inc