Discussion:
[Bug 1004579] [NEW] pbuilder-dist overwrite OTHERMIRROR set in ~/.pbuilderrc
Launchpad Bug Tracker
2012-05-25 21:28:28 UTC
Permalink
You have been subscribed to a public bug:

Hello,

I was going to open a bug, but I just want to be sure that I'm not doing
anything stupid first :)

My ~/.pbuilderrc looks like this:
OTHERMIRROR="deb file:///home/blablack/pbuilder/precise_result ./"
BINDMOUNTS="/home/blablack/pbuilder/precise_result"
HOOKDIR="/home/blablack/pbuilder/hooks"
EXTRAPACKAGES="apt-utils"
ALLOWUNTRUSTED=yes

In Oneiric, this exact configuration was working ok (I have the hook
file as well).

Since Precise, it doesn't seem to take the OtherMirror into
consideration.

I ran pbuilder-dist with --debug-echo and it looks like this:
['sudo', 'HOME=/home/blablack', 'ARCHITECTURE=amd64', 'DISTRIBUTION=precise', 'ARCH=amd64', 'DIST=precise', 'DEB_BUILD_OPTIONS=', 'pbuilder', '--build', '--distribution', 'precise', '--buildresult', '/home/blablack/pbuilder/precise_result/', '--basetgz', '/home/blablack/pbuilder/precise-base.tgz', '--logfile', '/home/blablack/pbuilder/precise_result/last_operation.log', '--mirror', 'http://archive.ubuntu.com/ubuntu', '--othermirror', 'deb http://archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse|deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse|deb http://archive.ubuntu.com/ubuntu precise-proposed main restricted universe multiverse', '--components', 'main restricted universe multiverse', 'suil_0.6.1~svn4338~ppa1.dsc']


Let me know if there is any other information I could provide that would be valuable,

Aur?lien

** Affects: ubuntu-dev-tools (Ubuntu)
Importance: Undecided
Status: Confirmed
--
pbuilder-dist overwrite OTHERMIRROR set in ~/.pbuilderrc
https://bugs.launchpad.net/bugs/1004579
You received this bug notification because you are a member of MOTU, which is subscribed to ubuntu-dev-tools in Ubuntu.
Jason Conti
2012-05-25 21:28:43 UTC
Permalink
This works correctly in pbuilder in precise, it is just that the
--othermirror option overrides ~/.pbuilderrc, and it seems this option
was added by default since commit 1208 in lp:ubuntu-dev-tools (or
somewhere around there).

I'm going to move this to ubuntu-dev-tools since that package has
pbuilder-dist.

** Package changed: pbuilder (Ubuntu) => ubuntu-dev-tools (Ubuntu)
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1004579

Title:
pbuilder-dist overwrite OTHERMIRROR set in ~/.pbuilderrc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1004579/+subscriptions
Stefano Rivera
2012-05-26 07:46:26 UTC
Permalink
pbuilder-dist will respect an OTHERMIRROR variable from the environment,
if you need to add a mirror. It sounds like you are working around LP:
#371221, so we should rather just fix that.
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1004579

Title:
pbuilder-dist overwrite OTHERMIRROR set in ~/.pbuilderrc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1004579/+subscriptions
Stefano Rivera
2012-05-28 17:19:21 UTC
Permalink
** Changed in: ubuntu-dev-tools (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1004579

Title:
pbuilder-dist overwrite OTHERMIRROR set in ~/.pbuilderrc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1004579/+subscriptions
Aurélien Leblond
2012-05-30 16:30:40 UTC
Permalink
Hello Stefano,

The bug status has been changed from Confirmed to Incomplete.

Is there any information you would like me to provide?

Aur?lien
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1004579

Title:
pbuilder-dist overwrite OTHERMIRROR set in ~/.pbuilderrc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1004579/+subscriptions
Stefano Rivera
2012-05-30 17:05:52 UTC
Permalink
Oh, sorry, wrong bug. I thought it was another one about othermirror,
where the proposed patch didn't do anything useful.

** Changed in: ubuntu-dev-tools (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1004579

Title:
pbuilder-dist overwrite OTHERMIRROR set in ~/.pbuilderrc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1004579/+subscriptions
Stefano Rivera
2012-05-30 17:06:33 UTC
Permalink
This one is mostly by design. I don't see any straightforward solution
for it.
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1004579

Title:
pbuilder-dist overwrite OTHERMIRROR set in ~/.pbuilderrc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1004579/+subscriptions
Benjamin Drung
2012-05-30 17:21:31 UTC
Permalink
** Summary changed:

- pbuilder-dist overwrite OTHERMIRROR set in ~/.pbuilderrc
+ [pbuilder-dist] overwrite OTHERMIRROR set in ~/.pbuilderrc

** Changed in: ubuntu-dev-tools (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1004579

Title:
[pbuilder-dist] overwrite OTHERMIRROR set in ~/.pbuilderrc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1004579/+subscriptions
Oliver Sauder
2013-07-06 10:11:43 UTC
Permalink
I guess another possibility would be to read pbuilderrc as well within
pbuilder-dist? So if the environment var is not set, check whether it is
set in pbuilderrc before then reading devscripts fallbacks.
--
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1004579

Title:
[pbuilder-dist] overwrite OTHERMIRROR set in ~/.pbuilderrc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1004579/+subscriptions
Loading...