]> code.ossystems Code Review - openembedded-core.git/commit
file: add bzip2-replacement-native to DEPENDS to fix sstate issue
authorJan-Simon Moeller <dl9pf@gmx.de>
Thu, 21 May 2020 14:07:04 +0000 (16:07 +0200)
committerSteve Sakoman <steve@sakoman.com>
Sat, 23 May 2020 22:43:32 +0000 (12:43 -1000)
commit5a2bc3bfa9e1a4f37b6e26a5c40a4a9c025d03f1
treede5ef95ec7d9826468e83101285fee135f4b36e4
parent866c652c850d9e23300218fcbe0b9e4b3ade2ebf
file: add bzip2-replacement-native to DEPENDS to fix sstate issue

file-native when built on a Debian 10 host will embed a dependency to
'libbz2.so.1.0' (instead of 'libbz2.so.1'). This can cause issues
when sharing the sstate between hosts e.g.:

 recipe-sysroot-native/usr/lib/rpm/rpmdeps:
      error while loading shared libraries: libbz2.so.1.0: \
        cannot open shared object file: No such file or directory

To avoid this situation, let's add the bzip2-replacement-native to the
file recipe's DEPENDS_class-native .

Details in https://bugzilla.yoctoproject.org/show_bug.cgi?id=13915 .

Signed-off-by: Jan-Simon Moeller <dl9pf@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a996574464028bd5d57b90920d0887d1a81e9e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/file/file_5.38.bb