[LU-2259] e2fsprogs: rename liblustreapi.h with lustreapi.h Created: 02/Nov/12 Updated: 11/Jun/13 Resolved: 01/Jun/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.5.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jian Yu | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 5408 | ||||||||
| Description |
|
After commit f715e4e ( In file included from /root/lustre-2.3.54/lustre/include/lustre/lustreapi.h:46,
from /root/lustre-2.3.54/lustre/include/lustre/liblustreapi.h:40,
from ../lib/ext2fs/lfsck.h:14,
from lfsck.c:80:
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'lustre_lma_swab':
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:345: warning: implicit declaration of function 'cpu_to_le32'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:346: warning: implicit declaration of function '__swab32s'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:349: warning: implicit declaration of function '__swab64s'
In file included from /root/lustre-2.3.54/lustre/include/lustre/lustreapi.h:46,
from /root/lustre-2.3.54/lustre/include/lustre/liblustreapi.h:40,
from ../lib/ext2fs/lfsck.h:14,
from lfsck_common.c:29:
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'lustre_lma_swab':
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:345: warning: implicit declaration of function 'cpu_to_le32'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:346: warning: implicit declaration of function '__swab32s'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:349: warning: implicit declaration of function '__swab64s'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'fid_ostid_unpack':
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:572: warning: implicit declaration of function 'CERROR'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:572: error: expected ')' before 'LPU64'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:584: error: expected ')' before 'LPU64'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:597: error: expected ')' before 'LPU64'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:603: warning: implicit declaration of function 'unlikely'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:606: error: expected ')' before 'LPU64'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'fid_ostid_pack':
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:608: error: expected ')' before 'LPX64'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'ostid_seq':
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:658: warning: implicit declaration of function 'CWARN'
/root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:658: error: expected ')' before 'LPU64'
A patch is being created. |
| Comments |
| Comment by Jian Yu [ 02/Nov/12 ] |
|
Just renaming liblustreapi.h with lustreapi.h will not fix the above build failures. The main issue is still being resolved in |
| Comment by Christopher Morrone [ 09/Nov/12 ] |
|
Correct, the header rename was done in a backwards compatible way, if we did it right. It would be nice to update it to the new name, but that will not fix this problem. |
| Comment by Jian Yu [ 13/Nov/12 ] |
|
Status update: |
| Comment by Christopher Morrone [ 13/Nov/12 ] |
|
Just be aware that when you do that e2fsprogs will no longer build against any older versions of lustre. |
| Comment by Jian Yu [ 14/Nov/12 ] |
Thanks for the reminder, Chris. After |
| Comment by Jian Yu [ 22/Nov/12 ] |
|
After the patch for http://build.whamcloud.com/job/e2fsprogs-reviews/128/arch=x86_64,distro=el6/ Let's lower the priority of this ticket now. |
| Comment by Chris Gearing (Inactive) [ 22/Nov/12 ] |
|
What is the state of this? http://build.whamcloud.com/job/e2fsprogs-reviews/128 failed on el5, and didn't get pushed to head. |
| Comment by Jian Yu [ 22/Nov/12 ] |
|
Hi Chris,
This is TT-955. |
| Comment by Andreas Dilger [ 01/Jun/13 ] |
|
This problem is fixed in recent e2fsprogs releases. It checks for both lustreapi and liblustreapi in configure. |