[LU-15964] rpmbuild: Correctly handle CONFIGURE_ARGS Created: 23/Jun/22 Updated: 23/Jun/22 Resolved: 23/Jun/22 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Shaun Tancheff | Assignee: | Shaun Tancheff |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Currently multiple arguments passed through rpmbuild as Ex rpmbuild argument: effectively discarding --arg2 and --arg3. The contents of CONFIGURE_ARGS should have the quotes removed |
| Comments |
| Comment by Gerrit Updater [ 23/Jun/22 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/47714 |
| Comment by Shaun Tancheff [ 23/Jun/22 ] |
|
User error, correct use of configure_args is to separate each argument with single quotes Ex:
rpmbuild --rebuild --with zfs --define "zfs 5" --without mpi \
--define "configure_args '--with-o2ib=/usr/src/ofa_kernel/default\' \'--disable-dlc\' \'--disable-gss-keyring\' \'--enable-gss=no'" \
--define "lustre_name lustre_ib" ${HOME}/lustre-release/*.src.rpm
|
| Comment by Shaun Tancheff [ 23/Jun/22 ] |
|
User error. Not a bug. |