[Bug 1807682] Review Request: golang-goftp-server - FTP server framework written in Go

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1807682



--- Comment #6 from Olivier Lemasle <o.lemasle@xxxxxxxxx> ---
Right, spectool gets "server-0.3.2.tar.gz".

However, both fedora-review and fedpkg fail to use the right archive name. Do
you know why?

Fedora review:

$ fedora-review -b 1807682
INFO: Processing bugzilla bug: 1807682
INFO: Getting .spec and .srpm Urls from : 1807682
INFO:   --> SRPM url:
https://eclipseo.fedorapeople.org/for-review/golang-goftp-server-0.3.2-1.fc33.src.rpm
INFO:   --> Spec url:
https://eclipseo.fedorapeople.org/for-review/golang-goftp-server.spec
INFO: Using review directory:
/tmp/golang-goftp-server/1807682-golang-goftp-server
INFO: Downloading .spec and .srpm files
INFO: Downloading (Source0):
https://gitea.com/goftp/server/archive/v0.3.2.tar.gz#/server-0.3.2.tar.gz
WARNING: Cannot download url:
https://gitea.com/goftp/server/archive/v0.3.2.tar.gz#/server-0.3.2.tar.gz
INFO: No upstream for (Source0): v0.3.2.tar.gz
INFO: Running checks and generating report
INFO: Results and/or logs in:
/tmp/golang-goftp-server/1807682-golang-goftp-server/results
INFO: Reading configuration from /etc/mock/site-defaults.cfg
INFO: Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg
INFO: Build completed
WARNING: Package golang-goftp-server-debuginfo-0.3.2-1.fc33 not built
WARNING: Package golang-goftp-server-debugsource-0.3.2-1.fc33 not built
INFO: Installing built package(s)
Failed to set locale, defaulting to C.UTF-8
ERROR: 'Source0 file
/tmp/golang-goftp-server/1807682-golang-goftp-server/srpm-unpacked/v0.3.2.tar.gz
is missing in src.rpm. Conditional source inclusion?' (logs in
/home/olivier/.cache/fedora-review.log)

fedora-review logs:

$ tail -50 /home/olivier/.cache/fedora-review.log
warning: user bob does not exist - using root
warning: group bob does not exist - using root
warning: user bob does not exist - using root
warning: group bob does not exist - using root
setting SOURCE_DATE_EPOCH=1582756824
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.g3pvBx
+ umask 022
+ cd /builddir/build/BUILD
+ %goprep
RPM build errors:
/var/tmp/rpm-tmp.g3pvBx: line 31: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.g3pvBx (%prep)
    Bad exit status from /var/tmp/rpm-tmp.g3pvBx (%prep)
chmod: cannot access '/builddir/build/BUILD/*': No such file or directory
Finish: chroot ['rpm -i golang-goftp-server-0.3.2-1.fc33.src.rpm; rpmbuild
--nodeps -bp $(rpm --eval %_specdir)/golang-goftp-server.spec;chmod -R  go+r 
$(rpm --eval %_builddir)/* || :']
 None
NoneType: None
03-16 19:57 root         DEBUG    ReviewError: 'Source0 file
/tmp/golang-goftp-server/1807682-golang-goftp-server/srpm-unpacked/v0.3.2.tar.gz
is missing in src.rpm. Conditional source inclusion?'
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line
236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line
226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line
99, in _do_report
    self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
  File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line
117, in _run_checks
    self.checks.run_checks(output=output, writedown=not Settings.no_report)
  File "/usr/lib/python3.7/site-packages/FedoraReview/checks.py", line 382, in
run_checks
    run_check(name)
  File "/usr/lib/python3.7/site-packages/FedoraReview/checks.py", line 357, in
run_check
    check.run()
  File
"/usr/lib/python3.7/site-packages/FedoraReview/plugins/generic_build.py", line
430, in run
    self.log.info("Active plugins: %s", ",
".join(self.checks.get_plugins(True)))
  File "/usr/lib/python3.7/site-packages/FedoraReview/checks.py", line 253, in
get_plugins
    elif not bool(r.is_applicable()) == state:
  File "/usr/lib/python3.7/site-packages/FedoraReview/plugins/ccpp.py", line
30, in is_applicable
    or src.find("*.c")
  File "/usr/lib/python3.7/site-packages/FedoraReview/datasrc.py", line 92, in
find
    for f in self.get_filelist(s):
  File "/usr/lib/python3.7/site-packages/FedoraReview/datasrc.py", line 275, in
get_filelist
    self._load_files(container)
  File "/usr/lib/python3.7/site-packages/FedoraReview/datasrc.py", line 262, in
_load_files
    source.extract()
  File "/usr/lib/python3.7/site-packages/FedoraReview/source.py", line 132, in
extract
    " Conditional source inclusion?" % (self.tag, self.filename)
FedoraReview.review_error.ReviewError: 'Source0 file
/tmp/golang-goftp-server/1807682-golang-goftp-server/srpm-unpacked/v0.3.2.tar.gz
is missing in src.rpm. Conditional source inclusion?'
03-16 19:57 root         ERROR    ERROR: 'Source0 file
/tmp/golang-goftp-server/1807682-golang-goftp-server/srpm-unpacked/v0.3.2.tar.gz
is missing in src.rpm. Conditional source inclusion?' (logs in
/home/olivier/.cache/fedora-review.log)
03-16 19:57 root         DEBUG    Report completed:  95.989 seconds

fedpkg:

$ ls
golang-goftp-server.spec  server-0.3.2.tar.gz
$ fedpkg --release f33 srpm
sources file doesn't exist. Source files download skipped.
Failed to get repository name from Git url or pushurl


setting SOURCE_DATE_EPOCH=1582756824
Wrote:
/home/olivier/packaging/golang-goftp-server/golang-goftp-server-0.3.2-1.fc33.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-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/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux