Hi,

This problem causes a lintian warning:

W: buildbot source: orig-tarball-missing-upstream-signature 
buildbot_2.3.1.orig.tar.gz
N: 
N:    The packaging includes an upstream signing key but the corresponding
N:    .asc signature for one or more source tarballs are not included in your
N:    .changes file.
N:    
N:    Please ensure a <package>_<version>.orig.tar.<ext>.asc file exists in
N:    the same directory as your <package>_<version>.orig.tar.<ext> tarball
N:    prior to dpkg-source --build being called.
N:    
N:    If you are repackaging your source tarballs for Debian Free Software
N:    Guidelines compliance reasons, ensure that your package version includes
N:    dfsg or similar.
N:    
N:    Support for signatures was added to pristine-tar in version 1.41 and
N:    support in git-buildpackage is being tracked in #872864.
N:    
N:    Severity: normal, Certainty: certain
N:    
N:    Check: control-file, Type: source
N: 

I attached an inline patch that "fixes" the problem at the end of this
message but I am not entirely sure if this is the correct approach.

Please tell me if you need more info.

Thanks

--- /usr/lib/python3/dist-packages/gbp/deb/git.py.old   2019-07-09 
13:01:18.913389409 +0200
+++ /usr/lib/python3/dist-packages/gbp/deb/git.py       2019-07-09 
12:59:34.854238866 +0200
@@ -320,7 +320,7 @@ class DebianGitRepository(PkgGitReposito
         output = source.upstream_tarball_name(comp.type, component=component)
         try:
             self.pristine_tar.checkout(source.name, source.upstream_version, 
comp.type, output_dir,
-                                       component=component, quiet=True)
+                                       component=component, quiet=True, 
signature=True)
         except Exception as e:
             raise GitRepositoryError("Error creating %s: %s" % (output, e))
         return True

-- 
Robin

Reply via email to