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



--- Comment #6 from Jerry James <[email protected]> ---
After downloading the spec file and the srpm (it would have been better if you
had posted new Spec URL and SRPM URL lines):

$ fedora-review -n grub2-confidential-computing -m fedora-rawhide-x86_64
INFO: Processing local files: grub2-confidential-computing
INFO: Getting .spec and .srpm Urls from : Local files in /home/jamesjer/review
INFO:   --> SRPM url:
file:///home/jamesjer/review/grub2-confidential-computing-1-2.fc46.src.rpm
INFO:   --> Spec url:
file:///home/jamesjer/review/grub2-confidential-computing.spec
INFO: Using review directory:
/home/jamesjer/review/review-grub2-confidential-computing
error: Unable to open
/home/jamesjer/rpmbuild/SOURCES/grub2-confidential-computing.macros: No such
file or directory
ERROR: "Can't parse specfile: can't parse specfile\n" (logs in
/home/jamesjer/.cache/fedora-review.log)
Exception ignored while flushing sys.stdout:
AttributeError: '_Null' object has no attribute 'flush'
$ fedora-review --copr-build
https://download.copr.fedorainfracloud.org/results/lsandova/grub2-confidential-computing/srpm-builds/10932205/
-m fedora-rawhide-x86_64
INFO: Processing COPR build:
https://download.copr.fedorainfracloud.org/results/lsandova/grub2-confidential-computing/srpm-builds/10932205/
ERROR: Copr build did not succeed, state=failed

If you look at
https://download.copr.fedorainfracloud.org/results/lsandova/grub2-confidential-computing/srpm-builds/10932205/builder-live.log.gz,
you will see the same problems with the COPR build.  The issue is the first 2
lines of the spec file:

Source0:        grub2-confidential-computing.macros
%include %{SOURCE0}

That %include directive presumes that the macros file is available at SRPM
building time, which it isn't on my machine.  Koji will have the same problem. 
With the package in its current form, a koji build will fail the SRPM building
step.

How is the actual build supposed to work?  Note that there is no binary RPM in
that COPR directory, indicating that the build did not succeed.


-- 
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
https://bugzilla.redhat.com/show_bug.cgi?id=2513599

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202513599%23c6

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to