Debian Bug report logs - #472543
bzr-builddeb: FTBFS: Unknown command "test-builddeb"

version graph

Package: bzr-builddeb; Maintainer for bzr-builddeb is Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>; Source for bzr-builddeb is src:bzr-builddeb (PTS, buildd, popcon).

Reported by: Daniel Schepler <schepler@math.berkeley.edu>

Date: Mon, 24 Mar 2008 20:33:02 UTC

Severity: serious

Tags: patch

Found in version bzr-builddeb/0.93

Fixed in version 0.95

Done: James Westby <jw+debian@jameswestby.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>:
Bug#472543; Package bzr-builddeb. (full text, mbox, link).


Acknowledgement sent to Daniel Schepler <schepler@math.berkeley.edu>:
New Bug report received and forwarded. Copy sent to Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Daniel Schepler <schepler@math.berkeley.edu>
To: submit@bugs.debian.org
Subject: bzr-builddeb: FTBFS: Unknown command "test-builddeb"
Date: Mon, 24 Mar 2008 16:32:38 -0400
Package: bzr-builddeb
Version: 0.93
Severity: serious

From my pbuilder build log:

...
BZR_PLUGIN_PATH="/tmp/buildd/bzr-builddeb-0.93/build/lib/bzrlib/plugins/" python2.5 /usr/bin/bzr 
test-builddeb
Unable to load plugin 'builddeb' from '/tmp/buildd/bzr-builddeb-0.93/build/lib/bzrlib/plugins'
bzr: ERROR: unknown command "test-builddeb"
make: *** [build-python2.5] Error 3
-- 
Daniel Schepler




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>:
Bug#472543; Package bzr-builddeb. (full text, mbox, link).


Acknowledgement sent to James Westby <jw+debian@jameswestby.net>:
Extra info received and forwarded to list. Copy sent to Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 472543@bugs.debian.org (full text, mbox, reply):

From: James Westby <jw+debian@jameswestby.net>
To: Daniel Schepler <schepler@math.berkeley.edu>, 472543@bugs.debian.org
Cc: submit@bugs.debian.org
Subject: Re: [Pkg-bazaar-maint] Bug#472543: bzr-builddeb: FTBFS: Unknown command "test-builddeb"
Date: Tue, 01 Apr 2008 09:45:53 +0100
On Mon, 2008-03-24 at 16:32 -0400, Daniel Schepler wrote:
> Package: bzr-builddeb
> Version: 0.93
> Severity: serious
> 
> From my pbuilder build log:
> 
> ...
> BZR_PLUGIN_PATH="/tmp/buildd/bzr-builddeb-0.93/build/lib/bzrlib/plugins/" python2.5 /usr/bin/bzr 
> test-builddeb
> Unable to load plugin 'builddeb' from '/tmp/buildd/bzr-builddeb-0.93/build/lib/bzrlib/plugins'
> bzr: ERROR: unknown command "test-builddeb"
> make: *** [build-python2.5] Error 3

Hi,

Thanks for testing and reporting the bug.

I have seen it and will look in to it.

You filed the bug just after this version was uploaded, which means
that it wasn't easily reproducible for me, as it wouldn't have built
before upload.

Thanks,

James







Information forwarded to debian-bugs-dist@lists.debian.org, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>:
Bug#472543; Package bzr-builddeb. (full text, mbox, link).


Acknowledgement sent to Sebastian Bober <sbober@servercare.de>:
Extra info received and forwarded to list. Copy sent to Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>. (full text, mbox, link).


Message #15 received at 472543@bugs.debian.org (full text, mbox, reply):

From: Sebastian Bober <sbober@servercare.de>
To: 472543@bugs.debian.org
Cc: Daniel Schepler <schepler@math.berkeley.edu>
Subject: Re: bzr-builddeb: FTBFS: Unknown command "test-builddeb"
Date: Tue, 22 Apr 2008 16:15:06 +0200
tags 472543 + moreinfo
thanks

Hi,

I tried to reproduce this build failure in current i386 and amd64 sid
chroots. The builds went just fine. Build logs at:

http://servercare.de/debian/logs/bzr-builddeb_amd64_2008-04-22-1208872452.log

