{"id":273,"date":"2008-01-16T13:38:42","date_gmt":"2008-01-16T11:38:42","guid":{"rendered":"http:\/\/www.lucas-nussbaum.net\/blog\/?p=273"},"modified":"2008-01-16T13:38:42","modified_gmt":"2008-01-16T11:38:42","slug":"help-us-get-rid-of-dash-build-failures-in-debian","status":"publish","type":"post","link":"https:\/\/www.lucas-nussbaum.net\/blog\/?p=273","title":{"rendered":"Help us get rid of dash build failures in Debian!"},"content":{"rendered":"<p>Following my <a href=\"http:\/\/www.lucas-nussbaum.net\/blog\/?p=272\">rebuild of all packages using \/bin\/dash as \/bin\/sh<\/a>, we now have a <a href=\"http:\/\/bugs.debian.org\/cgi-bin\/pkgreport.cgi?tag=qa-ftbfs-dash;users=debian-qa@lists.debian.org\">nice list of bugs<\/a>.<\/p>\n<p>Those bugs are cool:<\/p>\n<ul>\n<li>The relaxed NMU rules apply to them, since they are part of the dash release goal. Which means that they can all be fixed using 0-day NMUs.<\/li>\n<li>Most of them are really easy to fix. (for many of them, a patch is already provided by Ubuntu)<\/li>\n<\/ul>\n<p>So, if you want to get involved in Debian development, try to submit NMU patches for those bugs. If you want me to sponsor the upload, please Cc <a href=\"mailto:lucas@lucas-nussbaum.net\">me<\/a> when you submit the patch.<\/p>\n<p>And even if you don&#8217;t care about Debian, but only about Ubuntu (which is fondamentally wrong, as everybody knows that Ubuntu is based on Debian), fixing these bugs also helps Ubuntu a lot: all those bugs hurt Ubuntu, since Ubuntu uses dash as \/bin\/sh by default, and, even if the packages in Ubuntu have been patched, it&#8217;s still causing additional work every time a new package is uploaded to Debian, and has to imported in Ubuntu.<\/p>\n<p>If you have questions with the process, please ask them using the comments below.<\/p>\n<p><b>Notes:<\/b><br \/>\nI use the following process on those bugs, and it&#8217;s probably a good idea that you do the same if you intent to submit patches:<\/p>\n<ul>\n<li>build the package with a chroot using bash<\/li>\n<li>build the package with a chroot using dash (you can just use a different pbuilder tarball for that). Check that the problem can be reproduced.<\/li>\n<li>fix the package<\/li>\n<li>build the new package with a chroot using bash<\/li>\n<li>build the new package with a chroot using dash<\/li>\n<li>compare the built packages using debdiff for old_package_using_bash, new_package_using_bash, and new_package_using_dash. If the content doesn&#8217;t match, we have a problem.<\/li>\n<\/ul>\n<p>If you submit NMU patches, please also have a look at the other bugs in the package, or at the lintian output. I don&#8217;t mind sponsoring small fixes for non-cosmetic\/non-wishlist stuff at the same time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following my rebuild of all packages using \/bin\/dash as \/bin\/sh, we now have a nice list of bugs. Those bugs are cool: The relaxed NMU rules apply to them, since they are part of the dash release goal. Which means that they can all be fixed using 0-day NMUs. Most of them are really easy [&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,14,12,7],"tags":[],"class_list":["post-273","post","type-post","status-publish","format-standard","hentry","category-debianubuntu","category-planetdebian","category-planetgnomefr","category-planetubuntu","category-technology"],"_links":{"self":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/273","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=273"}],"version-history":[{"count":0,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/273\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lucas-nussbaum.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}