#245 repoquery: error: no such option: -,
Closed: Fixed None Opened 9 years ago by churchyard.

Running on Fedora 21. Code form the devel branch (latest, d16785a).

Running the following command:

$ ./try-fedora-review -b 1187613 -m fedora-rawhide-x86_64

I got the following Error:

{{{
Usage: repoquery [options]

repoquery: error: no such option: -,
ERROR: Exception down the road...(logs in /home/churchyard/.cache/fedora-review.log)
}}}

Here is the full output:

{{{
INFO: Processing bugzilla bug: 1187613
INFO: Getting .spec and .srpm Urls from : 1187613
INFO: --> SRPM url: https://tradej.fedorapeople.org/reviews/daps/devassistant-dap-common_args/0/devassistant-dap-common_args-0.10.0-4.fc21.src.rpm
INFO: --> Spec url: https://tradej.fedorapeople.org/reviews/daps/devassistant-dap-common_args/0/devassistant-dap-common_args.spec
INFO: Using review directory: /home/churchyard/rpmbuild/FedoraReview/1187613-devassistant-dap-common_args
INFO: Downloading .spec and .srpm files
INFO: Downloading (Source0): https://dapi.devassistant.org/download/common_args-0.10.0.dap
INFO: Running checks and generating report
INFO: Results and/or logs in: /home/churchyard/rpmbuild/FedoraReview/1187613-devassistant-dap-common_args/results
INFO: Build completed
INFO: Installing built package(s)
INFO: Mock command returned error code 127
INFO: Mock command returned error code 127
INFO: Active plugins: Generic, Shell-api
Usage: repoquery [options]

repoquery: error: no such option: -,
ERROR: Exception down the road...(logs in /home/churchyard/.cache/fedora-review.log)
}}}

Here is interesting part from the log:

{{{
02-03 10:16 root DEBUG Running: repoquery -C --whatprovides devassistant-ui
02-03 10:16 root DEBUG Running: repoquery -C --requires --resolve
02-03 10:16 root DEBUG Running: repoquery -C -l repository (default) packages specify a custom output format for queries unique repoid and complete path required, can be updates / extras / all (available + installed) / specify repoids to disable, can be specified multiple to 'all') from groups search fields to search using --output=OUTPUT output format to use (can be text|ascii -c CONFFILE, enabled) -l, --envra show epoch:name set install root - -R, multiple times -s, filter which packages (all,optional etc) are shown -q, - Options: -a, --nevra show name -g, default to 'text') -C, -h, -f, limit query to installed / available / recent / cached tempcache) as well, defaults to on set value of $releasever in yum config and repo files specify repoid & paths of additional repositories -i, specify additional repoids to query, can be specified times (default is all enabled) specified multiple times package times config file location Usage: repoquery [options] --qf=QUERYFORMAT, filesystem
02-03 10:16 root DEBUG Running: repoquery -C -l repository (default) packages specify a custom output format for queries unique repoid and complete path required, can be updates / extras / all (available + installed) / specify repoids to disable, can be specified multiple to 'all') from groups search fields to search using --output=OUTPUT output format to use (can be text|ascii -c CONFFILE, enabled) -l, --envra show epoch:name set install root - -R, multiple times -s, filter which packages (all,optional etc) are shown -q, - Options: -a, --nevra show name -g, default to 'text') -C, -h, -f, limit query to installed / available / recent / cached tempcache) as well, defaults to on set value of $releasever in yum config and repo files specify repoid & paths of additional repositories -i, specify additional repoids to query, can be specified times (default is all enabled) specified multiple times package times config file location Usage: repoquery [options] --qf=QUERYFORMAT, filesystem
02-03 10:16 root DEBUG Exception down the road...
Traceback (most recent call last):
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/review_helper.py", line 232, in run
self._do_run(outfile)
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/review_helper.py", line 222, in _do_run
self._do_report(outfile)
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/review_helper.py", line 96, in _do_report
self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/review_helper.py", line 115, in _run_checks
writedown=not Settings.no_report)
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/checks.py", line 377, in run_checks
run_check(name)
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/checks.py", line 351, in run_check
check.run()
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/check_base.py", line 242, in run
self.run_on_applicable()
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/plugins/generic.py", line 1082, in run_on_applicable
pkg_deps_paths = get_deps_paths(pkg_deps)
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/plugins/generic.py", line 1072, in get_deps_paths
paths = deps.list_paths(pkg_deps)
File "/home/churchyard/rpmbuild/FedoraReview/src/FedoraReview/deps.py", line 163, in list_paths
paths = check_output(cmd)
File "/usr/lib64/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['repoquery', '-C', '-l', '', 'repository (default) packages', 'specify a custom output format for queries', 'unique repoid and complete path required, can be', 'updates / extras / all (available + installed) /', 'specify repoids to disable, can be specified multiple', "to 'all')", 'from groups', 'search fields to search using ', '--output=OUTPUT output format to use (can be text|ascii', '-c CONFFILE, ', 'enabled)', '-l, ', '--envra show epoch:name', 'set install root', '-', '-R, ', 'multiple times', '-s, ', 'filter which packages (all,optional etc) are shown', '-q, -', 'Options:', '-a, ', '--nevra show name', '-g, ', "default to 'text')", '-C, ', '-h, ', '-f, ', 'limit query to installed / available / recent /', 'cached tempcache)', 'as well, defaults to on', 'set value of $releasever in yum config and repo files', 'specify repoid & paths of additional repositories ', '-i, ', 'specify additional repoids to query, can be specified', 'times (default is all enabled)', 'specified multiple times', 'package', 'times', 'config file location', 'Usage: repoquery [options]', '--qf=QUERYFORMAT, ', 'filesystem']' returned non-zero exit status 2
02-03 10:16 root ERROR Exception down the road...(logs in /home/churchyard/.cache/fedora-review.log)
02-03 10:16 root DEBUG Report completed: 378.857 seconds
}}}

Will attach the entire fedora-review.log. Happens all the time.


Login to comment on this ticket.

Metadata