The Samba-Bugzilla – Attachment 13349 Details for
Bug 12882
_ldb_text.py is installed by Samba build and ldb build!
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.7
0001-waf-Do-not-install-_ldb_text.py-if-we-have-system-li.patch (text/plain), 1.97 KB, created by
Andreas Schneider
on 2017-07-10 06:38:42 UTC
(
hide
)
Description:
patch for 4.7
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2017-07-10 06:38:42 UTC
Size:
1.97 KB
patch
obsolete
>From 819a6fff469fd3a623597f903262483918532394 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Thu, 6 Jul 2017 07:44:28 +0200 >Subject: [PATCH] waf: Do not install _ldb_text.py if we have system libldb > >_ldb_text.py is installed as part of the ldb package and also if you >compile Samba with the system ldb version. This way we have have the >file twice in the same location and run into file confilcts. > >This has already been fixed some time ago: > 60dc26bfe1573265dcbd87b9dd3439f945e57d97 > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12882 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Alexander Bokovoy <ab@samba.org> >(cherry picked from commit 98e30cf491c63eb0b69c13ad42b720d22944adda) >--- > lib/ldb/wscript | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-) > >diff --git a/lib/ldb/wscript b/lib/ldb/wscript >index 6f36965204b..32647dd772d 100644 >--- a/lib/ldb/wscript >+++ b/lib/ldb/wscript >@@ -177,12 +177,15 @@ def build(bld): > realname='ldb.so', > cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION) > >- for env in bld.gen_python_environments(['PKGCONFIGDIR']): >- bld.SAMBA_SCRIPT('_ldb_text.py', >- pattern='_ldb_text.py', >- installdir='python') >+ # Do only install this file as part of the Samba build if we do not >+ # use the system libldb! >+ if not bld.CONFIG_SET('USING_SYSTEM_PYLDB_UTIL'): >+ for env in bld.gen_python_environments(['PKGCONFIGDIR']): >+ bld.SAMBA_SCRIPT('_ldb_text.py', >+ pattern='_ldb_text.py', >+ installdir='python') > >- bld.INSTALL_FILES('${PYTHONARCHDIR}', '_ldb_text.py') >+ bld.INSTALL_FILES('${PYTHONARCHDIR}', '_ldb_text.py') > > if not bld.CONFIG_SET('USING_SYSTEM_LDB'): > if bld.is_install: >-- >2.13.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
ab
:
review+
metze
:
review+
Actions:
View
Attachments on
bug 12882
: 13349