if you check the end of build-live.log here:
There is no output from the script
The generated srpm is written to
But it should be written to
/mnt/var/lib/copr-rpmbuild/results/tmpeuhha9ly in the referenced build.
From our docs
$ cd myrepo
$ cat .copr/Makefile
dnf -y install tito
tito build --builder=SomeBuilder --test --srpm --output=$(outdir)
Copr looks for the generated srpm in the $(outdir) Makefile variable
(that you can pass to a custom shell script optionally).
Let us know if it works for you
On Tue, Sep 18, 2018 at 11:02 AM Jonathan Leroy <jonathan(a)harrycow.fr> wrote:
> Le dim. 16 sept. 2018 à 10:17, Michal Novotny <clime(a)redhat.com> a écrit :
> > Hello, the problem with make_srpm method is that useful information
> > in the builder-live.log is usually somewhere in the middle. Here:
> Thank you for your answer.
> Indeed the errors are in the log file, I should have checked better!
> I'm now calling spectool in my Makefile in order to download the
> missing source file from GitHub.
> The SRPM file is successfully built according to the logs, but the
> build still fail and I don't see any error message in the logs located
> However, the task log
> show this strange error:
> Traceback (most recent call last):
> File "/usr/share/copr/dist_git/importer.py", line 75, in do_import
> File "/usr/share/copr/dist_git/helpers.py", line 173, in download_file
> raise FileDownloadException(str(e))
> dist_git.exceptions.FileDownloadException: Invalid URL 'None': No
> schema supplied. Perhaps you meant http://None?
> After looking at Copr's source code, this seems to be an issue with
> dist-git's handling of srpm import?
> Thank you,
> Jonathan Leroy
> copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: