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
at
https://copr-be.cloud.fedoraproject.org/results/jleroy/PlexMediaPlayer/sr....
However, the task log
(
https://copr-dist-git.fedorainfracloud.org/per-task-logs/799659.log)
show this strange error:
Traceback (most recent call last):
File "/usr/share/copr/dist_git/importer.py", line 75, in do_import
workdir
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?
https://pagure.io/copr/copr/blob/master/f/dist-git/dist_git/importer.py#_75
Thank you,
--
Jonathan Leroy