Bug 465486
Summary: | building kernel-modules for ppc64 fails as | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thorsten Leemhuis <fedora> |
Component: | kernel | Assignee: | David Woodhouse <dwmw2> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | kernel-maint, kmcmartin |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | powerpc | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-20 13:57:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thorsten Leemhuis
2008-10-03 15:16:25 UTC
reopening, as afaics still unfixed; log of two failed builds can be found here: http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_free/1375-em8300-kmod-0.17.2-0.1.rc1.fc10.1/ppc/build.log http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_free/1376-em8300-kmod-0.17.2-0.1.rc1.fc10.1/ppc64/build.log The patch that was supposed to fix this afaics was the second part of this commit: http://cvs.fedora.redhat.com/viewvc/rpms/kernel/devel/kernel.spec?r1=1.1007&r2=1.1008 ; e.g. this code: > if [ -d arch/%{_arch}/include ]; then > cp -a --parents arch/%{_arch}/include \ > $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ > fi That code afaics has a small bug: %{_arch} is and rpm macro that becomes "ppc" or "ppc64"; but the directory that holds the files that are missing is arch/powerpc/include/ Hm, I copied the arch/%{_arch}/ bit from a few lines further up. That one seems only to be required on IA64 though, where %{_arch} and $Arch will always be equal. I'll "fix" it anyway, to prevent anyone else from copying it and making the same mistake in future. Should be fixed properly this time, in kernel-2.6.27.3-31.rc1.fc10. Thanks. Sadly, the previous fix wasn't enough for x86 at least, should be fixed in rawhide in the upcoming build. cheers, Kyle |