[MDEV-3991] Can't build Debian packages from the generic .tar.gz sources file, its debian/ directory seems incomplete Created: 2012-12-28 Updated: 2013-03-01 Resolved: 2013-03-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.28a |
| Fix Version/s: | 5.5.30 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Jean Weisbuch | Assignee: | Kristian Nielsen |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian Squeeze amd64 |
||
| Description |
|
I wanted to have the sources and especially the debian/ directory from the 5.5.25 release so i could try to create Debian packages for TokuDB (latest version is based on MariaDB 5.5.25 which is not the latest release as of now) but there is only the latest release source package available on the Debian/Ubuntu repositories, so i tried to use the "mariadb-5.5.25.tar.gz" non distro-specific sources that includes the "debian/" directory normally used for Debian/Ubuntu packages creation. Unfortunately, if you try to do a dpkg-buildpackage from these sources, you will hit errors telling you that mandatory files are missing from the "debian/" directory :
The debian/ directory size is bit smaller on the tarball version than the repository one and some files are missing :
Is this an expected behavior (in that case, where could i retreive a working debian/ directory from a previous release) or a bug? ps: same problem happens on 5.5.28a and 5.5.25. |
| Comments |
| Comment by Kristian Nielsen [ 2013-03-01 ] |
|
The reason for the build failures is that some files need to be symlinked in The script debian/autobake-deb.sh handles this. This script is what is run to Alternatively, I believe `apt-get source` can be used to grab a source package |