Bug#542837: pbuilder has issues with kfreebsd-*
Andreas Barth
aba at not.so.argh.org
Fri Sep 18 17:24:48 UTC 2009
* Junichi Uekawa (dancer at netfort.gr.jp) [090918 17:27]:
> Hmmm... Did you actually got around to trying ? I'm wondering if
> fixing the mounting would fix all the problems or I still need a lot
> more to go.
pbuilder works with this setting in normal mode (i.e. pdebuild without
--use-pdebuild-internal):
USEPROC=no
USEDEVFS=no
USEDEVPTS=no
--use-pdebuild-internal failed with the error indicated.
I tried with the following change:
for mnt in $BINDMOUNTS; do
log "I: Mounting $mnt"
if mkdir -p "$BUILDPLACE/$mnt" &&
mount -tnullfs "$mnt" "$BUILDPLACE/$mnt"; then
# successful.
mounted[${#mounted[@]}]="$mnt"
else
in /usr/lib/pbuilder/pbuilder-modules (change of mount only).
In this case, pdebuild --use-pdebuild-internal worked and built
successfully.
However, there is a restriction compared with Linux:
mount /root /root/build/720/root/ -t nullfs
fails, so some setups that work on Linux fail on kbsd.
(I used an buildplace outside of my home, then it worked.)
I didn't tried to change the proc-mounts etc but wouldn't expect
surprises there.
Cheers,
Andi
More information about the Pbuilder-maint
mailing list