Bug 2337459
| Summary: | kernel package builds fail since bin/sbin merge | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, josef, kernel-maint, linville, masami256, mchehab, ptalbert, steved, suraj.ghimire7, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | kernel-6.13.0-0.rc7.20250114gitc45323b7560e.56.fc42 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-01-15 10:48:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2267022 | ||
|
Description
Adam Williamson
2025-01-13 22:24:12 UTC
The most recent official build succeeded as it was before the sbin merge landed, but I hit this doing a scratch build of it with an unrelated patch. It failed with: error: File not found: /builddir/build/BUILD/kernel-6.13.0-build/BUILDROOT/usr/bin/intel_sdsi See https://koji.fedoraproject.org/koji/taskinfo?taskID=127839252 . This should probably fix it (testing now):
@@ -3390,7 +3392,7 @@ chmod 0755 %{buildroot}%{_libdir}/libcpupower.so*
%{tools_make} DESTDIR=%{buildroot} install
popd
pushd tools/arch/x86/intel_sdsi
- %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" DESTDIR=%{buildroot} install
+ %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" DESTDIR=%{buildroot} BINDIR=/usr/bin install
popd
%endif
pushd tools/thermal/tmon
or, I guess:
@@ -3390,7 +3392,7 @@ chmod 0755 %{buildroot}%{_libdir}/libcpupower.so*
%{tools_make} DESTDIR=%{buildroot} install
popd
pushd tools/arch/x86/intel_sdsi
- %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" DESTDIR=%{buildroot} install
+ %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" DESTDIR=%{buildroot} BINDIR=%{_sbindir} install
popd
%endif
pushd tools/thermal/tmon
Thanks. That looks reasonable. Did this get submitted? I don't see a pr anywhere. Submitted as https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3595. Well you could've waited more than 14 minutes :( I was trying to submit it, but the kernel package has PRs disabled. I had no idea that's where PRs are meant to go. Is it documented somewhere? ah, ok, if you follow enough breadcrumbs from the src.fp.o repo you eventually wind up at kernel-ark. I guess that's fine. Oh, I thought that you're probably asleep at this time ;) I was counting 10h from the last comment. kernel-6.13.0-0.rc7.20250114gitc45323b7560e.56.fc42 built successfully yesterday. |