and

http://servercare.de/debian/logs/bzr-builddeb_i386_2008-04-22-1208872633.log


Daniel, can you still reproduce this bug? If so, please provide
information about the used architecture and ideally a full build log.

Thanks,
  Sebastian





Tags added: moreinfo Request was from Sebastian Bober <sbober@servercare.de> to control@bugs.debian.org. (Tue, 22 Apr 2008 14:18:15 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>:
Bug#472543; Package bzr-builddeb. (full text, mbox, link).


Acknowledgement sent to Daniel Schepler <schepler@math.berkeley.edu>:
Extra info received and forwarded to list. Copy sent to Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>. (full text, mbox, link).


Message #22 received at 472543@bugs.debian.org (full text, mbox, reply):

From: Daniel Schepler <schepler@math.berkeley.edu>
To: Sebastian Bober <sbober@servercare.de>
Subject: Re: bzr-builddeb: FTBFS: Unknown command "test-builddeb"
Date: Tue, 22 Apr 2008 11:08:55 -0400
[Message part 1 (text/plain, inline)]
On Tuesday 22 April 2008 10:15:06 am you wrote:
> Daniel, can you still reproduce this bug? If so, please provide
> information about the used architecture and ideally a full build log.

I just tried it again and it still fails for me.  Full pbuilder build log on 
amd64 attached.
-- 
Daniel Schepler
[bzr-builddeb-build-log (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>:
Bug#472543; Package bzr-builddeb. (full text, mbox, link).


Acknowledgement sent to Sebastian Bober <sbober@servercare.de>:
Extra info received and forwarded to list. Copy sent to Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>. (full text, mbox, link).


Message #27 received at 472543@bugs.debian.org (full text, mbox, reply):

From: Sebastian Bober <sbober@servercare.de>
To: 472543@bugs.debian.org
Cc: James Westby <jw+debian@jameswestby.net>
Subject: Re: bzr-builddeb: FTBFS: Unknown command "test-builddeb"
Date: Tue, 22 Apr 2008 23:36:52 +0200
[Message part 1 (text/plain, inline)]
tags 472543 - moreinfo
tags 472543 + patch
thanks

Okay, I am able to reproduce this bug with pbuilder (didn't use that one
before). The problem is twofold:

1. bzr-builddeb needs to Build-Depends and Depends on python-apt as
   python-debian only Recommends it.
2. the test suite reads the global /etc/apt/sources.list and needs a
   deb-src line configured there. This cannot be guaranteed.

Attached is a log from an intercepted pbuilder session, just after the
build failure. I first tried to run the test suite manually, which
fails. Then python-apt is installed and the test suite is run again,
which gives a nice backtrace.

The easiest way around this would probably not running the test suite
during build. In this case the attached patch may be interesting.
This way the test suite can be run when whished by including "test" or
"check" in the DEBBUILDOPTS. I also delete the build-stamps that are
created in the build-python% target.

I hope this helps,
  Sebastian

[bzr-builddeb-test.log (text/plain, attachment)]
[bzr-builddeb-pbuilder-okay.patch (text/x-diff, attachment)]

Tags removed: moreinfo Request was from Sebastian Bober <sbober@servercare.de> to control@bugs.debian.org. (Tue, 22 Apr 2008 22:00:59 GMT) (full text, mbox, link).


Tags added: patch Request was from Sebastian Bober <sbober@servercare.de> to control@bugs.debian.org. (Tue, 22 Apr 2008 22:01:01 GMT) (full text, mbox, link).


Reply sent to James Westby <jw+debian@jameswestby.net>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Daniel Schepler <schepler@math.berkeley.edu>:
Bug acknowledged by developer. (full text, mbox, link).


Message #36 received at 472543-done@bugs.debian.org (full text, mbox, reply):

From: James Westby <jw+debian@jameswestby.net>
To: 472543-done@bugs.debian.org
Subject: 472543 is closed
Date: Sat, 14 Jun 2008 14:16:25 +0100
Version: 0.95

Hi,

This bug was closed with the upload of bzr-builddeb 0.95.

Thanks,

James





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 13 Jul 2008 07:32:37 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 12 18:16:17 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.