diff options
| -rw-r--r-- | meta-oe/recipes-support/openldap/openldap/0001-libraries-Makefile.in-ignore-the-mkdir-errors.patch | 33 | ||||
| -rw-r--r-- | meta-oe/recipes-support/openldap/openldap_2.5.9.bb | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/openldap/openldap/0001-libraries-Makefile.in-ignore-the-mkdir-errors.patch b/meta-oe/recipes-support/openldap/openldap/0001-libraries-Makefile.in-ignore-the-mkdir-errors.patch new file mode 100644 index 0000000000..552726bb0a --- /dev/null +++ b/meta-oe/recipes-support/openldap/openldap/0001-libraries-Makefile.in-ignore-the-mkdir-errors.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 690f69791eb6cd0d7e94b4d73219ee864de27f62 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
| 3 | Date: Mon, 10 Jan 2022 10:13:51 +0800 | ||
| 4 | Subject: [PATCH] libraries/Makefile.in: ignore the mkdir errors | ||
| 5 | |||
| 6 | Ignore the mkdir errors to fix the parallel build failure: | ||
| 7 | |||
| 8 | ../../build/shtool mkdir -p TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-wrs-linux-gnueabi/openldap/2.5.9-r0/image/usr/lib | ||
| 9 | mkdir: cannot create directory 'TOPDIR/tmp-glibc/work/cortexa15t2hf-neon-wrs-linux-gnueabi/openldap/2.5.9-r0/image/usr/lib': File exists | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
| 14 | --- | ||
| 15 | libraries/Makefile.in | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/libraries/Makefile.in b/libraries/Makefile.in | ||
| 19 | index d9cb2ff..c6b251f 100644 | ||
| 20 | --- a/libraries/Makefile.in | ||
| 21 | +++ b/libraries/Makefile.in | ||
| 22 | @@ -24,7 +24,7 @@ PKGCONFIG_DIR=$(DESTDIR)$(libdir)/pkgconfig | ||
| 23 | PKGCONFIG_SRCDIRS=liblber libldap | ||
| 24 | |||
| 25 | install-local: | ||
| 26 | - @$(MKDIR) $(PKGCONFIG_DIR) | ||
| 27 | + @-$(MKDIR) $(PKGCONFIG_DIR) | ||
| 28 | @for i in $(PKGCONFIG_SRCDIRS); do \ | ||
| 29 | $(INSTALL_DATA) $$i/*.pc $(PKGCONFIG_DIR); \ | ||
| 30 | done | ||
| 31 | -- | ||
| 32 | 2.17.1 | ||
| 33 | |||
diff --git a/meta-oe/recipes-support/openldap/openldap_2.5.9.bb b/meta-oe/recipes-support/openldap/openldap_2.5.9.bb index c008c7b4bc..f3b8c6c987 100644 --- a/meta-oe/recipes-support/openldap/openldap_2.5.9.bb +++ b/meta-oe/recipes-support/openldap/openldap_2.5.9.bb | |||
| @@ -22,6 +22,7 @@ SRC_URI = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/$ | |||
| 22 | file://remove-user-host-pwd-from-version.patch \ | 22 | file://remove-user-host-pwd-from-version.patch \ |
| 23 | file://0001-ldif-filter-fix-parallel-build-failure.patch \ | 23 | file://0001-ldif-filter-fix-parallel-build-failure.patch \ |
| 24 | file://0001-build-top.mk-unset-STRIP_OPTS.patch \ | 24 | file://0001-build-top.mk-unset-STRIP_OPTS.patch \ |
| 25 | file://0001-libraries-Makefile.in-ignore-the-mkdir-errors.patch \ | ||
| 25 | " | 26 | " |
| 26 | 27 | ||
| 27 | SRC_URI[md5sum] = "237fc2d881c27f8dd5d9f396e2865c11" | 28 | SRC_URI[md5sum] = "237fc2d881c27f8dd5d9f396e2865c11" |
