** Description changed:

- 
  I use Ubuntu 16.10 beta(daily updated to the latest state).
  
- After I heard the release new of samba-4.5 from Phoronix site,
- I managed to make samba-4.5 source(gzipped tar) to Ubuntu binary package by 
using and changing Ubuntu samba-4.4.5 source package yesterday night. Maybe it 
took 6~7 hours. 
- Because this version conatains many changes and requires latest tdb, tevent, 
ldb(libldb-dev, python-ldb-dev), etc, I had perform many trivial and routine 
tasks.  
+ I heard the release news of samba-4.5 from Phoronix site.
+ 
+ I managed to make samba-4.5 source(gzipped tar) to Ubuntu binary package by 
using and changing Ubuntu samba-4.4.5 source package yesterday night. Maybe it 
took 6~7 hours.
+ Because this version conatains many changes and requires latest tdb, tevent, 
ldb(libldb-dev, python-ldb-dev), etc, I had perform many trivial and routine 
tasks.
  
  1. To compile samba-4.5.0, minimum or adequate tdb, tevent, ldb version
  are as follows, but python-ldb(part of ldb) source package should be
  modified.(debian/python-ldb-dev.install file)
  
-                libldb-dev (>= 2:1.1.27~),
-                libtalloc-dev (>= 2.1.8~),
-                libtdb-dev (>= 1.3.11~),
-                libtevent-dev (>= 0.9.30~),
-                python-ldb (>= 2:1.1.27~),
-                python-ldb-dev (>= 2:1.1.27~),
-                python-talloc-dev (>= 2.1.8~),
-                python-tdb (>= 1.3.11~),
+                libldb-dev (>= 2:1.1.27~),
+                libtalloc-dev (>= 2.1.8~),
+                libtdb-dev (>= 1.3.11~),
+                libtevent-dev (>= 0.9.30~),
+                python-ldb (>= 2:1.1.27~),
+                python-ldb-dev (>= 2:1.1.27~),
+                python-talloc-dev (>= 2.1.8~),
+                python-tdb (>= 1.3.11~),
  
  2. I found strange thing in ldb(python-ldb) package. The status of
  'debian/python-ldb-dev.install' file of python-ldb-dev package(part of
  ldb) is as follows:
  
  $ ls -l debian/*.install
  -rw-r--r-- 1 brofkims brofkims  66  2월 28  2016 debian/ldb-tools.install
  -rw-r--r-- 1 brofkims brofkims 106  2월 28  2016 debian/libldb-dev.install
  -rw-r--r-- 1 brofkims brofkims  44  2월 28  2016 debian/libldb1.install
  -rwxr-xr-x 1 brofkims brofkims 119  8월  5 03:24 debian/python-ldb-dev.install
  -rw-r--r-- 1 brofkims brofkims  46  8월  5 03:24 debian/python-ldb.install
  
  Here, the content of debian/python-ldb-dev.install is follows:
  
  #! /usr/bin/dh-exec
  usr/include/pyldb.h ${DEB_PY2_INCDIR}
  usr/lib/*/libpyldb-util.so
  usr/lib/*/pkgconfig/pyldb-util.pc
  
  If I build python-ldb-dev package(here 1.1.27) according to this format, 
though I could make deb package and install it, I encountered error while 
samba-4.5.0 due to lack of pyldb.h include file.
  The variable '${DEB_PY2_INCDIR}' is not interpreted regular directory on my 
system, and pyldb.h could not be searched by compiler while compiling samba-4.5.
  I revmoved python-ldb-dev package and modifiled content and permission of 
debian/python-ldb-dev.install file as follows:
  
  usr/include/pyldb.h
  usr/lib/*/libpyldb-util.so
  usr/lib/*/pkgconfig/pyldb-util.pc
  
  chmod 0644 debian/python-ldb-dev.install
  
  3. After modifying and rebuilding python-ldb-dev package the comppile
  process of samba-4.5.0 proceeded  flawlessly(Though I encountered
  unexpected problems at the stage of building deb package. I had to
  repeatedly modify  debian/control, debian/*.install, debian/rules for
  many hours. In this situation 'dpkg-buildpackage -rfakeroot -nc -us -uc'
  was my friend.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1623754

Title:
  ubuntu-bug: python-ldb packaging problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldb/+bug/1623754/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to