https://bugzilla.redhat.com/show_bug.cgi?id=1877006
--- Comment #32 from Petr Pisar <ppisar(a)redhat.com> ---
This one shows a failure in a fedora-review tool:
Running FedoraReview tool
Running: fedora-review --no-colors --prebuilt --rpm-spec --name smf-spf
--mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg
cmd: ['fedora-review', '--no-colors', '--prebuilt',
'--rpm-spec', '--name',
'smf-spf', '--mock-config',
'/var/lib/copr-rpmbuild/results/configs/child.cfg']
cwd: /var/lib/copr-rpmbuild/results
rc: 1
stdout:
stderr: INFO: Processing local files: smf-spf
[...]
Unknown argument "-l" for command "repoquery". Add "--help"
for more
information about the arguments.
ERROR: Exception down the road... (logs in
/var/lib/copr-rpmbuild/workspace/workdir-ikgaot8y/.cache/fedora-review.log)
This is not a failure of the build. The cause is DNF5 which replaced DNF4 in
Fedora 39 and DNF5 does not support "dnf repoquery -l" invocation. You can file
a bug against fedora-review tool.
However, the log also prints an rpmbuild warning:
RPM build warnings:
%patchN is deprecated (3 usages found), use %patch N (or %patch -P N)
Please modernize the spec file to use the new syntax. Alternatively, there is
%autosetup macro in place of %setup which unpacks sources and applies all
patches in one step
<
https://rpm-software-management.github.io/rpm/manual/autosetup.html>.
This displays F39-only failure.
<
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-...
reads this error:
error: lua script failed: [string "add_sysuser"]:16: invalid sysuser type:
#Type
3< (%lua)
2< (%add_sysuser)
Provides: config(smf-spf) = 2.5.1.061e937-1.fc39 group(smfs) group(smfs) =
ZyBzbWZz smf-spf = 2.5.1.061e937-1.fc39 smf-spf(x86-64) = 2.5.1.061e937-1.fc39
user(smfs) =
dSBzbWZzIC0gIlNtYXJ0IFNlbmRtYWlsIEZpbHRlcnMiIC92YXIvbGliL3NtZnMgL3NiaW4vbm9sb2dpbgAA
Either the new user/group management is broken, or you did a mistake. I haven't
yet debugged it. Though, this Lua error seems to be ignored by rpmbuild and is
not a reason why Copr marked is as failed. The RPM build passed. However, you
should address it.
I guess the reason for a COPR failure is in
<
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-...;:
[2023-07-04 17:00:50,524][ INFO][PID:3980572] Running command 'copr-repo
--batched
/var/lib/copr/public_html/results/@fedora-review/fedora-review-1877006-smf-spf/fedora-rawhide-x86_64
--add 06141267-smf-spf --no-appstream-metadata' as PID 4037301
[2023-07-04 17:00:51,411][ INFO][PID:3980572] Finished after 0 seconds with
exit code 1 (copr-repo --batched
/var/lib/copr/public_html/results/@fedora-review/fedora-review-1877006-smf-spf/fedora-rawhide-x86_64
--add 06141267-smf-spf --no-appstream-metadata)
stdout:
stderr:
Sub-command failed
Traceback (most recent call last):
File "/usr/bin/copr-repo", line 462, in main
main_try_lock(opts, batch)
File "/usr/bin/copr-repo", line 414, in main_try_lock
main_locked(opts, batch, opts.log)
File "/usr/bin/copr-repo", line 368, in main_locked
if not run_createrepo(opts):
^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/copr-repo", line 215, in run_createrepo
run_cmd(createrepo_cmd, check=True, logger=opts.log)
File "/usr/lib/python3.11/site-packages/copr_backend/helpers.py", line 150,
in run_cmd
raise CommandException(exc_msg)
copr_backend.helpers.CommandException: Command '/usr/bin/createrepo_c
/var/lib/copr/public_html/results/@fedora-review/fedora-review-1877006-smf-spf/fedora-rawhide-x86_64
--no-database --ignore-lock --local-sqlite --cachedir /tmp/ --workers 8
--update --skip-stat --recycle-pkglist --pkglist
/var/lib/copr/public_html/results/@fedora-review/fedora-review-1877006-smf-spf/fedora-rawhide-x86_64/.copr-createrepo-pkglist'
failed, exit code '2
COPR were unable to create a YUM repository from your freshly built packages.
Again, this not a build failure. This a failure after finishing the build
somewhere in CORP infrastructure. You can file a bug for COPR where
appropriate.
Maybe you should try a scratch build in Fedora Koji "koji build --scratch
f39-candidate smf-spf-2.5.1.061e937-1.fc38.src.rpm". This how Fedora packages
are built without the failing COPR appendage.
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1877006
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...