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

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

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

            [LU-10569] Include proper Lustre header files in lustre-dev_*.deb

            John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/32277/
            Subject: LU-10569 build: properly package lustre for Debian/Ubuntu
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: 9001954d91d2ef65c5a30d0dc09f092d53d9ccd6

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/32277/ Subject: LU-10569 build: properly package lustre for Debian/Ubuntu Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 9001954d91d2ef65c5a30d0dc09f092d53d9ccd6

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32277
            Subject: LU-10569 build: properly package lustre for Debian/Ubuntu
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 9001d7765f3f18c91e812964ee69dc21f929c2ea

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32277 Subject: LU-10569 build: properly package lustre for Debian/Ubuntu Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 9001d7765f3f18c91e812964ee69dc21f929c2ea
            pjones Peter Jones added a comment -

            Landed for 2.11

            pjones Peter Jones added a comment - Landed for 2.11

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31348/
            Subject: LU-10569 build: properly package lustre for Debian/Ubuntu
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 020277f596168ed80d77ab50ef6a85a6e6e54d0a

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31348/ Subject: LU-10569 build: properly package lustre for Debian/Ubuntu Project: fs/lustre-release Branch: master Current Patch Set: Commit: 020277f596168ed80d77ab50ef6a85a6e6e54d0a

            Now that things are packaged correctly maloo fails due to Ubunut specific issues outside of this ticket. Should I just submit as trivial now for the Test-Parameters?

            simmonsja James A Simmons added a comment - Now that things are packaged correctly maloo fails due to Ubunut specific issues outside of this ticket. Should I just submit as trivial now for the Test-Parameters?

            Minh for some reason Ubuntu can not initialize for one ldiskfs setup. It works for all other conditions. Can you look into it?

            simmonsja James A Simmons added a comment - Minh for some reason Ubuntu can not initialize for one ldiskfs setup. It works for all other conditions. Can you look into it?

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/31348
            Subject: LU-10569 build: properly package lustre for Debian/Ubuntu
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d9d38c35f6c89d7a800f4c1d303038727ab98518

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/31348 Subject: LU-10569 build: properly package lustre for Debian/Ubuntu Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d9d38c35f6c89d7a800f4c1d303038727ab98518

            This will overlap the LU-10558 work. This is the last issue I'm attempting to resolve. Currently lustre make debs doesn't place UAPI headers into the package.

            simmonsja James A Simmons added a comment - This will overlap the LU-10558 work. This is the last issue I'm attempting to resolve. Currently lustre make debs doesn't place UAPI headers into the package.

            This is tricky. For debian were do Debain UAPI headrs go? In lustre-client-* with the modules and make lustre-dev dependent on lustre-client-* instead? Or do we place the UAPI headers in lustre-dev? I will need to ask Ian King about this.

            simmonsja James A Simmons added a comment - This is tricky. For debian were do Debain UAPI headrs go? In lustre-client-* with the modules and make lustre-dev dependent on lustre-client-* instead? Or do we place the UAPI headers in lustre-dev? I will need to ask Ian King about this.

            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: