[LU-7090] fix serval IB paths assignment for configure Created: 02/Sep/15  Updated: 19/Sep/15  Resolved: 19/Sep/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Wang Shilong (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
is related to LU-7019 Lustre client build fails when ./conf... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This is regression for LU-6323 which was introduced by following commit:

commit 86274f9e1979e3da69952b2e7f5058e202dffb28
Author: Wang Shilong <wshilong@ddn.com>
Date: Mon Mar 2 17:47:34 2015 +0800

LU-6323 build: fix debian to compile with external IB

Problem is that macro O2IBPATHS might be "$LINUX $LINUX/drivers/infiniband".and --with-o2ib will be assigned a two string which will make building hit following failure:

./configure --with-linux-obj=/lib/modules/3.13.0-43-generic/build \
--disable-server \
--disable-quilt \
--disable-dependency-tracking \
--disable-doc \
--disable-utils \
--disable-liblustre \
--disable-iokit \
--disable-snmp \
--disable-tests \
--enable-quota \
--with-o2ib=/lib/modules/3.13.0-43-generic/build /lib/modules/3.13.0-43-generic/build/drivers/infiniband
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /lib/modules/3.13.0-43-generic/build/drivers/infiniband



 Comments   
Comment by Gerrit Updater [ 02/Sep/15 ]

Wang Shilong (wshilong@ddn.com) uploaded a new patch: http://review.whamcloud.com/16183
Subject: LU-7090 deb: fix serval IB paths for configure
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e312544788c8f5237506e19b0d45767824024270

Comment by Dmitry Eremin (Inactive) [ 02/Sep/15 ]

Thanks Wang, this is very good catch. I just working with Ubuntu enabling.

Comment by Gerrit Updater [ 03/Sep/15 ]

Wang Shilong (wshilong@ddn.com) uploaded a new patch: http://review.whamcloud.com/16209
Subject: LU-7090 deb: fix wrong IB path for configure
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8c61b5ab003f2fdeec8ada77f8e9b8791e68189c

Comment by Gerrit Updater [ 19/Sep/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16183/
Subject: LU-7090 deb: fix wrong IB path for configure
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 32fd8f6661828192e3598da67f26b3363167dd48

Comment by Peter Jones [ 19/Sep/15 ]

Landed for 2.8

Generated at Sat Feb 10 02:05:54 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.