[oe] [meta-oe][PATCH] openldap: do not strip during install

Martin Jansa martin.jansa at gmail.com
Fri Mar 22 09:21:09 UTC 2013


On Thu, Mar 21, 2013 at 02:38:28PM +0100, Marcin Juszkiewicz wrote:
> Before:
> WARNING: File '/usr/lib/openldap/slapd' from openldap was already stripped, this will prevent future debugging!
> WARNING: File '/usr/bin/ldapsearch' from openldap was already stripped, this will prevent future debugging!
> WARNING: File '/usr/bin/ldapmodify' from openldap was already stripped, this will prevent future debugging!
> WARNING: File '/usr/bin/ldapdelete' from openldap was already stripped, this will prevent future debugging!
> WARNING: File '/usr/bin/ldapmodrdn' from openldap was already stripped, this will prevent future debugging!
> WARNING: File '/usr/bin/ldappasswd' from openldap was already stripped, this will prevent future debugging!
> WARNING: File '/usr/bin/ldapwhoami' from openldap was already stripped, this will prevent future debugging!
> WARNING: File '/usr/bin/ldapcompare' from openldap was already stripped, this will prevent future debugging!
> WARNING: File '/usr/bin/ldapexop' from openldap was already stripped, this will prevent future debugging!
> WARNING: File '/usr/bin/ldapurl' from openldap was already stripped, this will prevent future debugging!

Applied, thanks!

> 
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
> ---
>  meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch | 2 +-
>  meta-oe/recipes-support/openldap/openldap_2.4.23.bb                  | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch b/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
> index 9d7640c..2992b70 100644
> --- a/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
> +++ b/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
> @@ -8,7 +8,7 @@
>   	$(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_MOD)
>   
>  -LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL) 
> -+LTINSTALL = STRIPPROG="@STRIP@" $(LIBTOOL) --mode=install $(top_srcdir)/contrib/ldapc++/install-sh -c
> ++LTINSTALL = STRIPPROG="" $(LIBTOOL) --mode=install $(top_srcdir)/contrib/ldapc++/install-sh -c
>   LTFINISH = $(LIBTOOL) --mode=finish
>   
>   # Misc UNIX commands used in build environment
> diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
> index 319c50d..1c6c32f 100644
> --- a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
> +++ b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
> @@ -19,6 +19,7 @@ SRC_URI += "file://initscript"
>  SRC_URI[md5sum] = "90150b8c0d0192e10b30157e68844ddf"
>  SRC_URI[sha256sum] = "5a5ede91d5e8ab3c7f637620aa29a3b96eb34318a8b26c8eef2d2c789fc055e3"
>  
> +PR = "r1"
>  # The original top.mk used INSTALL, not INSTALL_STRIP_PROGRAM when
>  # installing .so and executables, this fails in cross compilation
>  # environments
> -- 
> 1.8.1.2
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130322/70e68206/attachment-0002.sig>


More information about the Openembedded-devel mailing list