#110 Compatibility with the latest click
Opened 2 years ago by lbalhar. Modified 2 years ago

Hello.

We are going to update click to the latest version in rawhide and fedmod package fails to build with it. Could you please check the compatibility?

The error does not provide anything useful:

+ install -d /builddir/build/BUILDROOT/fedmod-0.6.4-2.fc35.x86_64/usr/share/bash-completion/completions
+ _FEDMOD_COMPLETE=source-bash
+ /usr/bin/python3 -c 'import sys; sys.argv[0] = '\''fedmod'\''; from _fedmod import cli; cli.run()'
error: Bad exit status from /var/tmp/rpm-tmp.rxK1At (%install)
    Bad exit status from /var/tmp/rpm-tmp.rxK1At (%install)

And when invoked manually, everything seems to work

# python3
Python 3.10.0b3 (default, Jun 17 2021, 00:00:00) [GCC 11.1.1 20210617 (Red Hat 11.1.1-5)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from _fedmod import cli
>>> cli.run()
Usage:  [OPTIONS] COMMAND [ARGS]...

  Utilities for working with modular Fedora RPM repositories

Options:
  -v, --verbose                 Show additional info messages
  --debug                       Show debugging messages
  -S, --source-type SOURCE      Set the type of source to query
  -s, --dataset RELEASE[:ARCH]  Set the release to use for package and module
                                data
  --help                        Show this message and exit.

Commands:
  fetch-metadata     Fetch and cache required module and RPM metadata
  flatpak-report
  get-modulemds      Prints a summary of modules
  lint               Validates a given modulemd YAML file
  list-modules       List the available modules
  list-rpms          List RPMs available through modules
  module-packages    Lists RPMS in a given module
  repo2module        Generate or update a modulemd from a local repository
  resolve-deps       Report dependencies of the given RPM (or list of RPMs)
  rpm2flatpak        Generate modulemd from an RPM
  rpm2module         Generate a draft modulemd from an RPM (or list of RPMs)
  rpms-from-srpm     Reports which RPMS are generated from the given SRPM
  srpm-of-rpm        Reports which SRPM produces the given RPM
  summarize-modules  Prints a summary of modules
  where-is-package   Reports which module (if any) provides the given RPM

I'm not sure where the problem might be but I'm happy to help with debugging it. Let me know what do you think.


Login to comment on this ticket.

Metadata