So, it was wrongly parsed my command into this line. Tracking the execution, I checked that the script pbuilder-checkparams get the OTHERMIRRORS option:
-----
--othermirror)
OTHERMIRROR="$2";
-----
But it is not used by pbuilder-createbuildenv (line 65):
-----
if ! ( cd "$BUILDPLACE" && "${DEBOOTSTRAP}" "${DEBOOTSTRAPOPTS[@]}" "$DISTRIBUTION" . "$MIRRORSITE" $DEBOOTSTRAPSCRIPT ) ; then
echo "pbuilder: $DEBOOTSTRAP failed" >&2
exit 1
fi
-----
I've debugged the whole procedure and got the following:
If started as I stated on the bug I got the attached debug trace. Notice the comparison (my command/debug line):
pbuilder create --distribution jaunty --othermirror "deb http:// br.archive. ubuntu. com/ubuntu/ jaunty main restricted multiverse universe" archive. canonical. com/ubuntu
debootstrap --variant=buildd jaunty . http://
So, it was wrongly parsed my command into this line. Tracking the execution, I checked that the script pbuilder- checkparams get the OTHERMIRRORS option:
----- R="$2";
--othermirror)
OTHERMIRRO
-----
But it is not used by pbuilder- createbuildenv (line 65):
----- PTS[@]} " "$DISTRIBUTION" . "$MIRRORSITE" $DEBOOTSTRAPSCRIPT ) ; then
if ! ( cd "$BUILDPLACE" && "${DEBOOTSTRAP}" "${DEBOOTSTRAPO
echo "pbuilder: $DEBOOTSTRAP failed" >&2
exit 1
fi
-----
Only mirror side is used.
This is way the wrong parse happens.
Igor Gomes