Package: git-buildpackage
Version: 0.6.15
Severity: normal

Hi,

This bug was already reported on launchpad.net.

https://bugs.launchpad.net/ubuntu/+source/git-buildpackage/+bug/1349103

In short when I run git-buildpackage -S the source.changes file gets
deleted afterwards and I would expect that this won't happen.

I'm quoting the bug reporter from launchpad because I experience the
exact same issue here on Debian unstable.

"When using `git-buildpackage -S` to produce a source package, it can
manage to successfully build everything, but then gets to this part in
/usr/bin/pbuilder:

if [ -n "`ls ../*_source.changes`" ] ; then
     rm ../*_source.changes
fi

This means that after the successful -S build, it will
proceed to delete the source.changes file. This is the
file that you need to give to dput for submitting
packages to a launchpad PPA, for example. Since the
file is deleted, an argument like
--git-postbuild='lintian $GBP_CHANGES_FILE' will cause
the build to fail because the file at
'$GBP_CHANGES_FILE' is the source.changes file that it
just deleted.

I can't see any configuration that will fix this,
because the deletion isn't wrapped in any
conditionals. Am I missing something? I would very
much like to bypass the deletion when building source
packages. For now, I've just commented out the three
lines above and I get the desired behaviour."

Regards,

Markus

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

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts            2.14.6
ii  git                   1:2.1.0-1
ii  man-db                2.6.7.1-1
ii  python                2.7.8-1
ii  python-dateutil       1.5+dfsg-1
ii  python-pkg-resources  5.5.1-1

Versions of packages git-buildpackage recommends:
ii  cowbuilder    0.73
ii  pristine-tar  1.32

Versions of packages git-buildpackage suggests:
pn  python-notify  <none>
ii  unzip          6.0-12

-- Configuration Files:
/etc/git-buildpackage/gbp.conf changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to