Package: git-buildpackage Version: 0.9.13 Severity: normal File: git-buildpackage
Dear Maintainer, * use apt install or pip install or build from git clone * install rpm to pip * python3 -m pip install * apt install python-rpm all is same error * can use bgp or bgp command type * but when use switch -list-cmds have error * so i dont know fully work or else #### Available commands in /usr/local/lib/python3.6/dist-packages/gbp-0.9.14-py3.6.egg/gbp/scripts buildpackage - Build a Debian package out of a Git repository /home/kokoye2007/.local/lib/python3.6/site-packages/rpm.py:15: UserWarning: The RPM Python bindings are not currently available via PyPI. Please install them with your distro package manager (typically called 'python2-rpm' or 'python3-rpm'), and ensure that any virtual environments needing the API are configured to be able to see the system site packages directory. warnings.warn(warning_msg) Traceback (most recent call last): File "/usr/local/bin/gbp", line 11, in <module> load_entry_point('gbp==0.9.14', 'console_scripts', 'gbp')() File "/usr/local/lib/python3.6/dist-packages/gbp-0.9.14-py3.6.egg/gbp/scripts/supercommand.py", line 133, in supercommand list_available_commands() File "/usr/local/lib/python3.6/dist-packages/gbp-0.9.14-py3.6.egg/gbp/scripts/supercommand.py", line 102, in list_available_commands mod = import_command(cmd[0]) File "/usr/local/lib/python3.6/dist-packages/gbp-0.9.14-py3.6.egg/gbp/scripts/supercommand.py", line 71, in import_command return __import__('gbp.scripts.%s' % modulename, fromlist='main', level=0) File "/usr/local/lib/python3.6/dist-packages/gbp-0.9.14-py3.6.egg/gbp/scripts/buildpackage_rpm.py", line 28, in <module> import gbp.rpm as rpm File "/usr/local/lib/python3.6/dist-packages/gbp-0.9.14-py3.6.egg/gbp/rpm/__init__.py", line 34, in <module> from gbp.rpm.lib_rpm import librpm, get_librpm_log File "/usr/local/lib/python3.6/dist-packages/gbp-0.9.14-py3.6.egg/gbp/rpm/lib_rpm.py", line 36, in <module> librpm.setVerbosity(librpm.RPMLOG_INFO) AttributeError: module 'rpm' has no attribute 'setVerbosity' #### -- System Information: Debian Release: buster/sid APT prefers bionic-updates APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 'bionic-proposed'), (500, 'bionic') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.15.0-47-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages git-buildpackage depends on: ii devscripts 2.17.12ubuntu1.1 ii git 1:2.17.1-1ubuntu0.4 ii man-db 2.8.3-2ubuntu0.1 ii python3 3.6.7-1~18.04 ii python3-dateutil 2.6.1-1 ii python3-pkg-resources 39.0.1-2 ii sensible-utils 0.0.12 Versions of packages git-buildpackage recommends: ii cowbuilder 0.86 ii pbuilder 0.229.1 ii pristine-tar 1.42 ii python3-requests 2.18.4-2ubuntu0.1 Versions of packages git-buildpackage suggests: pn python3-notify2 <none> ii sudo 1.8.21p2-3ubuntu1 ii unzip 6.0-21ubuntu1