[Bug 2242449] Review Request: rust-vhost-device-scmi - Vhost-user SCMI backend device

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

 



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



--- Comment #4 from Fabio Valentini <decathorpe@xxxxxxxxx> ---
(In reply to Milan Zamazal from comment #3)
> > 2. Missing / broken debug package generation:
> > 
> > > %global debug_package %{nil}
> > > strip %{buildroot}/%{_bindir}/*
> > 
> > I don't know how you came up with this, but it is both unnecessary and
> > breaks the debuginfo stripping that automatically happens during RPM builds.
> > Remove both lines.
> 
> Without the first line, I get the following error from rpmbuild:
> 
>   Processing files: rust-vhost-device-scmi-debugsource-0.1.0-1.fc40.x86_64
>   error: Empty %files file
> /root/rpmbuild/BUILD/vhost-device-scmi-0.1.0/debugsourcefiles.list
>   RPM build errors:
>       Empty %files file
> /root/rpmbuild/BUILD/vhost-device-scmi-0.1.0/debugsourcefiles.list
> 
> The package doesn't contain any library, just a binary to run. Would you
> advise me how to deal with this error properly?

It doesn't matter whether library or binary. All packages are supposed to have
valid debug information. You need to remove both the manual stripping and the
"%debuginfo_package %{nil}". The error you get means that rpm cannot find any
debuginfo to strip - if you strip it manually, of course it can't find any. If
you still get the error after removing the manual call to "strip", then
something is going wrong during the build process that causes the binary to end
up without valid debug information.


-- 
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=2242449

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202242449%23c4
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




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

  Powered by Linux