COPR custom build script failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This feels like it should be easy but I can't seem to figure it out.
Two weeks ago my custom build script started failing:
https://copr.fedorainfracloud.org/coprs/whot/libinput-git/builds/

The failing part is... the mockbuild command?

Finish: chroot init
INFO: Running in chroot: ['su - mockbuild -c \'set -xe ; cd /workdir ; COPR_OWNER=whot COPR_PROJECT=libinput-git COPR_PACKAGE=\'"\'"\'\'"\'"\' COPR_RESULTDIR=/workdir /script\'']
Start: chroot ['su - mockbuild -c \'set -xe ; cd /workdir ; COPR_OWNER=whot COPR_PROJECT=libinput-git COPR_PACKAGE=\'"\'"\'\'"\'"\' COPR_RESULTDIR=/workdir /script\'']
su: Permission denied
Finish: chroot ['su - mockbuild -c \'set -xe ; cd /workdir ; COPR_OWNER=whot COPR_PROJECT=libinput-git COPR_PACKAGE=\'"\'"\'\'"\'"\' COPR_RESULTDIR=/workdir /script\'']
Finish: run
Traceback (most recent call last):
  File "/usr/bin/copr-sources-custom", line 115, in <module>
    run_cmd(mock + ['--chroot', 'su - {0} -c {1}'.format(user, cmd)])
    ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/copr-sources-custom", line 64, in run_cmd
    return subprocess.check_call(command, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['mock', '-r', '/var/lib/copr-rpmbuild/results/mock-config.cfg', '--chroot', 'su - mockbuild -c \'set -xe ; cd /workdir ; COPR_OWNER=whot COPR_PROJECT=libinput-git COPR_PACKAGE=\'"\'"\'\'"\'"\' COPR_RESULTDIR=/workdir /script\'']' returned non-zero exit status 1.
Copr build error: Build failed

That part is outside my control, the custom script hasn't changed in
years, it's a curl + chmod + exec but it looks like I don't event get to
that point.

I manually submitted builds too but there there doesn't appear to be a
toggle I can change to make this magically pass.

Does anyone have any clue what's going on here? Thanks.

Cheers,
  Peter


-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux