[oe-commits] Nitin A Kamble : libgcrypt: fix build with automake 1.12.x

git at git.openembedded.org git at git.openembedded.org
Tue Jul 10 16:52:58 UTC 2012

Module: openembedded-core.git
Branch: master-next
Commit: 47cc1f43520cc26fdb941949574dbf0d2f55b002
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=47cc1f43520cc26fdb941949574dbf0d2f55b002

Author: Nitin A Kamble <nitin.a.kamble at intel.com>
Date:   Thu May  3 10:29:32 2012 -0700

libgcrypt: fix build with automake 1.12.x

automake 1.12.x automatically deletes empty directories, so
the additional rmdir from the do_install_append fails.

cleanup the do_install_append for automake 1.12.x
avoid this issue:

| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libgcrypt-1.5.0-r0/image/usr/sbin': No such file or directory
NOTE: package libgcrypt-1.5.0-r0: task do_install: Failed

no PR bump as no change in the output

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>


 meta/recipes-support/libgcrypt/libgcrypt.inc |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index 42e47df..0d891d3 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -21,9 +21,6 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
 do_install_append() {
 	install -d ${D}/${libdir}/pkgconfig
 	install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
-	# Remove empty sbin directory since we don't build the daemon that would install there
-	rmdir ${D}${sbindir}
 FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"

More information about the Openembedded-commits mailing list