<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>packaging on Binbin</title><link>https://blog.braineo.dev/tags/packaging/</link><description>Recent content in packaging on Binbin</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 22 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.braineo.dev/tags/packaging/index.xml" rel="self" type="application/rss+xml"/><item><title>Packaging my own Emacs build as a .deb</title><link>https://blog.braineo.dev/posts/emacs-deb-package/</link><pubDate>Sun, 22 Nov 2026 00:00:00 +0000</pubDate><guid>https://blog.braineo.dev/posts/emacs-deb-package/</guid><description>&lt;p&gt;I build Emacs from the release branch and install it as a package, so dpkg knows about every file and &lt;code&gt;apt remove&lt;/code&gt; cleans it all up. For years I did that with checkinstall and one rule I never questioned: always pass &lt;code&gt;--fstrans=no&lt;/code&gt;. This year it stopped working, so I found out why and switched to a tiny &lt;code&gt;debian/&lt;/code&gt; directory and &lt;code&gt;dpkg-buildpackage&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="why-checkinstall-stopped-working"&gt;Why checkinstall stopped working&lt;/h2&gt;
&lt;p&gt;checkinstall runs &lt;code&gt;make install&lt;/code&gt; under &lt;code&gt;installwatch&lt;/code&gt;, an &lt;code&gt;LD_PRELOAD&lt;/code&gt; library that records every file touched, and packages whatever it saw.&lt;/p&gt;</description></item></channel></rss>