From patchwork Fri Aug 3 08:21:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: libpam: disable NIS to not link with libtirpc when it is available Date: Fri, 03 Aug 2012 08:21:30 -0000 From: Marcin Juszkiewicz X-Patchwork-Id: 33737 Message-Id: <1343982090-22181-1-git-send-email-marcin.juszkiewicz@linaro.org> To: Openembedded-core@lists.openembedded.org I was checking ways to make incremental builds faster so I started using sstate-cache and SSTATE_MIRRORS. But this gave me some nasty bug: | Collected errors: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for php-cgi: | * libtirpc1 (>= 0.2.2) * | * opkg_install_cmd: Cannot install package php-cgi. I checked details: In my previous build libtirpc got built before libpam so libpam found it and linked. As a result packages depend on libtirpc1 but as there is no such build dependency sstate handling code did not used libtirpc copy... Signed-off-by: Marcin Juszkiewicz --- meta/recipes-extended/pam/libpam_1.1.5.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/pam/libpam_1.1.5.bb b/meta/recipes-extended/pam/libpam_1.1.5.bb index dd75d42..4e79aa6 100644 --- a/meta/recipes-extended/pam/libpam_1.1.5.bb +++ b/meta/recipes-extended/pam/libpam_1.1.5.bb @@ -9,7 +9,7 @@ SECTION = "base" LICENSE = "GPLv2+ | BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" -PR = "r4" +PR = "r5" SRC_URI = "https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-${PV}.tar.bz2 \ file://99_pam \ @@ -28,6 +28,7 @@ DEPENDS = "bison flex flex-native cracklib" EXTRA_OECONF = "--with-db-uniquename=_pam \ --includedir=${includedir}/security \ --libdir=${base_libdir} \ + --disable-nis \ --disable-regenerate-docu" CFLAGS_append = " -fPIC "