Bug #30445 Remove debian dir from main source tree
Submitted: 15 Aug 2007 16:46 Modified: 5 Apr 2008 6:50
Reporter: Monty Taylor Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.0, 5.1 OS:Linux
Assigned to: Monty Taylor CPU Architecture:Any

[15 Aug 2007 16:46] Monty Taylor
Description:
When working on debian packaging before, I put the debian packaging dir into the mainline source, even though this is contrary to debian best practices. After further consideration, the best practices are right and I was wrong. There exist a set of branches for the packaging which is orthogonal to the set of branches for the source, namely, community, enterprise and cluster are packaged differently, and there need to be packages made/branches kept for dapper, edgy, feisty, gutsy, sarge and etch. The attempt was made before to accomplish this with fancy wrapper shell scripts, but I believe this actually made the process too complex and too fragile. 

How to repeat:
Build a debian package using the packaging and then try rebuilding from the debian source package. If you don't hold your breath just right, it will not rebuild from source. 

Suggested fix:
Remove the debian dir and the references to it from configure.in and Makefile.am. This should effectively revert #27769.
[5 Apr 2008 6:50] Monty Taylor
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html