On 03/01/2014 10:46 PM, Vincent Cheng wrote: > On Sat, Mar 1, 2014 at 12:18 AM, Mikhail Morfikov <mmorfi...@gmail.com> wrote: >>> Pbuilder also supports that using hooks, e.g.: >>> >>> # ln -s /usr/share/doc/pbuilder/examples/C10shell >>> /var/cache/pbuilder/hooks/C10shell >>> >>> ...and the next time your build fails, pbuilder will dump you in the >>> chroot with a shell. >> >> I checked this solution, but I'm wondering how to resume pbuilder after >> it dumps me in the chroot? Let's say I fixed everything that should be >> fixed, and what next? > > If you want to continue fixing issues as you go along, just keep > spamming 'fakeroot debian/rules binary' in your shell (assuming your > end goal is to produce binary .deb packages). You can of course try > running other targets in d/rules to narrow down and solve specific > issues that you want to fix. > > Regards, > Vincent > Thank you all, this has been a useful thread for me. But it hasn't yet given me the exact answer I needed (but some clues!). And maybe my question will also be useful to others.
Many times I have used 'gbp pq import' to create a patch queue and try out some "crazy" patches to the source code there. I have used the options to tell gbp where the debian & upstream branches are, but 'gbp buildpackage' fails because it detects altered files in the source code. I have tried several times to find solution in the man pages for gbp, pbuilder and dpkg-buildpackage etc. Now you have all helped me to realise that I can spam with 'debian/rules build' to test if it fixes a FTBFS, or 'fakeroot debian/rules binary' to go all the way to a 'deb' which I can try installing. But if I don't want to install all the build dependencies on the machine I am using, how can I pass these commands to pbuilder? Or can I override gbp buildpackage (with pbuilder as an option) in some way so that it ignores the fact that there are altered files? Hoping someone can solve a regular frustration of mine. Regards, Ross -- 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/53126122.1060...@the-gammons.net