[LU-10569] Include proper Lustre header files in lustre-dev_*.deb Created: 26/Jan/18 Updated: 15/May/18 Resolved: 26/Mar/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.11.0, Lustre 2.10.4 |
| Type: | Task | Priority: | Minor |
| Reporter: | Thomas Stibor | Assignee: | James A Simmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | build, ubuntu | ||
| Environment: |
Debian 9 |
||
| Issue Links: |
|
||||||||||||
| Epic/Theme: | patch | ||||||||||||
| Rank (Obsolete): | 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 /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. |
| Comments |
| Comment by James A Simmons [ 26/Jan/18 ] |
|
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. |
| Comment by James A Simmons [ 19/Feb/18 ] |
|
This will overlap the |
| Comment by Gerrit Updater [ 20/Feb/18 ] |
|
James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/31348 |
| Comment by James A Simmons [ 05/Mar/18 ] |
|
Minh for some reason Ubuntu can not initialize for one ldiskfs setup. It works for all other conditions. Can you look into it? |
| Comment by James A Simmons [ 08/Mar/18 ] |
|
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? |
| Comment by Gerrit Updater [ 26/Mar/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31348/ |
| Comment by Peter Jones [ 26/Mar/18 ] |
|
Landed for 2.11 |
| Comment by Gerrit Updater [ 03/May/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/32277 |
| Comment by Gerrit Updater [ 15/May/18 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/32277/ |