[LU-13931] lhsm_posix with lt- prefix when build from source tree with --disable-shared Created: 27/Aug/20 Updated: 10/Jan/22 Resolved: 23/Jan/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Qian Yingjin | Assignee: | Qian Yingjin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
It seems that Lustre auto testing system: Lustre Gerrit Janitor using in-tree executed copytools but built with --disable-shared. The ticket " |
| Comments |
| Comment by Gerrit Updater [ 27/Aug/20 ] |
|
Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/39746 |
| Comment by James A Simmons [ 27/Aug/20 ] |
|
Instead of reverting I would recommend updating the following: from_build_tree && LIBTOOL_PREFIX=lt- to also test if we have dynamic libraries. – [[ from_build_tree && $(which lt-$HSMTOOL) ] && LIBTOOL_PREFIX=lt- |
| Comment by Qian Yingjin [ 28/Aug/20 ] |
|
We can not use "which lt-$HSMTOOL" as the executable program is $HSMTOOL. which lt-lhsmtool_posix which: no lt-lhsmtool_posix in (/root/work/patch/lustre-release/lustre/tests/mpi:/root/work/patch/lustre-release/lustre/tests/racer:/root/work/patch/lustre-release/lustre/../lustre-iokit/sgpdd-survey:/root/work/patch/lustre-release/lustre/utils/gss:/root/work/patch/lustre-release/lustre/utils:/root/work/patch/lustre-release/lustre/tests/.:.:/root/work/patch/lustre-release/lustre/tests/./utils:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib64/mpich/bin/:/root/bin:/sbin:/usr/sbin:) which lhsmtool_posix /root/work/patch/lustre-release/lustre/utils/lhsmtool_posix Instead, we can get the program name via:
export HSMTOOL_KILL=$($HSMTOOL --help | awk '/Usage: / {print $2}')
|
| Comment by Gerrit Updater [ 28/Aug/20 ] |
|
|
| Comment by Gerrit Updater [ 30/Aug/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39746/ |
| Comment by James A Simmons [ 23/Jan/21 ] |
|
|