#125 cdylib-only crates break rust2rpm
Opened a year ago by decathorpe. Modified 23 days ago

$ rust2rpm -s sequoia-octopus-librnp -p
Traceback (most recent call last):
  File "/usr/bin/rust2rpm", line 33, in <module>
    sys.exit(load_entry_point('rust2rpm==16', 'console_scripts', 'rust2rpm')())
  File "/usr/lib/python3.9/site-packages/rust2rpm/__main__.py", line 295, in main
    raise ValueError("No bins and no libs")
ValueError: No bins and no libs

While the error message is technically true (no Rust binary, no Rust library), it would be very helpful if rust2rpm at least copied back the patch diff file, or even created a partial .spec file (just one without using %cargo_install, in this case).


Metadata Update from @decathorpe:
- Issue set to the milestone: 23

23 days ago

Login to comment on this ticket.

Metadata