Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#635883: git-buildpackage: --git-upstream-branch is not used

39 views
Skip to first unread message

Daniel Dehennin

unread,
Jul 29, 2011, 7:20:02 AM7/29/11
to
Package: git-buildpackage
Version: 0.5.27
Severity: normal

Hello,

After upgrading, I try to build my personal gnus package and
git-buildpackage fail with the following:

#+begin_src text
dad@home: ~$ git buildpackage --git-upstream-branch=master
test -x debian/rules
dh_testroot
dh_clean
dh_clean: Compatibility levels before 5 are deprecated.
rm -f debian/substvars
rm -f debian/*.debhelper
rm -rf debian/tmp/
rm -f debian/*.debhelper.log
rm -f debian/debhelper.log
rm -f debian/files
find . \( \( -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} \; \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
test ! -f Makefile || /usr/bin/make distclean
gbp:info: gnus_5.11+v0.18~20110729.orig.tar.gz does not exist, creating from 'upstream/5.11+v0.18_20110729'
fatal: Not a valid object name upstream/5.11+v0.18_20110729
#+end_src

My .git/gbp.conf is the following:
#+begin_src
# Configuration file for git-buildpackage and friends

[DEFAULT]
upstream-branch = master
debian-branch = dad/debian/snapshot
#+end_src

Regards.

-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (90, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-rc5+hati.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-buildpackage depends on:
ii devscripts 2.11.0 scripts to make the life of a Debi
ii git [git-core] 1:1.7.5.4-1 fast, scalable, distributed revisi
ii git-core 1:1.7.5.4-1 fast, scalable, distributed revisi
ii python 2.6.7-2 interactive high-level object-orie
ii python-dateutil 1.4.1-4 powerful extensions to the standar
ii python2.6 2.6.7-3 An interactive high-level object-o

Versions of packages git-buildpackage recommends:
ii cowbuilder 0.63 pbuilder running on cowdancer
ii pristine-tar 1.13 regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
ii python-notify 0.1.1-2+b3 Python bindings for libnotify
ii unzip 6.0-5 De-archiver for .zip files

-- no debconf information

--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Guido Günther

unread,
Jul 29, 2011, 8:10:02 AM7/29/11
to
tag 635883 +pending
thanks

Hi Daniel,

On Fri, Jul 29, 2011 at 12:34:27PM +0200, Daniel Dehennin wrote:
[..snip..]

> gbp:info: gnus_5.11+v0.18~20110729.orig.tar.gz does not exist, creating from 'upstream/5.11+v0.18_20110729'
> fatal: Not a valid object name upstream/5.11+v0.18_20110729

There's no tag matching the above version. To get the old behaviour back
(to look at the tip of the upstream branch) see the --git-upstream-tree
option. I've updated the documentation.

http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.man.git.buildpackage.html

Cheers,
-- Guido

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Daniel Dehennin

unread,
Jul 29, 2011, 8:50:01 AM7/29/11
to
Guido Günther <a...@sigxcpu.org> writes:

> tag 635883 +pending
> thanks
>
> Hi Daniel,
>
> On Fri, Jul 29, 2011 at 12:34:27PM +0200, Daniel Dehennin wrote:
> [..snip..]
>> gbp:info: gnus_5.11+v0.18~20110729.orig.tar.gz does not exist, creating from 'upstream/5.11+v0.18_20110729'
>> fatal: Not a valid object name upstream/5.11+v0.18_20110729
>
> There's no tag matching the above version. To get the old behaviour back
> (to look at the tip of the upstream branch) see the --git-upstream-tree
> option. I've updated the documentation.
>
> http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.man.git.buildpackage.html

Thanks a lot, maybe a line in NEWS to point to this changes ?

Regards.

Guido Günther

unread,
Jul 29, 2011, 9:50:04 AM7/29/11
to
On Fri, Jul 29, 2011 at 02:15:35PM +0200, Daniel Dehennin wrote:
> Guido Günther <a...@sigxcpu.org> writes:
>
> > tag 635883 +pending
> > thanks
> >
> > Hi Daniel,
> >
> > On Fri, Jul 29, 2011 at 12:34:27PM +0200, Daniel Dehennin wrote:
> > [..snip..]
> >> gbp:info: gnus_5.11+v0.18~20110729.orig.tar.gz does not exist, creating from 'upstream/5.11+v0.18_20110729'
> >> fatal: Not a valid object name upstream/5.11+v0.18_20110729
> >
> > There's no tag matching the above version. To get the old behaviour back
> > (to look at the tip of the upstream branch) see the --git-upstream-tree
> > option. I've updated the documentation.
> >
> > http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.man.git.buildpackage.html
>
> Thanks a lot, maybe a line in NEWS to point to this changes ?
Great idea. Care to send a patch?
Cheers,
-- Guido
0 new messages