icu-native: not relocatable via sstate
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 1 patch 0 repliesNew
Patches in v1 No applies recorded yet
The patch the cover letter announces is not in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] icu-native: not relocatable via sstate
The icu recipe installs icu-native twice, once in the usual location, and once for cross builds into the path given by --with-cross-build.
This latter path is not included in the list of paths recognised by chrpath.bbclass, hence the binaries in there retain the rpath as used during compilation. This causes the package to not be relocateable from sstate.
[YOCTO #6851]
Please note that the attached change alone doesn't cause the sstate signature to become invalid, hence bitbake will use an existing archive from sstate (which still has the old rpaths).
Not sure what's missing to force a signature change here, other than doing a -c cleansstate
Also, in the patch, I did try using ${STAGING_ICU_DIR_NATIVE} instead of open-coding ${datadir}/${BPN}/${PV}, originally, but that didn't work, as at the time chrpath.bbclass was running, this translated into .../usr/lib instead of .../usr/share (as it should and does during all the other tasks). I didn't find the reason for that.
Cheers,
Andre'