Bug 675102
Summary: | kernel-headers 2.6.32-112.el6 broken | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Fabio Massimo Di Nitto <fdinitto> |
Component: | kernel | Assignee: | Aristeu Rozanski <arozansk> |
Status: | CLOSED ERRATA | QA Contact: | Mike Gahagan <mgahagan> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.1 | CC: | arozansk, jburke, lczerner, lhh |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | Regression TestBlocker | ||
Fixed In Version: | kernel-2.6.32-113.el6 | Doc Type: | Bug Fix |
Doc Text: |
Prior to this update, the /usr/include/linux/fs.h file was broken, causing other packages to fail to build. With this update, the underlying source code has been modified to address this issue, and packages no longer fail to build.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 12:44:53 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: | |||
Bug Depends On: | |||
Bug Blocks: | 592964, 618705, 674843 |
Description
Fabio Massimo Di Nitto
2011-02-04 10:34:33 UTC
I have successfully built the cluster-3.0.12-31.el6.src.rpm against kernel-headers-2.6.32-112.el6 . . . Wrote: /rpmbuild/RPMS/x86_64/cman-3.0.12-31.el6.x86_64.rpm Wrote: /rpmbuild/RPMS/x86_64/clusterlib-3.0.12-31.el6.x86_64.rpm Wrote: /rpmbuild/RPMS/x86_64/clusterlib-devel-3.0.12-31.el6.x86_64.rpm Wrote: /rpmbuild/RPMS/x86_64/gfs2-utils-3.0.12-31.el6.x86_64.rpm . . . To fix the build issue you can include this patch --- ./cman/qdisk/disk.c.orig +++ ./cman/qdisk/disk.c -24,6 +24,7 @@ #include <platform.h> #include <unistd.h> #include <time.h> +#include <linux/types.h> #include <linux/fs.h> #include <liblogthread.h> #include <zlib.h> So what has changed in kernel-headers that requires me to change code this late in the process? while I agree that our code should also be fixed, those headers should not be changed this late in the release cycle. it was luck that I was hitted by this issue. If i´d built 2 hours earlier, it would have gone unnoticed. e619161e51e49bc9dc7627bd65f8d7a8fb051aca introduced a new structure using __u64 which requires linux/types.h header, which wasn't backported at that time. Jeff, this solves the LTP build problem too. (In reply to comment #4) > e619161e51e49bc9dc7627bd65f8d7a8fb051aca introduced a new structure using __u64 > which requires linux/types.h header, which wasn't backported at that time. > > Jeff, this solves the LTP build problem too. thanks for the info guys! This was fixed upstream with b31d42a5af1818bdf31a5f023abe4d8b212542f2. Looks like I forgot this particular commit while porting batched discard support onto RHEL. We should probably pick this commit up for RHEL. Patch(es) available on kernel-2.6.32-113.el6 I've confirmed this is fix for building of the cluster packages and various internal tests used by kernel QE. Wrote: /root/rpmbuild/RPMS/x86_64/cluster-debuginfo-3.0.12-33.el6.x86_64.rpm Wrote: /root/rpmbuild/RPMS/x86_64/cman-3.0.12-33.el6.x86_64.rpm Wrote: /root/rpmbuild/RPMS/x86_64/clusterlib-3.0.12-33.el6.x86_64.rpm Wrote: /root/rpmbuild/RPMS/x86_64/clusterlib-devel-3.0.12-33.el6.x86_64.rpm Wrote: /root/rpmbuild/RPMS/x86_64/gfs2-utils-3.0.12-33.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fZrYfQ + umask 022 + cd /root/rpmbuild/BUILD + cd cluster-3.0.12 + rm -rf /root/rpmbuild/BUILDROOT/cluster-3.0.12-33.el6.x86_64 + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.cyx7gq + umask 022 + cd /root/rpmbuild/BUILD + rm -rf cluster-3.0.12 + exit 0 [root@test1239 src]# echo $? 0 [root@test1239 src]# rpm -q kernel-headers kernel-headers-2.6.32-115.el6.x86_64 Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Prior to this update, the /usr/include/linux/fs.h file was broken, causing other packages to fail to build. With this update, the underlying source code has been modified to address this issue, and packages no longer fail to build. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0542.html |