{"id":29,"date":"2005-04-29T21:26:48","date_gmt":"2005-04-29T21:26:48","guid":{"rendered":"http:\/\/www.reactivated.net\/weblog\/archives\/2005\/04\/dpbuild\/"},"modified":"2005-04-29T21:27:43","modified_gmt":"2005-04-29T21:27:43","slug":"dpbuild","status":"publish","type":"post","link":"http:\/\/www.reactivated.net\/weblog\/archives\/2005\/04\/dpbuild\/","title":{"rendered":"dpbuild"},"content":{"rendered":"<p>Continuing on with the <a href=\"http:\/\/dev.gentoo.org\/~dsd\/development-platform\/\">Gentoo development platform<\/a> venture, I&#8217;ve updated the Portage-HEAD installation guide to take account for the fact that <em>sys-apps\/sandbox<\/em> is now in the Portage tree, and also added a Portage patch which allows non-root users to run <strong>ebuild<\/strong> for normal operations.<\/p>\n<p>I attempted to tackle an initial scenario: Patching a package (gamin) with a big patch which I got out of their CVS. Unfortunately too much had changed elsewhere in CVS for this to be successful against the latest gamin release, but I reached a milestone in that I hacked ebuild enough to work as a normal user, extracting source into the users home directory, which is slightly more convenient than having to be root and getting it extracted into \/var\/tmp with restrictive permissions.<\/p>\n<p>I also added a utility to portage, <a href=\"http:\/\/packages.gentoo.org\/packages\/?category=dev-util;name=rej\">dev-util\/rej<\/a>, which aims to help you apply diff\/patch rejects. In this situation, it managed to automatically resolve some of the rejects, which was nice. A handy utility to keep in mind.<\/p>\n<p><strong>dpbuild<\/strong> is a wrapper script for ebuild, which currently just sets environment variables allowing ebuild to be used as a normal user (it will be extended to incorporate other hacks in the future). I&#8217;m only thinking in terms of unpacking\/compiling here, installation to \/ obviously won&#8217;t work. See the <a href=\"http:\/\/dev.gentoo.org\/~dsd\/development-platform\/\">Gentoo development platform<\/a> page for more info and where to find it.<\/p>\n<p>I recieved some feedback after my last weblog post on this topic. It&#8217;s good to know that there are people besides myself who would find some of the ideas I have mentioned to be beneficial to their working environment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Continuing on with the Gentoo development platform venture, I&#8217;ve updated the Portage-HEAD installation guide to take account for the fact that sys-apps\/sandbox is now in the Portage tree, and also added a Portage patch which allows non-root users to run ebuild for normal operations. I attempted to tackle an initial scenario: Patching a package (gamin) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-gentoo"],"_links":{"self":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":0,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.reactivated.net\/weblog\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}