Package: git-buildpackage
Version: 0.6.0~git20130506
Severity: serious
Hi,
Building a package with overlay=True fails with the following backtrace:
Traceback (most recent call last):
File "/usr/bin/git-buildpackage", line 5, in <module>
sys.exit(main(sys.argv))
File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line
524, in main
export_source(repo, tree, source.changelog, options, tmp_dir, output_dir)
File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line
148, in export_source
if source.is_native():
AttributeError: 'ChangeLog' object has no attribute 'is_native'
Commit 45c2346 seems to have removed the is_native() method from the
ChangeLog object "to avoid accidental usage".
It seems that the overlay mode triggers a codepath which wasn't updated,
probably because of the ambiguity of the argument: the argument is
called "source" but export_source passes source.changelog, as you can
see from the above backtrace.
Regards,
Faidon
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]