[OE-core] [PATCH 2/2] libxml-parser-perl: fix "...contains bad RPATH"

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Wed Aug 15 09:01:27 UTC 2018


Hi Jens,

On Tue, 2018-08-14 at 18:37 +0200, Jens Rehsack wrote:
> I tried:
> 
> $ bitbake libxml-parser-perl-native nativesdk-libxml-parser-perl
> libxml-parser-perl
> 
> WARNING: Host distribution "ubuntu-18.04" has not been validated with
> this version of the build system; you may possibly experience
> unexpected failures. It is recommended that you use a tested
> distribution.
> Loading cache: 100%
> |####################################################################
> #####################################################################
> #############################| Time: 0:00:00
> Loaded 3693 entries from dependency cache.
> Parsing recipes: 100%
> |####################################################################
> #####################################################################
> ###########################| Time: 0:00:01
> Parsing of 2421 .bb files complete (2417 cached, 4 parsed). 3685
> targets, 100 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> 
> Build Configuration:
> BB_VERSION           = "1.39.0"
> BUILD_SYS            = "x86_64-linux"
> NATIVELSBSTRING      = "universal"
> TARGET_SYS           = "arm-poky-linux-gnueabi"
> MACHINE              = "wendy"
> DISTRO               = "gpw"
> DISTRO_VERSION       = "1.0.0"
> TUNE_FEATURES        = "arm armv7a vfp neon callconvention-hard
> cortexa8"
> TARGET_FPU           = "hard"
> meta
> meta-poky
> meta-yocto-bsp       =
> "master:e82d2edca398c392309713577859724900b20190"
> meta-oe
> meta-python
> meta-networking
> meta-filesystems
> meta-webserver       =
> "master:0691e134bf938e0712cf14d3a441bbba04727cea"
> meta-cpan            =
> "master:7ddb7aae38ad9c8fc850026de6636fbe2a4aabdd"
> meta-jens            =
> "master:92863f571a9b64aa5b6c6866db9eb0c8972a546f"
> meta-gpw             =
> "master:8679df6ae6a22b15bd4127c838915dcf087bf614"
> 
> Initialising tasks: 100%
> |####################################################################
> #####################################################################
> ########################| Time: 0:00:00
> Checking sstate mirror object availability: 100%
> |####################################################################
> #####################################################################
> | Time: 0:00:00
> Sstate summary: Wanted 155 Found 0 Missed 310 Current 96 (0% match,
> 38% complete)
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Tasks Summary: Attempted 1007 tasks of which 669 didn't need to
> be rerun and all succeeded.
> 
> Unfortunately I don't have a SuSE based build machine nor a
> reasonable MIPS setup to test - but can you please describe what I
> need to do to reproduce that error?
> Further: Ross complained regarding patch corruption by Apple Mail - I
> resent the patches on August, 8th (you replied that on August, 6th)
> using git-send-email. Did you fix the corrupted patch before?
> 
> I really want this thing being fixed - does it occurs anywhere else
> or can the reason the missing "--sysroot"?
> 
> When I restrict the additional sed commands to target only, how would
> that affect the nativesdk?

I was able to reproduce this if I move my host libexpat out the way
temporarily:

mv /usr/lib/x86_64-linux-gnu/libexpat.so{,.hide}

then:

bitbake libxml-parser-perl-native -c cleansstate
bitbake libxml-parser-perl-native

The issue is that some of our build workers don't have libexpat
installed and the linker isn't finding the native version, presumably
as the native case needs the -L search paths we add.

Hope that helps reproduce!

Cheers,

Richard






More information about the Openembedded-core mailing list