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

rpmbuild fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Critical
    • None
    • Lustre 2.1.0
    • None
    • 3
    • 4021

    Description

      The instructions provided in the wiki page: http://wiki.whamcloud.com/display/PUB/Rebuilding+the+Lustre-client+rpms+for+a+new+kernel

      do not work. They fail with the error:

      $ rpmbuild --define 'kversion 2.6.32-220.4.1.el6.x86_64' --define 'kdir /usr/src/kernels/2.6.32-220.4.1.el6.x86_64/' --rebuild lustre-client-2.1.0-2.6.32_131.6.1.el6.x86_64_g9d71fe8.src.rpm
      ...
      ...
      ...
      /lustre-2.1.0/libcfs/include -I/home/build/rpmbuild/BUILD/lustre-2.1.0/lnet/include -I/home/build/rpmbuild/BUILD/lustre-2.1.0/lustre/include
      LLCFLAGS:      -g -Wall -fPIC -D_GNU_SOURCE
      
      Type 'make' to build Lustre.
      + make -j 1 -s
      Making all in .
      cc1: warnings being treated as errors
      /home/build/rpmbuild/BUILD/lustre-2.1.0/lustre/llite/super25.c:98: error: initialization from incompatible pointer type
      make[6]: *** [/home/build/rpmbuild/BUILD/lustre-2.1.0/lustre/llite/super25.o] Error 1
      make[5]: *** [/home/build/rpmbuild/BUILD/lustre-2.1.0/lustre/llite] Error 2
      make[4]: *** [/home/build/rpmbuild/BUILD/lustre-2.1.0/lustre] Error 2
      make[3]: *** [_module_/home/build/rpmbuild/BUILD/lustre-2.1.0] Error 2
      make[2]: *** [modules] Error 2
      make[1]: *** [all-recursive] Error 1
      make: *** [all] Error 2
      error: Bad exit status from /var/tmp/rpm-tmp.iupwCW (%build)
      

      Attachments

        Activity

          People

            wc-triage WC Triage
            rhenwood Richard Henwood (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: