Package: git-buildpackage
Version: 0.5.26
Severity: minor
File: /usr/bin/gbp-pq

This is valid quilt patch series file syntax, as far as I can tell:

  % cat debian/patches/series
  contrib/scripts/mdadd.diff -p1
  contrib/docs/raid5-vs-raid10.diff -p1
  contrib/docs/superblock_formats.diff -p1
  contrib/docs/md.txt.diff -p1
  contrib/docs/jd-rebuilding-raid.diff -p1
  debian/conffile-location.diff -p1
  debian/disable-incremental.diff -p1
  fixes/linker-flag-z-now.diff -p1

However, gbp fails to import this, as it assumes the -p option to be part of
the filename:

  % gbp-pq --verbose import
  […]
  gbp:debug: git ['apply', '--index', 
'debian/patches/contrib/scripts/mdadd.diff -p1'] []
  fatal: can't open patch 'debian/patches/contrib/scripts/mdadd.diff -p1': No 
such file or directory
  gbp:error: git returned 128
  gbp:error: Couldn't run git apply

I think it would be good if gbp-pq honoured and even used the -p option.

Thanks,

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

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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-1     interactive high-level object-orie
ii  python-dateutil              1.4.1-4     powerful extensions to the standar
ii  python-support               1.0.14      automated rebuilding support for P

Versions of packages git-buildpackage recommends:
pn  cowbuilder                    <none>     (no description available)
ii  pristine-tar                  1.13       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
pn  git-load-dirs                 <none>     (no description available)
ii  python-notify                 0.1.1-2+b3 Python bindings for libnotify

-- no debconf information

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to