Bug 43775 - TypeError при запуске rpmdev-rmdevelrpms
Summary: TypeError при запуске rpmdev-rmdevelrpms
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: rpmdevtools (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Evgeny Sinelnikov
QA Contact: qa-sisyphus
Depends on:
Reported: 2022-09-13 10:28 MSK by Alexander Makeenkov
Modified: 2022-09-13 10:28 MSK (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2022-09-13 10:28:51 MSK
Версия пакета:

Шаги воспроизведения:
# apt-get install rpmdevtools
$ rpmdev-rmdevelrpms
$ rpmdev-rmdevelrpms --list-only

Получаемый результат:
Traceback (most recent call last):
  File "/usr/bin/rpmdev-rmdevelrpms", line 279, in <module>
  File "/usr/bin/rpmdev-rmdevelrpms", line 200, in main
    if isDevelPkg(hdr):
  File "/usr/bin/rpmdev-rmdevelrpms", line 115, in isDevelPkg
    if so_re.search(fn):
TypeError: cannot use a string pattern on a bytes-like object

Ошибка не воспроизводится в p10 (версия rpmdevtools-8.10-alt2)