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

Quanah Gibson-Mount quanah at symas.com
Wed Nov 10 21:53:39 CET 2021



--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:

 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>


More information about the git-buildpackage mailing list