Hi, I've found that occasionally pbuilder-satisfydepends will fail on its "apt-get -s" operations with odd fakeroot errors such as being unable to connect to whatever TCP address is used behind the scenes. This persists across resets of the build target, removals of the build target, and reinstallations of all of Scratchbox, so I think this problem may be a general-interest one (not particular to only my installation).
In the head version of crocodile, pbuilder-satisfydepends is invoked inside one massive fakeroot session ("fakeroot pbuilder-satisfydepends --scratchbox ..."). When I remove the overarching fakeroot session from the front of that and instead allow pbuilder-satisfydepends to just run small fakeroot sessions directly around its APT operations, the strange fakeroot-related errors disappear. The attached patch adds a new option ("--rootcmd") to pbuilder-satisfydepends. This is prepended (similar to any CHROOTEXEC use) to any apt-get operations. For convenience, whenever the "--scratchbox" option is specified, the default value of --rootcmd is assumed to be "fakeroot".
crocodile_pbuilder_rootcmd.patch
Description: Binary data
_______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users