Your message dated Tue, 04 Aug 2009 22:16:54 +0300
with message-id <[email protected]>
and subject line Re: Bug#539885: git-buildpackage: AttributeError:
GbpOptionParser instance has no attribute 'add_boolean_config_file_option'
has caused the Debian Bug report #539885,
regarding git-buildpackage: AttributeError: GbpOptionParser instance has no
attribute 'add_boolean_config_file_option'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
539885: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539885
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.4.55
Severity: important
I get following error. I use a Makefile target to call
git-buildpackage:
CC='ccache gcc' CXX='ccache g++'
PATH=/usr/bin:/root/var/link/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
\
DH_ALWAYS_EXCLUDE=CVS:RCS:.MT:.svn:.bzr:.hg:.git
DEBUILD_PRESERVE_ENVVARS=DH_ALWAYS_EXCLUDE \
git-buildpackage \
--git-verbose \
--git-ignore-new \
--lintian-opts --display-info --show-overrides
--display-experimental \
2>&1 \
| tee $(pwd)/../build-area/pkg-git-build.log
Traceback (most recent call last):
File "/usr/bin/git-buildpackage", line 350, in <module>
sys.exit(main(sys.argv))
File "/usr/bin/git-buildpackage", line 183, in main
parser.add_boolean_config_file_option(option_name = "ignore-new",
dest="ignore_new")
AttributeError: GbpOptionParser instance has no attribute
'add_boolean_config_file_option'
According to manual, there are is an option --git-ignore-new:
SYNOPSIS
git-buildpackage [ --git-[no-]ignore-new ] [ --git-tag ] [
--git-verbose ] [ --git-upstream-branch=treeish ] [
--git-debian- branch=branch_name ] [ --git-builder=BUILD_CMD ]
[ --git-cleaner=CLEAN_CMD ] [ --git-[no-]sign-tags ] [
--git-keyid=gpg-keyid ] [ --git-posttag=command ] [
--git-postbuild=command ] [ --git-debian-tag=tag-format ] [
--git-no-create-orig ] [ --git-tarball- dir=directory ] [
--git-export-dir=directory ] [ --git-export=treeish ] [
--git-[no-]pristine-tar ] [ --git-dont-purge ] [ --git-
tag-only ]
The branches are:
* master
upstream
Using stock configuration file:
-rw-r--r-- 1 root root 1661 2009-08-04 11:46 /etc/git-buildpackage/gbp.conf
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages git-buildpackage depends on:
ii devscripts 2.10.52 scripts to make the life of a Debi
ii git-core 1:1.6.3.3-2 fast, scalable, distributed revisi
ii python 2.5.4-2 An interactive high-level object-o
ii python-dateutil 1.4.1-3 powerful extensions to the standar
ii python-support 1.0.3 automated rebuilding support for P
Versions of packages git-buildpackage recommends:
ii pristine-tar 1.00 regenerate pristine tarballs
Versions of packages git-buildpackage suggests:
pn git-load-dirs <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Guido Günther <[email protected]> writes:
> On Tue, Aug 04, 2009 at 07:59:13PM +0300, Jari Aalto wrote:
> YOu have old stuff here:
>
>> 6865 open("/usr/share/python-support/git-buildpackage/gbp/config.pyc",
>> O_RDONLY) = 4
>
> This ought to be in
>
> /usr/lib/pymodules/python2.5/gbp/config.py
>
> So this looks like a problem with python-support. Can you remove -rf
> /usr/share/python-support/git-buildpackage/ and see if that helps?
That solved it. It's mystery where it came from because:
dpkg -L python-support | grep git-buildpackage
<empty>
Thank you,
Jari
--- End Message ---