MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001444Orfeo Toolbox (OTB)Generalpublic2017-07-31 11:032017-07-31 11:04
Reporterrashadkm 
Assigned Torashadkm 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0001444: cmake fails if OTB_DATA_LARGEINPUT_ROOT is set and OTB_DATA_ROOT is not set
DescriptionThis 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
Additional Informationhttps://dash.orfeo-toolbox.org/viewConfigure.php?buildid=284178 [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
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


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker