[git-buildpackage] Invalid dependencies for git-buildpackage on RPM systems

Guido Günther agx at sigxcpu.org
Thu Nov 11 09:18:11 CET 2021


Hi,
On Wed, Nov 10, 2021 at 12:53:39PM -0800, Quanah Gibson-Mount wrote:
> 
> 
> --On Wednesday, November 10, 2021 12:47 PM -0800 Quanah Gibson-Mount
> <quanah at symas.com> wrote:
> 
> > Right, I remember I ran into this before.  There's no such package for
> > Centos8/RHEL8 and later, but it did exist for Centos7 and prior, and
> > exists on Fedora.  I added this patch:
> > 
> > diff --git a/packaging/git-buildpackage.spec
> > b/packaging/git-buildpackage.spec
> > index 1ff54885..e8f4417f 100644
> > --- a/packaging/git-buildpackage.spec
> > +++ b/packaging/git-buildpackage.spec
> > @@ -55,7 +55,9 @@ Patch0: 0001-Fix-path-to-docbook-dtd-file.patch
> > 
> >  Requires:   %{name}-common = %{version}-%{release}
> >  Requires:   %{dpkg_pkg_name}
> > +%if 0%{?fedora} || 0%{?centos_ver} && 0%{?centos_ver} == 7
> >  Requires:   devscripts
> > +%endif
> >  BuildRequires:  python3
> >  BuildRequires:  python3-setuptools
> 
> 
> So even if this is done, installation still breaks, because someone broke
> the dpkg-dev package:

I've applied the patch anyway for the moment, thanks! I wonder if
there's anything that could be done to make that simpler dependency
wise?
Cheers,
 -- Guido

> 
> Problem 1: package git-buildpackage-0.9.25-0.noarch requires dpkg-dev, but
> none of the providers can be installed
> 
> dnf install dpkg-dev
> Error:
> Problem: conflicting requests
>  - nothing provides lzma needed by dpkg-dev-1.18.25-12.el8.noarch
> 
> 
> 
> --Quanah
> 
> 
> --
> 
> Quanah Gibson-Mount
> Product Architect
> Symas Corporation
> Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
> <http://www.symas.com>
> _______________________________________________
> git-buildpackage mailing list
> git-buildpackage at lists.sigxcpu.org
> http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage


More information about the git-buildpackage mailing list