ubuntu-bug: python-ldb-dev source package(aka ldb) problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ldb (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I use Ubuntu 16.10 beta(daily updated to the latest state).
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.
2. I found strange thing in ldb(python-ldb) package. The status of 'debian/
$ ls -l debian/*.install
-rw-r--r-- 1 brofkims brofkims 66 2월 28 2016 debian/
-rw-r--r-- 1 brofkims brofkims 106 2월 28 2016 debian/
-rw-r--r-- 1 brofkims brofkims 44 2월 28 2016 debian/
-rwxr-xr-x 1 brofkims brofkims 119 8월 5 03:24 debian/
-rw-r--r-- 1 brofkims brofkims 46 8월 5 03:24 debian/
Here, the content of debian/
#! /usr/bin/dh-exec
usr/include/pyldb.h ${DEB_PY2_INCDIR}
usr/lib/
usr/lib/
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/
usr/include/pyldb.h
usr/lib/
usr/lib/
chmod 0644 debian/
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.)
description: | updated |
summary: |
- ubuntu-bug: python-ldb packaging problem + ubuntu-bug: python-ldb-dev source package(aka ldb) problem |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I don't understand the problem you're reporting. Please could you provide exact steps to reproduce this bug, explain exactly what behaviour you're expecting, and what is happening instead?
You may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html.
Once done, please change the bug status back to New.