Public bug reported:
Binary package hint: pbuilder
pbuilder and pdebuild do not accept or cope with multiple
--debbuildopts. For example (slightly nonsensical example):
HOST_DEB_OPTIONS="--debbuildopts -i -I"
PBUILDER_DEB_OPTIONS="--debbuildopts -i -I"
pdebuild --logfile $LOGNAME ${HOST_DEB_OPTIONS} -- ${PBUILDER_DEB_OPTIONS}
Command line parameter [-I] is not a valid .dsc file name
The cause is the two helper shell function libraries.
/usr/lib/pbuilderpbuilder-checkparams
/usr/lib/pbuilder/pdebuild-checkparams
/usr/lib/pbuilder/pdebuild-uml-checkparams
because they are coded to only accept one option, and to over-write any
previous option:
--debbuildopts)
DEBBUILDOPTS="$2";
shift; shift;
;;
The solution is to use:
DEBBUILDOPTS="$DEBBUILDOPTS $2";
As a by-product, this change allows the script to accept and use any
options exported to the environment before the tool starts.
** Affects: pbuilder (Ubuntu)
Importance: Undecided
Status: New
--
Does not accept multiple --debbuildopts options
https://bugs.launchpad.net/bugs/278213
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs