Skip to content

Commit 5dce6b7

Browse files
moorthy-bsMoorthy Baskar
authored andcommitted
glibc - nativesdk prepare_recipe_sysroot error fix
on eSDK population, nativesdk of libnsl2 and glibc both install yppasswd.x and yppasswd.h files which causes conflict while preparing recipe sysroot of nativesdk-libnss-nis and nativesdk-python 3.8 The fix resolves below error ERROR: nativesdk-libnss-nis-3.1+gitAUTOINC+062f31999b-r0 do_prepare_recipe_sysroot: The file /opt/rdk/2.0/sysroots/x86_64-rdksdk-linux/usr/include/rpcsvc/yppasswd.x is installed by both nativesdk-libnsl2 and nativesdk-glibc, aborting ERROR: nativesdk-libnss-nis-3.1+gitAUTOINC+062f31999b-r0 do_prepare_recipe_sysroot: The file /opt/rdk/2.0/sysroots/x86_64-rdksdk-linux/usr/include/rpcsvc/yppasswd.h is installed by both nativesdk-libnsl2 and nativesdk-glibc, aborting
1 parent 02870c7 commit 5dce6b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

meta/recipes-core/glibc/glibc-package.inc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ do_install_append_class-target() {
139139
fi
140140

141141
}
142+
143+
# provided by libnsl2
144+
do_install_append_class-nativesdk() {
145+
rm -f ${D}${includedir}/rpcsvc/yppasswd.*
146+
}
147+
142148
do_install_append_aarch64 () {
143149
do_install_armmultilib
144150
}

0 commit comments

Comments
 (0)