Package: dgit
version: 2.11

I tried importing glibc 2.23-1 into git using dgit (as part of a project to import packages that we modify). Unfortunately it failed. The output below is from testing in an amd64 sid chroot

nobody@debian:/nobody$ dget -d http://snapshot.debian.org/archive/debian/20160704T045211Z/pool/main/g/glibc/glibc_2.23-1.dsc
<--snip-->
nobody@debian:/nobody$ mkdir testrepo
nobody@debian:/nobody/testrepo$ git init
Initialized empty Git repository in /nobody/testrepo/.git/
nobody@debian:/nobody/testrepo$ dgit import-dsc ../glibc_2.23-1.dsc +testbranch
using existing glibc_2.23.orig.tar.xz
using existing glibc_2.23-1.debian.tar.xz
dpkg-source: info: extracting glibc in glibc-2.23
dpkg-source: info: unpacking glibc_2.23.orig.tar.xz
dpkg-source: info: unpacking glibc_2.23-1.debian.tar.xz
dpkg-source: warning: diff 'glibc-2.23/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff' patches file glibc-2.23/bits/in.h more than once
warning: gbp pq import failed: subprocess failed with error exit status 1
dgit: trying slow absurd-git-apply...
gbp:warning: Patch 'git-updates.diff' has no authorship information, using 'GNU Libc Maintainers <debian-gl...@lists.debian.org>'
<--snip-->
gbp:warning: Patch cvs-IPV6_PKTINFO.diff failed to apply, retrying with whitespace fixup gbp:error: Failed to apply '/nobody/testrepo/.git/dgit/unpack/glibc-2.23/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff': Error running git apply: DGIT ABSURD GIT APPLY - NO BYPASS: apply --index --whitespace=fix /nobody/testrepo/.git/dgit/unpack/glibc-2.23/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff DGIT ABSURD GIT APPLY - FAILED: UNKNOWN OPTION --whitespace=fix (apply --index --whitespace=fix /nobody/testrepo/.git/dgit/unpack/glibc-2.23/debian/patches/hurd-i386/cvs-IPV6_PKTINFO.diff)

gbp:error: Couldn't apply patches
gbp pq import failed: subprocess failed with error exit status 1
nobody@debian:/nobody/testrepo$

Any thoughts on how to debug this?

Reply via email to