Re: Possible error in the 6.1 rc3 kernel spec file

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

 



On 11/7/22 09:57, stan via kernel wrote:
Hi,
I built the 6.1 rc3 kernel over the weekend, and on the first build it
failed.  The error was this line in the spec file:
     # Remove large intermediate files we no longer need to save space
     # rm vmlinux.o .tmp_vmlinux.btf
The error was that the [a path in tmp I don't remember]/.tmp_vmlinux.btf
file did not exist. There was no complaint about the vmlinux.o file.
As you can see, because of the helpful comment, I knew that it was only
a space issue, so I just commented the line and everything built
successfully after that.

Perhaps this should be protected with
if [-f .tmp_vmlinux.btf]
   rm .tmp_vmlinux.btf
fi
?

Makes sense to me. The file will only exist if BTF is enabled in the config, so checking for it's existence is valid IMO.

I'll submit an MR for this.

P.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-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/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux