#2 Trouble regenerating newsboat module
Opened 4 years ago by jstanek. Modified 4 years ago

I have trouble regenerating the module file for newsboat:

$ ./generate-modulemd.py newsboat
Traceback (most recent call last):
  File "./generate-modulemd.py", line 156, in <module>
    s = get_sourcepkg(p)
  File "./generate-modulemd.py", line 51, in get_sourcepkg
    raise Exception(s)
Exception: rust-backtrace-0.3.30-2.fc31.src

I have also tried the example in the README to know if the error is newsboat-specific, and it also errors:

$ ./generate-modulemd.py ripgrep
Traceback (most recent call last):
  File "./generate-modulemd.py", line 83, in <module>
    ospkg = get_sourcepkg(pkg)
  File "./generate-modulemd.py", line 42, in get_sourcepkg
    raise Exception(s)
Exception: rust-ripgrep-11.0.1-3.fc31.src

Yeah, this is because of https://github.com/openSUSE/libsolv/issues/329…

But even with that fixed, we still need to have some code which handles dynamic BuildRequires... It also depends on https://github.com/rpm-software-management/rpm/pull/766.

So, any updates? The issues linked in previous comment seems to be closed, but I cannot tell if they made it to any Fedoras yet (I'm currently using F31 beta).

When I try this now, with new newsboat release, I'm still erroring out (although in different place):

$ ./generate-modulemd.py newsboat
Traceback (most recent call last):
  File "./generate-modulemd.py", line 83, in <module>
    ospkg = get_sourcepkg(pkg)
  File "./generate-modulemd.py", line 42, in get_sourcepkg
    raise Exception(s)
Exception: newsboat-2.17-1.fc32.src

Similarly, for the ripgrep in the README:

$ ./generate-modulemd.py ripgrep 
Traceback (most recent call last):
  File "./generate-modulemd.py", line 153, in <module>
    s = get_sourcepkg(p)
  File "./generate-modulemd.py", line 42, in get_sourcepkg
    raise Exception(s)
Exception: rust-html5ever-0.24.1-1.fc32.src

Login to comment on this ticket.

Metadata