[oe] [PATCH] cross.bbclass: Fix many QA RPATH errors for distros preferring libtool-2.2

Andreas Mueller schnitzeltony at gmx.de
Tue Feb 22 22:47:29 UTC 2011


On Tuesday 22 February 2011 15:59:59 Tom Rini wrote:
> On 02/21/2011 06:44 PM, Tom Rini wrote:
> > On 02/19/2011 06:23 PM, Khem Raj wrote:
> >> On (19/02/11 13:11), Eric Benard wrote:
> >>> Hi Andreas,
> >>> 
> >>>> index 1a6d906..50c0f63 100644
> >>>> --- a/classes/cross.bbclass
> >>>> +++ b/classes/cross.bbclass
> >>>> @@ -75,6 +75,6 @@ sysroot_stage_all() {
> >>>> 
> >>>> #
> >>>> # Cross .la files have more path issues we have to correct only for
> >>>> libtool< 2.4
> >>>> -SYSROOTEXTRALIBDIRSED_OLD = " -e
> >>>> \"/^libdir=/s,.*,libdir=${STAGING_DIR_TARGET}${target_libdir},g\" -e
> >>>> \"/^dependency_libs=/s,\([[:space:]']\)-L${STAGING_LIBDIR_NATIVE},,g\"
> >>>> " +SYSROOTEXTRALIBDIRSED_OLD = " -e
> >>>> \"/^libdir=/s,.*,libdir=${target_libdir},g\" -e
> >>>> \"/^dependency_libs=/s,\([[:space:]']\)-L${STAGING_LIBDIR_NATIVE},,g\"
> >>>> "
> >>>> 
> >>>> SYSROOTEXTRALIBDIRSED =
> >>>> "${@["${SYSROOTEXTRALIBDIRSED_OLD}",""][("${LIBTOOL_HAS_SYSROOT}" ==
> >>>> "yes")]}"
> >>> 
> >>> I was just finishing to test a similar fix and this seems to be the
> >>> right direction. Now testing your fix which is cleaner.
> >> 
> >> Also try meta-toolchain targets
> > 
> > I'm kicking off a subset of my normal matrix with this change applied
> > and hope to report back results in the morning (-0700).
> 
> Results look good.  The results are at http://i.imgur.com/3zmKi.png and
> the failures here are:
> - qemux86 + libpcap2 + current kheaders aren't happy
> 
> - A lot of failures like:
> | checking host system type...
> | configure: error: invalid value of canonical host
> 
> NOTE: package xextproto-1_7.1.2-r2.0: task do_configure: Failed
> ERROR: Function 'do_configure' failed (see
> /var/hudson/workspace/sb_openembedded_autobuilder_quicktest/BBPKGS/qt4e-dem
> o-image/DISTRO/minimal/MACHINE/qemush4/label/sb-u1004/tmp/work/sh4-oe-linux
> /xextproto-1_7.1.2-r2.0/temp/log.do_configure.13916 for further
> information)
> ERROR: Task 2867
> (/var/hudson/workspace/sb_openembedded_autobuilder_quicktest/BBPKGS/qt4e-de
> mo-image/DISTRO/minimal/MACHINE/qemush4/label/sb-u1004/recipes/xorg-proto/x
> extproto_7.1.2.bb, do_configure) failed with exit code '1'
> 
> Which I need to dig into.
wow - your job getting the release out of the door is really impressive - thanks 
a lot!

Andreas




More information about the Openembedded-devel mailing list