{"id":272,"date":"2008-01-05T00:18:40","date_gmt":"2008-01-04T22:18:40","guid":{"rendered":"http:\/\/www.lucas-nussbaum.net\/blog\/?p=272"},"modified":"2008-01-05T00:47:12","modified_gmt":"2008-01-04T22:47:12","slug":"rebuilding-the-archive-with-dash-as-binsh","status":"publish","type":"post","link":"https:\/\/www.lucas-nussbaum.net\/blog\/?p=272","title":{"rendered":"Rebuilding the archive with dash as \/bin\/sh"},"content":{"rendered":"<p>I rebuilt all Debian packages twice. The first time with bash as \/bin\/sh, and the second time with dash as \/bin\/sh.<\/p>\n<p>About 120 packages built fine with bash, but failed to build with dash. I filed all the bugs that weren&#8217;t filed already.<\/p>\n<p>Then I debdiff&#8217;d the resulting binary packages, and found about 40 packages that built fine with bash and dash, but produced different binary packages (mostly files missing\/being added)!<\/p>\n<p>All the bugs (including those that were already filed) <a href=\"http:\/\/bugs.debian.org\/cgi-bin\/pkgreport.cgi?tag=qa-ftbfs-dash;users=debian-qa@lists.debian.org\">have been usertagged<\/a>. Most of those bugs are quite easy to reproduce and fix, so, if you are bored, send patches!<\/p>\n<p>I was a bit surprised by the high number of problems I found, since Ubuntu has been using dash as \/bin\/sh for more than a year, even on their buildds. Some packages have been fixed in Ubuntu, but the Debian maintainers didn&#8217;t include the fix. But many packages were simply broken in Ubuntu.<\/p>\n<p>Now I&#8217;ll try to find time to work on the Build Daemon From Hell idea, and on rebuilds inside qemu.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I rebuilt all Debian packages twice. The first time with bash as \/bin\/sh, and the second time with dash as \/bin\/sh. About 120 packages built fine with bash, but failed to build with dash. I filed all the bugs that weren&#8217;t filed already. Then I debdiff&#8217;d the resulting binary packages, and found about 40 packages [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"0","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,13,12,7],"tags":[],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-debianubuntu","category-planetdebian","category-planetubuntu","category-technology"],"_links":{"self":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=272"}],"version-history":[{"count":0,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/272\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}