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

Lustre 2.4 SRPM Re-Build Fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Low Priority
    • Major
    • None
    • Lustre 2.4.0
    • 3
    • 8778

    Description

      When attempting to build Lustre Client RPM packages for Lustre 2.4, the build fails with the following error:

      ...

      Making all in utils
      mount_lustre-mount_utils.o: In function `osd_is_lustre':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:461: undefined reference to `ldiskfs_is_lustre'
      mount_lustre-mount_utils.o: In function `osd_fini':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:650: undefined reference to `ldiskfs_fini'
      mount_lustre-mount_utils.o: In function `osd_init':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:632: undefined reference to `ldiskfs_init'
      mount_lustre-mount_utils.o: In function `osd_enable_quota':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:607: undefined reference to `ldiskfs_enable_quota'
      mount_lustre-mount_utils.o: In function `osd_label_lustre':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:577: undefined reference to `ldiskfs_label_lustre'
      mount_lustre-mount_utils.o: In function `osd_tune_lustre':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:549: undefined reference to `ldiskfs_tune_lustre'
      mount_lustre-mount_utils.o: In function `osd_prepare_lustre':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:517: undefined reference to `ldiskfs_prepare_lustre'
      mount_lustre-mount_utils.o: In function `osd_make_lustre':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:487: undefined reference to `ldiskfs_make_lustre'
      mount_lustre-mount_utils.o: In function `osd_read_ldd':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:436: undefined reference to `ldiskfs_read_ldd'
      mount_lustre-mount_utils.o: In function `osd_write_ldd':
      /root/rpmbuild/BUILD/lustre-2.4.0/lustre/utils/mount_utils.c:408: undefined reference to `ldiskfs_write_ldd'
      collect2: ld returned 1 exit status
      make[4]: *** [mount.lustre] Error 1
      make[3]: *** [all-recursive] Error 1
      make[2]: *** [all-recursive] Error 1
      make[1]: *** [all-recursive] Error 1
      make: *** [all] Error 2
      error: Bad exit status from /var/tmp/rpm-tmp.YDhlxd (%build)

      RPM build errors:
      user jenkins does not exist - using root
      group jenkins does not exist - using root
      user jenkins does not exist - using root
      group jenkins does not exist - using root
      Bad exit status from /var/tmp/rpm-tmp.YDhlxd (%build)

      The commands used are as follows:

      wget -r -np --level=0 http://downloads.whamcloud.com/public/lustre/lustre-2.4.0/el6/client/SRPMS/

      cd downloads.whamcloud.com/public/lustre/lustre-2.4.0/el6/client/SRPMS/

      rpmbuild --rebuild --define 'lustre_name lustre-client' \
      lustre-client-2.4.0-2.6.32_358.6.2.el6.x86_64_gd3f91c4.src.rpm

      System is CentOS 6.4, running update kernel 2.6.32-358.6.2.el6.x86_64.

      Any ideas? I've used an identically similar process for previous releases of Lustre without issue. I get a similar error when building from the v2_4_0 tag in Git, using ./configure ... && make.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              malkolm Malcolm Cowe (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: