On Fri, Feb 28, 2014 at 1:52 AM, Mikhail Morfikov <mmorfi...@gmail.com> wrote: > I'm new to building packages by using pbuilder tool, and I have to build > a package multiple times before it builds successfully, or in the way > I prefer. The most annoying part ot this is installation of > dependencies -- each time I build a package, it has to install > the same dependencies over and over.
Can you elaborate a bit on what you mean by "having to build a package multiple times before it builds successfully"? With pbuilder, your package should be able to be built with a single invocation of pbuilder (given a .dsc) or pdebuild (when unpacked). Anything more than that and the ftpmasters will probably consider your package to FTBFSIASW (fail to build from source in a sane way). About the annoying part of having to wait for pbuilder to install all build-deps at each run, you can: - get pbuilder to set up the chroot in a tmpfs (e.g. I actually have /var/cache/pbuilder/build/ symlinked to /tmp, which is mounted as a tmpfs; setting up a pbuilder chroot is blazing fast) - use cowbuilder - go buy and use a SSD Any of the above options should make it far less annoying to build your package in a clean chroot each time. Regards, Vincent -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CACZd_tAOScKkiB_pY=ppgs+34usttjd0+rk-or7rxfxhlev...@mail.gmail.com