Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
Lustre 2.7.0
-
None
-
Centos 7
-
3
-
14825
Description
e2fsprogs build of master-lustre branch fails in el7/Centos 7. Even after faking out the build to use the RHEL6 spec file with the following patch
--- a/contrib/build-rpm +++ b/contrib/build-rpm @@ -69,6 +69,7 @@ fi case "$DISTRO-$RELEASE" in RedHatEnterpriseServer-6*) DISTRO=RHEL; RELEASE=6;; CentOS-6*) DISTRO=RHEL; RELEASE=6;; + CentOS-7*) DISTRO=RHEL; RELEASE=6;; Fedora-1[234]) DISTRO=RHEL; RELEASE=6;; # use the same .spec for now esac
the build fails. Plain 'make' works fine, but 'make rpm' fails a couple of the test cases executed on the fly in the build. example errors:
. . . f_uninit_disable: disable uninit_bg feature: ok f_bbfile: bad blocks in files: ok 168 tests succeeded 2 tests failed Tests failed: r_64bit_big_expand r_ext4_big_expand make[2]: *** [test_post] Error 1 make[2]: Leaving directory `/home/bogl/rb/BUILD/e2fsprogs-1.42.9.wc1/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/bogl/rb/BUILD/e2fsprogs-1.42.9.wc1' error: Bad exit status from /var/tmp/rpm-tmp.ZDx19k (%check) RPM build errors: bogus date in %changelog: Mon Jul 13 2010 Eric Sandeen <sandeen@redhat.com> 1.41.12-5 bogus date in %changelog: Thu Sep 14 2009 Eric Sandeen <sandeen@redhat.com> 1.41.9-3 bogus date in %changelog: Fri Aug 05 2009 Eric Sandeen <sandeen@redhat.com> 1.41.8-6 bogus date in %changelog: Mon Oct 03 2008 Eric Sandeen <sandeen@redhat.com> 1.41.3-2 bogus date in %changelog: Mon Oct 03 2008 Eric Sandeen <sandeen@redhat.com> 1.41.3-1 bogus date in %changelog: Mon Jan 10 2008 Eric Sandeen <sandeen@redhat.com> 1.40.4-4 bogus date in %changelog: Tue Jan 09 2008 Eric Sandeen <sandeen@redhat.com> 1.40.4-3 bogus date in %changelog: Tue Oct 15 2007 Eric Sandeen <esandeen@redhat.com> 1.40.2-9 Bad exit status from /var/tmp/rpm-tmp.ZDx19k (%check) make: *** [rpm] Error 1
Not a blocker for right now when going for only client builds, but will become critical later on. Working e2fsprogs will be needed for full server functionality.
Attachments
Issue Links
- is related to
-
LU-5022 support for 3.10 rhel7 linux kernel
-
- Resolved
-
The r_{64bit,ext4}_big_expand test failures continued and persisted even with the latest changes. However it looks like it was only due to the environment I was running tests on. The default fs type in an el7 install is xfs, not ext2/3/4. Building e2fsprogs & running tests on a root fs that is xfs failed every time. When I finally figured out how to install el7 with a non-default ext4 fs type for root fs, then e2fsprogs built fine. All the runtime tests passed.
Since Jenkins build of e2fsprogs have been succeeding right along I'm guessing that el7 builders in our clusters were always installed with ext4, not xfs, and that's why it worked there.