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

Include proper Lustre header files in lustre-dev_*.deb

    XMLWordPrintable

Details

    • 9223372036854775807

    Description

      Command

      make debs
      
      
      

      packages the following Lustre header files and static libraries in package lustre-dev_*.deb

       >dpkg -c ./lustre-dev_2.10.57-45_amd64.deb
       drwxr-xr-x root/root 0 2018-01-25 10:49 ./
       drwxr-xr-x root/root 0 2018-01-25 10:49 ./usr/
       drwxr-xr-x root/root 0 2018-01-25 10:49 ./usr/include/
       drwxr-xr-x root/root 0 2018-01-25 10:49 ./usr/include/lustre/
       -rw-r--r-- root/root 1259 2018-01-25 10:49 ./usr/include/lustre/liblustreapi.h
       -rw-r--r-- root/root 1671 2018-01-25 10:49 ./usr/include/lustre/ll_fiemap.h
       -rw-r--r-- root/root 1401 2018-01-25 10:49 ./usr/include/lustre/lustre_barrier_user.h
       -rw-r--r-- root/root 1383 2018-01-25 10:49 ./usr/include/lustre/lustre_lfsck_user.h
       -rw-r--r-- root/root 1506 2018-01-25 10:49 ./usr/include/lustre/lustre_user.h
       -rw-r--r-- root/root 32903 2018-01-25 10:49 ./usr/include/lustre/lustreapi.h
       drwxr-xr-x root/root 0 2018-01-25 10:49 ./usr/lib/
       -rw-r--r-- root/root 620748 2018-01-25 10:49 ./usr/lib/liblnetconfig.a
       -rw-r--r-- root/root 1046052 2018-01-25 10:49 ./usr/lib/liblustreapi.a
       drwxr-xr-x root/root 0 2018-01-25 10:49 ./usr/share/
       drwxr-xr-x root/root 0 2018-01-25 10:49 ./usr/share/doc/
       drwxr-xr-x root/root 0 2018-01-25 10:49 ./usr/share/doc/lustre-dev/
       -rw-r--r-- root/root 1110 2018-01-25 10:13 ./usr/share/doc/lustre-dev/changelog.Debian.gz
       -rw-r--r-- root/root 82239 2018-01-25 10:13 ./usr/share/doc/lustre-dev/changelog.gz
       drwxr-xr-x root/root 0 2018-01-25 10:49 ./usr/share/doc/lustre-dev/contrib/
       -rw-r--r-- root/root 19172 2018-01-25 10:13 ./usr/share/doc/lustre-dev/copyright
       
      

      For building Lustre userland executables relying on <lustre/lustreapi.h> such
      as HSM copytools additional header files are required. For example:

      /usr/include/lustre/lustreapi.h:43:38: fatal error: linux/lustre/lustre_user.h: No such file or directory
       #include <linux/lustre/lustre_user.h>
      
      

      So one needs to add the required and proper header files in the lustre-dev_*.deb package.

      Attachments

        Issue Links

          Activity

            People

              simmonsja James A Simmons
              thomas.stibor Thomas Stibor
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: