|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001444||Orfeo Toolbox (OTB)||General||public||2017-07-31 11:03||2017-07-31 11:04|
|Summary||0001444: cmake fails if OTB_DATA_LARGEINPUT_ROOT is set and OTB_DATA_ROOT is not set|
|Description||This is a case of failure in cmake configure and appears only with the above case,|
OTB_DATA_ROOT | OTB_LARGEINPUT_ROOT | |
set set ok
set unset ok
unset unset ok
unset set fails
The reason is cmake copies some OTB-data into temporary directory along with other files (metadata) from largeinput. This copy will fail if there is no OTB_DATA_ROOT obviously.
Now the block is only executed if and only if OTB_USE_LARGEINPUT is set. This must be modified to check OTB_DATA_ROOT. otherwise cmake will fails.
|Steps To Reproduce|
try to configure otb with testing enabled and largeinput set.
cmake -DOTB_DATA_ROOT=/tmp/nodir -DOTB_LARGEINPUT_ROOT=/path/to/largeinput
This case is not easily reproducible because largeinput is not accessible to many users. However dashboard seems to suffer from time to time especially when setting up experimental builds
|Tags||No tags attached.|
|2017-07-31 11:03||rashadkm||New Issue|
|2017-07-31 11:03||rashadkm||Status||new => assigned|
|2017-07-31 11:03||rashadkm||Assigned To||=> rashadkm|
|2017-07-31 11:04||rashadkm||Status||assigned => resolved|
|2017-07-31 11:04||rashadkm||Resolution||open => fixed|