Skip to contentSkip to conversation

libnss-nis: Do not export _nss_nis_getsecretkey when libc does not have xdecrypt

PATCH New Khem Raj 1 participant 1 message Aug 27, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libnss-nis: Do not export _nss_nis_getsecretkey when libc does not have xdecrypt

Fixes build errors ( seen with lld particularly )

| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'NSS_NIS_PRIVATE_2.0' to symbol '_nss_nis_getsecretkey' failed: symbol not defined
| x86_64-yoesdk-linux-clang: error: linker command failed with exit code 1 (use -v to see invocation)
| make[3]: *** [Makefile:642: libnss_nis.la] Error 1
| make[3]: Leaving directory '/mnt/b/yoe/master/build/tmp/work/x86_64-nativesdk-yoesdk-linux/nativesdk-libnss-nis/3.2/build/src'
---
 .../recipes-extended/libnss-nis/libnss-nis.bb |  1 +
 ...s_getsecretkey-export-conditional-on.patch | 78 +++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 100644 meta/recipes-extended/libnss-nis/libnss-nis/0001-make-ake-_nss_nis_getsecretkey-export-conditional-on.patch
meta/recipes-extended/libnss-nis/libnss-nis.bb +1 -0
index 2198606de5e..a7f6545be06 100644
@@ -18,6 +18,7 @@ PV = "3.2"
 SRCREV = "cd0d391af9535b56e612ed227c1b89be269f3d59"
 
 SRC_URI = "git://github.com/thkukuk/libnss_nis;branch=master;protocol=https \
+           file://0001-make-ake-_nss_nis_getsecretkey-export-conditional-on.patch \
           "
 
 inherit autotools pkgconfig
meta/recipes-extended/libnss-nis/libnss-nis/0001-make-ake-_nss_nis_getsecretkey-export-conditional-on.patch new file +78 -0

78 lines not on this page · raw message