Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COPR build appears to have failed #419

Open
cedricbu opened this issue Jan 2, 2023 · 0 comments
Open

COPR build appears to have failed #419

cedricbu opened this issue Jan 2, 2023 · 0 comments

Comments

@cedricbu
Copy link

cedricbu commented Jan 2, 2023

Hello,
I recently upgraded to Fedora 37, and I am unable to install ocm-cli via the COPR repo : the repo can be enabled, but does not have any RPM inside.

Looking into it (I am not too familiar with COPR, so I am not 100% sure of the diagnosis), it seems that the latest build failed : going to the repo, in https://download.copr.fedorainfracloud.org/results/ocm/tools/, you will find that :

  • fedora-36-x86_64/04399601-ocm-cli/ contains an RPM
  • but neither fedora-37-x86_64/05154592-ocm-cli/ nor fedora-36-x86_64/05154592-ocm-cli/ have (they only have the SRPM)

Since Fedora 37 does not contain any older build, that results in the unavailability of ocm-cli.

Looking at the build.log (e.g.: https://download.copr.fedorainfracloud.org/results/ocm/tools/fedora-37-x86_64/05154592-ocm-cli/build.log.gz), you will see that the build failed, which is likely the reason why there is no RPM :

make: *** [Makefile:32: cmds] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.3OLb0m (%build)
RPM build warnings:
RPM build errors:
    source_date_epoch_from_changelog set but %changelog is missing
    Bad exit status from /var/tmp/rpm-tmp.3OLb0m (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 7f42214dce254a68bd3c004878a9097f -D /var/lib/mock/fedora-37-x86_64-1671452448.881559/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dmfceccz:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007" --setenv=PS1=<mock-chroot> \\s-\\v\\$  --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/ocm-cli.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 7f42214dce254a68bd3c004878a9097f -D /var/lib/mock/fedora-37-x86_64-1671452448.881559/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dmfceccz:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$  --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/ocm-cli.spec

Let me know if this is not the correct place to report COPR build issues (since it's part of the README, I suspect it's an official build, therefore I started here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant