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

          People

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

            Dates

              Created:
              Updated:
              Resolved: