On Fri, Jul 10, 2015 at 8:26 PM, Andreas Tille <[email protected]> wrote:

> On Fri, Jul 10, 2015 at 08:04:48PM +0200, Marcin Dulak wrote:
> > $ gbp clone ssh://
> >
> [email protected]/git/debian-science/packages/gpaw-setups.git
> > $ cd gpaw-setups
> > $ git branch
> > * master
> >   upstream
>
> I did the very same and have the pristine-tar.  Do you perhaps have any
>   ~/.gbp.conf
> setting?
>

i don't have ~/.gbp.conf.
Tried on both a virtual machine with Debian 7, and Ubuntu 14.04:
$ rm -rf gpaw-setups*
$ gbp clone
http://anonscm.debian.org/cgit/debian-science/packages/gpaw-setups.git&&; cd
gpaw-setups&& git branch
* master
  upstream
$ cd ..&& rm -rf gpaw-setups*
$ git clone
http://anonscm.debian.org/cgit/debian-science/packages/gpaw-setups.git&&; cd
gpaw-setups&& git branch
* master
Both clones fail at gbp buildpackage.

This is what happens if I try, e.g.:
$ rm -rf yorick-z*
$ git clone
http://anonscm.debian.org/cgit/debian-science/packages/yorick-z.git
$ cd yorick-z
$ git branch
* master
$ gbp buildpackage
gbp:info: yorick-z_1.2.0+cvs20080115.orig.tar.gz does not exist, creating
from 'upstream/1.2.0+cvs20080115'
 dpkg-buildpackage -rfakeroot -D -us -uc -i -I
dpkg-buildpackage: source package yorick-z
dpkg-buildpackage: source version 1.2.0+cvs20080115-5
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Thibaut Paumard <
[email protected]>
 dpkg-source -i -I --before-build yorick-z
dpkg-buildpackage: host architecture amd64
dpkg-source: warning: unknown information field 'Dm-Upload-Allowed' in
input data in general section of control info file
dpkg-source: info: applying configure
dpkg-source: info: applying 02_check_i.dpatch
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 7.0.50~)
yorick-dev (>= 2.1.05+dfsg-2~bpo40+1) libjpeg-dev libpng-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied;
aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
gbp:error: Couldn't run 'debuild -i -I': debuild -i -I returned 29

So, no gbp necessary for yorick-z, git is enough,
and no pristine-tar branch is necessary for the yorick*orig.tar.gz to be
created by gbp buildpackage.
Maybe this depends on the *debian.org mirror, and the pristine-tart is not
available immediately?
Anyway, what would be the next step? Do I need to figure out why this
pristine-tar does not work for me,
or it's time for RFS? If so, what I need to do?

Marcin


> This is my .gbp.conf:
>
> [DEFAULT]
> builder = ~/bin/git-pbuilder
>
> # Might lead to problems because it tries to use non-patched makefiles
> # cleaner = fakeroot debian/rules clean
> cleaner = /bin/true
> pristine-tar = True
> export=WC
>
> [buildpackage]
> # use this for more svn-buildpackage like behaviour:
> export-dir = ../build-area/
> tarball-dir = ../tarballs/
>
>
> > $ gbp buildpackage
> > gbp:error: upstream/0.9.11271 is not a valid treeish
> > $ git checkout pristine-tar
> > $ ls
> > gpaw-setups_0.9.11271.orig.tar.gz.delta
> > gpaw-setups_0.9.11271.orig.tar.gz.id
> > $ git checkout master
> > $ git branch
> > * master
> >   pristine-tar
> >   upstream
> > $ gbp buildpackage
> > gbp:error: upstream/0.9.11271 is not a valid treeish
>
> I admit I'm clueless - if you do not get any other hint here
> you might like to ask at [email protected].
> I can just tell you that the repository itself is OK.
>
> > What have you precisely made to make the build work?
>
> Nothing specifically - except perhaps the .gbp.conf.
>
> Kind regards
>
>       Andreas.
>
> --
> http://fam-tille.de
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact
> [email protected]
> Archive: https://lists.debian.org/[email protected]
>
>

Reply via email to