Excuse my bad English (thank you google translate)
I confirm that it did the same with me.

Cause: pbuilder-checkparams made a switch case on $1 seeking
--buildresult. In this particular case, $1 contains mypackage.dsc it is
therefore never in the case --buildresult.

Solution (to be confirme): in /usr/lib/pbuilder/pbuilder-checkparams add
a case for mypackage.dsc (*.dsc) with a regular expression as [0-9a-
zA-Z]*\.dsc). In this case, affect the variable PACKAGENAME=$1 and then
make a shift parameters.

In /usr/lib/pbuilder/pbuilder-buildpackage comment (or delete) the line
PACKAGENAME=$1

I did not test any other scenario

I joined the two files modified (pbuilder-checkparams and pbuilder-
buildpackage) in a tar.gz

And i list the diff command on two files:

[EMAIL PROTECTED]:/usr/lib/pbuilder$ diff pbuilder-checkparams 
pbuilder-checkparams.orig 
219,222d218
<       [0-9a-zA-Z]*\.dsc)
<           PACKAGENAME="$1"
<           shift;
<           ;;

[EMAIL PROTECTED]:/usr/lib/pbuilder$ diff pbuilder-buildpackage 
pbuilder-buildpackage.orig 
27a28
> PACKAGENAME="$1"


** Attachment added: "pbuilder.tar.gz"
   http://launchpadlibrarian.net/14678983/pbuilder.tar.gz

** Changed in: pbuilder (Ubuntu)
       Status: New => Confirmed

-- 
pbuilder ignores --buildresult
https://bugs.launchpad.net/bugs/234262
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

Reply via email to