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

Unable to build b2_15 Lustre against zfs-2.2.7

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.7
    • Lustre 2.15.6
    • 4.18.0-553.44.1.1toss.t4.x86_64
      zfs-2.2.7_1llnl-2.t4.x86_64
    • 3
    • 9223372036854775807

    Description

      Build of lustre b2_15 (after 2.15.16 tag) fails as follows:

      Making all in utils
      make[3]: Entering directory '/g/g0/faaland1/projects/lustre/lustre/utils'
      Making all in .
      make[4]: Entering directory '/g/g0/faaland1/projects/lustre/lustre/utils'
      gcc -DHAVE_CONFIG_H -I. -I../..  -DHAVE_IOCTL_IN_UNISTD_H -I/usr/include/libspl -I /usr/include/libzfs -include /g/g0/faaland1/projects/lustre/undef.h -include /g/g0/faaland1/projects/lustre/config.h -I/g/g0/faaland1/projects/lustre/lnet/include/uapi -I/g/g0/faaland1/projects/lustre/lustre/include/uapi -I/g/g0/faaland1/projects/lustre/libcfs/include -I/g/g0/faaland1/projects/lustre/lnet/utils/ -I/g/g0/faaland1/projects/lustre/lustre/include  -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1  -g -O2 -Wall -Werror -MT libmount_utils_zfs_a-libmount_utils_zfs.o -MD -MP -MF .deps/libmount_utils_zfs_a-libmount_utils_zfs.Tpo -c -o libmount_utils_zfs_a-libmount_utils_zfs.o `test -f 'libmount_utils_zfs.c' || echo './'`libmount_utils_zfs.c
      In file included from /usr/include/libzfs/sys/zio_compress.h:33,
                       from /usr/include/libzfs/sys/dmu.h:50,
                       from /usr/include/libzfs/sys/spa.h:46,
                       from libmount_utils_zfs.c:32:
      /usr/include/libzfs/sys/abd.h:33:10: fatal error: sys/abd_os.h: No such file or directory
       #include <sys/abd_os.h>
                ^~~~~~~~~~~~~~
      compilation terminated.
      make[4]: *** [Makefile:1593: libmount_utils_zfs_a-libmount_utils_zfs.o] Error 1
      

      Also encountered and described in https://github.com/openzfs/zfs/issues/16940

      Attachments

        Activity

          [LU-18931] Unable to build b2_15 Lustre against zfs-2.2.7
          pjones Peter Jones added a comment -

          Merged for 2.15.7

          pjones Peter Jones added a comment - Merged for 2.15.7

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/58834/
          Subject: LU-18931 build: Update ZFS version to 2.2.7
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set:
          Commit: c2d257dfa4505ab45324daad2ca08ddc0d8977c0

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/58834/ Subject: LU-18931 build: Update ZFS version to 2.2.7 Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: c2d257dfa4505ab45324daad2ca08ddc0d8977c0

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58834
          Subject: LU-18931 build: Update ZFS version to 2.2.7
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: 4561109b66206607c90bf8684a64e715467371b0

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58834 Subject: LU-18931 build: Update ZFS version to 2.2.7 Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 4561109b66206607c90bf8684a64e715467371b0
          yujian Jian Yu added a comment -

          Sure, Peter.

          yujian Jian Yu added a comment - Sure, Peter.
          pjones Peter Jones added a comment -

          Jian

          Can you please review this suggested patch?

          Thanks

          Peter

          pjones Peter Jones added a comment - Jian Can you please review this suggested patch? Thanks Peter
          ofaaland Olaf Faaland added a comment - b2_15 patch pushed, see https://review.whamcloud.com/c/fs/lustre-release/+/58832

          People

            yujian Jian Yu
            ofaaland Olaf Faaland
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: