Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-5307

e2fsprogs build fails in Centos 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • Lustre 2.7.0
    • None
    • Centos 7
    • 3
    • 14825

      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.

            wc-triage WC Triage
            bogl Bob Glossman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: