Packaging my own Emacs build as a .deb

I build Emacs from the release branch and install it as a package, so dpkg knows about every file and apt remove cleans it all up. For years I did that with checkinstall and one rule I never questioned: always pass --fstrans=no. This year it stopped working, so I found out why and switched to a tiny debian/ directory and dpkg-buildpackage. Why checkinstall stopped working checkinstall runs make install under installwatch, an LD_PRELOAD library that records every file touched, and packages whatever it saw. ...

November 22, 2026 · 8 min · Binbin