[Bug 973432] Re: APTGETOPT setting doesn't reach satisfy-depends command

Mattia Rizzolo mattia at mapreri.org
Mon Nov 23 18:53:57 UTC 2015


The pbuilder's dependencies resolvers are general enough that one can
point to whatever program that accepts a bunch of command line options,
as you can see in the pbuilder-buildpackage-funcs file.  that also means
we don't really export APTGETOPT to the resolvers, since they could use
it in a different format, don't use it, etc.

seems to me export that option is a good enough solution (you can do it in .pbuilderrc, no need to set it elsewhere)
Please note that if all you need is to is add a '--force-yes', you can use the ALLOWUNTRUSTED=yes conf entry.

Do you still think of this as a bug?  I believe it was thought that way
as a feature, but of course we can change it if there is demand.

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

** Bug watch added: Debian Bug tracker #594481
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594481

** Also affects: pbuilder (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594481
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pbuilder in Ubuntu.
https://bugs.launchpad.net/bugs/973432

Title:
  APTGETOPT setting doesn't reach satisfy-depends command

Status in pbuilder package in Ubuntu:
  Incomplete
Status in pbuilder package in Debian:
  Unknown

Bug description:
  The configuration file /usr/share/pbuilder/pbuilderrc defines the
  variable APTGETOPT which is used by (among others) /usr/lib/pbuilder
  /pbuilder-satisfydepends-gdebi.

  But since APTGETOPT is defined as a shell array and satisfy-depends is
  invoked as a sub-command, the setting never reaches the command
  because the shell cannot pass arrays to sub-processes.

  A workaround for this is to explicitly 'unset´ APTGETOPT in
  ~/.pbuilderrc and to export it as a normal variable. This works even
  though the satisfy-depends command uses it as an array.

  
  System information:

  $ lsb_release -rd
  Description:	Ubuntu 11.10
  Release:	11.10

  $ apt-cache policy pbuilder
  pbuilder:
    Installed: 0.199+nmu3ubuntu3.1
    Candidate: 0.199+nmu3ubuntu3.1
    Version table:
   *** 0.199+nmu3ubuntu3.1 0
          500 http://de.archive.ubuntu.com/ubuntu/ oneiric-updates/main i386 Packages
          100 /var/lib/dpkg/status
       0.199+nmu3ubuntu3 0
          500 http://de.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/973432/+subscriptions



More information about the foundations-bugs mailing list